/* Boundless Construction — v3 "Houses Into Homes". Kraft paper, navy ink, Boundless blue (#0872ba). */
:root {
  --paper: #f3ece0;
  --paper-2: #ebe1cf;
  --paper-3: #e0d3bc;
  --card: #fbf8f2;
  --ink: #14202b;
  --ink-2: #3a4652;
  --muted: #56636f;
  --clay: #0872ba;
  --clay-ink: #06609d;
  --clay-soft: #5aa7dd;
  --pine: #16446b;
  --pine-2: #0f3352;
  --char: #0c2a44;
  --char-2: #0f3352;
  --char-3: #081f33;
  --on-dark: #f3ece0;
  --on-dark-2: #c9bfb0;
  --tape: #ecdcae;
  --line: rgba(20, 32, 43, .16);
  --line-2: rgba(20, 32, 43, .28);
  --display: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif;
  --body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 6px;
  --shadow: 0 1px 0 rgba(20, 32, 43, .06), 0 12px 30px -14px rgba(20, 32, 43, .35);
  --focus: #5aa7dd;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 130px; }
@media (max-width: 899px) { html { scroll-padding-top: 84px; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body); overflow-x: hidden;
}
img { max-width: min(100%, var(--w, 100%)); height: auto; display: block; }
a { color: var(--clay-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 750; line-height: 1.06; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
q { quotes: '\201C' '\201D'; font-style: italic; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { 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: 12px; top: -80px; z-index: 300; background: var(--clay); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }

/* ---------- labels, tape, pencil */
.label { display: block; font: 500 .75rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.label--clay { color: var(--clay-ink); }
.tape {
  display: inline-block; font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: var(--tape); padding: .55em .9em .5em; transform: rotate(-1.6deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  clip-path: polygon(0 8%, 3% 0, 97% 4%, 100% 0, 99% 50%, 100% 96%, 96% 100%, 4% 94%, 0 100%, 1% 50%);
}
.u-pencil {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M2 11c60-6 130-8 200-5s140 3 196-2' fill='none' stroke='%230872ba' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 100% .32em; background-position: 0 96%; padding-bottom: .06em;
}
.link-arrow { display: inline; line-height: 1.6; font-weight: 600; color: var(--clay-ink); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s; display: inline-block; vertical-align: -3px; margin-left: .3em; }
.link-arrow:hover .ico { transform: translateX(3px); }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- buttons (pills that size to content) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: .75em 1.35em; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn .ico { width: 19px; height: 19px; }
.btn--sm { min-height: 44px; padding: .55em 1em; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .85em 1.55em; font-size: 1.05rem; }
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-ink); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--line-light { border-color: rgba(243, 236, 224, .55); color: var(--on-dark); background: transparent; }
.btn--line-light:hover { border-color: var(--on-dark); background: rgba(243, 236, 224, .1); color: #fff; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- header */
.site-head { position: sticky; top: 0; z-index: 50; }
.util { background: var(--char-3); color: var(--on-dark-2); font-size: .82rem; }
.util__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 36px; }
.util p { margin: 0; }
.util__r { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.util a { color: var(--on-dark); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; font-weight: 600; min-height: 32px; }
.util a:hover { color: var(--clay-soft); }
.util .ico { width: 15px; height: 15px; }
.bar { background: var(--char); border-bottom: 3px solid var(--clay); }
.bar__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; border-radius: 4px; }
.logo-img { width: 170px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; list-style: none; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7em; color: var(--on-dark);
  text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; white-space: nowrap;
}
.nav a::after { content: ''; position: absolute; left: .7em; right: .7em; bottom: 6px; height: 2px; background: var(--clay-soft); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.bar__act { display: flex; align-items: center; gap: 10px; }
.bar__call, .menu-btn { display: none; }
@media (max-width: 1139px) {
  .nav, .bar__quote { display: none; }
  .bar__act { margin-left: auto; }
  .bar__call, .menu-btn { display: inline-flex; }
  .util__l { display: none; }
  .util__in { justify-content: flex-end; }
}
@media (max-width: 899px) { .util { display: none; } .bar__in { min-height: 64px; } .logo-img { width: 118px; } }
@media (max-width: 599px) {
  .bar__call-num { display: none; }
  .bar__call { width: 44px; padding: 0; border-radius: 50%; }
}
@media (max-width: 759px) { .bar__call { display: none; } }

/* overlay menu */
.overlay { position: fixed; inset: 0; z-index: 200; background: var(--char); color: var(--on-dark); overflow-y: auto; display: flex; flex-direction: column; }
.overlay[hidden] { display: none; }
.overlay__top { display: flex; justify-content: space-between; align-items: center; min-height: 72px; border-bottom: 1px solid rgba(243, 236, 224, .14); }
.overlay__nav { flex: 1; padding-block: 20px; }
.overlay__nav ol { list-style: none; }
.overlay__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: .32em 0; color: var(--on-dark); text-decoration: none;
  font: 700 clamp(1.75rem, 1.2rem + 3vw, 3rem)/1.15 var(--display); letter-spacing: -.02em; border-bottom: 1px dashed rgba(243, 236, 224, .16);
}
.overlay__nav a:hover, .overlay__nav a[aria-current="page"] { color: var(--clay-soft); }
.ov-num { font: 500 .8rem/1 var(--mono); color: var(--clay-soft); letter-spacing: .1em; min-width: 2em; }
.overlay__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-block: 20px 32px; }
.overlay__hours { width: 100%; margin: 4px 0 0; color: var(--on-dark-2); font-size: .92rem; }
body.menu-open { overflow: hidden; }

/* mobile dock */
.dock { display: none; }
@media (max-width: 759px) {
  .dock {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--char); border-top: 3px solid var(--clay); transition: transform .2s;
  }
  .dock__btn { flex: 1; }
  body { padding-bottom: 74px; }
  body.typing .dock, body.menu-open .dock { transform: translateY(110%); }
}

/* ---------- sections */
.sec { padding-block: clamp(64px, 8vw, 116px); }
.sec--tight { padding-block: clamp(40px, 5vw, 72px); }
.sec--kraft { background: var(--paper-2); }
.sec--dark { background: var(--char); color: var(--on-dark); }
.sec--dark .label { color: var(--on-dark-2); }
.sec--dark a:not(.btn) { color: var(--clay-soft); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head--split { max-width: none; display: grid; gap: 16px 48px; grid-template-columns: 1.2fr 1fr; align-items: end; }
.sec-head--split > p { margin: 0 0 .4em; color: var(--muted); font-size: 1.08rem; }
.sec--dark .sec-head--split > p { color: var(--on-dark-2); }
.sec-head h2 { margin-bottom: 0; }
.sec-head .lead { margin-top: 1rem; }
@media (max-width: 799px) { .sec-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- hero (home) */
.hero {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(20, 32, 43, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 32, 43, .045) 1px, transparent 1px);
  background-size: 28px 28px; padding-block: clamp(28px, 4.5vw, 56px) clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__h { font-size: clamp(2.35rem, 1.2rem + 4vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -.022em; margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.2rem; }
.hero__note { display: flex; align-items: center; gap: .5em; font-size: .92rem; color: var(--muted); margin: 0; }
.hero__note .ico { width: 17px; height: 17px; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 560px; }
.tape--hero { position: absolute; z-index: 3; top: -14px; left: 50%; translate: -50% 0; }
@media (max-width: 899px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__media { justify-self: center; }
}
@media (max-width: 599px) {
  .hero__btns .btn { flex: 1 1 auto; }
  .hero .hero__btns { flex-wrap: nowrap; gap: 8px; margin: 1.3rem 0 1rem; }
  .hero .hero__btns .btn { padding-inline: .8em; font-size: 1rem; }
  .hero__note { display: none; }
  .hero .hero__btns .btn--clay .ico { display: none; }
  .hero__lead { font-size: 1.06rem; }
}
.proof { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 52px); border-top: 2px solid var(--ink); }
.proof li { padding: 16px 18px 4px 0; border-right: 1px dashed var(--line-2); margin-right: 18px; }
.proof li:last-child { border-right: 0; margin-right: 0; }
.proof .label { color: var(--clay-ink); margin-bottom: .35rem; }
.proof__t { font-weight: 500; font-size: .98rem; line-height: 1.4; display: block; }
@media (max-width: 899px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof li:nth-child(2) { border-right: 0; margin-right: 0; } }
@media (max-width: 459px) { .proof { grid-template-columns: minmax(0, 1fr); } .proof li { border-right: 0; margin-right: 0; border-bottom: 1px dashed var(--line-2); padding: 12px 0; } .proof li:last-child { border-bottom: 0; } }

/* ---------- before/after slider (shared component: pipeline/templates/ba-slider; theme it with the --ba-* variables) */
.ba {
  --ba-pos: 25%;                 /* divider position; 25% shows three quarters of the after photo */
  --ba-line: #fff;               /* divider line */
  --ba-knob-bg: #fff;            /* round handle */
  --ba-knob-fg: #111;            /* handle arrows */
  --ba-label-bg: #111;           /* "Before" label */
  --ba-label-fg: #fff;
  --ba-label-after-bg: var(--ba-label-bg);
  --ba-label-after-fg: var(--ba-label-fg);
  --ba-focus: #ffbf47;
  --ba-radius: 0px;
  margin: 0;
}
/* Labels sit above the photo, never on it: the divider can't cut them and no photo makes them hard to read. */
.ba__labels { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.ba__label {
  padding: .5em .8em; border-radius: 3px; background: var(--ba-label-bg); color: var(--ba-label-fg);
  font-size: .75rem; font-weight: 700; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
}
.ba__label--after { background: var(--ba-label-after-bg); color: var(--ba-label-after-fg); }
.ba__frame {
  position: relative; overflow: hidden; aspect-ratio: var(--ba-ar, 4 / 3); border-radius: var(--ba-radius);
  background: #ddd; cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.ba__img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  pointer-events: none; -webkit-user-drag: none;
}
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--ba-pos); z-index: 2; width: 0; }
.ba__handle::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
  background: var(--ba-line); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}
.ba__knob {
  position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ba-knob-bg); color: var(--ba-knob-fg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35); cursor: grab; touch-action: none;
}
.ba__knob svg { width: 28px; height: 28px; }
.ba.is-dragging .ba__knob { cursor: grabbing; transform: scale(1.08); }
.ba__range:focus-visible + .ba__handle .ba__knob { outline: 3px solid var(--ba-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .ba__knob { transition: transform .15s; } }
/* Houses Into Homes theme for the slider */
.ba { --ba-label-bg: var(--char); --ba-label-fg: #fff; --ba-label-after-bg: var(--clay); --ba-knob-bg: var(--clay); --ba-knob-fg: #fff; --ba-focus: var(--focus); width: 100%; }
.ba__label { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .12em; }
.ba__frame { background: var(--paper-3); border: 8px solid var(--card); border-radius: 2px; box-shadow: var(--shadow); }
.ba__knob { border: 3px solid #fff; }
.ba__cap { padding: 14px 2px 0; }
.ba__cap .label { margin-bottom: .3rem; }
.ba__title { display: block; font: 700 1.2rem/1.2 var(--display); letter-spacing: -.01em; margin: 0; }
.sec--dark .ba { --ba-label-bg: var(--on-dark); --ba-label-fg: var(--char); }
.sec--dark .ba__frame { border-color: #24476a; }
.ba--sm .ba__knob { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.ba--sm .ba__title { font-size: 1.05rem; }

/* ---------- story */
.story__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__copy h2 { max-width: 14ch; }
.journal { list-style: none; margin: 1.6rem 0 1.8rem; border-left: 2px solid var(--clay); }
.journal li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: .55rem 0 .55rem 18px; position: relative; }
.journal li::before { content: ''; position: absolute; left: -7px; top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--clay); }
.journal__y { font: 500 .85rem/1.6 var(--mono); color: var(--clay-ink); letter-spacing: .06em; }
@media (max-width: 859px) { .story__in { grid-template-columns: minmax(0, 1fr); } }

/* taped snapshot */
.snap { position: relative; margin: 0 auto; background: var(--card); padding: 12px 12px 16px; box-shadow: var(--shadow); max-width: 400px; width: 100%; }
.snap img { width: 100%; }
.snap > .tape { position: absolute; top: -12px; left: 50%; translate: -50% 0; z-index: 2; }
.snap figcaption { font: 500 .78rem/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); padding-top: 12px; text-align: center; }
.snap--tilt { transform: rotate(1.6deg); }
.snap--tilt-r { transform: rotate(-1.4deg); }
@media (prefers-reduced-motion: no-preference) { .snap { transition: transform .4s; } .snap:hover { transform: rotate(0); } }

/* framed photo */
.frame { position: relative; margin: 0; background: var(--card); padding: 10px; box-shadow: var(--shadow); }
.frame img { width: 100%; }
.frame figcaption { position: absolute; left: 22px; bottom: 22px; }
.frame.tall img { aspect-ratio: 3/4; object-fit: cover; }

/* ---------- wall */
.wall__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); }
.wall__grid .ba { justify-self: center; }
.wall .ba__cap .label { color: var(--on-dark-2); }
.wall__more { margin: clamp(32px, 4vw, 52px) 0 0; text-align: center; }
@media (max-width: 699px) { .wall__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- build */
.bleed { margin: 0 auto; max-width: 1600px; position: relative; }
.bleed img { width: 100%; max-width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.bleed--short img { aspect-ratio: 16/6; }
.bleed figcaption { position: absolute; left: 0; right: 0; bottom: 22px; }
@media (max-width: 699px) { .bleed img, .bleed--short img { aspect-ratio: 4/3; } }
.svc-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(-90px, -6vw, -40px); position: relative; z-index: 2; }
.svc-card__a { display: flex; flex-direction: column; height: 100%; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); border-top: 4px solid var(--clay); transition: transform .2s; }
.svc-card__a:hover { transform: translateY(-3px); color: var(--ink); }
.svc-card__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.svc-card__h { font: 700 1.3rem/1.15 var(--display); letter-spacing: -.01em; }
.svc-card__t { font-size: .97rem; color: var(--ink-2); line-height: 1.5; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--clay-ink); font-size: .95rem; }
.svc-card__more .ico { width: 17px; height: 17px; }
.build__all { margin: 28px 0 0; }
@media (max-width: 1059px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .svc-cards { grid-template-columns: minmax(0, 1fr); margin-top: 24px; } .svc-card__img img { aspect-ratio: 16/9; } }
.mx-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.mx-block__h { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
@media (max-width: 899px) { .mx-block { grid-template-columns: minmax(0, 1fr); } }

/* services matrix */
.mx-wrap { width: 100%; }
.mx { width: 100%; border-collapse: collapse; background: var(--card); box-shadow: var(--shadow); font-size: .97rem; }
.mx caption { text-align: left; font: 500 .75rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; caption-side: top; }
.mx th, .mx td { padding: 10px 12px; border-bottom: 1px dashed var(--line-2); }
.mx thead th { font: 500 .72rem/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-align: center; background: var(--paper-3); border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.mx tbody th { text-align: left; font-weight: 600; }
.mx tbody th a { color: var(--ink); text-decoration: none; display: inline-block; padding: 4px 0; }
.mx tbody th a:hover { color: var(--clay-ink); text-decoration: underline; }
.mx td { text-align: center; width: 18%; }
.mx tbody tr:last-child th, .mx tbody tr:last-child td { border-bottom: 0; }
.mx tbody tr:hover { background: rgba(8, 114, 186, .05); }
.mx__yes { width: 22px; height: 22px; color: var(--pine); display: inline-block; vertical-align: middle; }
.mx__no { display: inline-block; width: 12px; height: 2px; background: var(--line-2); vertical-align: middle; }
@media (max-width: 459px) { .mx { font-size: .9rem; } .mx th, .mx td { padding: 9px 6px; } .mx thead th { font-size: .62rem; letter-spacing: .04em; } }

/* ---------- job board */
.board { background: var(--pine); color: var(--on-dark); position: relative;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.4px); background-size: 18px 18px; }
.board .label { color: #d4e4f1; }
.board .sec-head--split > p { color: #e3edf6; }
.jobs, .pillars, .seq { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.job, .pillar, .seq li {
  position: relative; background: var(--card); color: var(--ink); padding: 34px 22px 24px; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .6);
}
.job:nth-child(odd) { transform: rotate(-.8deg); }
.job:nth-child(even) { transform: rotate(.7deg); }
.job__pin { position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--clay); box-shadow: 0 2px 3px rgba(0, 0, 0, .35), inset -2px -2px 0 rgba(0, 0, 0, .2); }
.job__n, .pillar__n, .seq__n { display: block; font: 800 3.4rem/1 var(--display); color: var(--clay); letter-spacing: -.04em; margin-bottom: .2em; }
.job__h { font-size: 1.3rem; }
.job p, .pillar p, .seq p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar h3 { font-size: 1.4rem; }
.seq { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.seq li { padding-top: 24px; border-top: 5px solid var(--clay); }
.seq h3 { font-size: 1.15rem; }
.seq__n { font-size: 2.4rem; }
@media (max-width: 1099px) { .seq { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 999px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 799px) { .pillars { grid-template-columns: minmax(0, 1fr); } .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .jobs, .seq { grid-template-columns: minmax(0, 1fr); } .job:nth-child(n) { transform: none; } }

/* ---------- testimonial */
.words { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 24px clamp(32px, 5vw, 80px); }
.words__head h2 { max-width: 12ch; }
.quote { margin: 0; position: relative; background: var(--card); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border-left: 6px solid var(--clay); }
.quote__mark { position: absolute; top: -22px; right: 28px; width: 64px; height: 64px; color: var(--clay); }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 500 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.5 var(--display); letter-spacing: -.005em; margin: 0; }
.quote figcaption { margin-top: 1.4rem; }
.quote figcaption .label { margin-bottom: .2rem; }
.quote cite { font: 700 1.15rem/1.2 var(--display); font-style: normal; }
.reviews-slot { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 20px 24px; border: 2px dashed var(--line-2); }
.reviews-slot .label { width: 100%; margin: 0; }
.reviews-slot p:not(.label) { margin: 0; flex: 1 1 280px; }
@media (max-width: 859px) { .words { grid-template-columns: minmax(0, 1fr); } .reviews-slot { grid-column: auto; } }

/* ---------- find us */
.findus__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0 1.6rem; }
.towns li, .towns a { font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.towns a, .towns li:not(:has(a)) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; background: transparent; }
.towns a:hover { background: var(--ink); color: var(--paper); }
.findus__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.infocard { background: var(--card); padding: 20px 22px; box-shadow: var(--shadow); }
.infocard--dark { background: var(--char); color: var(--on-dark); }
.infocard--dark .small { color: var(--on-dark-2); }
.infocard__h { display: flex; align-items: center; gap: .5em; font-size: 1.15rem; margin-bottom: .7em; }
.infocard__h .ico { color: var(--clay); }
.infocard--dark .infocard__h .ico { color: var(--clay-soft); }
.infocard p:last-child { margin-bottom: 0; }
.big-phone { font: 800 clamp(1.45rem, 1.2rem + 1vw, 1.9rem)/1.1 var(--display); color: inherit; text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.big-phone:hover { color: var(--clay); }
.infocard--dark .big-phone:hover { color: var(--clay-soft); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px dashed var(--line-2); text-align: left; font-weight: 500; vertical-align: top; }
.hours td { text-align: right; padding-left: 12px; white-space: nowrap; }
.hours abbr { text-decoration: none; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
@media (max-width: 899px) { .findus__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 459px) { .findus__cards { grid-template-columns: minmax(0, 1fr); } }
.paper { position: relative; background: var(--card); padding: clamp(28px, 4vw, 40px) clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); }
.paper > .tape:first-child { position: absolute; top: -12px; left: 24px; }
.paper__h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: .2em; }

/* ---------- forms */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form--compact .form__grid { grid-template-columns: 1fr 1fr; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-weight: 600; font-size: .95rem; }
.req { color: var(--clay-ink); }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.hint { margin: 0; font-size: .88rem; color: var(--muted); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid #8b8278; border-radius: var(--radius);
}
.fld textarea { resize: vertical; min-height: 110px; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2314202b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.fld [aria-invalid="true"] { border-color: #b3261e; background-color: #fff8f6; }
.err { margin: 0; color: #a1231b; font-size: .9rem; font-weight: 600; }
.form__summary { background: #fbe9e5; border-left: 4px solid #b3261e; padding: 12px 14px; color: #7d1a13; font-weight: 600; }
.form__note { font-size: .88rem; color: var(--muted); margin: 18px 0; }
.form__done { padding: 8px 0; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__captcha:empty { display: none; }
.form__captcha { margin: 0 0 18px; }
.form__fail { background: #fbe9e5; border-left: 4px solid #b3261e; padding: 12px 14px; color: #7d1a13; font-weight: 600; margin: 0 0 18px; }
.form__fail:focus { outline: none; }
.form { position: relative; }
.form__done:focus { outline: none; }
.form__done-h { font-size: 1.5rem; }
@media (max-width: 559px) { .form__grid, .form--compact .form__grid { grid-template-columns: minmax(0, 1fr); } .form .btn--lg { width: 100%; } }

/* ---------- CTA band */
.cta { padding-block: clamp(56px, 7vw, 96px); background: var(--paper-2); border-top: 1px solid var(--line); }
.cta--dark { background: var(--char); color: var(--on-dark); border-top: 0; position: relative; }
.cta--dark::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(-45deg, var(--clay) 0 14px, var(--char) 14px 28px); }
.cta--dark .label { color: var(--on-dark-2); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px 56px; align-items: end; }
.cta__h { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); max-width: 18ch; }
.cta__p { color: var(--ink-2); max-width: 52ch; margin: 0; font-size: 1.08rem; }
.cta--dark .cta__p { color: var(--on-dark-2); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 859px) { .cta__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer */
.foot { background: var(--char-3); color: var(--on-dark-2); padding-top: clamp(56px, 6vw, 80px); font-size: .95rem; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: var(--clay-soft); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.foot__brand .logo-img { width: 170px; margin-bottom: 18px; }
.foot__h { font: 500 .75rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 1rem; }
.foot__col ul { list-style: none; display: grid; gap: 2px; }
.foot__col li a { display: inline-block; padding: 5px 0; min-height: 24px; }
.foot__phone { font: 800 1.5rem/1.1 var(--display); letter-spacing: -.02em; display: inline-block; padding: 4px 0; }
.foot .hours th, .foot .hours td { border-color: rgba(243, 236, 224, .16); color: var(--on-dark-2); }
.foot__area { margin-top: 14px; font-size: .9rem; }
.foot__area strong { color: var(--on-dark); }
.foot__social { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(243, 236, 224, .35); border-radius: var(--radius); }
.soc .ico { width: 18px; height: 18px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 20px; font-size: .85rem; position: relative; }
.foot__base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(243, 236, 224, .14); }
.foot__base p { margin: 0; }
.foot__base a { display: inline-block; padding: 6px 0; }
@media (max-width: 999px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- inner page hero */
.phero { padding-block: clamp(24px, 3vw, 40px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(20, 32, 43, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 32, 43, .04) 1px, transparent 1px);
  background-size: 28px 28px; }
.phero--tight { padding-bottom: clamp(36px, 4vw, 56px); }
.phero__h { font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; max-width: 16ch; }
.phero .lead { max-width: 56ch; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__grid--mx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.phero__grid--map { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.phero__snap { max-width: 460px; }
@media (max-width: 899px) { .phero__grid, .phero__grid--mx, .phero__grid--map { grid-template-columns: minmax(0, 1fr); } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 .74rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs li { display: inline-flex; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin: 0 .7em; color: var(--line-2); }
.crumbs a { color: var(--ink); text-decoration: none; display: inline-block; padding: 6px 0; }
.crumbs a:hover { color: var(--clay-ink); text-decoration: underline; }
.paper--mx { padding-top: 34px; }
.paper--mx .mx { box-shadow: none; }
.paper--map { padding: 30px 16px 16px; }

/* prose */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); margin-top: 1.6em; }
.prose > h2:first-child, .prose > .label + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose--doc h2 { font-size: 1.6rem; }
.prose-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px clamp(32px, 6vw, 96px); }
.prose-grid__side h2 { max-width: 12ch; }
@media (max-width: 859px) { .prose-grid { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split--wide > .prose:first-child { order: 0; }
@media (max-width: 859px) { .split, .split--wide { grid-template-columns: minmax(0, 1fr); } }

/* about */
.person { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.person--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.person__photo { max-width: 440px; width: 100%; justify-self: center; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.facts li { background: var(--card); padding: 12px 16px; box-shadow: var(--shadow); font-weight: 600; }
.sec--kraft .facts li { background: var(--paper); }
.facts .label { margin-bottom: .2rem; color: var(--clay-ink); }
@media (max-width: 859px) { .person, .person--flip { grid-template-columns: minmax(0, 1fr); } .person--flip .person__photo { order: -1; } }

/* services page */
.jump { position: sticky; top: 115px; z-index: 20; background: var(--char); border-bottom: 1px solid #000; }
.jump ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding-block: 8px; }
.jump a { display: inline-flex; align-items: center; gap: .5em; min-height: 40px; padding: 0 12px; color: var(--on-dark); text-decoration: none; white-space: nowrap; font-size: .9rem; font-weight: 500; border-radius: 4px; }
.jump a:hover { background: rgba(243, 236, 224, .1); color: #fff; }
.jump .label { margin: 0; color: var(--clay-soft); display: inline; font-size: .68rem; }
@media (max-width: 899px) { .jump { top: 67px; } }
.svcs { padding-block: clamp(32px, 5vw, 64px); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px dashed var(--line-2); scroll-margin-top: 180px; }
.svc:last-child { border-bottom: 0; }
.svc--flip .svc__img { order: 2; }
.svc__img { justify-self: center; width: 100%; max-width: 560px; }
.svc__img img { aspect-ratio: 4/3; object-fit: cover; }
.svc__h { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); margin-bottom: .2em; }
.svc__sub { font: 600 1.15rem/1.4 var(--body); color: var(--clay-ink); }
.svc__cta { margin: 1.4rem 0 0; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 1.2rem 0 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--pine); width: 20px; height: 20px; margin-top: 3px; }
@media (max-width: 859px) { .svc { grid-template-columns: minmax(0, 1fr); } .svc__cta .btn { white-space: normal; } .svc--flip .svc__img { order: 0; } .svc { scroll-margin-top: 130px; } }

/* FAQ accordion */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: 140px; }
.acc { border-top: 2px solid var(--ink); }
.acc__item { border-bottom: 1px dashed var(--line-2); }
.acc__h { margin: 0; font-size: inherit; }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; gap: 14px; text-align: left; background: transparent; border: 0; color: var(--ink);
  padding: 18px 4px; cursor: pointer; font: 650 1.08rem/1.4 var(--body); min-height: 48px;
}
.acc__btn:hover .acc__q { color: var(--clay-ink); }
.acc__n { font: 500 .78rem/1.9 var(--mono); color: var(--clay-ink); flex: none; min-width: 2em; }
.acc__q { flex: 1; }
.acc__ico { width: 22px; height: 22px; flex: none; transition: transform .25s; margin-top: 1px; color: var(--clay); }
.acc__btn[aria-expanded="true"] .acc__ico { transform: rotate(45deg); }
.acc__panel { padding: 0 4px 20px calc(2em + 18px); color: var(--ink-2); }
.acc__panel p { margin: 0; max-width: 64ch; }
@media (max-width: 859px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__side { position: static; } }

/* custom homes */
.decide { list-style: none; display: grid; gap: 12px; margin-top: 1.2rem; padding: 0 !important; }
.decide li { background: var(--card); padding: 14px 18px; border-left: 4px solid var(--pine); box-shadow: var(--shadow); margin: 0 !important; }
.decide .label { margin-bottom: .3rem; color: var(--pine); }
.decide p { margin: 0; }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.note { position: relative; background: var(--card); padding: 38px 24px 26px; box-shadow: var(--shadow); }
.note > .tape { position: absolute; top: -12px; left: 20px; }
.note h3 { font-size: 1.35rem; }
.note p { margin: 0; color: var(--ink-2); }
@media (max-width: 899px) { .notes { grid-template-columns: minmax(0, 1fr); } }

/* portfolio */
.tally { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.tally li { padding: 14px 10px 0 0; }
.tally__n { display: block; font: 800 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--display); color: var(--clay); letter-spacing: -.04em; }
.tally .label { margin: .4rem 0 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.filters ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .95rem/1 var(--body); cursor: pointer; }
.chip:hover { background: var(--paper-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip__n { font: 500 .72rem/1 var(--mono); opacity: .8; }
.filters__count { margin: 0; font: 500 .8rem/1.4 var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.pf-anchor { position: relative; top: -150px; }
.pf-group { margin-bottom: clamp(40px, 5vw, 64px); }
.pf-group[hidden] { display: none; }
.pf-group__h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font: 500 1rem/1.4 var(--body); color: var(--muted); margin-bottom: 24px; }
.pf-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pf-grid--pairs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.pf[hidden] { display: none; }
.pf__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--card); cursor: zoom-in; position: relative; box-shadow: var(--shadow); padding: 6px; }
.pf__btn img { width: 100%; max-width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pf__zoom { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; background: rgba(20, 32, 43, .78); color: #fff; border-radius: 50%; opacity: 0; transition: opacity .2s; }
.pf__zoom .ico { width: 18px; height: 18px; }
.pf__btn:hover .pf__zoom, .pf__btn:focus-visible .pf__zoom { opacity: 1; }
.pf__cap { margin: 10px 0 0; font-weight: 600; font-size: .95rem; }
.pf__cap .label { margin: 0 0 .15rem; font-size: .66rem; }
@media (max-width: 1099px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pf-grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .pf-grid--pairs { grid-template-columns: minmax(0, 1fr); } }
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 250; background: rgba(6, 22, 36, .96); color: var(--on-dark); display: grid; grid-template-rows: auto 1fr; }
.lb[hidden] { display: none; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
.lb__count { margin: 0; font: 500 .8rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 72px 24px; min-height: 0; }
.lb__img { max-width: min(100%, var(--w, 100%)); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); background: #111; }
.lb__cap { margin-top: 14px; font-weight: 500; text-align: center; }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(243, 236, 224, .5); background: rgba(20, 32, 43, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb__nav:hover { background: var(--clay); border-color: var(--clay); }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
@media (max-width: 599px) { .lb__fig { padding: 0 12px 90px; } .lb__nav { top: auto; bottom: 18px; translate: none; } .lb__nav--prev { left: calc(50% - 64px); } .lb__nav--next { right: calc(50% - 64px); } }

/* service area */
.mp { width: 100%; height: auto; display: block; }
.mp__bg { fill: #f7f1e6; stroke: var(--line-2); }
.mp__topo { fill: none; stroke: rgba(22, 68, 107, .28); stroke-width: 1.2; }
.mp__route { stroke: var(--clay); stroke-width: 1.6; stroke-dasharray: 5 6; fill: none; opacity: .75; }
.mp__dot { fill: var(--clay); stroke: #fff; stroke-width: 2.5; }
.mp__lab { font: 600 14px var(--mono); fill: var(--ink); letter-spacing: .02em; paint-order: stroke; stroke: #f7f1e6; stroke-width: 5px; stroke-linejoin: round; }
.mp__town:hover .mp__dot, .mp__town:focus-visible .mp__dot { fill: var(--pine); }
.mp__town:focus-visible { outline: none; }
.mp__town:focus-visible .mp__lab { text-decoration: underline; }
.mp__n path { fill: var(--ink); }
.mp__n text { font: 600 13px var(--mono); fill: var(--ink); }
.mp__note { font: 500 11px var(--mono); fill: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.towns--jump { margin-bottom: 0; }
.towns-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.town { background: var(--card); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); border-top: 4px solid var(--pine); scroll-margin-top: 140px; }
.town__h { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: .15em; }
.town__topic { font-weight: 600; color: var(--clay-ink); }
.town__link { margin: 1.2rem 0 0; font-weight: 600; }
.town__link a { display: inline-flex; align-items: center; gap: .4em; }
.town__link .ico { width: 17px; height: 17px; }
@media (max-width: 799px) { .towns-grid { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact__side { display: grid; gap: 18px; }
.contact__side .towns { margin: .6rem 0 0; }
.contact__side .towns li { font-size: .72rem; }
.contact__main { scroll-margin-top: 130px; }
.soc-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 899px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact__main { order: -1; } }

/* blog */
.bfilter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 20px; background: var(--card); box-shadow: var(--shadow); margin-bottom: 16px; }
.bfilter__f { display: flex; flex-direction: column; gap: 6px; }
.bfilter label { font: 500 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.bfilter input, .bfilter select { width: 100%; min-height: 48px; padding: 10px 13px; font: 400 1rem var(--body); border: 1.5px solid #8b8278; border-radius: var(--radius); background: #fff; color: var(--ink); }
.bfilter select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2314202b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.bfilter__in { position: relative; }
.bfilter__in .ico { position: absolute; left: 13px; top: 50%; translate: 0 -50%; color: var(--muted); }
.bfilter__in input { padding-left: 42px; }
.bfilter input:focus, .bfilter select:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.bfilter__count { font: 500 .8rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.bfilter__empty { padding: 24px; border: 2px dashed var(--line-2); }
.bfilter__more { text-align: center; margin: 32px 0 0; }
.bfilter__more[hidden] { display: none; }
@media (max-width: 699px) { .bfilter { grid-template-columns: 1fr 1fr; } .bfilter__f--q { grid-column: 1 / -1; } }
.post-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.post-cards--idx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card[hidden] { display: none; }
.post-card__in, .post-card__a { display: flex; flex-direction: column; height: 100%; background: var(--card); padding: 26px 26px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--clay); color: var(--ink); text-decoration: none; position: relative; }
.post-card--soon .post-card__in { border-top-color: var(--paper-3); background: rgba(251, 248, 242, .6); box-shadow: none; border: 1.5px dashed var(--line-2); border-top-width: 4px; }
.post-card__h { display: block; font: 700 clamp(1.3rem, 1.1rem + .6vw, 1.6rem)/1.15 var(--display); letter-spacing: -.015em; margin: 0 0 .5em; }
.post-card__link { color: var(--ink); text-decoration: none; }
.post-card__link::after { content: ''; position: absolute; inset: 0; }
.post-card__link:hover, .post-card__a:hover .post-card__h { color: var(--clay-ink); }
.post-card--idx:has(.post-card__link:focus-visible) .post-card__in { outline: 3px solid var(--focus); outline-offset: 3px; }
.post-card__link:focus-visible { outline: none; }
.post-card__meta { font: 500 .78rem/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; margin: 0 0 .9em; display: block; }
.post-card__ex { color: var(--ink-2); flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--clay-ink); }
.post-card__more .ico { width: 17px; height: 17px; }
.post-card__soon { font: 500 .74rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 759px) { .post-cards, .post-cards--idx { grid-template-columns: minmax(0, 1fr); } }
.post__head { padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(rgba(20, 32, 43, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 32, 43, .04) 1px, transparent 1px); background-size: 28px 28px; }
.post__h { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; max-width: 20ch; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 .82rem/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; margin: 0; }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px); align-items: start; }
.post__fig { margin-bottom: 2rem; }
.post__fig img { aspect-ratio: 16/9; object-fit: cover; }
.post__body { font-size: 1.08rem; }
.post__body h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-top: 1.7em; }
.post__aside { display: grid; gap: 20px; position: sticky; top: 140px; }
.post__aside .paper { padding-top: 34px; }
.post__aside .paper__h { font-size: 1.45rem; }
@media (max-width: 959px) { .post__grid { grid-template-columns: minmax(0, 1fr); } .post__aside { position: static; } }

/* ---------- project planner (home, from v2) */
.plan { background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.plan__opts { border: 0; margin: 0; padding: clamp(16px, 2.4vw, 26px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; background: var(--paper); border-bottom: 1px dashed var(--line-2); }
.plan__opts legend { padding: 0; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 58px; padding: 10px 14px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line-2); font: 600 .98rem/1.25 var(--display); color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.opt__ic { width: 36px; height: 36px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; background: #e2edf6; color: var(--clay-ink); flex: none; transition: background-color .2s, color .2s; }
.opt__ic .ico { width: 20px; height: 20px; }
.opt:hover .opt__box { border-color: var(--clay); }
.opt input:checked + .opt__box { background: var(--clay); border-color: var(--clay); color: #fff; }
.opt input:checked + .opt__box .opt__ic { background: rgba(255, 255, 255, .18); color: #fff; }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--focus); outline-offset: 2px; }
.plan__stage { padding: clamp(22px, 3.2vw, 40px); }
.plan__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .95fr); gap: clamp(22px, 3vw, 40px); }
.plan__panel + .plan__panel { margin-top: 40px; padding-top: 40px; border-top: 1px dashed var(--line-2); }
.plan.is-ready .plan__panel[hidden] { display: none; }
.plan.is-ready .plan__panel { margin-top: 0; padding-top: 0; border-top: 0; }
.plan__h { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); margin-bottom: .7em; }
.plan__sub { font: 500 .75rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.plan__checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.plan__checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.5; }
.plan__checks .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--clay); }
.plan__qs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: q; }
.plan__qs li { background: var(--paper); border-left: 3px solid var(--clay); padding: 14px 16px 14px 50px; position: relative; counter-increment: q; }
.plan__qs li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 14px; top: 15px; font: 500 .8rem/1.4 var(--mono); color: var(--clay-ink); }
.plan__qs strong { display: block; font-family: var(--display); font-weight: 650; color: var(--ink); margin-bottom: 2px; line-height: 1.3; }
.plan__qs span { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.plan__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.plan__photos img { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-3); }
.plan__photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.plan__photos img:only-child, .plan__photos img:first-child:nth-last-child(2) ~ img { grid-column: 1 / -1; }
.plan__note { font-size: .93rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
@media (max-width: 1099px) {
  .plan__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan__side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
  .plan__side .plan__photos { margin: 0; }
}
@media (max-width: 899px) { .plan__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .plan__panel, .plan__side { grid-template-columns: minmax(0, 1fr); }
  .opt__box { font-size: .92rem; gap: 10px; padding: 9px 11px; min-height: 54px; }
  .opt__ic { width: 30px; height: 30px; }
  .plan__side .btn--lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-head, .dock, .foot, .cta { display: none; } body { background: #fff; } }
.post__aside, .contact__side { grid-template-columns: minmax(0, 1fr); }
.mx-wrap { overflow-x: auto; }
@media (max-width: 419px) { .btn { white-space: normal; text-align: center; } }
@media (min-width: 1100px) { .jump { position: static; } .jump ul { flex-wrap: wrap; overflow: visible; justify-content: center; } .jump a { min-height: 36px; } }
.post__aside .btn, .paper .btn--sm { white-space: normal; text-align: left; }
