/* KW Building — site styles. Colours measured from their logo and current site. */
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial");
  size-adjust: 102%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --deep: #1e1e1e;          /* their site's dark */
  --deep-2: #2a2b29;
  --pale: #f1f6e8;          /* pale partner: their lime at a whisper */
  --paper: #fbfcf8;
  --lime: #8cc63f;          /* logo green */
  --lime-ink: #4b7a16;      /* logo green, deepened for text on light grounds */
  --grey: #676767;          /* logo grey */
  --ink: #1e1e1e;
  --line: #d6ddca;
  --on-deep: #f4f6f0;
  --on-deep-2: #b8bcb3;
  --gut: clamp(1.25rem, 5.5vw, 5.5rem);
  --max: 80rem;
  --head-h: 68px;
  --s: 14px;               /* the step in their logo, used as a corner on frames */
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  font-family: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--lime-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.on-deep :focus-visible, .deep :focus-visible { outline-color: var(--lime); }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 7.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 6.4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 3.6vw, 1.6rem); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
ul { padding-left: 1.2em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.col { max-width: 40rem; }
.lede { font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.5; color: #3a3b39; }
.muted { color: var(--grey); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--deep); color: #fff; padding: .7rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }

.eyebrow {
  display: flex; align-items: center; gap: .65rem;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime-ink);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.deep .eyebrow { color: var(--lime); }

/* The motif: the stepped roofline of their logo, cut into a corner */
.step {
  clip-path: polygon(0 0, calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s),
    calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2), 100% 100%, 0 100%);
}
.steps { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.steps li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-bottom: 1px solid var(--line); }
.steps li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 11px;
  background: var(--lime);
  clip-path: polygon(0 100%, 0 45%, 33% 45%, 33% 0, 66% 0, 66% 30%, 100% 30%, 100% 100%);
}
.deep .steps li { border-color: #3a3b39; }

/* Buttons */
.btn {
  --s: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.35rem;
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 0;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.btn .ic { width: 22px; height: 22px; flex: none; }
.btn--call {
  background: var(--lime); color: var(--deep);
  clip-path: polygon(0 0, calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s),
    calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2), 100% 100%, 0 100%);
}
.btn--call:hover { background: #9fd654; }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: rgba(140, 198, 63, .14); }
.btn--wide { width: 100%; }
.btn:active { transform: translateY(1px); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; }
.link-arrow .ic { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.deep a { color: var(--lime); }
.deep .btn--call, .hero .btn--call { color: var(--deep); }

/* ---------- Progress line: a tape measure pulled out as you read ---------- */
.tape { display: none; }
@supports (animation-timeline: scroll()) {
  .tape {
    display: block; position: fixed; z-index: 49; left: 0; right: 0; top: var(--head-h); height: 9px;
    pointer-events: none;
    background:
      repeating-linear-gradient(90deg, var(--deep) 0 1px, transparent 1px 50px) 0 0 / 100% 7px no-repeat,
      repeating-linear-gradient(90deg, var(--deep) 0 1px, transparent 1px 10px) 0 0 / 100% 3px no-repeat,
      #c4e38f;
    border-bottom: 1px solid rgba(30, 30, 30, .35);
    clip-path: inset(0 100% 0 0);
    animation: tape-out linear both;
    animation-timeline: scroll(root block);
  }
  .tape::after {  /* the steel hook at the end of the blade */
    content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 13px; background: var(--deep);
    animation: tape-hook linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes tape-out { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes tape-hook { from { transform: translateX(-5px); } to { transform: translateX(calc(100vw - 5px)); } }
}

/* ---------- Header: stays the same height; tightens visually once you read down ---------- */
.head {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: rgba(251, 252, 248, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
@supports (backdrop-filter: blur(8px)) { .head { background: rgba(251, 252, 248, .86); backdrop-filter: saturate(1.4) blur(10px); } }
.head__bar {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; gap: .75rem;
}
.head__logo { flex: none; transform-origin: left center; transition: transform .35s var(--ease); }
.head__logo img { width: 112px; height: auto; }
.head__line {
  margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--grey);
  transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; display: none;
}
.head__call {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; color: var(--deep); text-decoration: none; white-space: nowrap; font-size: 1.02rem;
  min-height: 44px;
}
.head__call .ic { width: 22px; height: 22px; color: var(--lime-ink); }
.head__short { display: none; }
.head__quote { display: none; min-height: 44px; font-size: .95rem; }
html[data-stuck] .head { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .35); }
html[data-stuck] .head__logo { transform: scale(.86); }
html[data-stuck] .head__line { opacity: 0; transform: translateY(-4px); }

/* Menu: a popover on phones, a plain row on wide screens */
.nav { order: 3; }
.nav__btn {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .55rem;
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--deep); background: none; border: 0; cursor: pointer;
}
.nav__btn .ic { width: 22px; height: 22px; }
.nav__menu {
  inset: 0 0 auto auto; margin: 0; width: min(23rem, 100vw); height: 100dvh; max-height: none;
  padding: 1.25rem var(--gut) 2rem; border: 0;
  background: var(--deep); color: var(--on-deep);
  transition: transform .35s var(--ease), opacity .35s, display .35s allow-discrete, overlay .35s allow-discrete;
  transform: translateX(100%);
}
.nav__menu:popover-open { transform: none; }
@starting-style { .nav__menu:popover-open { transform: translateX(100%); } }
.nav__menu::backdrop { background: rgba(10, 10, 10, .45); }
.nav__menu ul { list-style: none; padding: 0; margin: 3rem 0 2rem; }
.nav__menu li a {
  display: block; padding: .7rem 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--on-deep); text-decoration: none; border-bottom: 1px solid #3a3b39;
}
.nav__menu li a[aria-current="page"] { color: var(--lime); }
.nav__close {
  position: absolute; right: var(--gut); top: 1rem; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; color: var(--on-deep); cursor: pointer;
}
.nav__mail { display: inline-flex; gap: .5rem; align-items: center; color: var(--on-deep-2); font-size: .95rem; text-decoration: none; }
.nav__mail .ic { width: 20px; }

@media (max-width: 380px) {
  .head__num { display: none; }
  .head__short { display: inline; }
}
@media (min-width: 720px) {
  .head__line { display: block; }
}
@media (min-width: 1100px) {
  :root { --head-h: 80px; }
  .head__logo img { width: 124px; }
  .nav { order: 0; margin-left: auto; }
  .nav__btn, .nav__close, .nav__mail { display: none; }
  .nav__menu, .nav__menu:not(:popover-open) {
    display: block; position: static; width: auto; height: auto; padding: 0; background: none; color: inherit;
    transform: none; overflow: visible; inset: auto;
  }
  .nav__menu ul { display: flex; gap: 1.6rem; margin: 0; }
  .nav__menu li a { font-size: .98rem; font-weight: 600; letter-spacing: 0; color: var(--deep); border: 0; padding: .4rem 0; position: relative; }
  .nav__menu li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav__menu li a:hover::after, .nav__menu li a[aria-current="page"]::after { transform: none; }
  .nav__menu li a[aria-current="page"] { color: var(--deep); }
  .head__call { margin-left: 1.5rem; }
  .head__quote { display: inline-flex; }
}

/* ---------- Bottom call bar (phones): slims to Call while reading down, both buttons back on the way up ---------- */
.callbar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: flex; gap: 1px; background: var(--deep);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, .5);
}
.callbar__call, .callbar__quote {
  flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 60px; font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer;
  transition: flex-basis .35s var(--ease), min-height .35s var(--ease), opacity .25s;
}
.callbar__call { background: var(--lime); color: var(--deep); }
.callbar__call .ic { width: 22px; height: 22px; }
.callbar__num { font-weight: 700; }
.callbar__quote { background: var(--deep); color: var(--on-deep); position: relative; }
.carry-count {
  display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; margin-left: .45rem; padding: 0 .3rem;
  border-radius: 1rem; background: var(--lime); color: var(--deep); font-size: .78rem; font-weight: 800;
}
.carry-count[hidden] { display: none; }
html[data-dir="down"] .callbar__call { flex-basis: 100%; min-height: 52px; }
html[data-dir="down"] .callbar__quote { flex-basis: 0; min-height: 52px; opacity: 0; overflow: hidden; padding: 0; pointer-events: none; }
@media (max-width: 400px) { .callbar__call { flex-basis: 64%; font-size: .95rem; gap: .4rem; } .callbar__quote { flex-basis: 36%; font-size: .95rem; } .callbar__call .ic { width: 20px; } }
@media (min-width: 1100px) { .callbar { display: none; } }

/* ---------- Quote drawer: rises over the page ---------- */
.drawer {
  margin: auto 0 0; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92dvh; overflow: auto;
  padding: 0; border: 0; background: var(--paper); color: var(--ink);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5);
  transition: transform .4s var(--ease), display .4s allow-discrete, overlay .4s allow-discrete;
  transform: translateY(100%);
}
.drawer:popover-open { transform: none; }
@starting-style { .drawer:popover-open { transform: translateY(100%); } }
.drawer::backdrop { background: rgba(10, 10, 10, .5); }
.drawer__in { padding: 1.25rem var(--gut) calc(1.5rem + env(safe-area-inset-bottom)); max-width: 34rem; margin: 0 auto; }
.drawer__in::before { content: ""; display: block; width: 44px; height: 4px; margin: 0 auto 1rem; background: var(--line); border-radius: 2px; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__h { font-size: 1.9rem; margin: 0; }
.drawer__x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.drawer__lede { color: var(--grey); margin: .2rem 0 1rem; }
@media (min-width: 760px) {
  .drawer { inset: auto 1.5rem 1.5rem auto; width: 30rem; max-height: calc(100dvh - 3rem); transform: translateY(24px); opacity: 0;
    transition: transform .35s var(--ease), opacity .35s, display .35s allow-discrete, overlay .35s allow-discrete; }
  .drawer:popover-open { transform: none; opacity: 1; }
  @starting-style { .drawer:popover-open { transform: translateY(24px); opacity: 0; } }
  .drawer__in::before { display: none; }
}

/* Forms */
.qform { display: grid; gap: .9rem; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .85rem; min-height: 50px; background: #fff;
  border: 1.5px solid #b9c2ab; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus { border-color: var(--lime-ink); outline: 3px solid rgba(140, 198, 63, .45); outline-offset: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__note { font-size: .88rem; color: var(--grey); margin: 0; }
.carry { background: var(--pale); border-left: 3px solid var(--lime); padding: .75rem .9rem; }
.carry__h { font-weight: 800; font-size: .9rem; margin: 0 0 .35rem; }
.carry__ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.carry__ul li { display: flex; gap: .6rem; align-items: start; justify-content: space-between; font-size: .95rem; }
.carry__ul button {
  flex: none; font: inherit; font-size: .82rem; font-weight: 700; color: var(--lime-ink); background: none; border: 0;
  text-decoration: underline; cursor: pointer; min-height: 32px; padding: 0 .2rem;
}

/* ---------- Reveal as sections arrive (only once scripts are running) ---------- */
html.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .rise.is-in { opacity: 1; transform: none; }
html.js .wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
html.js .wipe.is-in { clip-path: inset(0 0 0 0); }
html.js .wipe.step.is-in {
  clip-path: polygon(0 0, calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s),
    calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2), 100% 100%, 0 100%);
}
html.js .wipe.step { clip-path: polygon(0 0, calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) 0, calc(100% - var(--s)) 0, calc(100% - var(--s)) 0, 100% 0, 100% 0, 0 0); }

/* ---------- Home: the opening ---------- */
.hero { background: var(--deep); color: var(--on-deep); position: relative; }
.hero__media { position: relative; height: clamp(230px, 36svh, 360px); overflow: hidden; background: #46505c; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0) 55%, rgba(30, 30, 30, .85) 100%);
}
.hero__paper, .hero__sketch { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__paper { background: var(--paper); opacity: .9; animation: paper-lift 1s var(--ease) 1.55s both; }
.hero__sketch { animation: sketch-out .9s ease 1.9s both; }
.hero__sketch .ln { fill: none; stroke: var(--deep); stroke-width: 1.9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) both; }
.hero__sketch .dim { stroke: var(--lime-ink); stroke-width: 1.6; }
.hero__sketch .g1 .ln { animation-delay: .05s; }
.hero__sketch .g2 .ln { animation-delay: .3s; }
.hero__sketch .g3 .ln { animation-delay: .55s; }
.hero__sketch .g4 .ln { animation-delay: .8s; }
.hero__sketch .g5 .ln { animation-delay: 1.05s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes paper-lift { to { opacity: 0; } }
@keyframes sketch-out { to { opacity: 0; } }

.hero__body { position: relative; z-index: 2; padding-bottom: 1.6rem; }
.year { margin: 0; display: flex; align-items: flex-end; gap: .9rem; }
.year__num {
  font-size: clamp(6.3rem, 31vw, 17.5rem); font-weight: 800; letter-spacing: -.065em; line-height: .78;
  color: var(--pale); margin-top: -.42em; margin-left: -.05em;
}
.year__cap { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); line-height: 1.35; padding-bottom: .2rem; max-width: 8.5rem; }
.hero h1 { font-size: clamp(1.75rem, 7.4vw, 3.6rem); margin: 1rem 0 .6rem; color: #fff; }
.hero__lede { color: var(--on-deep-2); font-size: 1.02rem; line-height: 1.5; margin-bottom: 1.15rem; max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__cta .btn--line { color: var(--on-deep); }
@media (max-width: 380px) { .hero__cta .btn { padding: 0 1rem; font-size: .97rem; } }
@media (min-width: 900px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    min-height: min(calc(100svh - var(--head-h)), 820px);
  }
  .hero__media { grid-column: 2; grid-row: 1; height: auto; }
  .hero__media::after { background: linear-gradient(90deg, rgba(30, 30, 30, .55) 0, rgba(30, 30, 30, 0) 28%); }
  .hero__body {
    grid-column: 1; grid-row: 1; max-width: none; margin: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 3rem clamp(2rem, 4vw, 4.5rem) clamp(2.5rem, 5vh, 4rem) max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  }
  .year { flex-direction: column; align-items: flex-start; gap: .4rem; position: relative; z-index: 3; }
  .year__cap { max-width: none; }
  .year__num { margin: 0 -.5em 0 -.05em; font-size: clamp(7.5rem, 12.5vw, 13rem); }  /* breaks out of the column into the photo */
  .hero h1 { font-size: clamp(2.1rem, 3.3vw, 3.3rem); margin-top: 1.4rem; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(3rem, 9vw, 7rem); position: relative; }
.sec--tight { padding-block: clamp(2.75rem, 7vw, 5rem); }
.deep { background: var(--deep); color: var(--on-deep); }
.deep h2, .deep h3 { color: #fff; }
.deep .lede, .deep p { color: var(--on-deep-2); }
.pale { background: var(--pale); }
.sec__head { margin-bottom: clamp(1.25rem, 4vw, 2.5rem); }
.sec__head p:last-child { margin-bottom: 0; }
.sec__foot { margin-top: 1.1rem; margin-bottom: 0; }

/* Rows to swipe: the next card peeks in at the edge */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 22rem); gap: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 var(--gut) .75rem; margin: 0 calc(-1 * var(--gut));
  scroll-padding-inline: var(--gut); list-style: none; scrollbar-width: thin;
}
.row > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .row { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; }
}

/* ---------- Measure it up (the interactive feature) ---------- */
.measure { background: var(--pale); }
.measure__grid { display: grid; gap: 1.5rem; }
.mtabs { display: flex; gap: .4rem; margin-bottom: 1.1rem; overflow-x: auto; padding-bottom: 2px; }
.mtab {
  flex: none; min-height: 46px; padding: 0 .85rem; font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer;
  color: var(--deep); background: transparent; border: 1.5px solid #b9c2ab;
}
.mtab[aria-selected="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.mdraw { margin: 0 calc(-1 * var(--gut) + .5rem); }
.mdraw svg { width: 100%; height: auto; aspect-ratio: 400 / 310; background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 900px) { .mdraw { margin: 0; } }
.mdraw .ln { fill: none; stroke: var(--deep); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.mdraw .thin { stroke-width: .7; stroke: #8b8f86; }
.mdraw .hatch { stroke: #8b8f86; stroke-width: .7; }
.mdraw .accent { stroke: var(--lime-ink); }
.mdraw .fill-lime { fill: rgba(140, 198, 63, .22); stroke: none; }
.mdraw .dim { stroke: var(--lime-ink); stroke-width: 1; }
.mdraw text { font: 600 13px "Figtree", "Figtree Fallback", system-ui, sans-serif; fill: var(--deep); letter-spacing: 0; }
.mdraw text.dt { fill: var(--lime-ink); font-weight: 700; }
.mdraw text.lab { fill: var(--grey); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.mdraw .drawn .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) forwards; }
.mdraw__scale { margin: .4rem .5rem 0; font-size: .78rem; color: var(--grey); font-weight: 600; letter-spacing: .04em; }
.mfields { display: grid; gap: .7rem; border: 0; padding: 0; margin: 0; }
.mfields[hidden] { display: none; }
.mrange label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 700; margin-bottom: .2rem; }
.mrange output { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.15rem; color: var(--deep); }
.mrange input[type="range"] { width: 100%; height: 38px; margin: 0; accent-color: var(--lime-ink); background: transparent; cursor: pointer; }
.mchoice { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.mchoice legend { font-weight: 700; margin-bottom: .35rem; padding: 0; }
.mchoice label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; border: 1.5px solid #b9c2ab; cursor: pointer; font-weight: 600; background: var(--paper); }
.mchoice input { accent-color: var(--lime-ink); width: 18px; height: 18px; margin: 0; }
.mchoice label:has(input:checked) { border-color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); }
.mread { margin: 1.1rem 0 .9rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mread div { background: var(--paper); padding: .55rem .7rem .6rem; }
.mread div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mread dt { color: var(--grey); font-size: .78rem; font-weight: 600; line-height: 1.3; }
.mread dd { margin: 0; font-weight: 800; font-size: 1.08rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.mnote { font-size: .9rem; line-height: 1.5; color: #3a3b39; background: var(--paper); border-left: 3px solid var(--lime); padding: .7rem .9rem; margin: 0 0 1rem; }
.mnote:empty { display: none; }
.mfine { font-size: .84rem; color: var(--grey); margin: .8rem 0 0; }
.mnojs { display: none; }
html:not(.js) .mtool { display: none; }
html:not(.js) .mnojs { display: block; }
@media (min-width: 900px) {
  .measure__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .mdraw { position: sticky; top: calc(var(--head-h) + 2rem); }
}

/* ---------- Gallery by job type ---------- */
.gtabs { display: flex; gap: .4rem; overflow-x: auto; margin: 0 calc(-1 * var(--gut)) 1.1rem; padding: 0 var(--gut) 2px; }
.gtab {
  flex: none; min-height: 44px; padding: 0 1rem; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  background: transparent; color: var(--deep); border: 0; box-shadow: inset 0 -2px 0 var(--line);
}
.gtab[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--lime); }
.gtab span { color: var(--grey); font-weight: 600; margin-left: .25rem; }
.gal__row { --cols: 4; }
.gal__row[data-filtered] > [hidden] { display: none; }
.shot { margin: 0; }
.shot__img { --s: 12px; aspect-ratio: 1; overflow: hidden; background: #e3e7db; }
@media (min-width: 900px) { .shot__img { aspect-ratio: 4 / 5; } }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.03); }
.shot figcaption { font-size: .9rem; color: #3a3b39; padding-top: .55rem; line-height: 1.4; }
.shot figcaption b { display: block; color: var(--deep); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .15rem; }
.shot--drawn .shot__img { background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.shot--drawn svg { width: 86%; height: auto; }
.art .ln { fill: none; stroke: var(--deep); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.art .acc { stroke: var(--lime-ink); }
.art .thin { stroke-width: .7; stroke: #8b8f86; }
.art text { font: 700 9px "Figtree", "Figtree Fallback", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; fill: var(--grey); }
.deep .art text { fill: var(--on-deep-2); }
.deep .art .ln { stroke: var(--on-deep); }
.deep .art .acc { stroke: var(--lime); }
.deep .art .thin { stroke: #6c706a; }

/* ---------- Proof ---------- */
.proof__big { display: grid; gap: 1rem; margin-bottom: 2.25rem; }
.big-num { font-size: clamp(5.5rem, 27vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: var(--lime); margin: 0; }
.big-num small { display: block; font-size: 1.05rem; letter-spacing: 0; line-height: 1.4; color: var(--on-deep); font-weight: 700; margin-top: 1rem; }
.pull {
  margin: 0; padding: 0 0 0 1.1rem; border-left: 3px solid var(--lime);
  font-size: clamp(1.35rem, 4.4vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: #fff;
}
.pull cite { display: block; margin-top: .7rem; font-size: .82rem; font-style: normal; font-weight: 600; letter-spacing: .06em; color: var(--on-deep-2); }
.pale .pull, .paper .pull { color: var(--deep); }
.pale .pull cite { color: var(--grey); }
.facts { --cols: 4; }
.fact { border-top: 1px solid #4a4b48; padding-top: 1rem; }
.fact dt { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .4rem; }
.fact dd { margin: 0; color: var(--on-deep-2); font-size: .97rem; }
@media (min-width: 900px) {
  .proof__big { grid-template-columns: auto 1fr; gap: 4rem; align-items: end; }
}

/* ---------- Service cards ---------- */
.svc { --cols: 4; }
.card { position: relative; display: block; text-decoration: none; color: inherit; }
.card__img { --s: 12px; aspect-ratio: 4 / 3; overflow: hidden; background: #e3e7db; margin-bottom: .8rem; }
.card__img img, .card__img svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card__img--drawn { background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.card__img--drawn svg { width: 82%; height: auto; }
.card:hover .card__img img { transform: scale(1.04); }
.card h3 { margin: 0 0 .25rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.card h3 .ic { width: 22px; height: 22px; color: var(--lime-ink); flex: none; transition: transform .3s var(--ease); }
.card:hover h3 .ic { transform: translateX(4px); }
.card p { margin: 0; color: #3a3b39; font-size: .97rem; line-height: 1.45; }

/* ---------- Where + call ---------- */
.where__grid { display: grid; gap: 2rem; align-items: center; }
.map { margin: 0 auto; width: min(12.5rem, 60%); }
@media (min-width: 900px) { .map { width: 100%; max-width: 22rem; } }
.map .coast { fill: none; stroke: var(--on-deep); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map .reach { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; }
.map .road { fill: none; stroke: #6c706a; stroke-width: .8; vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; }
.map .dot { fill: var(--deep); stroke: var(--on-deep); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.map .home { fill: var(--lime); stroke: none; }
.map .ring { fill: none; stroke: var(--lime); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map text { font: 700 13px "Figtree", "Figtree Fallback", system-ui, sans-serif; fill: var(--on-deep); }
.map text.sea { fill: #8f948b; font-weight: 600; font-size: 11px; letter-spacing: .25em; }
.map text.hm { fill: var(--lime); }
html.js .map .reach { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .map.is-in .reach { animation: draw 2.2s var(--ease) .2s forwards; }
html.js .map .ring { transform-box: fill-box; transform-origin: center; }
html.js .map.is-in .ring { animation: ping 2.6s ease-out 1.4s 3; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.pale .map .coast { stroke: var(--deep); }
.pale .map .dot { fill: var(--pale); stroke: var(--deep); }
.pale .map text { fill: var(--deep); }
.pale .map .reach { stroke: var(--lime-ink); }
.pale .map .home { fill: var(--lime-ink); }
.pale .map .ring { stroke: var(--lime-ink); }
.pale .map text.hm { fill: var(--lime-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.deep .btn--line { color: var(--on-deep); }
.where__contact { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.where__contact li { display: flex; gap: .6rem; align-items: center; }
.where__contact .ic { width: 20px; height: 20px; color: var(--lime); flex: none; }
@media (min-width: 900px) { .where__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Inner pages: editorial ---------- */
.page-hero { padding-top: clamp(2.25rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { max-width: 38rem; }
.crumbs { font-size: .85rem; color: var(--grey); margin: 0 0 1.2rem; }
.crumbs a { color: var(--grey); }
.feature-img { --s: 16px; margin: clamp(1.5rem, 4vw, 2.75rem) calc(-1 * var(--gut)) 0; overflow: hidden; background: #e3e7db; }
.feature-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) {
  .feature-img { margin-left: 0; margin-right: calc(-1 * var(--gut)); }
  .feature-img img { aspect-ratio: 21 / 9; }
}
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 4.5rem; }
  .split--rev { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .split__side { position: sticky; top: calc(var(--head-h) + 2.5rem); align-self: start; }
}
.block { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; }
.block h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
.breakout { --s: 14px; margin: 1.5rem calc(-1 * var(--gut)); overflow: hidden; background: #e3e7db; }
.breakout img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .breakout { margin: 2rem -6rem 2rem 0; } }
.cap { font-size: .86rem; color: var(--grey); margin: .5rem 0 0; }
.guide { background: var(--paper); border: 1px solid var(--line); padding: 1.25rem 1.25rem 1rem; margin: 1.5rem 0; }
.pale .guide { background: var(--paper); }
.guide h3 { margin-bottom: .6rem; }
.guide dl { margin: 0; }
.guide dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.guide dt { font-weight: 800; font-variant-numeric: tabular-nums; }
.guide dd { margin: 0; }
.guide .mfine { margin-top: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.chips li { padding: .35rem .75rem; border: 1px solid #b9c2ab; font-size: .92rem; font-weight: 600; background: var(--paper); }
.deep .chips li { background: transparent; border-color: #4a4b48; color: var(--on-deep); }
.cta-band { background: var(--deep); color: var(--on-deep); padding-block: clamp(3rem, 8vw, 5rem); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: var(--on-deep-2); max-width: 36rem; }
.related { --cols: 3; }
.figure-drawn { background: var(--paper); border: 1px solid var(--line); padding: 1rem; margin: 1.5rem 0; }
.figure-drawn svg { width: 100%; height: auto; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .ic { width: 24px; height: 24px; color: var(--lime-ink); flex: none; margin-top: .15rem; }
.contact-list a { font-weight: 800; font-size: 1.2rem; color: var(--deep); }
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); margin-top: 2.2rem; }

/* 404 */
.oops { padding-block: clamp(3rem, 10vw, 7rem); }
.oops svg { max-width: 30rem; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.foot { background: var(--pale); padding-top: 2.25rem; padding-bottom: calc(80px + env(safe-area-inset-bottom)); font-size: .97rem; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.foot__id, .foot__talk { grid-column: 1 / -1; }
.foot__id img { width: 124px; margin-bottom: .7rem; }
.foot__id p { color: #3a3b39; max-width: 22rem; }
.foot__h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: .6rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.foot a { color: var(--deep); text-decoration: none; display: inline-block; padding: .3rem 0; }
.foot a:hover { text-decoration: underline; }
.foot p { margin-bottom: .6rem; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 1.5rem; padding-top: 1rem; padding-bottom: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--grey); }
.foot__base p { margin: 0; }
.credit a { color: var(--grey); font-size: .85rem; }
@media (min-width: 760px) { .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot__id, .foot__talk { grid-column: auto; } }
@media (min-width: 1100px) { .foot { padding-bottom: 0; } }

/* ---------- A job's picture grows into the top of its own page ---------- */
@view-transition { navigation: auto; }
.vt-general { view-transition-name: vt-general; }
.vt-maint { view-transition-name: vt-maint; }
.vt-access { view-transition-name: vt-access; }
.vt-special { view-transition-name: vt-special; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
::view-transition-old(vt-general), ::view-transition-new(vt-general),
::view-transition-old(vt-maint), ::view-transition-new(vt-maint),
::view-transition-old(vt-access), ::view-transition-new(vt-access),
::view-transition-old(vt-special), ::view-transition-new(vt-special) { height: 100%; object-fit: cover; overflow: hidden; }

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__paper, .hero__sketch { display: none; }
  html.js .rise, html.js .wipe { opacity: 1; transform: none; clip-path: none; }
  .mdraw .drawn .ln { stroke-dasharray: none; stroke-dashoffset: 0; }
  html.js .map .reach { stroke-dasharray: none; stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
  .tape, .tape::after { animation-duration: auto !important; }  /* moves only as the visitor scrolls */
}

@media print {
  .head, .callbar, .drawer, .tape, .nav, .hero__paper, .hero__sketch { display: none !important; }
  .deep, .hero, .cta-band { background: #fff; color: #000; }
}

/* ---------- Inner-page parts ---------- */
.deep .pull p { color: #fff; }
.row:focus-visible { outline-offset: 4px; }
.row { scrollbar-color: var(--line) transparent; }
.deep .row { scrollbar-color: #4a4b48 transparent; }
.feature-img--drawn { background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; padding: 1.5rem; }
.feature-img--drawn svg { width: min(30rem, 100%); height: auto; }
.others__h { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 0 0 .4rem; }
.split__side .others { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.others a { color: var(--deep); font-weight: 600; text-decoration: none; }
.others a:hover { text-decoration: underline; }
.lists { display: grid; gap: 2rem; }
.lists h3 a { color: var(--deep); }
.lists .muted { margin: .5rem 0 .3rem; font-size: .95rem; }
@media (min-width: 760px) { .lists { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
@media (min-width: 1100px) { .lists { grid-template-columns: repeat(4, 1fr); } }
.stages { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; counter-reset: none; }
.stages li { display: grid; grid-template-columns: 3rem 1fr; gap: 0 1rem; align-items: start; border-top: 1px solid var(--line); padding-top: 1rem; }
.stages__n { grid-row: span 2; font-size: 2.6rem; font-weight: 800; line-height: .9; color: var(--lime-ink); letter-spacing: -.04em; }
.stages h3 { margin: .15rem 0 .25rem; font-size: 1.2rem; }
.stages p { margin: 0; }
.stages--small li { grid-template-columns: 2.2rem 1fr; padding-top: .7rem; }
.stages--small .stages__n { font-size: 1.7rem; grid-row: auto; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.timeline li { border-top: 2px solid var(--deep); padding-top: .8rem; }
.timeline__n { display: block; font-size: clamp(3.2rem, 14vw, 6rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--deep); margin-bottom: .5rem; }
.timeline li:last-child .timeline__n { color: var(--lime-ink); }
.timeline p { max-width: 26rem; margin: 0; }
@media (min-width: 760px) { .timeline { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.form-card { background: var(--pale); padding: 1.25rem; border-top: 3px solid var(--lime); }
@media (min-width: 900px) { .form-card { padding: 2rem; } }
.link-small { font-size: .92rem; font-weight: 600; }
.oops .art { width: min(30rem, 100%); height: auto; margin-bottom: 1.5rem; }
.oops .steps { max-width: 24rem; }
.oops .steps a { color: var(--deep); font-weight: 700; }
.page-hero + .sec--tight { padding-top: 1.5rem; }
.split .breakout + p, .block > p:last-child { margin-bottom: 0; }
@media (max-width: 899px) { .split > .split__side { order: 2; } }
