/* Zephyr Constructions: paper and ink, with the logo's sage as the one accent.
   The thread through the page is the fold in the Zephyr mark: a band that
   turns at a crease, one face pale, one sage. */

@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --paper: #f4f3ef;
  --paper-2: #e9eae5;
  --pale: #e6e8e4;          /* logo: the folded face */
  --sage: #6f806d;          /* logo: the ground */
  --sage-mid: #8d9a87;      /* logo: the see-through band */
  --sage-ink: #5e6e5c;      /* the ground, deepened for text and buttons */
  --ink: #1f2620;
  --ink-2: #4a524b;
  --line: rgba(31, 38, 32, .14);
  --white: #fff;

  --font-display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", Nunito, "Varela Round", "Arial Rounded MT Bold", "Segoe UI Variable Display", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --hdr: 64px;
  --gutter: 20px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 14px;
  --p: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.07;
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 8vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 6vw, 3.1rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
.lede { font-size: clamp(1.08rem, 2.6vw, 1.28rem); color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.label {
  display: block;
  font: 650 .72rem/1.3 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sage-ink);
  margin-bottom: 1.1em;
}
.on-dark .label, .label--pale { color: var(--pale); }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: .7em 1.1em; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(50px, 11vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--sage { background: var(--sage-ink); color: var(--white); }
.section--pale { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .lede, .section--sage .lede, .on-dark .lede { color: rgba(255, 255, 255, .82); }
.pl-card .lede { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--sage-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.4em;
  border: 1.5px solid var(--b); border-radius: 999px;
  background: var(--b); color: var(--white);
  font-weight: 650; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--pale { background: var(--pale); border-color: var(--pale); color: var(--ink); }
.btn--pale:hover { background: var(--white); border-color: var(--white); }
.on-dark .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.on-dark .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn .num { font-variant-numeric: tabular-nums; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { font-weight: 650; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { color: var(--sage-ink); }
.on-dark .link-arrow:hover { color: var(--pale); }

/* The fold: the Zephyr mark's band turning at a crease, used as a divider. */
.fold-rule { display: block; width: 74px; height: 22px; margin: 0 0 22px; }
.fold-rule .a { fill: var(--sage); }
.fold-rule .b { fill: var(--sage-mid); opacity: .7; }
.on-dark .fold-rule .a { fill: var(--pale); }

/* ---------- Header ---------- */
.hd {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink); color: var(--white);
}
.hd__in {
  display: flex; align-items: center; gap: 14px;
  height: var(--hdr);
  width: min(100% - 2 * var(--gutter) + 8px, var(--max)); margin-inline: auto;
  transition: height .35s var(--ease);
}
.hd__logo { display: block; flex: none; line-height: 0; }
.hd__logo img { width: 150px; height: 40px; transform-origin: left center; transition: transform .35s var(--ease); }
.hd__tel {
  margin-left: auto; text-decoration: none; font-weight: 650; white-space: nowrap;
  font-variant-numeric: tabular-nums; font-size: .98rem;
  padding: 8px 0;
}
.hd__tel span { color: var(--pale); font-weight: 500; }
.hd__menu-btn {
  border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white);
  border-radius: 999px; padding: 6px 14px; min-height: 40px; cursor: pointer; font-size: .92rem;
}
.hd__book { display: none; }
html[data-scrolled] .hd__in { height: 52px; }
html[data-scrolled] .hd__logo img { transform: scale(.84); }

.nav ul { list-style: none; }
.nav a { text-decoration: none; }
/* Phone: the menu is the browser's own popover, so it works with no script. */
.nav[popover] {
  margin: 0; inset: 0 0 auto auto; width: min(88vw, 360px); height: 100dvh; max-height: none;
  border: 0; padding: 88px 28px 40px; background: var(--ink); color: var(--white);
  overflow-y: auto;
}
.nav[popover]::backdrop { background: rgba(31, 38, 32, .45); }
.nav[popover] li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nav[popover] a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.3rem; }
.nav[popover] a[aria-current="page"] { color: var(--pale); }
.nav__close {
  position: absolute; top: 18px; right: 20px; background: none; border: 1px solid rgba(255, 255, 255, .35);
  color: var(--white); border-radius: 999px; padding: 6px 14px; min-height: 40px; cursor: pointer;
}
.nav__sub { font-size: .8rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-mid); padding-top: 22px !important; font-family: var(--font-body) !important; }
@media (prefers-reduced-motion: no-preference) {
  .nav[popover] { transition: transform .35s var(--ease), display .35s allow-discrete, overlay .35s allow-discrete; transform: translateX(100%); }
  .nav[popover]:popover-open { transform: none; }
  @starting-style { .nav[popover]:popover-open { transform: translateX(100%); } }
}

@media (min-width: 1020px) {
  :root { --hdr: 76px; --gutter: 32px; }
  .hd__menu-btn, .nav__close, .nav__sub { display: none; }
  .nav[popover] {
    display: block; position: static; inset: auto; width: auto; height: auto; padding: 0;
    background: none; overflow: visible; transform: none; margin-left: 28px;
  }
  .nav[popover] ul { display: flex; gap: 22px; }
  .nav[popover] li { border: 0; }
  .nav[popover] a { padding: 8px 0; font-family: var(--font-body); font-size: .95rem; color: rgba(255, 255, 255, .86); border-bottom: 1.5px solid transparent; }
  .nav[popover] a:hover, .nav[popover] a[aria-current="page"] { color: var(--white); border-bottom-color: var(--sage-mid); }
  .nav[popover] .nav__m { display: none; }
  .hd__book { display: inline-flex; min-height: 42px; font-size: .92rem; padding: 0 1.1em; }
  .hd__tel { margin-left: auto; }
}

/* ---------- Progress line: a carpenter's tape pulled out as you read ---------- */
.tape {
  position: fixed; left: 0; right: 0; top: var(--hdr); z-index: 55; height: 8px;
  pointer-events: none;
  transition: top .35s var(--ease);
}
html[data-scrolled] .tape { top: 52px; }
.tape__blade {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 50px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) 0 0 / 100% 4px no-repeat,
    linear-gradient(var(--pale), var(--pale));
  box-shadow: 0 1px 0 rgba(31, 38, 32, .25);
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}
.tape__hook {
  position: absolute; top: -1px; width: 4px; height: 11px; background: var(--sage-ink); border-radius: 0 1px 2px 0;
  left: calc(var(--p) * 100% - 4px);
}
@supports (animation-timeline: scroll()) {
  html { animation: zc-progress linear both; animation-timeline: scroll(root); }
  @keyframes zc-progress { from { --p: 0; } to { --p: 1; } }
}
@media (min-width: 1020px) { html[data-scrolled] .tape { top: 52px; } }
@media print { .tape { display: none; } }

/* ---------- Bottom call bar (phones): it slims, it never leaves ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
  display: flex; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(244, 243, 239, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transition: padding .3s var(--ease);
}
.bar .btn { min-height: 50px; flex: 1 1 0; padding: 0 .8em; font-size: .98rem; }
.bar__plan { transition: flex-basis .35s var(--ease), max-width .35s var(--ease), opacity .25s, padding .35s; max-width: 50%; }
html[data-dir="down"] .bar { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
html[data-dir="down"] .bar .btn { min-height: 44px; }
html[data-dir="down"] .bar__plan { max-width: 0; flex-basis: 0; flex-grow: 0; padding: 0; border-width: 0; opacity: 0; overflow: hidden; visibility: hidden; transition: flex-basis .35s var(--ease), max-width .35s var(--ease), opacity .2s, padding .35s, visibility 0s .35s; }
.bar { overflow: hidden; }
@media (min-width: 1020px) { .bar { display: none; } }
@media print { .bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .bar, .bar__plan { transition: none; } }

/* ---------- Home: the opening ---------- */
.hero { position: relative; background: var(--paper); overflow: clip; }
.hero__photo { position: relative; height: min(46vh, 390px); overflow: hidden; background: var(--paper-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__bands { position: absolute; inset: 0; pointer-events: none; }
.hero__bands i {
  position: absolute; top: -20%; bottom: -20%; width: 34%;
  background: linear-gradient(90deg, rgba(230, 232, 228, 0), rgba(230, 232, 228, .26) 40%, rgba(141, 154, 135, .22) 60%, rgba(141, 154, 135, 0));
  transform: translateX(-160%) skewX(-27deg);
  opacity: 0;
}
.hero__text {
  position: relative; z-index: 2;
  margin-top: -56px;
  padding: 50px var(--gutter) 36px;
  background: linear-gradient(to bottom, transparent 55px, var(--paper) 55px);
}
.hero__edge { position: absolute; left: 0; top: 0; width: 100%; height: 56px; z-index: -1; }
.hero h1 { max-width: 13em; }
.hero h1 .label { margin-bottom: .9em; }
.hero .lede { margin-bottom: 1.4em; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: .88rem; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 10px; height: 6px; background: linear-gradient(to right, var(--sage) 50%, var(--sage-mid) 50%); clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%); }

@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: zc-settle 2.6s var(--ease) both; }
  .hero__bands i { animation: zc-breeze 3.4s var(--ease) both; }
  .hero__bands i:nth-child(2) { animation-delay: .35s; width: 22%; }
  .hero__bands i:nth-child(3) { animation-delay: .7s; width: 14%; }
  .hero__text > * { animation: zc-rise .9s var(--ease) both; }
  .hero__text > *:nth-child(2) { animation-delay: .08s; }
  .hero__text > *:nth-child(3) { animation-delay: .16s; }
  .hero__text > *:nth-child(4) { animation-delay: .24s; }
  .hero__text > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes zc-settle { from { transform: scale(1.09); } to { transform: none; } }
@keyframes zc-breeze {
  0% { transform: translateX(-160%) skewX(-27deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(420%) skewX(-27deg); opacity: 0; }
}
@keyframes zc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: min(calc(100svh - var(--hdr)), 860px); }
  .hero__photo { order: 2; height: auto; }
  .hero__text {
    order: 1; margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center;
    padding: 72px 72px 72px max(var(--gutter), calc((100vw - var(--max)) / 2));
    clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%);
    margin-right: -90px;
  }
  .hero__edge { display: none; }
  .hero__text { background: var(--paper); }
  .hero__crease { position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(100% / 2.08); width: 100px; height: 100%; pointer-events: none; }
}
@media (max-width: 899px) { .hero__crease { display: none; } }

/* ---------- The seam: engraving on one side of the fold, photograph on the other ---------- */
.seam {
  --s: 55%;
  --k: 60px;
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-2);
  aspect-ratio: 4 / 3.3;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.seam > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seam__ink {
  position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: polygon(0 0, calc(var(--s) + var(--k)) 0, calc(var(--s) - var(--k)) 100%, 0 100%);
  opacity: 0; transition: opacity .8s;
}
.seam.is-inked .seam__ink { opacity: 1; }
.seam__crease {
  position: absolute; top: 50%; left: var(--s); width: 14px; height: 160%;
  transform: translate(-50%, -50%) rotate(var(--tilt, 20deg));
  background: linear-gradient(90deg, rgba(230, 232, 228, .95) 0 46%, rgba(141, 154, 135, .9) 46% 100%);
  box-shadow: 0 0 0 1px rgba(31, 38, 32, .08), 6px 0 18px rgba(31, 38, 32, .18);
  opacity: 0; transition: opacity .6s;
  pointer-events: none;
}
.seam.is-inked .seam__crease { opacity: 1; }
.seam__handle {
  position: absolute; top: 50%; left: var(--s); z-index: 2;
  width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 0;
  display: grid; place-items: center; cursor: ew-resize; touch-action: none;
  box-shadow: 0 6px 22px rgba(31, 38, 32, .28);
  opacity: 0; transition: opacity .6s, transform .25s var(--ease);
}
.seam.is-inked .seam__handle { opacity: 1; }
.seam__handle:hover { transform: scale(1.06); }
.seam__handle svg { width: 26px; height: 16px; }
.seam__range { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.seam__range:focus-visible + .seam__handle { outline: 3px solid var(--sage); outline-offset: 3px; }
.seam__tag {
  position: absolute; bottom: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  font: 650 .68rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  background: rgba(244, 243, 239, .9); color: var(--ink);
  opacity: 0; transition: opacity .6s;
}
.seam__tag--a { left: 12px; }
.seam__tag--b { right: 12px; background: rgba(31, 38, 32, .78); color: var(--white); }
.seam.is-inked .seam__tag { opacity: 1; }
html:not(.js) .seam__ink, html:not(.js) .seam__handle, html:not(.js) .seam__crease, html:not(.js) .seam__tag { display: none; }
.seam-cap { margin-top: 12px; font-size: .86rem; color: var(--ink-2); }
.on-dark .seam-cap { color: rgba(255, 255, 255, .72); }

/* Home, second screen: the striking one */
.drawn { background: var(--ink); color: var(--white); }
.drawn__grid { display: grid; gap: 28px; }
.drawn .seam { aspect-ratio: 4 / 3.6; }
@media (min-width: 900px) {
  .drawn__grid { grid-template-columns: 1.45fr 1fr; align-items: center; gap: 64px; }
  .drawn .seam { aspect-ratio: 16 / 10.5; }
}

/* ---------- Swipe rows (phones never stack a list down the page) ---------- */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 330px);
  gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 18px; margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: thin; scrollbar-color: var(--sage-mid) transparent;
}
.row > * { scroll-snap-align: start; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.row-head h2 { margin: 0; }
.row-head .link-arrow { flex: none; margin-bottom: .5em; }
@media (min-width: 1020px) {
  .row { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 3), 1fr); overflow: visible; padding: 0; margin: 0; }
}

/* Job-type cards */
.tcard { position: relative; display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); aspect-ratio: 4 / 4.4; }
.tcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; opacity: .92; }
.tcard:hover img { transform: scale(1.045); opacity: 1; }
.tcard__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 18px 18px; background: linear-gradient(to top, rgba(31, 38, 32, .86), rgba(31, 38, 32, 0)); }
.tcard h3 { margin: 0 0 4px; font-size: 1.35rem; }
.tcard p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .84); line-height: 1.4; }
.tcard__tag { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(244, 243, 239, .9); color: var(--ink); font: 650 .66rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.tcard::after { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: linear-gradient(225deg, var(--paper) 50%, var(--sage-mid) 50%); }
@media (min-width: 1020px) { .types .row { --cols: 5; } .tcard { aspect-ratio: 3 / 4.4; } }

/* ---------- Split cards: the worry, and what Zephyr does about it ---------- */
.splits .row { grid-auto-columns: min(84%, 360px); perspective: 1200px; }
.split {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 14px 34px -22px rgba(31, 38, 32, .4);
  min-height: 290px;
}
.split__q { padding: 26px 22px 36px; position: relative; }
.split__q::before { content: ""; display: block; width: 26px; height: 8px; margin-bottom: 16px; background: var(--ink-2); opacity: .35; clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%); }
.split__q p { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.18; margin: 0; font-weight: 550; letter-spacing: -.01em; }
.split__q .label { margin-bottom: .8em; color: var(--ink-2); }
.split__a {
  position: relative; background: var(--sage-ink); color: var(--white); padding: 34px 22px 26px;
  clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%); margin-top: -18px;
  transform-origin: top center;
}
.split__a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: linear-gradient(to bottom right, transparent 49.5%, var(--sage-mid) 50%); opacity: .8; }
.split__a .label { color: var(--pale); margin-bottom: .7em; }
.split__a p { margin: 0; font-size: 1.02rem; line-height: 1.5; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .split__a { animation: zc-unfold linear both; animation-timeline: view(inline); animation-range: entry 10% cover 45%; }
    @keyframes zc-unfold { from { transform: rotateX(-62deg); filter: brightness(.82); } to { transform: none; filter: none; } }
  }
}
@media (min-width: 1020px) { .splits .row { --cols: 5; } .split__q p { font-size: 1.28rem; } }

/* ---------- Testimonials ---------- */
.quotes .row { grid-auto-columns: min(86%, 400px); }
.quote { margin: 0; padding: 28px 24px 24px; background: var(--paper); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.56; }
.quote blockquote::before { content: "\201C"; display: block; font: 600 3rem/0.6 var(--font-display); color: var(--sage); margin-bottom: 8px; }
.quote figcaption { font-weight: 650; }
.quote figcaption span { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-2); }

/* ---------- Call section ---------- */
.call { display: grid; gap: 22px; align-items: center; grid-template-columns: 112px 1fr; }
.call > div:last-child { grid-column: 1 / -1; }
.call__photo { border-radius: 50%; overflow: hidden; width: 112px; aspect-ratio: 1; background: var(--paper-2); }
.call__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.call__facts { list-style: none; display: grid; gap: 6px; margin: 22px 0 0; font-size: .95rem; }
.call__facts a { font-weight: 650; }
@media (min-width: 900px) { .call { grid-template-columns: 380px 1fr; gap: 72px; } .call > div:last-child { grid-column: auto; } .call__photo { width: auto; border-radius: var(--radius); aspect-ratio: 4 / 4.4; } }

/* ---------- Planner: before Josh visits ---------- */
.planner { display: grid; gap: 28px; }
@media (min-width: 1020px) { .planner { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; } .planner__intro { position: sticky; top: 120px; } }
.pl-card { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: 22px 20px 24px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .5); }
.pl-card .label { color: var(--sage-ink); }
.pl-card .btn--ghost { color: var(--ink); border-color: var(--ink); }
.pl-card .btn--ghost:hover { color: var(--white); background: var(--ink); }
.pl-card .link-arrow:hover { color: var(--sage-ink); }
.pl-steps { border: 0; margin: 0; padding: 0; min-width: 0; }
.pl-step { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.pl-step legend { padding: 0; font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.2; margin-bottom: 14px; }
.pl-step legend small { display: block; font: 650 .7rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 6px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.chip { position: relative; display: grid; }
.chip span { width: 100%; border-radius: 12px !important; padding: 8px 12px !important; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-size: .94rem; line-height: 1.2;
  transition: background .2s, border-color .2s, color .2s;
}
.chip input:hover + span { border-color: var(--sage); }
.chip input:checked + span { background: var(--sage-ink); border-color: var(--sage-ink); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--sage); outline-offset: 2px; }
.pl-nav { display: none; }
.pl-meta { display: none; }
.pl-nojs { font-size: .9rem; color: var(--ink-2); margin: 0; }
html.js .pl-nojs { display: none; }
html.js .pl-step { display: none; margin: 0; }
html.js .pl-step.is-on { display: block; }
html.js .pl-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; }
html.js .pl-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .82rem; color: var(--ink-2); }
.pl-dots { display: flex; gap: 5px; }
.pl-dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.pl-dots i.on { background: var(--sage-ink); }
.pl-back { background: none; border: 0; padding: 10px 4px; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; }
.pl-back[hidden] { visibility: hidden; display: inline; }
.pl-next[disabled] { opacity: .4; cursor: not-allowed; }
@media (prefers-reduced-motion: no-preference) {
  html.js .pl-step.is-on { animation: zc-rise .45s var(--ease) both; }
}

.pl-out[hidden] { display: none; }
.pl-out { animation: zc-rise .5s var(--ease) both; }
.pl-sheet__head { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 18px; }
.pl-sheet__art { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--paper-2); position: relative; }
.pl-sheet__art img, .pl-sheet__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-sheet__art canvas { opacity: 0; transition: opacity .8s; }
.pl-sheet__art.is-inked canvas { opacity: 1; }
.pl-sheet h3 { font-size: 1.45rem; margin-bottom: 4px; }
.pl-sheet__sum { font-size: .9rem; color: var(--ink-2); margin: 0; }
.pl-block { border-top: 1px solid var(--line); padding: 14px 0 2px; }
.pl-block h4 { margin: 0 0 8px; font: 650 .72rem/1.3 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-ink); }
.pl-block ul { list-style: none; display: grid; gap: 6px; margin-bottom: 12px; }
.pl-block li { position: relative; padding-left: 20px; font-size: .97rem; line-height: 1.45; }
.pl-block li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; background: var(--sage); clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%); }
.pl-block p { font-size: .97rem; line-height: 1.5; }
.pl-price { display: grid; gap: 6px; margin: 4px 0 12px; }
.pl-price div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: .94rem; }
.pl-price div.on { background: var(--sage-ink); border-color: var(--sage-ink); color: var(--white); }
.pl-price b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.pl-saved { font-size: .85rem; color: var(--sage-ink); margin: 10px 0 0; }

/* ---------- Inner pages ---------- */
.phero { position: relative; display: grid; background: var(--paper); }
.phero__txt { padding: 40px var(--gutter) 30px; }
.phero__txt h1 { font-size: clamp(2rem, 7vw, 3.8rem); max-width: 14em; }
.phero__media { padding: 0 var(--gutter); }
.phero__media .seam { aspect-ratio: 4 / 3.4; }
@media (min-width: 900px) {
  .phero { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-block: 64px 80px; }
  .phero__txt, .phero__media { padding: 0; }
  .phero__media .seam { aspect-ratio: 4 / 3.5; }
}
.crumbs { font-size: .82rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: inherit; }

.cols { display: grid; gap: 34px; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(var(--c, 2), 1fr); gap: 56px; } }
.prose { max-width: 40em; }
.prose h2 { margin-top: 0; }
.prose ul { list-style: none; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose li, .ticks li { position: relative; padding-left: 22px; }
.prose li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 11px; height: 7px; background: var(--sage); clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%); }
.ticks { list-style: none; display: grid; gap: 10px; }
.section--sage .ticks li::before, .section--ink .ticks li::before { background: var(--pale); }

/* Split rows: a statement on one half, what it means on the other */
.duo { display: grid; border-top: 1px solid var(--line); }
.duo__row { display: grid; gap: 6px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.duo__row h3 { margin: 0; font-size: 1.18rem; }
.duo__row p { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .duo__row { grid-template-columns: 1fr 1.6fr; } }
.section--ink .duo, .section--ink .duo__row, .section--sage .duo, .section--sage .duo__row { border-color: rgba(255, 255, 255, .16); }
.section--ink .duo__row p, .section--sage .duo__row p { color: rgba(255, 255, 255, .8); }

/* Steps, told as a row on phones */
.steps { counter-reset: s; }
.steps .row { grid-auto-columns: min(74%, 290px); }
.step { position: relative; padding: 22px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); min-height: 190px; }
.section--sage .step, .section--ink .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font: 600 2rem/1 var(--font-display); color: var(--sage); margin-bottom: 14px; }
.section--sage .step::before, .section--ink .step::before { color: var(--pale); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .94rem; line-height: 1.5; opacity: .88; }
@media (min-width: 1020px) { .steps .row { --cols: 4; } }

.prices { display: grid; gap: 12px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { padding: 24px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.price b { display: block; font: 600 1.7rem/1.1 var(--font-display); margin: 6px 0 10px; color: var(--sage-ink); font-variant-numeric: tabular-nums; }
.price p { margin: 0; font-size: .95rem; color: var(--ink-2); }

.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photos figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photos .wide { grid-column: span 2; }
.photos .wide img { aspect-ratio: 16 / 9; }
.photos figcaption { padding: 8px 10px 10px; font-size: .8rem; color: var(--ink-2); background: var(--paper); }
@media (min-width: 900px) { .photos { grid-template-columns: repeat(3, 1fr); gap: 14px; } .photos .wide { grid-column: span 2; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 650; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--sage-ink); border-bottom: 2px solid var(--sage-ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); max-width: 44em; }
.faq h3 { margin: 34px 0 6px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--font-body); color: var(--sage-ink); }

/* CTA band */
.cta { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr 1fr; } .cta .btn-row { justify-content: end; } }
.cta h2 { margin-bottom: .3em; }

/* ---------- Projects gallery, by job type ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 14px; margin: 0 calc(-1 * var(--gutter)) 18px; scrollbar-width: none; border: 0; min-width: 0; }
.filters legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.filters label { position: relative; flex: none; }
.filters input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.filters span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .93rem; background: var(--white); white-space: nowrap; }
.filters input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters input:focus-visible + span { outline: 3px solid var(--sage); outline-offset: 2px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.job { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.job a { display: block; text-decoration: none; }
.job img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.job figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 12px 11px; background: linear-gradient(to top, rgba(31, 38, 32, .85), transparent); color: var(--white); font-size: .82rem; line-height: 1.3; }
.job figcaption b { display: block; font-size: .95rem; }
.job--feature { grid-column: span 2; }
.job--feature img { aspect-ratio: 16 / 10; }
.gallery-wrap:has(#f-kitchen:checked) .job:not([data-type~="kitchen"]),
.gallery-wrap:has(#f-bathroom:checked) .job:not([data-type~="bathroom"]),
.gallery-wrap:has(#f-reno:checked) .job:not([data-type~="reno"]),
.gallery-wrap:has(#f-outdoor:checked) .job:not([data-type~="outdoor"]),
.gallery-wrap:has(#f-new:checked) .job:not([data-type~="new"]) { display: none; }
.gallery-wrap:has(.filters input:not(#f-all):checked) .job--feature { grid-column: auto; }
.gallery-wrap:has(.filters input:not(#f-all):checked) .job--feature img { aspect-ratio: 4 / 4.6; }

/* A job's picture grows into the top of its own page */
@view-transition { navigation: auto; }
.vt-penthouse { view-transition-name: zc-penthouse; }
::view-transition-group(zc-penthouse) { animation-duration: .55s; animation-timing-function: var(--ease); }
::view-transition-old(zc-penthouse), ::view-transition-new(zc-penthouse) { height: 100%; width: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.jhero { position: relative; background: var(--ink); color: var(--white); }
.jhero img { width: 100%; height: min(62vh, 620px); object-fit: cover; }
.jhero__txt { padding: 30px var(--gutter) 40px; width: min(100%, var(--max)); margin-inline: auto; }
.jhero__txt h1 { font-size: clamp(2rem, 7vw, 4rem); max-width: 14em; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 26px 0 0; }
.facts div { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 10px; }
.facts dt { font: 650 .68rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-mid); }
.facts dd { margin: 2px 0 0; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.cbox { display: grid; gap: 14px; }
.cbox a.big { display: block; font: 600 clamp(1.5rem, 5.5vw, 2.2rem)/1.15 var(--font-display); text-decoration: none; font-variant-numeric: tabular-nums; }
.cbox a.big:hover { color: var(--sage-ink); }
.cbox p { margin: 0; }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.areas li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .92rem; }
.areas li.base { background: var(--sage-ink); color: var(--white); border-color: var(--sage-ink); }

/* ---------- Form + drawer ---------- */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid rgba(31, 38, 32, .28); background: var(--white); font-weight: 400; font-size: 1rem;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sage-ink); box-shadow: 0 0 0 3px rgba(111, 128, 109, .3); }
.form .row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form .btn { width: 100%; }
.form small { color: var(--ink-2); font-weight: 400; }
.notes { border-radius: 10px; background: var(--paper-2); padding: 12px 14px; }
.notes[hidden] { display: none; }
.notes h3 { font: 650 .7rem/1.3 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-ink); margin: 0 0 8px; }
.notes ul { list-style: none; display: grid; gap: 6px; }
.notes li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: .9rem; }
.notes li b { font-weight: 650; }
.notes button { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: .82rem; padding: 4px; flex: none; }
.next { list-style: none; counter-reset: n; display: grid; gap: 6px; margin-top: 16px; font-size: .86rem; color: var(--ink-2); }
.next li { counter-increment: n; display: flex; gap: 10px; }
.next li::before { content: counter(n); flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--paper-2); color: var(--sage-ink); font-weight: 700; font-size: .72rem; display: grid; place-items: center; margin-top: 1px; }

.drawer {
  margin: 0; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 92dvh; overflow-y: auto;
  border: 0; padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--paper); color: var(--ink); border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .3);
}
.drawer::backdrop { background: rgba(31, 38, 32, .5); }
.drawer__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.drawer__top h2 { font-size: 1.6rem; margin: 0; }
.drawer__top p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.drawer__x { flex: none; background: var(--paper-2); border: 0; border-radius: 999px; min-height: 40px; padding: 0 14px; cursor: pointer; font-size: .9rem; }
.drawer__grab { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: -8px auto 14px; }
@media (min-width: 760px) {
  .drawer { inset: auto 24px 24px auto; width: 440px; border-radius: 22px; max-height: calc(100dvh - 48px); }
  .drawer__grab { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .drawer { transition: transform .45s var(--ease), opacity .3s, display .45s allow-discrete, overlay .45s allow-discrete; transform: translateY(105%); }
  .drawer:popover-open { transform: none; }
  @starting-style { .drawer:popover-open { transform: translateY(105%); } }
  .drawer::backdrop { transition: background .3s, display .45s allow-discrete, overlay .45s allow-discrete; }
  @starting-style { .drawer:popover-open::backdrop { background: rgba(31, 38, 32, 0); } }
}
/* No popovers at all: the drawer is an ordinary section where it sits. */
@supports not selector(:popover-open) {
  .drawer { position: static; display: block; border-radius: 0; box-shadow: none; max-height: none; }
  .drawer__x, .drawer__grab { display: none; }
}

/* ---------- Footer ---------- */
.ft { background: var(--ink); color: rgba(255, 255, 255, .84); padding: 48px 0 104px; font-size: .92rem; }
.ft__grid > div:first-child p { margin: 14px 0 0; max-width: 30em; }
.ft li { overflow-wrap: anywhere; }
.ft a { color: var(--white); text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft__grid { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
.ft__grid > div:first-child, .ft__grid > div:last-child { grid-column: 1 / -1; }
.ft__logo img { width: 150px; height: 40px; }
.ft h2 { font: 650 .7rem/1.4 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--sage-mid); margin: 0 0 12px; }
.ft ul { list-style: none; display: grid; gap: 6px; }
.ft__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.ft__credit { margin-left: auto; }
.ft__credit a { color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) { .ft { padding: 64px 0 48px; } .ft__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; } .ft__grid > div:first-child, .ft__grid > div:last-child { grid-column: auto; } }

/* ---------- Arrive as you scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  html.js .rv.in { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; align-items: center; }
.lost__art { border-radius: var(--radius); overflow: hidden; margin-top: 30px; }

@media print {
  .hd, .bar, .drawer, .ft__credit { display: none !important; }
  body { background: #fff; }
}
