/* Kulmasauma: a made-up client's brand, not Mrrp Software's. A Tampere renovation contractor's site built the way
   real contractor sites work (research: notes/references/kulmasauma.md): the quote request starts on a
   tape-measure-yellow work board, prices sit on a tiled wall with black grout, finished jobs carry their "before" note,
   the process is the job's own site schedule on a dark board, and the trust section is the handover paper itself.
   Light concrete ground, white tiles, near-black ink, one yellow. Archivo variable: wide and heavy for display,
   normal width for text. Square corners, 2-3 px ink borders, never hairlines. Photos: img/CREDITS.md. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-var.woff2") format("woff2"); }

.ks {
  --ground: #f0efea;
  --white: #ffffff;
  --ink: #151514;
  --ink-2: #3b3b37;
  --ink-3: #595953;
  --line: #cdcbc4;
  --yellow: #f6c200;
  --yellow-soft: #fbe6a1;
  --night: #151514;
  --night-text: #ecebe6;
  --night-2: #aeada5;
  --error: #b3261e;
  --font: "Archivo", system-ui, sans-serif;
  --g: clamp(16px, 3vw, 64px);
  --toph: 6.6rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
  accent-color: var(--ink);
  caret-color: var(--ink);
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  font-stretch: 100%;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-color: var(--ink-3) var(--ground);
}
.ks *, .ks *::before, .ks *::after { box-sizing: border-box; }
.ks ::selection { background: var(--yellow); color: var(--ink); }
.ks :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:where(.ks) img { display: block; max-width: 100%; height: auto; }
:where(.ks) a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
:where(.ks) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.ks) :where(h1, h2, h3, p, figure, dl, dd, ul, ol, fieldset, table) { margin: 0; }
:where(.ks) :where(ul, ol) { padding: 0; list-style: none; }
.ks [hidden] { display: none !important; }
.ks .skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1.1rem; background: var(--ink); color: var(--white); text-decoration: none; }
.ks .skip:focus { top: 1rem; }
.ks-wrap { padding: 0 var(--g); }

/* Display type: Archivo wide and heavy, like the lettering on a work van */
.ks h1, .ks-sec-top h2, .ks-ref h2, .ks-papers h2, .ks-price h3, .ks-job h3, .ks-step legend, .ks-side-box h2, .ks-doc h3, .ks-qa h3, .ks-price-tag strong, .ks-nums dd, .ks-logo-word {
  font-weight: 850; font-stretch: 125%; letter-spacing: -.015em; line-height: 1.02; text-wrap: balance;
}
.ks-lede { font-size: clamp(1.1rem, 1.3vw, 1.35rem); line-height: 1.45; color: var(--ink-2); max-width: 44ch; }
.ks-note, .ks-fine { font-size: .92rem; color: var(--ink-3); max-width: 70ch; }
.ks-meta { font-size: .9rem; font-weight: 600; color: var(--ink-3); }

/* ---- Mrrp Software's demo bar: neutral and plain, so it never reads as part of the company ---- */
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.5rem; padding: .45rem var(--g); background: #0b0b0b; color: #b9b9b3; font: 400 .82rem/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
.demo-bar p { flex: 1 1 30rem; }
.demo-bar strong { color: #fff; font-weight: 650; }
.demo-bar-end { display: flex; align-items: center; gap: 1rem; }
.demo-bar a { color: #f2f2ee; text-decoration-thickness: 1px; }
.demo-bar .demo-tool { font-weight: 650; }
.demo-bar .lang { display: inline-flex; border: 1px solid #3a3a37; }
.demo-bar .lang a { min-width: 2.2rem; padding: .12rem .45rem; color: #9b9b95; font-size: .75rem; font-weight: 650; text-align: center; text-decoration: none; }
.demo-bar .lang a[aria-current] { background: #f2f2ee; color: #0b0b0b; }
.demo-bar :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---- Header ---- */
.ks-top { position: sticky; top: 0; z-index: 30; }
.ks-head { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 3rem); height: 4.4rem; padding: 0 var(--g); background: var(--white); border-bottom: 3px solid var(--ink); }
.ks-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.ks-mark-icon { width: 1.9rem; height: 1.9rem; fill: none; stroke-linecap: square; }
.ks-mark-wall { stroke: var(--ink); stroke-width: 3.4; }
.ks-mark-seam { stroke: var(--yellow); stroke-width: 3.4; }
.ks-logo-word { font-size: 1.18rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.ks-nav { display: flex; gap: clamp(1rem, 2vw, 2.2rem); margin-left: auto; }
.ks-nav a { font-weight: 650; font-size: .98rem; text-decoration: none; padding: .4rem 0; border-bottom: 3px solid transparent; }
.ks-nav a:hover { border-bottom-color: var(--ink); }
.ks-nav a[aria-current] { border-bottom-color: var(--yellow); }
.ks-head-note { font-size: .85rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }

/* ---- Buttons and links ---- */
.ks-btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.3rem; padding: 0 1.4rem; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-weight: 750; font-stretch: 110%; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.ks-btn:hover { background: var(--ink); color: var(--yellow); }
.ks-btn:disabled { opacity: .55; cursor: progress; }
.ks-btn-sm { min-height: 2.7rem; padding: 0 1.05rem; font-size: .93rem; }
.ks-btn-wide { width: 100%; }
.ks-arr { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; transition: transform .2s var(--ease); }
.ks-btn:hover .ks-arr, .ks-link:hover .ks-arr { transform: translateX(3px); }
.ks-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); text-underline-offset: .28em; }
.ks-link:hover { text-decoration-color: var(--ink); }
.ks-ico { width: 2rem; height: 2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }

/* ---- Hero: a yellow work board with the quote request in it, and one finished room ---- */
.ks-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); height: calc(100svh - var(--toph)); min-height: 38rem; background: var(--yellow); border-bottom: 3px solid var(--ink); }
.ks-board { display: flex; flex-direction: column; gap: clamp(1.1rem, 2.6vh, 2.2rem); padding: clamp(1.6rem, 5vh, 4rem) var(--g) clamp(1.4rem, 3.5vh, 2.6rem); min-width: 0; }
.ks-hero h1 { font-size: clamp(2.4rem, min(5vw, 9.4svh), 6rem); max-width: 12ch; }
.ks-board .ks-lede { color: var(--ink); max-width: 42ch; }
.ks-start { display: grid; gap: .7rem; }
.ks-board .ks-start { margin-top: auto; }
.ks-start-h { font-size: 1.02rem; font-weight: 750; font-stretch: 105%; }
.ks-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.ks-start-grid a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: clamp(3.6rem, 8.5vh, 5rem); padding: .6rem 1rem; background: var(--white); font-weight: 750; font-stretch: 106%; line-height: 1.15; text-decoration: none; transition: background-color .15s, color .15s; }
.ks-start-grid a .ks-arr { opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .2s var(--ease); }
.ks-start-grid a:hover, .ks-start-grid a:focus-visible { background: var(--ink); color: var(--yellow); }
.ks-start-grid a:hover .ks-arr, .ks-start-grid a:focus-visible .ks-arr { opacity: 1; transform: none; }
.ks-start-grid a:focus-visible { outline: 3px solid var(--yellow); outline-offset: -6px; }
.ks-promise { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .92rem; font-weight: 650; }
.ks-promise span { display: inline-flex; align-items: center; gap: .5rem; }
.ks-promise span::before { content: ""; width: .55rem; height: .55rem; background: var(--ink); }
.ks-hero-photo { position: relative; min-width: 0; overflow: hidden; background: var(--ink); border-left: 3px solid var(--ink); }
.ks-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 38%; }
.ks-hero-photo figcaption { position: absolute; left: 0; bottom: 0; max-width: min(26rem, 92%); }
.ks-hero-photo figcaption a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 1rem; row-gap: .2rem; padding: 1rem 1.2rem 1.05rem; background: var(--white); text-decoration: none; border-top: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.ks-hero-photo figcaption strong { font-size: 1.12rem; font-weight: 850; font-stretch: 118%; }
.ks-hero-photo figcaption span { grid-column: 1; font-size: .86rem; color: var(--ink-3); }
.ks-hero-photo figcaption .ks-arr { grid-column: 2; grid-row: 1 / 3; width: 1.4rem; height: 1.4rem; }
.ks-hero-photo figcaption a:hover strong { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* ---- Sections: bands of their own ground, a heading row on top ---- */
.ks-sec { padding: clamp(4rem, 8vw, 8.5rem) 0; }
.ks-sec-work, .ks-sec-faq { background: var(--white); }
.ks-sec-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); align-items: end; gap: 1rem clamp(2rem, 5vw, 6rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.ks-sec-top h2 { grid-row: span 2; font-size: clamp(2.1rem, 4vw, 5rem); max-width: 16ch; }
.ks-sec-top p { color: var(--ink-2); max-width: 46ch; }
.ks-sec-top .ks-link { justify-self: start; }

/* ---- Prices: services laid out as tiles on a wall, black grout between them ---- */
.ks-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--ink); border: 3px solid var(--ink); }
.ks-price { position: relative; display: grid; background: var(--white); min-width: 0; transition: background-color .15s; }
.ks-price-bathroom { grid-column: span 2; grid-row: span 2; background: var(--yellow); }
.ks-price-sauna, .ks-price-paint, .ks-price-repair { grid-column: span 2; }
.ks-price-sauna, .ks-price-paint { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ks-price-fig { position: relative; overflow: hidden; border-right: 3px solid var(--ink); min-height: 12rem; }
.ks-price-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ks-price-in { display: flex; flex-direction: column; gap: .55rem; padding: clamp(1.2rem, 2vw, 2rem); min-width: 0; }
.ks-price h3 { font-size: clamp(1.2rem, 1.45vw, 1.6rem); margin-top: .4rem; }
.ks-price h3 a { text-decoration: none; }
.ks-price h3 a::after { content: ""; position: absolute; inset: 0; }
.ks-price:hover h3 a { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); }
.ks-price-bathroom:hover h3 a { text-decoration-color: var(--ink); }
.ks-price:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: -8px; }
.ks-price h3 a:focus-visible { outline: none; }
.ks-price:not(.ks-price-bathroom):hover { background: #fbfaf6; }
.ks-price-text { font-size: .95rem; color: var(--ink-2); max-width: 46ch; }
.ks-price-bathroom .ks-price-text { color: var(--ink); font-size: clamp(1rem, 1.15vw, 1.15rem); }
.ks-price-tag { margin-top: auto; padding-top: 1rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .4rem; }
.ks-price-tag span { font-size: .9rem; font-weight: 650; color: var(--ink-3); }
.ks-price-bathroom .ks-price-tag span { color: var(--ink); }
.ks-price-tag strong { font-size: clamp(1.7rem, 2.4vw, 2.8rem); line-height: 1; }
.ks-price-time { font-size: .9rem; font-weight: 650; }
.ks-price-recent { position: relative; z-index: 1; margin-top: .4rem; padding-top: .8rem; border-top: 2px solid var(--ink); font-size: .9rem; font-weight: 600; }
.ks-price-recent a { text-decoration-thickness: 1.5px; }
.ks-price-recent a:hover { text-decoration-thickness: 3px; }
.ks-price-bathroom .ks-ico { width: 3rem; height: 3rem; stroke-width: 1.8; }
.ks-price-bathroom h3 { font-size: clamp(1.7rem, 2.6vw, 3.2rem); }
.ks-price-bathroom .ks-price-tag strong { font-size: clamp(2.8rem, 5.2vw, 6rem); }
.ks-wall + .ks-note { margin-top: 1.4rem; }

/* ---- Finished jobs: the room now, with the "before" note pinned on it ---- */
.ks-jobs { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.6rem, 2.6vw, 3rem) clamp(1.2rem, 2.6vw, 3rem); }
.ks-job { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.ks-job.is-big { grid-row: span 2; }
.ks-job-fig { position: relative; overflow: hidden; background: var(--ink); }
.ks-job-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ks-job.is-big .ks-job-fig { flex: 1 1 auto; min-height: 22rem; }
.ks-job.is-big .ks-job-fig img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.ks-before { position: absolute; left: 0; bottom: 0; max-width: min(25rem, 88%); padding: .75rem 1rem .8rem; background: var(--ink); color: var(--night-text); font-size: .9rem; line-height: 1.4; }
.ks-before strong { display: block; color: var(--yellow); font-weight: 800; font-stretch: 118%; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .15rem; }
.ks-job h3 { font-size: clamp(1.3rem, 1.7vw, 1.9rem); }
.ks-job.is-big h3 { font-size: clamp(1.6rem, 2.4vw, 2.8rem); }
.ks-job h3 a { text-decoration: none; }
.ks-job h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.ks-job-body { display: grid; gap: .35rem; }
.ks-nums { display: flex; flex-wrap: wrap; margin-top: .55rem; }
.ks-nums > div { padding: .1rem 1.1rem 0 0; margin-right: 1.1rem; border-right: 2px solid var(--ink); }
.ks-nums > div:last-child { border-right: 0; margin-right: 0; }
.ks-nums dt { font-size: .76rem; font-weight: 650; color: var(--ink-3); }
.ks-nums dd { font-size: 1.12rem; }

/* ---- Schedule: the whole job on a dark site board, 4 steps before the start and 20 working days ---- */
.ks-sec-dark { background: var(--night); color: var(--night-text); }
.ks-sec-dark .ks-sec-top p { color: var(--night-2); }
.ks-sec-dark :focus-visible { outline-color: var(--yellow); }
.ks-plan { --tracks: repeat(24, minmax(0, 1fr)); --wk: rgba(236, 235, 230, .16); }
.ks-ruler, .ks-bar { display: grid; grid-template-columns: var(--tracks); }
.ks-ruler { border-bottom: 3px solid var(--yellow); }
.ks-ruler > span { padding: .5rem .6rem .55rem; border-left: 1px solid var(--wk); font-size: .8rem; font-weight: 700; font-stretch: 110%; white-space: nowrap; overflow: hidden; }
.ks-ruler > span:first-child { border-left: 0; padding-left: 0; color: var(--night-2); }
.ks-short { display: none; }
.ks-bars { display: grid; gap: .55rem; padding: 1.2rem 0 .4rem;
  background: linear-gradient(to right, transparent calc(100% / 24 * 4 - 1px), var(--wk) 0 calc(100% / 24 * 4), transparent 0 calc(100% / 24 * 9 - 1px), var(--wk) 0 calc(100% / 24 * 9), transparent 0 calc(100% / 24 * 14 - 1px), var(--wk) 0 calc(100% / 24 * 14), transparent 0 calc(100% / 24 * 19 - 1px), var(--wk) 0 calc(100% / 24 * 19), transparent 0); }
.ks-bar { row-gap: .3rem; }
.ks-bar-text { grid-row: 1; grid-column-end: -1; font-size: .95rem; line-height: 1.3; padding-right: .5rem; }
.ks-bar.is-late .ks-bar-text { grid-column-start: 1; justify-self: end; text-align: right; padding: 0 0 0 .5rem; }
.ks-bar-name { font-weight: 700; color: var(--white); }
.ks-bar-sub { font-size: .84rem; color: var(--night-2); }
.ks-bar-fill { grid-row: 2; height: .85rem; background: var(--yellow); transform-origin: left center; }
.ks-bar.is-pre .ks-bar-fill { background: transparent; box-shadow: inset 0 0 0 2px var(--night-text); }
.ks-bar.is-cure .ks-bar-fill { background: repeating-linear-gradient(-45deg, var(--yellow) 0 6px, transparent 6px 11px); box-shadow: inset 0 0 0 2px var(--yellow); }
.ks-bar.is-end .ks-bar-fill { background: var(--white); }
.ks-plan-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(2rem, 5vw, 6rem); margin-top: clamp(2rem, 3.5vw, 3rem); }
.ks-plan-notes p { color: var(--night-text); max-width: 52ch; }
.ks-plan-notes p:first-child::before { content: ""; display: inline-block; width: 1.6rem; height: .7rem; margin-right: .6rem; vertical-align: .05em; background: repeating-linear-gradient(-45deg, var(--yellow) 0 4px, transparent 4px 7px); box-shadow: inset 0 0 0 1.5px var(--yellow); }
/* grid placement by track (CSP allows no inline styles) */
.ga1 { grid-column-start: 1; } .ga2 { grid-column-start: 2; } .ga3 { grid-column-start: 3; } .ga4 { grid-column-start: 4; } .ga5 { grid-column-start: 5; }
.ga6 { grid-column-start: 6; } .ga7 { grid-column-start: 7; } .ga8 { grid-column-start: 8; } .ga9 { grid-column-start: 9; } .ga10 { grid-column-start: 10; }
.ga11 { grid-column-start: 11; } .ga12 { grid-column-start: 12; } .ga13 { grid-column-start: 13; } .ga14 { grid-column-start: 14; } .ga15 { grid-column-start: 15; }
.ga16 { grid-column-start: 16; } .ga17 { grid-column-start: 17; } .ga18 { grid-column-start: 18; } .ga19 { grid-column-start: 19; } .ga20 { grid-column-start: 20; }
.ga21 { grid-column-start: 21; } .ga22 { grid-column-start: 22; } .ga23 { grid-column-start: 23; } .ga24 { grid-column-start: 24; }
.gb2 { grid-column-end: 2; } .gb3 { grid-column-end: 3; } .gb4 { grid-column-end: 4; } .gb5 { grid-column-end: 5; } .gb6 { grid-column-end: 6; }
.gb7 { grid-column-end: 7; } .gb8 { grid-column-end: 8; } .gb9 { grid-column-end: 9; } .gb10 { grid-column-end: 10; } .gb11 { grid-column-end: 11; }
.gb12 { grid-column-end: 12; } .gb13 { grid-column-end: 13; } .gb14 { grid-column-end: 14; } .gb15 { grid-column-end: 15; } .gb16 { grid-column-end: 16; }
.gb17 { grid-column-end: 17; } .gb18 { grid-column-end: 18; } .gb19 { grid-column-end: 19; } .gb20 { grid-column-end: 20; } .gb21 { grid-column-end: 21; }
.gb22 { grid-column-end: 22; } .gb23 { grid-column-end: 23; } .gb24 { grid-column-end: 24; } .gb25 { grid-column-end: 25; }

/* ---- Paperwork: the company's papers beside an example of the handover record the customer keeps ---- */
.ks-papers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.ks-papers-text { display: grid; gap: 1.4rem; align-content: start; }
.ks-papers h2 { font-size: clamp(2.1rem, 4vw, 5rem); }
.ks-cred { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.6rem; margin-top: .6rem; }
.ks-cred dt { display: inline-block; padding: .2rem .5rem; background: var(--ink); color: var(--yellow); font-size: .76rem; font-weight: 750; font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; }
.ks-cred dd { margin-top: .45rem; font-weight: 650; line-height: 1.35; }
.ks-doc { position: relative; padding: clamp(1.4rem, 3vw, 2.8rem); background: var(--white); border: 2px solid var(--ink); box-shadow: 0 28px 50px -28px rgba(21, 21, 20, .45), 0 2px 0 rgba(21, 21, 20, .08); }
.ks-doc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 3px solid var(--ink); }
.ks-doc-head .ks-logo-word { font-size: 1rem; }
.ks-doc-stamp { padding: .25rem .6rem; background: var(--ink); color: var(--yellow); font-weight: 750; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.ks-doc h3 { margin: 1.4rem 0 .9rem; font-size: clamp(1.4rem, 2vw, 2.1rem); }
.ks-doc table { width: 100%; border-collapse: collapse; }
.ks-doc th, .ks-doc td { padding: .6rem 0; border-bottom: 1.5px dashed var(--line); text-align: left; vertical-align: top; }
.ks-doc th { width: 9.5rem; padding-right: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding-top: .78rem; }
.ks-doc td { font-size: .98rem; }
.ks-doc-att { margin-top: 1rem; font-size: .92rem; color: var(--ink-2); }
.ks-doc-att strong { color: var(--ink); margin-right: .3rem; }
.ks-doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.6rem; }
.ks-doc-sign p { padding-top: .4rem; border-top: 2px solid var(--ink); font-size: .8rem; font-weight: 650; color: var(--ink-3); }

/* ---- Questions: answered in the open, no accordions ---- */
.ks-faq { columns: 2 26rem; column-gap: clamp(2.5rem, 6vw, 7rem); }
.ks-qa { break-inside: avoid; margin-bottom: clamp(2rem, 3.4vw, 3rem); display: grid; gap: .6rem; }
.ks-qa h3 { font-size: clamp(1.2rem, 1.5vw, 1.55rem); line-height: 1.12; }
.ks-qa p { color: var(--ink-2); max-width: 60ch; }

/* ---- Service area: the drawn map, the towns as chips ---- */
.ks-area { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.ks-area-map { background: var(--white); border: 3px solid var(--ink); }
.ks-map { display: block; width: 100%; height: auto; font-family: var(--font); }
.ks-zone { fill: var(--yellow); fill-opacity: .3; }
.ks-ring { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 5 6; }
.ks-ring-edge { stroke-width: 3; stroke-dasharray: none; }
.ks-ring-label { font-size: 15px; font-weight: 700; fill: var(--ink-3); }
.ks-town rect { fill: var(--ink); }
.ks-town.is-out rect { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.ks-town text, .ks-home text { font-size: 21px; font-weight: 750; fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 5px; stroke-linejoin: round; }
.ks-home rect { fill: var(--yellow); stroke: var(--ink); stroke-width: 3.5; }
.ks-home text { font-size: 25px; font-weight: 850; font-stretch: 118%; }
.ks-north path { fill: var(--ink); }
.ks-north text, .ks-scale text { font-size: 15px; font-weight: 750; fill: var(--ink); }
.ks-scale path { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.ks-area-side { display: grid; gap: 2rem; }
.ks-towns h3 { font-size: 1rem; font-weight: 800; margin-bottom: .7rem; }
.ks-towns ul { display: flex; flex-wrap: wrap; gap: .45rem; }
.ks-towns li { padding: .35rem .75rem; border: 2px solid var(--ink); background: var(--white); font-weight: 650; }
.ks-towns.is-out li { border-style: dashed; background: transparent; }
.ks-area-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-weight: 650; }

/* ---- Footer ---- */
.ks-foot { background: var(--night); color: var(--night-text); padding-top: clamp(3.5rem, 6vw, 6rem); }
.ks-foot a { color: var(--white); }
.ks-foot :focus-visible { outline-color: var(--yellow); }
.ks-foot-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 2.5rem clamp(1.5rem, 3vw, 4rem); padding-bottom: clamp(3rem, 5vw, 5rem); }
.ks-foot .ks-logo-word { color: var(--white); }
.ks-foot .ks-mark-wall { stroke: var(--white); }
.ks-foot-brand { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.ks-foot-brand > p:not(.ks-logo) { color: var(--night-2); max-width: 30ch; }
.ks-foot .ks-btn { border-color: var(--yellow); color: var(--ink); }
.ks-foot .ks-btn:hover { background: var(--night); color: var(--yellow); }
.ks-foot h2 { margin-bottom: .7rem; font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--night-2); }
.ks-foot-top p + p { margin-top: .7rem; }
.ks-foot-quiet { font-size: .86rem; color: var(--night-2); }
.ks-foot ul { display: grid; gap: .35rem; }
.ks-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-top: 1.2rem; padding-bottom: 1.4rem; border-top: 1px solid rgba(236, 235, 230, .2); font-size: .84rem; color: var(--night-2); }
.ks-foot-base a { color: var(--night-text); }

/* ---- Phone dock ---- */
.ks-dock { display: none; }

/* ---- Page heads (references, quote) ---- */
.ks-page-head { padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2rem, 4vw, 3.5rem); border-bottom: 3px solid var(--ink); background: var(--yellow); }
.ks-page-head .ks-wrap { display: grid; gap: 1.2rem; }
.ks-page-head h1 { font-size: clamp(2.6rem, 6vw, 6rem); }
.ks-page-head .ks-lede { color: var(--ink); }
.ks-filter { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.ks-filter button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem; border: 2px solid var(--ink); background: var(--white); font-weight: 700; cursor: pointer; }
.ks-filter button span { font-size: .82rem; color: var(--ink-3); }
.ks-filter button:hover { background: var(--ground); }
.ks-filter button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.ks-filter button[aria-pressed="true"] span { color: var(--yellow); }

/* ---- References page ---- */
.ks-ref { padding: clamp(3rem, 6vw, 6rem) 0; scroll-margin-top: var(--toph); }
.ks-ref + .ks-ref { border-top: 3px solid var(--ink); }
.ks-ref:nth-child(even) { background: var(--white); }
.ks-ref-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 4vw, 5rem); align-items: start; }
.ks-ref.is-flip .ks-ref-photos { order: 2; }
.ks-ref-photos { display: grid; gap: 3px; background: var(--ink); border: 3px solid var(--ink); }
.ks-ref-photos.has-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ks-ref-photos figure { position: relative; overflow: hidden; }
.ks-ref-photos img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ks-ref-photos.has-2 figure:nth-child(2) img { aspect-ratio: auto; }
.ks-ref-text { display: grid; gap: .9rem; align-content: start; }
.ks-ref h2 { font-size: clamp(1.8rem, 3vw, 3.4rem); }
.ks-ref-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: .8rem; }
.ks-ref-cols h3 { font-size: 1rem; font-weight: 800; margin-bottom: .3rem; }
.ks-ref-cols p { font-size: .98rem; color: var(--ink-2); }
.ks-chain { display: flex; flex-wrap: wrap; gap: .3rem 0; margin-top: .6rem; }
.ks-chain li { padding: .35rem 1.1rem .35rem 1.2rem; margin-right: -.25rem; background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 650; clip-path: polygon(0 0, calc(100% - .65rem) 0, 100% 50%, calc(100% - .65rem) 100%, 0 100%, .65rem 50%); }
.ks-chain li:first-child { padding-left: .8rem; clip-path: polygon(0 0, calc(100% - .65rem) 0, 100% 50%, calc(100% - .65rem) 100%, 0 100%); }
.ks-chain li:last-child { background: var(--yellow); color: var(--ink); }
.ks-ref-note { padding-top: 2rem; padding-bottom: 2rem; border-top: 3px solid var(--ink); font-size: .92rem; color: var(--ink-3); }
.ks-sec-start { background: var(--white); border-top: 3px solid var(--ink); }
.ks-sec-start .ks-start-h { font-size: clamp(1.5rem, 2.6vw, 2.8rem); font-weight: 850; font-stretch: 125%; line-height: 1.05; margin-bottom: 1rem; }

/* ---- Quote form ---- */
.ks-page-head-quote { padding-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.ks-quote { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 2.5rem clamp(2rem, 4vw, 5rem); align-items: start; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.ks-form { min-width: 0; max-width: 60rem; }
.ks-step { border: 0; padding: 0; margin: 0 0 2.8rem; min-width: 0; }
.ks-step legend { display: block; width: 100%; padding: 0 0 .55rem; margin-bottom: 1.1rem; border-bottom: 3px solid var(--ink); font-size: clamp(1.3rem, 1.8vw, 1.8rem); }
.ks-opt { font-size: .85rem; font-weight: 500; font-stretch: 100%; color: var(--ink-3); letter-spacing: 0; }
.ks-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.ks-tile { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .75rem; min-height: 4.4rem; padding: .8rem 1rem; background: var(--white); font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .12s; }
.ks-tile input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ks-tile:hover { background: #fbf3d2; }
.ks-tile:has(input:checked) { background: var(--yellow); font-weight: 850; }
.ks-tile:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: -7px; }
.ks-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.3rem; }
.ks-field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.ks-field.span-2 { grid-column: 1 / -1; }
.ks-field label, .ks-label-p { font-size: .93rem; font-weight: 700; }
.ks-field input, .ks-field select, .ks-field textarea { width: 100%; min-height: 3.15rem; padding: .6rem .8rem; border: 2px solid var(--ink); border-radius: 0; background: var(--white); }
.ks-field textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.ks-field select { appearance: none; padding-right: 2.6rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23151514' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right .8rem center / 1.1rem; }
.ks-field :is(input, select, textarea):focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; background-color: #fffdf3; }
.ks-field [aria-invalid="true"] { border-color: var(--error); background-color: #fdf3f2; }
.ks-radios { display: flex; flex-wrap: wrap; gap: .45rem; }
.ks-radio { position: relative; display: inline-flex; align-items: center; min-height: 2.9rem; padding: .45rem .95rem; border: 2px solid var(--ink); background: var(--white); font-weight: 650; cursor: pointer; }
.ks-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ks-radio:hover { background: #fbf3d2; }
.ks-radio:has(input:checked) { background: var(--ink); color: var(--yellow); }
.ks-radio:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.ks-hint { font-size: .86rem; color: var(--ink-3); }
.ks-err { font-size: .9rem; font-weight: 650; color: var(--error); }
.ks-step > .ks-err { margin-top: .5rem; }
.ks-err-box { margin-top: 1rem; padding: .8rem 1rem; border: 2px solid var(--error); background: #fdf3f2; }
.ks-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ks-drop { position: relative; display: grid; gap: .8rem; padding: 1.4rem; border: 2px dashed var(--ink); background: var(--white); transition: background-color .15s; }
.ks-drop.is-over { background: var(--yellow-soft); }
.ks-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ks-drop-label { display: inline-flex; align-items: center; gap: .75rem; justify-self: start; min-height: 3.1rem; padding: 0 1.2rem; border: 2px solid var(--ink); background: var(--yellow); font-weight: 750; cursor: pointer; }
.ks-drop-label:hover { background: var(--ink); color: var(--yellow); }
.ks-drop-label svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; }
.ks-file:focus-visible + .ks-drop-label { outline: 3px solid var(--ink); outline-offset: 3px; }
.ks-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .6rem; margin-top: .9rem; }
.ks-thumbs:empty { display: none; }
.ks-thumbs li { position: relative; border: 2px solid var(--ink); background: var(--white); }
.ks-thumbs li.is-busy { display: grid; place-items: center; min-height: 7rem; color: var(--ink-3); font-size: .85rem; }
.ks-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ks-thumbs p { padding: .35rem .5rem; font-size: .78rem; color: var(--ink-3); }
.ks-thumb-x { position: absolute; top: .35rem; right: .35rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 0; background: var(--ink); color: var(--white); cursor: pointer; }
.ks-thumb-x svg { width: 1rem; height: 1rem; stroke: currentColor; stroke-width: 2.4; fill: none; }
.ks-thumb-x:hover { background: var(--error); }
.ks-demo-note { margin: 1.6rem 0 1.2rem; padding: .9rem 1rem; background: var(--yellow-soft); font-size: .92rem; color: var(--ink); }
.ks-quote-side { position: sticky; top: calc(var(--toph) + 1.5rem); display: grid; gap: 1rem; }
.ks-side-box { display: grid; gap: .9rem; padding: 1.3rem 1.4rem 1.4rem; background: var(--white); border: 2px solid var(--ink); }
.ks-side-box h2 { font-size: 1.3rem; }
.ks-next { display: grid; gap: .8rem; }
.ks-next dt { font-weight: 800; }
.ks-next dd { font-size: .95rem; color: var(--ink-2); }
.ks-tips p { font-size: .95rem; color: var(--ink-2); }
.ks-tip-pics { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ks-tip-pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); }
.ks-tip-pics figcaption { margin-top: .3rem; font-size: .8rem; font-weight: 650; }

/* ---- Confirmation ---- */
.ks-done { padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4.5rem, 8vw, 8rem); }
.ks-done-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem clamp(2rem, 5vw, 6rem); align-items: start; }
.ks-done-main { display: grid; gap: 1.4rem; align-content: start; }
.ks-done h1 { font-size: clamp(2.4rem, 5vw, 5.6rem); max-width: 14ch; }
.ks-done-sum { display: grid; gap: 1rem; }
.ks-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); max-width: 52rem; }
.ks-sum > div { padding: .8rem 1rem .9rem; background: var(--white); }
.ks-sum dt { font-size: .78rem; font-weight: 650; color: var(--ink-3); }
.ks-sum dd { font-size: 1.08rem; font-weight: 800; font-stretch: 110%; }
.ks-done-photos { display: flex; flex-wrap: wrap; gap: .5rem; }
.ks-done-photos img { width: 7.5rem; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); }
/* Mrrp's demo panel: plain system type on near-black, so it reads as the maker talking, not the company */
.ks-demo-panel { display: grid; gap: 1rem; padding: clamp(1.4rem, 2.4vw, 2.2rem); background: #0b0b0b; color: #cfcfca; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ks-demo-panel h2 { color: #fff; font-size: clamp(1.4rem, 1.9vw, 1.9rem); font-weight: 650; line-height: 1.15; }
.demo-panel-btn { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; min-height: 3rem; padding: 0 1.3rem; background: #f2f2ee; color: #0b0b0b; font-weight: 650; text-decoration: none; }
.demo-panel-btn:hover { background: #fff; text-decoration: underline; }
.ks-demo-small { font-size: .84rem; color: #a3a39d; }
.ks-demo-panel :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---- Motion: one moment, the schedule bars drawing along the board ---- */
.js.motion .ks-plan .ks-bar-fill { transform: scaleX(0); }
.js.motion .ks-plan.in .ks-bar-fill { transform: scaleX(1); transition: transform .8s var(--ease); }
.js.motion .ks-plan.in .r2 .ks-bar-fill { transition-delay: .07s; } .js.motion .ks-plan.in .r3 .ks-bar-fill { transition-delay: .14s; }
.js.motion .ks-plan.in .r4 .ks-bar-fill { transition-delay: .21s; } .js.motion .ks-plan.in .r5 .ks-bar-fill { transition-delay: .32s; }
.js.motion .ks-plan.in .r6 .ks-bar-fill { transition-delay: .42s; } .js.motion .ks-plan.in .r7 .ks-bar-fill { transition-delay: .52s; }
.js.motion .ks-plan.in .r8 .ks-bar-fill { transition-delay: .62s; } .js.motion .ks-plan.in .r9 .ks-bar-fill { transition-delay: .72s; }
.js.motion .ks-plan.in .r10 .ks-bar-fill { transition-delay: .82s; } .js.motion .ks-plan.in .r11 .ks-bar-fill { transition-delay: .92s; }

/* ---- Responsive ---- */
@media (min-width: 1900px) {
  .ks { font-size: 1.125rem; }
  .ks-faq { columns: 3 24rem; }
  /* the big screen: the board's type and buttons grow with it instead of leaving yellow air */
  .ks-hero h1 { font-size: min(5.2vw, 10svh, 9rem); }
  .ks-board .ks-lede { font-size: 1.6rem; }
  .ks-start-h { font-size: 1.25rem; }
  .ks-start-grid a { min-height: min(9vh, 7.5rem); padding: .8rem 1.4rem; font-size: 1.3rem; gap: 1rem; }
  .ks-start-grid .ks-ico { width: 2.6rem; height: 2.6rem; }
  .ks-promise { font-size: 1.05rem; }
}
@media (max-width: 1280px) {
  .ks-nav-x, .ks-head-note { display: none; }
  .ks-start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ks-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .ks-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-price-bathroom { grid-row: auto; }
  .ks-jobs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ks-job.is-big { grid-column: 1 / -1; grid-row: auto; }
  .ks-job.is-big .ks-job-fig { flex: none; min-height: 0; }
  .ks-job.is-big .ks-job-fig img { position: static; aspect-ratio: 16 / 9; }
  .ks-papers, .ks-area, .ks-ref-in, .ks-quote, .ks-done-in { grid-template-columns: minmax(0, 1fr); }
  .ks-ref.is-flip .ks-ref-photos { order: 0; }
  .ks-quote-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-sec-top { grid-template-columns: minmax(0, 1fr); }
  .ks-sec-top h2 { grid-row: auto; }
}
@media (max-width: 760px) {
  .ks { font-size: 1rem; --toph: 0px; }
  .ks-top { position: relative; }
  .demo-bar { padding-top: .35rem; padding-bottom: .35rem; font-size: .76rem; }
  .demo-bar .demo-long, .demo-bar .demo-by { display: none; }
  .demo-bar p { flex-basis: auto; }
  .ks-head { height: 3.8rem; gap: .8rem; }
  .ks-nav { display: none; }
  .ks-head .ks-btn-sm { margin-left: auto; min-height: 2.5rem; padding: 0 .85rem; font-size: .88rem; }
  .ks-logo-word { font-size: 1.02rem; }
  .ks-mark-icon { width: 1.6rem; height: 1.6rem; }
  /* the board first, so the quote request is the first thing on the phone; the finished room under it */
  .ks-hero { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .ks-board { padding-top: 1.7rem; padding-bottom: 1.6rem; gap: 1.2rem; }
  .ks-hero h1 { font-size: clamp(2.1rem, 10.6vw, 3.2rem); }
  .ks-start-grid a { min-height: 3.6rem; padding: .55rem .75rem; gap: .55rem; font-size: .95rem; }
  .ks-start-grid .ks-ico { width: 1.6rem; height: 1.6rem; }
  .ks-start-grid a .ks-arr { display: none; }
  .ks-promise { font-size: .86rem; gap: .25rem 1rem; }
  .ks-hero-photo { border-left: 0; border-top: 3px solid var(--ink); aspect-ratio: 4 / 3.4; }
  .ks-hero-photo img { object-position: 50% 30%; }
  .ks-hero-photo figcaption a { padding: .8rem .95rem .85rem; }
  .ks-hero-photo figcaption strong { font-size: 1rem; }
  .ks-sec-top h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .ks-wall { grid-template-columns: minmax(0, 1fr); }
  .ks-wall > .ks-price { grid-column: auto; }
  .ks-price-sauna, .ks-price-paint { grid-template-columns: minmax(0, 1fr); }
  .ks-price-fig { border-right: 0; border-bottom: 3px solid var(--ink); min-height: 0; aspect-ratio: 16 / 8; }
  .ks-price-in { padding: 1.2rem 1.1rem 1.25rem; }
  .ks-price-bathroom .ks-price-tag strong { font-size: 3rem; }
  .ks-price-bathroom h3 { font-size: 1.45rem; }
  .ks-doc-stamp { font-size: .72rem; padding: .15rem .5rem; }
  .ks-map .ks-town text, .ks-map .ks-home text { font-size: 30px; stroke-width: 7px; }
  .ks-map .ks-ring-label, .ks-map .ks-north text, .ks-map .ks-scale text { font-size: 24px; }
  .ks-map .ks-town rect { transform-box: fill-box; transform-origin: center; transform: scale(1.5); }
  .ks-jobs { grid-template-columns: minmax(0, 1fr); }
  .ks-before { position: static; max-width: none; }
  .ks-nums > div { padding-right: .75rem; margin-right: .75rem; }
  .ks-nums dd { font-size: 1rem; }
  .ks-job.is-big .ks-job-fig img { aspect-ratio: 4 / 3; }
  .ks-ruler > span { padding-left: .3rem; padding-right: .2rem; font-size: .72rem; }
  .ks-long { display: none; }
  .ks-short { display: inline; }
  .ks-bar-text { font-size: .9rem; }
  .ks-bar-sub { display: block; font-size: .8rem; }
  .ks-plan-notes { grid-template-columns: minmax(0, 1fr); }
  .ks-cred { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .ks-doc { padding: 1.2rem 1rem 1.4rem; }
  .ks-doc th, .ks-doc td { display: block; width: auto; border: 0; padding: 0; }
  .ks-doc th { padding-top: .7rem; }
  .ks-doc td { padding-bottom: .7rem; border-bottom: 1.5px dashed var(--line); }
  .ks-ref-cols { grid-template-columns: minmax(0, 1fr); }
  .ks-ref-photos.has-2 { grid-template-columns: minmax(0, 1fr); }
  .ks-ref-photos.has-2 figure:nth-child(2) img { aspect-ratio: 3 / 2; }
  .ks-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-tile { padding: .7rem .75rem; gap: .55rem; min-height: 4rem; font-size: .95rem; }
  .ks-tile .ks-ico { width: 1.6rem; height: 1.6rem; }
  .ks-inputs { grid-template-columns: minmax(0, 1fr); }
  .ks-quote-side { grid-template-columns: minmax(0, 1fr); }
  .ks-foot-top { grid-template-columns: minmax(0, 1fr); }
  /* the dock: prices, references and the quote request one tap away */
  .ks.has-dock { padding-bottom: 4.6rem; }
  .ks-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.5fr; align-items: center; gap: .4rem; padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 3px solid var(--ink); }
  .ks-dock-link { display: grid; place-items: center; min-height: 3rem; font-size: .9rem; font-weight: 700; text-decoration: none; }
  .ks-dock-link:hover { text-decoration: underline; }
  .ks-dock-btn { min-height: 3rem; padding: 0 .7rem; font-size: .95rem; white-space: nowrap; }
  .ks-dock-btn .ks-arr { display: none; }
}
@media (max-width: 380px) {
  .ks-start-grid { grid-template-columns: minmax(0, 1fr); }
  .ks-tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ks *, .ks *::before, .ks *::after { transition: none !important; animation: none !important; }
}
@media print {
  .demo-bar, .ks-head, .ks-dock, .ks-start { display: none; }
}
