/* Halden Kitchen & Bath, sample v1. Tokens: see REFERENCES.md. */
:root {
  --bg: #eeeae3; --surface: #f6f3ee; --ink: #1d1f1c; --ink-2: #4b4e48; --line: rgb(29 31 28 / .14); --line-2: rgb(29 31 28 / .28);
  --dark: #262925; --on-dark: #eeeae3; --muted-dark: #a8ada4; --line-dark: rgb(238 234 227 / .18);
  --accent: #2e4a3b; --on-accent: #f6f3ee; --accent-soft: #dfe5da;
  --sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.165, .84, .44, 1); --ease-in: cubic-bezier(.895, .03, .685, .22);
  --gut: clamp(16px, 4vw, 56px); --max: 1360px; --r: 2px;
  --fs-xs: 12px; --fs-s: 14px; --fs-m: 16px; --fs-l: clamp(17px, 1.3vw, 19px);
  --fs-h3: clamp(20px, 1.8vw, 26px); --fs-h2: clamp(34px, 4.6vw, 68px); --fs-h1: clamp(42px, 7.2vw, 112px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-m)/1.55 var(--sans); font-feature-settings: "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.kicker { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.h2 { font-size: var(--fs-h2); line-height: 1; letter-spacing: -.035em; font-weight: 400; text-wrap: balance; }
.lead { font-size: var(--fs-l); color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.ex { display: inline-block; vertical-align: .12em; margin-left: .35em; padding: 1px 6px; border: 1px dashed currentColor; border-radius: var(--r); font-size: 11px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.draft { margin-top: 12px; padding: 10px 12px; border: 1px dashed var(--line-2); font-size: var(--fs-s); color: var(--ink-2); }
.link { background: none; border: 0; padding: 10px 0; cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link span { display: inline-block; transition: transform .6s var(--ease-out); }
.link:hover span { transform: translateX(4px); }

/* buttons: rectangle, fill grows from the center (monopo's scale(4) circle, minus the pill) */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: color .6s var(--ease-out), border-color .6s var(--ease-out); }
.btn > span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease-out); z-index: 0; }
.btn:hover::before { transform: translate(-50%, -50%) scale(1.6); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent::before { background: var(--ink); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark::before { background: var(--accent); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--bg); border-color: var(--ink); }

/* utility line + nav */
.util { background: var(--dark); color: var(--on-dark); font-size: 13px; }
.util__in { display: flex; gap: 24px; align-items: center; min-height: 34px; }
.util__in > :last-child { margin-left: auto; text-decoration: none; }
.nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .4s, transform .6s var(--ease-out); }
.nav.is-solid { border-color: var(--line); }
.nav.is-up { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.brand__name span { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 12px 12px; text-decoration: none; font-size: 15px; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__tel { text-decoration: none; font-variant-numeric: tabular-nums; font-size: 15px; }

/* hero */
.hero { padding-top: clamp(28px, 5vw, 72px); }
.hero__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 20px; align-items: end; }
.hero__head .kicker { grid-column: 1 / -1; }
.hero__t { grid-column: 1 / span 9; font-size: var(--fs-h1); line-height: .95; letter-spacing: -.045em; font-weight: 400; text-wrap: balance; }
.hero__side { grid-column: 10 / -1; display: grid; gap: 22px; padding-bottom: 8px; }
.hero__sub { font-size: var(--fs-l); color: var(--ink-2); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__frame { position: relative; margin: clamp(28px, 4vw, 56px) 0 0; height: clamp(340px, 74vh, 860px); overflow: hidden; clip-path: inset(0 var(--gut)); }
.hero__media { position: absolute; inset: -6% 0; }
.hero__media img, .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo picture { display: contents; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__sketch { background: #efebe4; }
.js .hero__photo { clip-path: inset(100% 0 0 0); }
.hero__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgb(0 0 0 / .45)); }
.hero__stage { position: relative; display: inline-grid; font-weight: 500; }
.hero__stage > span { grid-area: 1 / 1; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.hero__stage [data-stage-b] { opacity: 0; transform: translateY(8px); }
.hero.is-built .hero__stage [data-stage-a] { opacity: 0; transform: translateY(-8px); }
.hero.is-built .hero__stage [data-stage-b] { opacity: 1; transform: none; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; padding-bottom: clamp(56px, 8vw, 120px); }
.facts li { position: relative; padding-top: 13px; display: grid; gap: 2px; }
.facts li::before, .papers > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform: scaleX(var(--rule, 1)); transform-origin: left; }
.facts b { font-weight: 500; }
.facts span { color: var(--ink-2); font-size: var(--fs-s); }

/* line reveals */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; }

/* work: pinned frame (monopo-style) */
.work { --wbg: #b7c4ae; background: var(--wbg); color: var(--ink); transition: color .8s var(--ease-out); }
.work.is-dark { color: var(--on-dark); }
.work__pin { display: none; }
.work__cards { display: grid; gap: 20px; padding-block: 64px; }
.has-pin .work__pin { display: grid; grid-template-columns: 44px minmax(260px, 30%) 1fr; column-gap: clamp(24px, 3vw, 56px); align-items: center; height: 100vh; padding: 96px var(--gut) 56px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.has-pin .work__cards { display: none; }
.work__tape { align-self: stretch; position: relative; overflow: hidden; border-right: 1px solid currentColor; }
.tape { position: absolute; left: 0; top: 0; width: 44px; height: 300%; stroke: currentColor; stroke-width: 1; opacity: .7; will-change: transform; }
.tape text { fill: currentColor; stroke: none; font: 500 10px var(--sans); }
.tape__run { position: absolute; right: -1px; top: 50%; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 9px solid currentColor; transform: translateY(-50%); }
.work__text { align-self: stretch; display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.work__count { margin-left: 12px; font-variant-numeric: tabular-nums; }
.work.is-dark .kicker { color: var(--muted-dark); }
.work__titles { position: relative; align-self: center; min-height: 340px; }
.work__title { position: absolute; inset: auto 0 auto 0; top: 0; opacity: 0; visibility: hidden; transform: translateY(40px); transition: opacity .4s var(--ease-in), transform .4s var(--ease-in), visibility 0s .4s; }
.work__title.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease-out) .4s, transform .8s var(--ease-out) .4s, visibility 0s .4s; }
.work__title h3 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1; letter-spacing: -.035em; font-weight: 400; }
.work__open { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; letter-spacing: inherit; }
.work__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 18px; }
.work__facts div { border-top: 1px solid currentColor; padding-top: 8px; }
.work__facts dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.work__facts dd { font-weight: 500; }
.work__before { max-width: 30em; }
.work__frame { position: relative; height: min(68vh, 640px); overflow: hidden; }
.work__img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); will-change: clip-path; }
.work__img:first-child { clip-path: inset(0); }
.work__img img { width: 100%; height: 115%; object-fit: cover; position: absolute; top: -7.5%; will-change: transform; }

.card { background: var(--m); color: var(--ink); display: grid; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 20px 18px 14px; display: grid; gap: 8px; }
.card h3 { font-size: 26px; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
.card .kicker { color: inherit; opacity: .8; }
.card__facts { font-weight: 500; }
.card:has(img[src*="soapstone"]) { color: var(--on-dark); }

/* index */
.index { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.index__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); }
.seg__b { min-height: 44px; padding: 0 16px; background: none; border: 0; cursor: pointer; font-size: 15px; }
.seg__b + .seg__b { border-left: 1px solid var(--line-2); }
.seg__b[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg__b sup { font-size: 10px; margin-left: 2px; }
.index__row { display: grid; grid-template-columns: 2.2fr 1.2fr 1.2fr 1fr 1.3fr; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-2); transition: padding .6s var(--ease-out); }
.index__row:last-of-type { border-bottom: 1px solid var(--line-2); }
.index__row--head { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); border-top: 0; padding-block: 8px; }
.index__row[hidden] { display: none; }
.index__name { background: none; border: 0; padding: 4px 0; text-align: left; cursor: pointer; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; transition: transform .6s var(--ease-out); }
.index__row:not(.index__row--head):hover .index__name { transform: translateX(10px); }
.index__row span[role="cell"]:nth-child(n+2) { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.index__peek { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 20; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .4s var(--ease-out), scale .4s; overflow: hidden; }
.index__peek img { width: 100%; height: 100%; object-fit: cover; }
.index__peek.is-on { opacity: 1; }

/* costs */
.costs { background: var(--surface); padding-block: clamp(72px, 10vw, 140px); }
.costs__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.costs__intro { display: grid; gap: 20px; position: sticky; top: 110px; }
.est { display: grid; gap: 28px; }
.est__q { border: 0; padding: 0; margin: 0; min-width: 0; }
.est__q legend, .wiz__pane legend { padding: 0; margin-bottom: 12px; font-weight: 500; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--col { display: grid; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip { min-width: 0; max-width: 100%; }
.chip > span { display: flex; align-items: center; min-height: 46px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; transition: background-color .4s var(--ease-out), border-color .4s, color .4s; }
.chip--wide > span { display: grid; gap: 2px; padding: 12px 16px; }
.chip small { font-size: var(--fs-s); color: var(--ink-2); }
.chip:hover > span { border-color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:checked + span small { color: var(--accent-soft); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.est__out { display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); background: var(--dark); color: var(--on-dark); }
.est__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted-dark); }
.est__num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.est__to { font-size: .35em; letter-spacing: 0; color: var(--muted-dark); }
.est__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.est__meta b { font-weight: 500; }
.est__note, .est__moves, .est__lead { font-size: var(--fs-s); color: var(--muted-dark); }
.est__moves b { color: var(--on-dark); font-weight: 500; }
.est__out .btn { justify-self: start; margin-top: 6px; }
.est__out .btn--accent::before { background: var(--on-dark); }
.est__out .btn--accent:hover { color: var(--ink); }

/* drawing vs room */
.draw { padding-block: clamp(72px, 10vw, 140px); }
.draw__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.draw__head .kicker { grid-column: 1 / -1; }
.cmp { position: relative; overflow: hidden; aspect-ratio: 3 / 2; user-select: none; touch-action: pan-y; }
.cmp > img, .cmp__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: #fff; pointer-events: none; }
.cmp__handle svg { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; padding: 12px; transform: translate(-50%, -50%); background: var(--ink); color: #fff; border-radius: var(--r); }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:has(.cmp__range:focus-visible) .cmp__handle svg { outline: 2px solid #fff; outline-offset: 2px; }
.cmp__tag { position: absolute; top: 14px; padding: 4px 10px; background: rgb(29 31 28 / .8); color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.cmp__tag--l { left: 14px; } .cmp__tag--r { right: 14px; }
.draw__note { margin-top: 12px; font-size: var(--fs-s); color: var(--ink-2); }

/* process */
.process { background: var(--dark); color: var(--on-dark); padding-block: clamp(72px, 10vw, 140px); }
.process .kicker { color: var(--muted-dark); }
.process__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); }
.process__side { display: grid; gap: 20px; align-content: start; position: sticky; top: 100px; align-self: start; }
.process__img { overflow: hidden; margin-top: 16px; }
.process__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line-dark); }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step__n { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted-dark); padding-top: 8px; }
.step h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; }
.step__t { color: #c9d6c0; font-size: var(--fs-s); margin: 4px 0 8px; }
.step p:last-child { color: var(--muted-dark); max-width: 34em; }
.asks { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; margin-top: clamp(48px, 7vw, 96px); }
.ask { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); color: var(--ink); }
.ask img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.ask > div { padding: clamp(20px, 2.5vw, 32px); display: grid; gap: 12px; align-content: start; }
.ask h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.ask p { color: var(--ink-2); }
.ask--plain { grid-template-columns: 1fr; background: #b7c4ae; }
.ask--plain p { color: var(--ink); }

/* trust */
.trust { padding-block: clamp(72px, 10vw, 140px); display: grid; gap: clamp(40px, 5vw, 72px); }
.papers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.papers > div { position: relative; padding-top: 15px; }
.papers > div::before { background: var(--ink); }
.papers dt { font-weight: 500; margin-bottom: 6px; }
.papers dd { color: var(--ink-2); font-size: 15px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { display: grid; gap: 16px; align-content: space-between; padding: 24px; background: var(--surface); }
.quote blockquote { font-size: var(--fs-l); line-height: 1.45; letter-spacing: -.01em; }
.quote figcaption { font-size: var(--fs-s); color: var(--ink-2); }
.who { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.who__ph { aspect-ratio: 4 / 5; border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--ink-2); font-size: var(--fs-s); background: repeating-linear-gradient(135deg, transparent 0 10px, rgb(29 31 28 / .04) 10px 11px); }
.who h3, .finance h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; margin-bottom: 10px; }
.who p { max-width: 38em; color: var(--ink-2); }
.finance { border-top: 1px solid var(--line-2); padding-top: 20px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.finance p { color: var(--ink-2); max-width: 38em; }

/* visit wizard */
.visit { background: #b7c4ae; padding-block: clamp(72px, 10vw, 140px); }
.visit .lead, .visit .kicker { color: #2f3a2d; }
.visit__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.visit__intro { display: grid; gap: 18px; }
.visit__winter { border-left: 2px solid var(--accent); padding-left: 14px; }
.mine { display: grid; gap: 0; margin-top: 12px; }
.mine div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgb(29 31 28 / .22); }
.mine dt { color: #2f3a2d; }
.mine dd { font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.mine dd.is-empty { font-weight: 400; color: #2f3a2d; }
.wiz { grid-template-columns: minmax(0, 1fr); background: var(--surface); padding: clamp(20px, 3vw, 40px); min-height: 460px; display: grid; align-content: start; gap: 18px; }
.wiz__bar { height: 2px; background: var(--line); }
.wiz__bar span { display: block; height: 100%; width: 20%; background: var(--accent); transition: width .6s var(--ease-out); }
.wiz__step { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.wiz__pane { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.wiz__pane.is-on { display: block; animation: paneIn .6s var(--ease-out); }
.wiz__pane legend { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.025em; margin-bottom: 18px; }
@keyframes paneIn { from { opacity: 0; transform: translateX(24px); } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: var(--fs-s); }
.field small { color: var(--ink-2); }
.field input { min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.field input:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: #9b2c22; }
.wiz__err { color: #9b2c22; font-size: var(--fs-s); min-height: 1.5em; margin-top: 10px; }
.wiz__nav { display: flex; gap: 10px; justify-content: flex-end; }
.wiz__done { display: grid; gap: 16px; }
.wiz__done[hidden] { display: none; }
.wiz__done h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: -.025em; }
.wiz__done ol { display: grid; gap: 10px; }
.wiz__done li { border-top: 1px solid var(--line); padding-top: 10px; }
.wiz__done b { font-weight: 500; }
.wiz__sample { font-size: var(--fs-s); color: var(--ink-2); }
.wiz.is-done > :not(.wiz__done) { display: none; }

/* area, faq */
.area { padding-block: clamp(72px, 10vw, 140px) 0; display: grid; gap: 24px; }
.towns { display: flex; flex-wrap: wrap; gap: 0 .5em; font-size: clamp(28px, 4vw, 56px); line-height: 1.15; letter-spacing: -.035em; }
.towns li:not(:last-child)::after { content: ","; color: var(--ink-2); }
.faq { padding-block: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: var(--fs-l); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); max-width: 40em; }

/* footer, phone bar */
.foot { background: var(--dark); color: var(--on-dark); padding: 56px 0 96px; font-size: 15px; }
.foot__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot__brand { font-size: 22px; letter-spacing: -.02em; margin-bottom: 6px; }
.foot p { color: var(--muted-dark); } .foot a { color: var(--on-dark); }
.foot__sample { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-dark); }
.mbar { display: none; }

/* project dialog */
.proj { width: min(1180px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; background: var(--bg); color: var(--ink); }
.proj::backdrop { background: rgb(20 22 19 / .7); }
.proj[open] { animation: projIn .6s var(--ease-out); }
@keyframes projIn { from { opacity: 0; transform: translateY(30px); } }
.proj__in { display: grid; grid-template-columns: 7fr 5fr; }
.proj__media { display: grid; gap: 4px; }
.proj__media img { width: 100%; object-fit: cover; }
.proj__body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; align-content: start; position: sticky; top: 0; }
.proj__body h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 400; letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.proj__body h3 { font-size: var(--fs-s); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; margin-top: 12px; color: var(--ink-2); }
.proj__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.proj__facts div { border-top: 1px solid var(--line-2); padding-top: 6px; }
.proj__facts dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.proj__facts dd { font-weight: 500; }
.proj__body .btn { justify-self: start; margin-top: 16px; }
.proj__x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--bg); border: 0; border-radius: var(--r); cursor: pointer; }
.proj__x svg { width: 20px; height: 20px; }

/* responsive */
@media (max-width: 1100px) {
  .hero__t { grid-column: 1 / -1; }
  .hero__side { grid-column: 1 / span 8; }
  .papers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__tel { display: none; }
  .nav__cta { margin-left: auto; }
  .util__hide { display: none; }
  .hero__side { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .costs__in, .process__in, .visit__in, .faq, .draw__head { grid-template-columns: minmax(0, 1fr); }
  .hero__head { grid-template-columns: minmax(0, 1fr); }
  .hero__head > * { grid-column: 1 / -1 !important; }
  .costs__intro, .process__side { position: static; }
  .asks { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .who, .finance { grid-template-columns: 1fr; }
  .who__ph { max-width: 220px; }
  .index__row { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .index__row--head { display: none; }
  .index__row span[role="cell"]:first-child { grid-column: 1 / -1; }
  .foot__in { grid-template-columns: 1fr; }
  .proj__in { grid-template-columns: 1fr; }
  .proj__body { position: static; }
  .work__cards { grid-template-columns: 1fr 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .6s var(--ease-out); }
  .mbar.is-on { transform: none; }
  .mbar .btn { padding: 0 12px; }
}
@media (max-width: 640px) {
  .nav .btn { display: none; }
  .work__cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .papers { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .ask { grid-template-columns: 1fr; }
  .ask img { min-height: 0; aspect-ratio: 3 / 2; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__cap { flex-direction: column; gap: 2px; }
  .wiz__nav .btn { flex: 1; padding: 0 10px; }
  .wiz { padding: 18px 14px; }
  .util__in { gap: 12px; font-size: 12px; }
  .est__out .btn { justify-self: stretch; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero__photo { clip-path: none; }
}

.area__img { overflow: hidden; margin-bottom: 16px; }
.area__img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 640px) { .area__img img { aspect-ratio: 3 / 2; } }

.obj { margin: 0; pointer-events: none; }
.obj img { width: 100%; height: auto; will-change: transform; }
.obj--stack { max-width: 380px; margin: 8px 0 -24px -12px; }
.obj--iso { max-width: 460px; margin: 0 0 -8px -16px; }
.visit__img { max-width: 260px; }
.visit__img img { aspect-ratio: 1; object-fit: cover; }
.process__side { position: static; }
@media (max-width: 900px) { .obj--stack, .obj--iso { max-width: 300px; margin: 0 auto; } .visit__img { display: none; } }

/* motion v2 */
@property --rule { syntax: "<number>"; inherits: false; initial-value: 1; }
.hero__cap { left: var(--gut); right: var(--gut); }
.mo .hero__cap { transition: left .3s, right .3s; }
.cur { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; padding: 10px 14px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; border-radius: var(--r); transform: scale(.6); opacity: 0; translate: -50% -50%; }
.card { overflow: hidden; }
.card img { transition: transform 1s var(--ease-out); }
.card:hover img { transform: scale(1.04); }
.est__scale { display: grid; gap: 6px; }
.est__band { display: block; width: 100%; height: 6px; background: #b7c4ae; transform-origin: left; position: relative; }
.est__scale::before { content: ""; display: block; height: 1px; background: var(--line-dark); margin-bottom: -4px; }
.est__ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.est__ticks i { font-style: normal; }
.steps { position: relative; }
.steps__rule { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: #b7c4ae; transform-origin: top; }
.steps.is-live .step h3, .steps.is-live .step__n { transition: transform .6s var(--ease-out), color .6s var(--ease-out); }
.steps.is-live .step.is-now .step__n { color: #c9d6c0; transform: translateX(6px); }
.steps.is-live .step.is-now h3 { transform: translateX(10px); }
.steps.is-live .step { padding-left: 20px; }
.foot__mark { overflow: hidden; margin-top: 48px; padding-inline: var(--gut); font-size: clamp(80px, 22vw, 340px); line-height: .82; letter-spacing: -.06em; color: #3a3f39; }
.foot__mark span { display: block; }
@media (max-width: 900px) { .hero__frame { clip-path: inset(0); } .hero__cap { left: 0; right: 0; } }

/* Lenis recommended */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ===== 14.11: hero drawing (interior elevation traced over the photo) ===== */
.hero__media .hero__photo { clip-path: none; }
.hero__photo img { object-position: 50% 50%; }
.hd { position: absolute; inset: 0; width: 100%; height: 100%; color: #2b2d29; --paper: #f1eee7; clip-path: inset(0 50% 0 0); }
.hd-anim .hd { clip-path: none; }
.hd__paper { fill: var(--paper); }
.hd__grid { color: #ddd8cd; opacity: .7; }
.hd path { fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; }
.hd .l1 path { stroke-width: 2.4; }
.hd .l2 path { stroke-width: 1.35; }
.hd .l3 path { stroke-width: .8; }
.hd .sheet path { stroke-width: .7; }
.hd .lx path { stroke-width: .8; stroke-dasharray: 7 6; }
.hd .lc path { stroke-width: .8; stroke-dasharray: 34 8 6 8; }
.hd .dm path { stroke-width: 1; }
.hd .ld { stroke-width: .9; }
.hd .dot { fill: currentColor; }
.hd__tile { color: #bdb6a8; }
.hd text { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .06em; fill: currentColor; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.hd .dm text { font-size: 14px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.hero__split { position: absolute; inset: 0; pointer-events: none; }
.hero__split::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #fff; }
.hero__split span { position: absolute; top: 18%; padding: 4px 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; }
.hero__split span:first-child { right: calc(50% + 10px); }
.hero__split span:last-child { left: calc(50% + 10px); }
.hd-anim .hero__split { display: none; }

/* title block, like the corner of a drawing sheet */
.tb { position: absolute; top: 16px; right: calc(var(--gut) + 16px); z-index: 2; width: 300px; background: #f6f3ee; color: var(--ink); border: 1.5px solid var(--ink); font-size: 11px; line-height: 1.35; }
.tb > * { margin: 0; padding: 7px 10px; }
.tb > * + * { border-top: 1px solid var(--ink); }
.tb__firm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tb__firm b { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.tb__firm span, .tb__k { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.tb__k { display: block; margin-bottom: 1px; }
.tb__grid { display: grid; grid-template-columns: repeat(4, auto); padding: 0; }
.tb__grid > div { padding: 6px 10px; }
.tb__grid > div + div { border-left: 1px solid var(--ink); }
.tb__grid dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tb__title { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.tb__stamp { position: absolute; right: 14px; bottom: -34px; width: 150px; height: auto; color: #8b2e24; transform: rotate(-7deg); mix-blend-mode: multiply; border: 0 !important; padding: 0 !important; overflow: visible; }
.tb__stamp text { fill: currentColor; font-family: var(--sans); }
.tb__hint { display: none; }
.hd-anim .tb__hint { display: block; font-size: 11px; color: var(--ink-2); letter-spacing: .02em; padding-right: 168px; }

@media (max-width: 699px) {
  .hero__photo img { object-position: 0% 50%; }
  .hd .dsk { display: none; }
  .hd .l1 path { stroke-width: 3.4; }
  .hd .l2 path { stroke-width: 2; }
  .hd .l3 path { stroke-width: 1.2; }
  .hd .dm path, .hd .ld { stroke-width: 1.5; }
  .hd text { font-size: 20px; }
  .hd .dm text { font-size: 21px; }
  .tb { top: 10px; right: 10px; width: 196px; font-size: 10px; }
  .tb__proj, .tb__grid > div:nth-child(n+3) { display: none; }
  .tb__grid { grid-template-columns: auto auto; }
  .tb__stamp { width: 112px; bottom: -28px; right: 8px; }
  .hd-anim .tb__hint { padding-right: 10px; padding-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .tb__stamp { transform: rotate(-7deg); } }
.hd [data-zone] { opacity: 0; }
/* 14.11: a shorter hero head so the drawing sheet is in view on load */
@media (min-width: 900px) {
  .hero { padding-top: clamp(20px, 3vw, 44px); }
  .hero__t { grid-column: 1 / span 8; }
  .hero__side { grid-column: 9 / -1; gap: 18px; }
  .hero__btns { flex-wrap: nowrap; }
  .hero__frame { margin-top: clamp(24px, 2.6vw, 40px); }
}
@media (max-width: 699px) {
  .tb { width: 168px; }
  .tb__grid, .tb__firm span { display: none; }
  .tb__title { font-size: 10px; }
}

/* ===== 14.11: house plan in "Every project, by room" ===== */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; gap: 18px 28px; margin: 28px 0 56px; align-items: start; }
.plan__lead { grid-column: 1 / -1; margin: 0; color: var(--ink-2); max-width: 40em; }
.plan__sheets { display: contents; }
.plan__floor { margin: 0; min-width: 0; }
.plan__cap { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.plan__cap span:first-child { color: var(--ink); font-weight: 500; }
.plan__svg { display: block; width: 100%; height: auto; color: #2b2d29; overflow: visible; }
.plan__svg path { fill: none; stroke: currentColor; }
.pe path { stroke-width: 7; stroke-linecap: square; }
.pi path { stroke-width: 4; stroke-linecap: square; }
.pt path, .pf path { stroke-width: .9; }
.pwin path { stroke-width: .8; }
.pw { fill: var(--bg); }
.pdim path { stroke-width: .8; }
.pe, .pi, .pt, .pf, .pwin, .pdim, .plabels { pointer-events: none; }
.plan__svg text { fill: currentColor; font-family: var(--sans); }
.pl__n { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; }
.pl__s { font-size: 9.5px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.pl--on .pl__n { fill: var(--accent, #2e4a3b); }
.pl--sm .pl__n { font-size: 8.5px; }
.pd { font-size: 10px; font-variant-numeric: tabular-nums; }
.ps { font-size: 8px; letter-spacing: .1em; }
.room { cursor: pointer; outline: none; }
.room__hit { fill: rgb(46 74 59 / .07); stroke: none; transition: fill .3s; }
.room:hover .room__hit, .room.is-hot .room__hit { fill: rgb(46 74 59 / .14); }
.room__fill { fill: var(--m); transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.65, .05, .36, 1); }
.room.is-hot .room__fill { transform: scaleY(.22); }
.room[aria-pressed="true"] .room__fill { transform: none; }
.room__tile { opacity: 0; transition: opacity .4s .4s; }
.room[aria-pressed="true"] .room__tile { opacity: 1; }
.room:focus-visible .room__hit { stroke: var(--accent, #2e4a3b); stroke-width: 2.5; stroke-dasharray: 6 4; }
.plan[data-f="kitchen"] .room[data-kind="bath"], .plan[data-f="bath"] .room[data-kind="kitchen"] { opacity: .25; pointer-events: none; }
.room { transition: opacity .4s; }
.plan__card { position: sticky; top: 96px; display: grid; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line-2); min-height: 200px; }
.plan__card .kicker { margin: 0; }
.pc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pc { width: 100%; display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 0 10px 0 0; border: 0; background: var(--bg); text-align: left; cursor: pointer; font: inherit; color: inherit; transition: background-color .3s; }
.pc:hover { background: #fff; }
.pc:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pc img { width: 76px; height: 64px; object-fit: cover; display: block; }
.pc__t { display: grid; gap: 1px; padding: 8px 0; }
.pc__t b { font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.pc__t small { font-size: 12px; color: var(--ink-2); }
.pc__n { font-variant-numeric: tabular-nums; }
.pc__go { transition: transform .4s var(--ease-out); }
.pc:hover .pc__go { transform: translateX(4px); }
.pc__none { margin: 0; color: var(--ink-2); }
@media (max-width: 1099px) {
  .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan__card { grid-column: 1 / -1; position: static; }
}
@media (max-width: 699px) {
  .plan { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pl__n { font-size: 13px; } .pl__s { display: none; } .pl--sm .pl__n { font-size: 11px; }
  .pd { font-size: 13px; }
}

/* ===== 14.11: cost picture per room + rolling digits ===== */
.obj--room { display: grid; }
.obj--room img { grid-area: 1 / 1; opacity: 0; }
.obj--room img.is-on { opacity: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.odo { display: inline-flex; align-items: flex-start; line-height: 1; font-variant-numeric: tabular-nums; }
.odo__ds { display: inline-flex; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; }
.odo__d.is-blank { width: 0; }
.odo__s { display: block; transform: translateY(calc(var(--k, 0) * -1em)); transition: transform .85s cubic-bezier(.2, 1.22, .36, 1); }
.odo__s i { display: block; height: 1em; font-style: normal; text-align: center; }
.est.is-instant .odo__s { transition: none; }
@media (prefers-reduced-motion: reduce) { .odo__s { transition: none; } }

/* ===== 14.11: designer's sketch on tracing paper + sketch/photo slider ===== */
.draw__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 44px); align-items: center; margin-top: 28px; }
.trace { position: relative; margin: 0; padding: 14px; background: #f4f1ea; box-shadow: 0 1px 0 rgb(29 31 28 / .08), 0 18px 30px -22px rgb(29 31 28 / .35); transform: rotate(-1.4deg); }
.trace__tape { position: absolute; width: 74px; height: 22px; background: rgb(226 219 200 / .78); box-shadow: 0 1px 1px rgb(29 31 28 / .08); z-index: 1; }
.trace__tape--a { top: -9px; left: 18px; transform: rotate(-4deg); }
.trace__tape--b { bottom: -8px; right: 22px; transform: rotate(3deg); }
.sk { display: block; width: 100%; height: 100%; color: #3a3935; }
.sk--plan { height: auto; }
.sk path { fill: none; stroke: currentColor; stroke-linecap: round; }
.sk .s1 path { stroke-width: 2; stroke-opacity: .9; }
.sk .s2 path { stroke-width: 1.2; stroke-opacity: .8; }
.sk .s3 path { stroke-width: .8; stroke-opacity: .45; }
.sk--plan .s1 path { stroke-width: 1.7; }
.sk--plan .s2 path { stroke-width: 1; }
.sk text { font-family: "Architects Daughter", var(--sans); fill: currentColor; stroke: none; }
.sk .sn text { font-size: 24px; }
.sk .sn path { stroke-width: 1.3; stroke-opacity: .85; }
.sk--plan .sn text, .sk--plan .sd text { font-size: 15px; }
.sk .sd path { stroke-width: .9; }
.sk .sn--red { color: #a3362a; }
.sk__sig text { font-size: 20px; opacity: .8; }
.sk--plan .sk__sig text { font-size: 13px; }
.sk__paper { fill: #f3f0e8; }
.cmp .sk { position: absolute; inset: 0; }
@media (max-width: 899px) {
  .draw__body { grid-template-columns: minmax(0, 1fr); }
  .trace { order: 2; width: min(100%, 420px); justify-self: center; }
  .sk .sn text { font-size: 30px; }
}

/* 14.11 polish after critique */
.hero__cap { background: linear-gradient(transparent, rgb(0 0 0 / .62)); text-shadow: 0 1px 2px rgb(0 0 0 / .35); }
.pc { border-left: 0; grid-template-columns: 76px 1fr auto; }
.pc img { box-shadow: 4px 0 0 var(--m); }
.odo { user-select: none; }
@media (max-width: 699px) { .hd-anim .tb__hint { padding-bottom: 12px; padding-right: 116px; } }
.tb { width: 330px; font-size: 12px; }
.tb__firm span, .tb__k { font-size: 11px; letter-spacing: .06em; }
.tb__title { font-size: 12px; }
.tb__hint { font-size: 12px !important; }
@media (max-width: 699px) { .tb { width: 184px; font-size: 11px; } .tb__title { font-size: 11px; } }
.est__to { font-size: max(14px, .35em); }

/* 14.11 (Nick): the cost column reads as one group in the middle of the window while the answers scroll on the right */
@media (min-width: 901px) {
  .costs__intro { --objh: clamp(220px, calc(100vh - 470px), 460px); top: max(96px, calc((100vh - 300px - var(--objh)) / 2)); gap: 16px; }
  .obj--room { width: var(--objh); max-width: 100%; margin: 4px 0 0 -10px; }
  .obj--room img { width: 100%; height: auto; }
}

/* 14.11: the room picture changes with the scope too; one line says what is new and what stays */
.obj--room .obj__cap { grid-row: 2; margin: 10px 0 0 10px; max-width: 34em; font-size: 13px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 901px) { .costs__intro { --objh: clamp(200px, calc(100vh - 530px), 440px); top: max(90px, calc((100vh - 350px - var(--objh)) / 2)); } }

/* ===== 14.11 (Nick): a real construction-document sheet A-101 next to the sketch ===== */
.draw__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.sheet { margin: 0; padding: 12px; background: #fff; color: #1c1d1b; border: 1px solid rgb(29 31 28 / .18); box-shadow: 0 22px 40px -30px rgb(29 31 28 / .45); font-family: "IBM Plex Sans Condensed", var(--sans); }
.sheet__main { display: grid; grid-template-columns: minmax(0, 64fr) minmax(0, 36fr); border: 1.5px solid currentColor; }
.cd { display: block; width: 100%; height: auto; color: #1c1d1b; }
.cd path, .cd rect { fill: none; stroke: currentColor; }
.cd .cw-ex path { stroke-width: 1.6; fill: #fff; }
.cd .cw-new path { fill: currentColor; stroke-width: .6; }
.cd .cw-demo path { stroke-width: .9; stroke-dasharray: 4 3; }
.cd .c1 path { stroke-width: 1.05; }
.cd .c3 path { stroke-width: .55; }
.cd .cdash path { stroke-width: .65; stroke-dasharray: 5 3; }
.cd .ccl path { stroke-width: .5; stroke-dasharray: 14 3 3 3; }
.cd .cdim path { stroke-width: .5; }
.cd .ctag path, .cd .cem path { stroke-width: .8; fill: #fff; }
.cd .cem__arrow { fill: currentColor !important; }
.cd .croom rect { stroke-width: .6; fill: #fff; }
.cd text { fill: currentColor; stroke: none; font-family: "IBM Plex Sans Condensed", var(--sans); text-transform: uppercase; }
.cd .dt { font-size: 8.5px; font-variant-numeric: tabular-nums; }
.cd .mk { font-size: 8.5px; font-weight: 500; letter-spacing: .02em; }
.cd .mk--sm { font-size: 7px; }
.cd .mk--ghost { fill: #55584f; }
.cd .tg { font-size: 7.5px; font-weight: 600; }
.cd .tg--sm { font-size: 6px; }
.cd .rt { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; }
.cd .rt--sm { font-size: 7px; font-weight: 400; }
.sheet__side { border-left: 1px solid currentColor; padding: 10px 10px 12px; display: grid; align-content: start; gap: 8px; font-size: 10.5px; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; }
.sheet__h { margin: 4px 0 0; font-weight: 600; font-size: 11px; letter-spacing: .08em; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.sheet__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.sheet__legend li { display: grid; grid-template-columns: 34px 1fr; gap: 7px; align-items: center; }
.sheet__legend svg { width: 34px; height: auto; display: block; }
.sheet__north { width: 100%; max-width: 160px; height: auto; color: currentColor; }
.sheet__north text { font: 500 9px "IBM Plex Sans Condensed", var(--sans); fill: currentColor; }
.sheet__notes { margin: 0; padding-left: 16px; display: grid; gap: 4px; }
.sheet__tb { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr .9fr; border: 1.5px solid currentColor; border-top: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }
.sheet__tb > * { padding: 6px 8px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.sheet__tb span { display: block; font-size: 9px; letter-spacing: .08em; color: #55584f; }
.sheet__firm { grid-row: span 2; border-left: 0; display: grid; align-content: center; gap: 2px; }
.sheet__firm b { font-size: 13px; letter-spacing: .01em; }
.sheet__proj { grid-column: span 2; }
.sheet__title { grid-column: span 2; font-weight: 600; }
.sheet__no { grid-column: 4; grid-row: 1 / span 2; display: grid; align-content: center; }
.sheet__no b { font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.sheet__firm, .sheet__tb > :nth-child(-n+3) { border-top: 0; }
.sheet__rev i { display: inline-grid; place-items: center; width: 15px; height: 13px; margin-right: 4px; font-style: normal; font-size: 8px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: currentColor; color: #fff; padding-top: 3px; box-sizing: border-box; }
.sheet__tb .ex { display: inline-block; color: inherit; font-size: 9px; }
@media (max-width: 899px) {
  .draw__body { grid-template-columns: minmax(0, 1fr); }
  .sheet { order: 2; }
}
@media (max-width: 599px) {
  .sheet__main { grid-template-columns: minmax(0, 1fr); }
  .sheet__side { border-left: 0; border-top: 1px solid currentColor; }
  .sheet__tb { grid-template-columns: 1fr 1fr; }
  .sheet__firm { grid-row: auto; grid-column: 1 / -1; }
  .sheet__proj, .sheet__title { grid-column: 1 / -1; }
  .sheet__no { grid-column: auto; grid-row: auto; }
  .sheet__tb > * { border-top: 1px solid currentColor; border-left: 0; }
  .sheet__tb > :nth-child(even) { border-left: 1px solid currentColor; }
  .sheet__firm, .sheet__proj, .sheet__title { border-left: 0 !important; }
}
.sheet__notes { list-style: decimal outside; }
.sheet__notes li::marker { font-weight: 600; }
.sheet__delta { display: inline-block; width: 15px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.sheet__delta text { font: 600 7px "IBM Plex Sans Condensed", var(--sans); fill: currentColor; }

/* 14.11 (Nick): while it is pinned the drawing sits in the middle of the window, whole; no crop beyond what the 3:2 photo needs */
@media (min-width: 900px) {
  .hero__frame { height: min(calc(100vh - 80px), 66.67vw); max-height: none; }
  .hero__media { inset: 0; }
}

/* NOSITE sample strip (BRIEF rule 6): in the flow at the very top, scrolls away above the sticky nav */
.nsx { background: #111113; color: #fff; font: 13px/1.3 system-ui, -apple-system, sans-serif; padding: 8px 16px; text-align: center; }
.nsx a { color: #c9f55b; text-decoration: none; display: inline-block; padding: 4px 0; }
.nsx a:hover { text-decoration: underline; }
.nsx a { padding: 12px 4px; margin: -12px 0; }
.nsx a { padding: 14px 4px; margin: -14px 0; }
