/* selfhost-fonts:start */
/* Self-hosted Google Fonts (SIL OFL / Apache 2.0). Files live in /fonts/. Regenerate with scripts/selfhost_fonts.py. */
/* source: css2?family=Gloock&family=Outfit:wght@400;500;600&display=swap */
/* latin-ext */
@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gloock-normal-400-latin-ext.428a5589.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gloock-normal-400-latin.eee8817c.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/outfit-normal-400-600-latin-ext.71442463.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/outfit-normal-400-600-latin.bdba243e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/outfit-normal-400-600-latin-ext.71442463.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/outfit-normal-400-600-latin.bdba243e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/outfit-normal-400-600-latin-ext.71442463.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/outfit-normal-400-600-latin.bdba243e.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* selfhost-fonts:end */

/* interiorpainting.directory. Concept: the room elevation.
   The page is one wall, ceiling to floor: a flat-white ceiling with crown molding at the top,
   soft wall colors down the middle, a chair rail under the hero, and a baseboard over a dark
   floor at the bottom. Drawings carry finish tags the way a designer's elevation does.
   Gloock for display, Outfit for everything read or typed. */

:root {
  --ceiling: #fbfaf7;
  --trim: #ffffff;
  --sage: #dfe4d9;
  --wall-draw: #ccd6c6;
  --plaster: #f3eee6;
  --mist: #e3e9eb;
  --ink: #1f2427;
  --ink-2: #474e53;
  --pencil: #6b7176;
  --rule: #cfc9be;
  --clay: #8e4a35;
  --clay-soft: #e3b7a4;
  --stripe: #b0603f;
  --cab: #56716d;
  --cab-2: #7d9894;
  --cab-3: #3f5552;
  --swatch: #5b7a7e;
  --glass: #e3ecef;
  --ok: #e4ece0;
  --ok-line: #4d6b4f;
  --err: #f6e3dc;
  --floor: #26302e;
  --floor-line: #3c4845;
  --floor-text: #e8ece5;
  --floor-dim: #bcc5be;
  --serif: 'Gloock', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ceiling); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--clay); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .45em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font: 600 1.1rem/1.3 var(--sans); margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--trim); font-weight: 600; }
.skip-link:focus { left: 8px; top: 8px; color: var(--trim); }
.fine { font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
a[href^="tel:"] { white-space: nowrap; }

/* The ceiling: flat white, with a crown molding drawn in section lines along its edge */
.ceiling { background: var(--ceiling); }
.ceiling::after {
  content: ""; display: block; height: 18px;
  background: linear-gradient(to bottom,
    #e6e2da 0 1px, #fff 1px 4px, #dcd7ce 4px 5px, #fbfaf7 5px 8px, #efece6 8px 11px,
    #d3cdc2 11px 12px, #fff 12px 15px, #b9b2a5 15px 16px, #dcd8cf 16px 18px);
}
.ceiling-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 28px; padding-top: 14px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.mark { width: 40px; height: 40px; flex: none; }
.m-ceil { fill: var(--ceiling); }
.m-lit { fill: #e4e9df; }
.m-shade { fill: #c3cebd; }
.m-floor { fill: var(--floor); }
.m-stripe { fill: var(--stripe); }
.m-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-frame { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.word { display: flex; flex-direction: column; }
.word-1 { font: 400 1.45rem/1 var(--serif); letter-spacing: -0.005em; }
.word-2 { font: 600 .75rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 24px; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--clay); }
.nav .nav-cta { padding: 0 18px; background: var(--ink); color: var(--trim); }
.nav .nav-cta:hover { background: var(--clay); color: var(--trim); text-decoration: none; }
.cta-short { display: none; }

/* The wall: hero */
.hero { position: relative; background: var(--sage); padding: 56px 0 84px; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: linear-gradient(to bottom,
    #bdb6a9 0 1px, #fff 1px 4px, #e4e0d8 4px 5px, #fff 5px 9px, #d8d3ca 9px 10px,
    #fbfaf7 10px 12px, #b3ab9e 12px 13px, #d9d4cb 13px 14px);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 22px; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 33em; }
.promise { font-size: 1.2rem; line-height: 1.5; max-width: 31em; padding-left: 16px; border-left: 4px solid var(--stripe); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 18px; }
.quiet-link { font-weight: 500; padding: 10px 0; }
.aside { font-size: .95rem; color: var(--ink-2); margin: 0; }
.kicker { margin: 0 0 14px; font: 600 .85rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); max-width: 34em; }
.sample-link { margin: 0 0 20px; font-weight: 500; }
.hero .promise { font-size: 1.05rem; margin: 0 0 24px; }
.gets { display: grid; gap: 12px; margin: 0 0 22px; max-width: 34em; }
.gets div { padding: 12px 14px; background: var(--trim); border: 1px solid var(--rule); }
.gets dt { font-weight: 600; margin-bottom: 4px; }
.gets dd { margin: 0; color: var(--ink-2); line-height: 1.5; }
.promise b { font-weight: 600; }
.how { background: var(--ceiling); padding: 72px 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 64px; background: var(--trim); border: 1px solid var(--ink); color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border: 1.6px solid var(--ink); border-radius: 50%; font: 600 1rem/1 var(--sans); color: var(--ink); }
.steps b { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 24px; background: var(--ink); color: var(--trim); border: 2px solid var(--ink); border-radius: 0; font: 600 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--clay); border-color: var(--clay); color: var(--trim); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-quiet { background: var(--trim); color: var(--ink); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--trim); }

/* The drawing sheet */
.sheet { margin: 0; background: var(--trim); border: 1px solid var(--ink); padding: 18px 18px 14px; box-shadow: 8px 8px 0 rgba(31, 36, 39, .08); }
.elev { display: block; width: 100%; height: auto; }
.e-hatch { stroke: var(--pencil); stroke-width: 1; }
.e-cut { fill: url(#elev-hatch); }
.e-ceil { fill: var(--ceiling); stroke: var(--pencil); stroke-width: 1; }
.e-wall { fill: var(--wall-draw); }
.e-trim { fill: var(--trim); stroke: var(--pencil); stroke-width: 1.2; }
.e-panel { fill: none; stroke: var(--pencil); stroke-width: 1; }
.e-fine { fill: none; stroke: var(--rule); stroke-width: 1; }
.e-knob { fill: var(--pencil); }
.e-glass { fill: var(--glass); }
.e-muntin { stroke: var(--trim); stroke-width: 4; }
.e-glint { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.e-cab { fill: var(--cab); }
.e-cab-2 { fill: var(--cab-2); }
.e-cab-3 { fill: var(--cab-3); }
.e-cab-door { fill: var(--cab); stroke: var(--cab-3); stroke-width: 1.2; }
.e-cab-line { fill: none; stroke: var(--cab-3); stroke-width: 1.2; }
.e-knob-cab { fill: #d9d2c4; }
.e-obj-a { fill: #efe9dd; }
.e-obj-b { fill: #d8cab6; }
.e-obj-c { fill: #b9a58c; }
.e-edge { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.e-dim path { fill: none; stroke: var(--pencil); stroke-width: 1; }
.e-dim text { font: 500 14px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.tag { transform-box: fill-box; transform-origin: center; }
.tag polygon, .hex polygon { fill: var(--trim); stroke: var(--ink); stroke-width: 1.6; }
.tag text, .hex text { font: 600 17px var(--sans); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.sheet figcaption { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--rule); }
.sheet-title { margin: 0 0 10px; font-size: .95rem; color: var(--ink-2); }
.sheet-title b { font: 400 1.1rem var(--serif); color: var(--ink); margin-right: 8px; }
.key { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.key li { display: flex; align-items: center; gap: 8px; font-size: .98rem; }
.key b { font-weight: 600; margin-right: 3px; }
.hex { width: 30px; height: 30px; flex: none; }
.chip { display: inline-block; width: 18px; height: 18px; flex: none; border: 1px solid var(--pencil); }
.chip-ceil { background: var(--ceiling); }
.chip-wall { background: var(--wall-draw); }
.chip-trim { background: var(--trim); }
.chip-cab { background: var(--cab); }
.illus { margin: 0; font-size: .9rem; font-style: italic; color: var(--ink-2); }

/* Sections below the chair rail */
.sec-head { max-width: 46em; margin-bottom: 32px; }
.sec-head p { font-size: 1.1rem; color: var(--ink-2); }

/* Four surfaces: a finish schedule */
.surfaces { background: var(--plaster); padding: 72px 0; }
.schedule { width: 100%; border-collapse: collapse; background: var(--trim); border: 1px solid var(--ink); }
.schedule thead th { padding: 12px 18px; background: var(--ceiling); border-bottom: 2px solid var(--ink); text-align: left; font: 600 .82rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.schedule tbody th, .schedule td { padding: 18px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.schedule tbody tr:last-child > * { border-bottom: 0; }
.schedule tbody th { font: 400 1.4rem/1.2 var(--serif); white-space: nowrap; }
.schedule tbody th .hex, .schedule tbody th .chip { vertical-align: middle; margin: -4px 10px 0 0; }
.schedule td:nth-child(2) { width: 21%; font-weight: 500; }
.schedule td:last-child { color: var(--ink-2); }

/* The sheen scale */
.sheens { background: var(--mist); padding: 72px 0 64px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.scale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--trim); border: 1px solid var(--ink); }
.scale li { padding: 0 0 16px; border-right: 1px solid var(--rule); min-width: 0; }
.scale li:last-child { border-right: 0; }
.swatch { display: block; width: 100%; height: auto; }
.sw-base { fill: var(--swatch); }
.sw-sheen { fill: url(#sw-grad); }
.sw-win { fill: #fff; }
.scale h3 { font: 400 1.45rem/1.1 var(--serif); margin: 14px 16px 8px; }
.scale p { margin: 0 16px 8px; font-size: .98rem; line-height: 1.5; }
.scale p b { font-weight: 600; }
.scale .trade { color: var(--ink-2); }
.axis { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 14px; margin: 16px 0 0; font-weight: 500; font-size: .95rem; }
.axis i { position: relative; height: 2px; background: var(--ink); }
.axis i::before, .axis i::after { content: ""; position: absolute; top: -5px; border: 6px solid transparent; }
.axis i::before { left: -6px; border-left: 0; border-right: 9px solid var(--ink); }
.axis i::after { right: -6px; border-right: 0; border-left: 9px solid var(--ink); }
.note { max-width: 46em; margin: 18px 0 0; color: var(--ink-2); }

/* Measure a room */
.measure { background: var(--plaster); padding: 72px 0; }
.calc { display: grid; background: var(--trim); border: 1px solid var(--ink); }
.calc-in { display: grid; gap: 14px; align-content: start; padding: 24px; border-bottom: 1px solid var(--ink); }
.calc-out { padding: 24px; min-width: 0; }
.field { min-width: 0; }
.field > label, .boxes legend { display: block; margin-bottom: 6px; font-weight: 500; font-size: .98rem; color: var(--ink); }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--trim); border: 1px solid var(--pencil); border-radius: 2px; }
textarea { min-height: 90px; resize: vertical; }
select { appearance: auto; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--clay); outline-offset: 1px; border-color: var(--ink); }
.unit { display: flex; }
.unit input { flex: 1; min-width: 0; border-right: 0; border-radius: 2px 0 0 2px; }
.unit span { display: inline-flex; align-items: center; padding: 0 10px; background: var(--ceiling); border: 1px solid var(--pencil); border-radius: 0 2px 2px 0; font-size: .92rem; color: var(--ink-2); white-space: nowrap; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; cursor: pointer; }
.check input, .boxes input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--ink); }
.assume { display: grid; gap: 12px; margin: 4px 0 0; padding: 12px 16px 4px; border: 1px dashed var(--pencil); }
.assume legend { padding: 0 6px; font: 400 1.2rem var(--serif); }
.assume .fine { margin: 0 0 10px; }
.unfold { margin: 0 0 18px; }
.net { display: block; width: 100%; height: auto; background: var(--ceiling); border: 1px solid var(--rule); }
.unfold figcaption { margin-top: 8px; font-size: .95rem; color: var(--ink-2); }
.n-wall { fill: var(--wall-draw); stroke: var(--ink); stroke-width: 1.4; }
.n-ceil { fill: var(--trim); stroke: var(--ink); stroke-width: 1.4; }
.n-ceil-off { fill: var(--ceiling); stroke: var(--pencil); stroke-width: 1; stroke-dasharray: 5 4; }
.n-fold { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; }
.n-base { fill: var(--trim); stroke: var(--pencil); stroke-width: .8; }
.n-door { fill: var(--trim); stroke: var(--ink-2); stroke-width: 1.2; }
.n-win { fill: var(--glass); stroke: var(--ink-2); stroke-width: 1.2; }
.n-dim { fill: none; stroke: var(--pencil); stroke-width: 1; }
.n-label { font: 500 12px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.n-letter { font: 600 12px var(--sans); fill: var(--ink); }
.n-ceil-label { font: 400 15px var(--serif); fill: var(--ink); text-anchor: middle; }
.n-note { font: 500 12px var(--sans); fill: var(--ink-2); text-anchor: end; }
.n-empty { font: 500 14px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.results { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.results th, .results td { padding: 9px 0; border-bottom: 1px dotted var(--rule); vertical-align: baseline; }
.results th { padding-right: 12px; text-align: left; font-weight: 400; color: var(--ink-2); }
.results td { text-align: right; font-weight: 600; white-space: nowrap; }
.results .key-row th { color: var(--ink); font-weight: 600; }
.results .key-row td { font: 400 1.4rem/1.2 var(--serif); }
.results td small { display: block; font-size: .88rem; font-weight: 400; color: var(--ink-2); }
.calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.link-btn { min-height: 44px; padding: 0; background: none; border: 0; font: 500 1rem var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--clay); }
.room-list { margin-top: 26px; padding-top: 16px; border-top: 2px solid var(--ink); }
.room-list h3 { font: 400 1.45rem var(--serif); }
.rooms { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rooms th, .rooms td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.rooms thead th { font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.rooms tbody th { font-weight: 600; }
.rooms tfoot th, .rooms tfoot td { font-weight: 600; border-top: 2px solid var(--ink); border-bottom: 0; }
.row-x { min-height: 40px; padding: 0; background: none; border: 0; font: 500 .92rem var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 3px; cursor: pointer; }

/* Describe the job */
.request { background: var(--sage); padding: 72px 0 84px; }
.request-grid { display: grid; gap: 32px; }
.request-copy > p { color: var(--ink-2); }
.request-copy h3 { font: 400 1.4rem var(--serif); margin-top: 1.3em; }
.request-copy .fine { margin-top: 1.4em; }
.job { display: grid; gap: 16px; padding: 0 24px 24px; background: var(--trim); border: 1px solid var(--ink); }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin: 0 -24px 4px; padding: 12px 24px; background: var(--ceiling); border-bottom: 2px solid var(--ink); }
.job-head b { font: 400 1.4rem var(--serif); }
.job-head span { font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.pair { display: grid; gap: 16px; }
.hint { margin: 6px 0 0; font-size: .95rem; color: var(--ink-2); }
.opt { margin-left: 4px; font-size: .95rem; font-weight: 400; color: var(--ink-2); }
.boxes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.boxes legend { padding: 0; }
.boxes label { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; background: var(--trim); border: 1px solid var(--pencil); font-weight: 500; cursor: pointer; }
.boxes label:has(input:checked) { background: var(--ceiling); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.attached { margin: 0; padding: 10px 12px; background: var(--plaster); border-left: 3px solid var(--stripe); font-size: .95rem; }
.job .btn { justify-self: start; }
.feedback { padding: 12px 14px; line-height: 1.5; }
.feedback:empty { display: none; }
.feedback.ok { background: var(--ok); border-left: 4px solid var(--ok-line); }
.feedback.err, .job [data-intake-status] { margin: 0; padding: 12px 14px; background: var(--err); border-left: 4px solid var(--clay); line-height: 1.5; }

/* Words and questions */
.words { background: var(--ceiling); padding: 72px 0 80px; }
.words-grid { display: grid; gap: 56px; }
.faq-block { max-width: 820px; }
.terms { margin: 0; border-top: 2px solid var(--ink); display: grid; column-gap: 48px; }
.terms div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.terms dt { font-weight: 600; margin-bottom: 2px; }
.terms dd { margin: 0; color: var(--ink-2); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; display: block; min-height: 44px; padding: 15px 36px 15px 0; font-weight: 600; font-size: 1.05rem; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 21px; width: 10px; height: 10px; border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(45deg); }
.faq details[open] summary::after { top: 26px; transform: rotate(-135deg); }
.faq details p { max-width: 40em; margin: 0 0 16px; color: var(--ink-2); }

/* The floor: a baseboard, then the dark floor under it */
.floor { background: var(--floor); color: var(--floor-text); font-size: 1rem; padding-bottom: 28px; }
.floor::before {
  content: ""; display: block; height: 40px; margin-bottom: 44px;
  background: linear-gradient(to bottom,
    #c9c2b5 0 1px, #fff 1px 4px, #d9d4ca 4px 5px, #f4f2ed 5px 7px, #cfc9be 7px 8px,
    #fff 8px 20px, #f6f5f1 20px 32px, #cbc4b8 32px 33px, #f6f4ef 33px 38px, #9c9588 38px 40px);
}
.floor-grid { display: grid; gap: 28px; }
.floor p { margin: 0 0 10px; }
.floor a { color: var(--trim); text-decoration-color: var(--clay-soft); }
.floor a:hover { color: var(--clay-soft); }
.brand-foot { color: var(--floor-text); margin-bottom: 14px; }
.brand-foot:hover { color: var(--floor-text); }
.brand-foot .word-2 { color: var(--floor-dim); }
.brand-foot .m-frame { stroke: var(--floor-text); }
.foot-h { margin: 6px 0 10px; font: 600 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--floor-dim); }
.floor address { font-style: normal; }
.floor-grid a[href^="tel:"], .floor-grid a[href^="mailto:"], .floor-base a { display: inline-block; padding: 12px 0; }
.calc-msg { min-height: 0; margin: 0 0 12px; font-size: .95rem; color: var(--ink-2); }
.calc-msg:empty { display: none; }
.trouble { margin: 12px 0 0; }
.trouble a { display: inline-block; padding: 10px 0; }
.noscript-box { padding-bottom: 20px; }
.noscript-box p:not(.job-head) { margin: 12px 0 0; padding: 0 16px; }

.floor-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--floor-line); font-size: .95rem; color: var(--floor-dim); }
.floor-base p { margin: 0 0 6px; }

/* Privacy, terms and the 404 */
.legal { background: var(--ceiling); padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .5em; }
.legal strong { color: var(--ink); }
.legal .meta { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: .95rem; }
.legal .summary { padding: 14px 18px; background: var(--plaster); border-left: 4px solid var(--stripe); color: var(--ink); }
.lost { background: var(--sage); padding: 56px 0 84px; }
.lost-grid { display: grid; gap: 32px; align-items: center; }
.lost .lead { margin-bottom: 1.4em; }
.lost-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.lost-sheet { max-width: 460px; }
.bare-cut { fill: url(#bare-hatch); }
.bare-stripe { fill: var(--stripe); }
.bare-roller { fill: #c98a6f; stroke: var(--clay); stroke-width: 1.4; }
.bare-frame { fill: none; stroke: var(--ink-2); stroke-width: 3; stroke-linejoin: round; }
.bare-handle { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }

/* Wider screens */
@media (min-width: 640px) {
  .pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .floor-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .lost-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .hero h1 { font-size: clamp(2.8rem, 4.4vw, 3.9rem); }
  .hero .sheet { margin-top: 48px; }
  .hero h1 span { display: block; }
  .request-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .terms { grid-template-columns: 1fr 1fr; }
  .request-copy { position: sticky; top: 24px; }
}
@media (min-width: 1000px) {
  .calc { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .calc-in { border-bottom: 0; border-right: 1px solid var(--ink); }
}

/* Tablets: the sheen scale in two rows */
@media (max-width: 1040px) and (min-width: 641px) {
  .scale { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scale li:nth-child(3n) { border-right: 0; }
  .scale li:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}

/* Phones */
@media (max-width: 760px) {
  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: 100%; }
  .schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schedule tbody tr { padding: 16px; border-bottom: 1px solid var(--rule); }
  .schedule tbody tr:last-child { border-bottom: 0; }
  .schedule tbody th, .schedule td { padding: 0; border: 0; }
  .schedule tbody th { margin-bottom: 8px; white-space: normal; }
  .schedule td:nth-child(2) { width: auto; margin-bottom: 6px; }
  .schedule td:nth-child(2)::before { content: "Usual sheen: "; font-weight: 400; color: var(--ink-2); }
  .rooms thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rooms, .rooms tbody, .rooms tfoot, .rooms tr, .rooms th, .rooms td { display: block; width: 100%; }
  .rooms tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .rooms tfoot tr { border-top: 2px solid var(--ink); border-bottom: 0; }
  .rooms th, .rooms td, .rooms tfoot th, .rooms tfoot td { padding: 2px 0; border: 0; }
  .rooms td[data-l]::before { content: attr(data-l) ": "; font-weight: 400; color: var(--ink-2); }
}
@media (max-width: 720px) {
  .ceiling-row { padding-top: 12px; padding-bottom: 4px; }
  .nav { width: 100%; justify-content: space-between; gap: 0 10px; }
  .nav .nav-wide { display: none; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav .nav-cta { padding: 0 16px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 36px 0 72px; }
  .lead, .promise { font-size: 1.1rem; }
  .sheet { padding: 12px 12px 10px; box-shadow: 5px 5px 0 rgba(31, 36, 39, .08); }
  .tag { transform: scale(1.3); }
  .e-dim text { font-size: 22px; }
  .surfaces, .sheens, .measure, .request, .words, .how { padding: 56px 0; }
  .hero-actions .btn { width: 100%; }
  .scale { grid-template-columns: 1fr; }
  .scale li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding: 14px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .scale li:last-child { border-bottom: 0; }
  .swatch { grid-row: span 3; width: 96px; }
  .scale h3 { margin: 0 0 6px; }
  .scale p { margin: 0 0 6px; }
  .axis { display: none; }
  .calc-in, .calc-out { padding: 18px 16px; }
  .job { padding: 0 16px 20px; }
  .job-head { margin: 0 -16px 4px; padding: 12px 16px; }
}
@media (max-width: 380px) {
  .nav { gap: 0 4px; }
  .nav a { min-height: 44px; }
  .nav .nav-cta { padding: 0 12px; }
  .hero h1 span { white-space: nowrap; }
}
@media (max-width: 460px) {
  .key { grid-template-columns: 1fr; }
  .trio { gap: 8px; }
  .unit span { padding: 0 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .ceiling::after, .hero::after, .floor::before, .nav, .job, .calc-actions, .noscript-box { display: none; }
  body, .hero, .surfaces, .sheens, .measure, .request, .words { background: #fff; }
  .floor, .floor a, .floor-base, .floor .word-2 { background: none; color: #1f2427; }
  .floor { border-top: 2px solid #1f2427; }
  .calc, .scale li, .schedule tr, .results { break-inside: avoid; }
  .swatch { opacity: .55; }
}

/* Portable worksheet actions */
[hidden]{display:none!important}.draft-tools{margin:1.25rem 0;max-width:100%;overflow-wrap:anywhere}.draft-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.draft-actions button,.draft-actions a{font:inherit;font-size:1rem;line-height:1.4;color:inherit;background:transparent;border:1px solid currentColor;border-radius:0;padding:.65rem .8rem;min-height:44px;text-decoration:underline;cursor:pointer}.draft-actions button:focus-visible,.draft-actions a:focus-visible{outline:3px solid currentColor;outline-offset:3px}.draft-status{font-size:1rem}.draft-fallback textarea{display:block;width:100%;max-width:100%;font:inherit;line-height:1.5;resize:vertical}.draft-fallback label{display:block}.request-route{font-size:1rem}@media print{.draft-actions,.draft-status,.draft-fallback{display:none!important}}

@media print{body.print-worksheet > :not(#draft-print-sheet){display:none!important}body.print-worksheet #draft-print-sheet{display:block!important;color:#111;background:#fff;padding:1cm}#draft-print-sheet pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12pt/1.5 sans-serif}}
