/* Bohagsgruppen – prototyp. All colours are tokens on :root, so the palette changes in one place. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --paper: #ffffff;        /* page: plain white reads crispest on screens */
  --surface: #ffffff;      /* cards, form */
  --sand: #eef3f7;         /* alternate sections: cool light grey-blue */
  --sand-deep: #d6e1ea;    /* illustrations: ground, bars */
  --rule: #d5dee6;         /* borders */
  --ink: #15334d;          /* text, dark bands: deep blue (12:1 on white) */
  --ink-soft: #245173;
  --muted: #475766;        /* secondary text (7.5:1 on white, 6.8:1 on --sand) */
  --on-dark: #f1f5f8;      /* text on the ink band */
  --on-dark-muted: #c6d3de;
  --accent: #c2410c;       /* actions only (5.2:1 with white text) */
  --accent-dark: #9a3412;
  --accent-soft: #fdeee4;
  --ok: #2f6b3a;
  --ok-soft: #e7f2e8;
  --error: #b42318;
  --ph-bg: #fff1a8;        /* placeholders for Dennis */
  --ph-ink: #4d3d00;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(21, 51, 77, 0.06), 0 6px 20px rgba(21, 51, 77, 0.08);
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* .btn and other display rules must not reveal hidden elements */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  padding-bottom: var(--bar-h);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-soft); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* Laptops with 125–150 % display scaling are only ~1280 × 720 CSS px: keep desktop type moderate */
@media (min-width: 960px) { body { font-size: 1rem; } }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(48px, 6vw, 80px); scroll-margin-top: 72px; }
.section.alt { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 700;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 10px 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholder for a fact only Dennis can give */
.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--on-dark); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-small { min-height: 44px; padding: 8px 18px; }
.link-arrow { font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------------------------------------------------------------- header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); z-index: 50; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand img { width: 118px; height: auto; }
.main-nav { display: none; }
.header-tel { display: none; }
.header-row .btn { margin-left: auto; }
.mobile-nav { display: flex; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.mobile-nav a, .main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 2px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
}
.mobile-nav a:hover, .main-nav a:hover { color: var(--accent-dark); }

@media (min-width: 960px) {
  .site-header { position: sticky; top: 0; }
  .mobile-nav { display: none; }
  .main-nav { display: flex; gap: 24px; margin-left: 24px; }
  .header-tel {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    color: var(--ink); font-weight: 700; text-decoration: none; min-height: 44px;
  }
  .header-tel:hover { color: var(--accent-dark); }
  .header-row .btn { margin-left: 8px; }
  .brand img { width: 132px; }
}

/* ---------------------------------------------------------------- mobile call bar */
.call-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -4px 16px rgba(23, 50, 63, 0.08);
}
.call-bar .btn { width: 100%; }
body { --bar-h: 66px; }
@media (min-width: 960px) { .call-bar { display: none; } body { --bar-h: 0px; } }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: 32px 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { max-width: 16ch; }
@media (min-width: 960px) { .hero h1 { max-width: 22ch; } }
.hero .lead { font-size: 1.125rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list .icon { color: var(--ok); margin-top: 2px; }
.trust-list strong { display: block; }
.trust-list span { color: var(--muted); font-size: 0.98rem; }
.hero-art { background: var(--sand); border-radius: 20px; padding: 12px; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (min-width: 860px) {
  .hero { padding-block: 40px 64px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
@media (max-width: 400px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* The van drives in once, then the boxes are carried in */
.hero-art .van { animation: drive 1.8s cubic-bezier(.2,.7,.2,1) 0.3s both; }
.hero-art .wheel { transform-box: fill-box; transform-origin: center; animation: spin 0.45s linear 0.3s 4; }
.hero-art .lift { transform-box: fill-box; transform-origin: top; animation: lift 0.6s ease-out 2.1s both; }
.hero-art .crate { animation: pop 0.5s ease-out both; }
.hero-art .crate:nth-of-type(1) { animation-delay: 2.5s; }
.hero-art .crate:nth-of-type(2) { animation-delay: 2.8s; }
.hero-art .crate:nth-of-type(3) { animation-delay: 3.1s; }
/* With JS, wait until the picture is on screen (site.js adds .is-playing), so short laptop screens see it too */
.js .hero-art:not(.is-playing) .van,
.js .hero-art:not(.is-playing) .wheel,
.js .hero-art:not(.is-playing) .lift,
.js .hero-art:not(.is-playing) .crate { animation-play-state: paused !important; } /* !important: beats the reduced-motion override below */
@keyframes drive { from { transform: translateX(-380px); } to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lift { from { transform: scaleY(0); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- services */
.cards { container-type: inline-size; }
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@container (min-width: 600px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@container (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card .badge {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 14px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--ink);
}
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.card .tag { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }

.price-box {
  margin-top: 32px;
  display: grid; gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
}
.price-box h3 { color: #fff; }
.price-box p, .price-box li { color: var(--on-dark-muted); }
.price-box ul { margin: 0; padding-left: 1.2em; }
.price-box .btn { border-color: var(--on-dark); color: var(--on-dark); }
.price-box .btn-primary { border-color: var(--accent); color: #fff; }
@media (min-width: 860px) { .price-box { grid-template-columns: 1.2fr 1fr; padding: 36px; } }

/* ---------------------------------------------------------------- step player */
.player { container-type: inline-size; }
.player-inner {
  display: grid; gap: 20px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
@container (min-width: 760px) {
  .player-inner { grid-template-columns: 1.15fr 1fr; align-items: center; padding: 28px; gap: 36px; }
}
.stage { background: var(--sand); border-radius: 14px; overflow: hidden; }
.stage svg { display: block; width: 100%; height: auto; }
.scene { opacity: 0; transition: opacity 0.45s ease; }
.scene.is-active { opacity: 1; }
.stage .truck { transition: transform 0.9s cubic-bezier(.3,.7,.2,1); }
.stage[data-step="4"] .truck, .stage[data-step="5"] .truck { transform: translateX(100px); }
.step-count { color: var(--accent-dark); font-weight: 700; margin-bottom: 4px; }
.step-text h3 { font-size: 1.5rem; }
.step-text p:not(.step-count) { color: var(--muted); min-height: 5.2em; }
.step-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.step-dots { display: flex; gap: 6px; margin-left: auto; }
.step-dots button {
  width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.step-dots button::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--rule); transition: background 0.2s ease, transform 0.2s ease;
}
.step-dots button[aria-current="step"]::before { background: var(--ink); transform: scale(1.25); }
.btn[disabled] { opacity: 0.4; cursor: default; pointer-events: none; }
@media (max-width: 380px) { .step-dots { margin-left: 0; width: 100%; justify-content: center; } }

/* ---------------------------------------------------------------- trust */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 12px; }
.check-list .icon { color: var(--ok); margin-top: 2px; }
.check-list p { margin: 0; color: var(--muted); }
.photo { margin: 0; }
.photo img { border-radius: var(--radius); width: 100%; }
.photo figcaption { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }
.note {
  padding: 16px 18px;
  border-left: 4px solid var(--ink);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note h3 { font-size: 1.1rem; margin-bottom: 6px; }
.note p, .note ul { margin: 0; color: var(--muted); }
.note ul { padding-left: 1.2em; }

.reviews { container-type: inline-size; margin-top: 40px; }
.review-grid { display: grid; gap: 16px; }
@container (min-width: 700px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.review blockquote { margin: 0 0 10px; font-size: 1.05rem; }
.review figcaption { color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------------- area */
.area-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.area-list li { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); font-weight: 600; }

/* ---------------------------------------------------------------- quote form */
.quote-wrap { display: grid; gap: 28px; }
@media (min-width: 960px) { .quote-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; } }
.quote-aside .check-list { margin-top: 20px; }
.quote {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
@media (min-width: 600px) { .quote { padding: 32px; } }
.progress-label { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.97rem; margin-bottom: 8px; }
.progress-label span:last-child { color: var(--muted); font-weight: 600; }
.progress { height: 8px; background: var(--sand); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.progress-bar { height: 100%; width: 33.333%; background: var(--accent); border-radius: inherit; transition: width 0.4s ease; }
.quote fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote fieldset[hidden] { display: none; }
.quote legend { font-size: 1.35rem; font-weight: 700; margin-bottom: 16px; padding: 0; }
.field { margin-bottom: 18px; }
.field > label, .group-label { display: block; font-weight: 700; margin-bottom: 6px; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="date"], .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid #7f8e9c;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(194, 65, 12, 0.35); border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-weight: 600; font-size: 0.95rem; margin-top: 6px; }
.error:empty { display: none; }
.row-2 { container-type: inline-size; }
.row-2 > div { display: grid; gap: 0 16px; }
@container (min-width: 520px) { .row-2 > div { grid-template-columns: 1fr 1fr; } }

.choices { display: grid; gap: 10px; }
@media (min-width: 520px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 10px 14px;
  border: 1.5px solid var(--rule); border-radius: 10px;
  background: var(--paper);
  font-weight: 700;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice small { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.checks { display: grid; gap: 4px; }
@media (min-width: 520px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }

.form-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.form-nav .btn-primary { margin-left: auto; }
.gdpr { margin: 18px 0 0; font-size: 0.95rem; color: var(--muted); }
.demo-note { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }

.done { text-align: left; }
.done[hidden] { display: none; }
.done .tick {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ok-soft); color: var(--ok); margin-bottom: 16px;
}
.done .tick .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.summary { margin: 16px 0; padding: 16px; background: var(--paper); border-radius: 10px; }
.summary dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 14px 0;
  font-weight: 700; font-size: 1.125rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .answer { padding: 0 0 18px; color: var(--muted); max-width: 68ch; }
.faq .answer p:last-child { margin: 0; }

/* ---------------------------------------------------------------- contact + footer */
.contact { background: var(--ink); color: var(--on-dark); }
.contact h2 { color: #fff; }
.contact .section-head p { color: var(--on-dark-muted); }
.contact-grid { container-type: inline-size; }
.contact-grid > div { display: grid; gap: 16px; }
@container (min-width: 720px) { .contact-grid > div { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px; border-radius: var(--radius);
  background: var(--ink-soft); color: var(--on-dark); text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
a.contact-card:hover { background: #1f4a6d; color: #fff; }
.contact-card .icon { color: #ffb38a; margin-bottom: 6px; }
.contact-card strong { font-size: 1.3rem; color: #fff; overflow-wrap: anywhere; }
.contact-card span { color: var(--on-dark-muted); }
.contact .ph { color: var(--ph-ink); }

.site-footer { background: #0e2438; color: var(--on-dark-muted); padding-block: 40px; font-size: 0.97rem; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer img { width: 140px; margin-bottom: 12px; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.proto { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

/* ---------------------------------------------------------------- illustration fills (follow the tokens) */
:root { --box: #cfa36b; }
.f-ink { fill: var(--ink); }
.f-paper { fill: var(--paper); }
.f-sand { fill: var(--sand); }
.f-deep { fill: var(--sand-deep); }
.f-accent { fill: var(--accent); }
.f-ok { fill: var(--ok); }
.f-box { fill: var(--box); }
.s-ink { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.s-paper { stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.svg-text { font-family: var(--font); font-weight: 700; }

.steps { list-style: none; padding: 0; margin: 0 0 16px; }
.steps li + li { margin-top: 20px; }
.js .steps li { display: none; }
.js .steps li.is-active { display: block; margin: 0; }

/* ---------------------------------------------------------------- mini quote form in the hero */
.mini-quote {
  container-type: inline-size;
  margin: 24px 0 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mini-title { font-weight: 700; font-size: 1.1rem; margin: 0 0 10px; }
.mini-fields { display: grid; gap: 0 12px; }
.mini-fields .field { margin-bottom: 12px; }
.mini-quote .btn { width: 100%; }
@container (min-width: 480px) {
  .mini-fields { grid-template-columns: 1fr 1fr 0.9fr; }
}
.hero-alt { margin: 0 0 24px; color: var(--muted); }
.hero-alt a { font-weight: 700; }

/* ---------------------------------------------------------------- service cards: two links */
.card-links { margin-top: auto; display: grid; gap: 6px; }
.link-more { font-weight: 600; color: var(--ink-soft); }

/* ---------------------------------------------------------------- teaser for the checklist */
.teaser {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: 28px; padding: 18px 20px;
  background: var(--accent-soft); border-radius: var(--radius);
}
.teaser p { margin: 0; flex: 1 1 260px; }

/* ---------------------------------------------------------------- call-me-back form on the dark band */
.callback .field { margin: 8px 0 4px; }
.callback label { color: var(--on-dark); font-weight: 600; font-size: 0.97rem; }
.callback input, .callback select { border-color: transparent; }
.callback .btn { margin-top: 10px; width: 100%; }
.callback .error { color: #ffb4a8; }
.callback.is-done .field, .callback.is-done .btn { display: none; }
.cb-done p { color: var(--on-dark); margin: 6px 0 0; }
#ring-mig { scroll-margin-top: 88px; }

/* ---------------------------------------------------------------- service pages */
.crumbs { font-size: 0.95rem; color: var(--muted); padding-top: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.page-hero { padding-block: 24px 48px; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { font-size: 1.125rem; color: var(--muted); max-width: 40em; }
.box {
  padding: 24px; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow);
}
.box ul { margin: 0; padding-left: 1.2em; }
.box li + li { margin-top: 6px; }
.link-grid { container-type: inline-size; }
.link-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@container (min-width: 640px) { .link-grid ul { grid-template-columns: 1fr 1fr; } }
.link-grid a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 18px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.link-grid a:hover { border-color: var(--accent); color: var(--accent-dark); }
.cta-band { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------------------------------------------------------------- checklist */
.cl-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 12px 0; background: var(--paper); border-bottom: 1px solid var(--rule);
}
@media (min-width: 960px) { .cl-bar { top: 65px; } }
.cl-bar .progress { flex: 1 1 160px; margin: 0; }
.cl-count { font-weight: 700; }
.cl-group { margin-top: 32px; }
.cl-group h2 { font-size: 1.4rem; display: flex; align-items: baseline; gap: 10px; }
.cl-group h2 small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.cl-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.cl-list li { border-bottom: 1px solid var(--rule); padding: 6px 0; }
.cl-list .check { align-items: flex-start; padding: 8px 0; }
.cl-list .check input { margin-top: 2px; }
.cl-list input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--rule); }
.cl-list .link-arrow { display: inline-block; margin: 0 0 6px 32px; font-size: 0.97rem; }

@media print {
  .site-header, .call-bar, .site-footer, .no-print, .cl-bar .btn, .crumbs { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12pt; }
  .section { padding-block: 0; }
  .cl-bar { position: static; border: 0; }
  .cl-list .link-arrow { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- price estimator */
:root { --skin: #e2b48c; --sofa: #5f8290; }
.f-skin { fill: var(--skin); }
.f-sofa { fill: var(--sofa); }
.f-inksoft { fill: var(--ink-soft); }
.estimator { container-type: inline-size; }
.est-inner {
  display: grid; gap: 20px;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow);
}
@container (min-width: 760px) {
  .est-inner { grid-template-columns: 1.3fr 1fr; padding: 32px; gap: 40px; align-items: start; }
  .est-result { position: sticky; top: 90px; }
}
.est-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.est-form legend { padding: 0; font-weight: 700; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--rule); border-radius: 999px; background: var(--paper);
  font-weight: 600; transition: border-color 0.15s ease, background 0.15s ease;
}
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.est-result { padding: 22px; border-radius: 16px; background: var(--ink); color: var(--on-dark); }
.est-label { margin: 0; color: var(--on-dark-muted); font-weight: 600; }
.est-price { margin: 4px 0; font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1.1; }
.est-price.is-updating { animation: pulse 0.35s ease; }
@keyframes pulse { 50% { opacity: 0.55; } }
.est-sub { color: var(--on-dark-muted); margin-bottom: 12px; }
.est-result .btn { width: 100%; margin-top: 6px; }
.est-note { font-size: 0.92rem; color: var(--on-dark-muted); margin: 12px 0 0; }
.mini-note { margin: 10px 0 0; font-size: 0.97rem; }
.mini-note a { font-weight: 700; color: var(--accent-dark); }

/* ---------------------------------------------------------------- meet Dennis */
.founder-quote { margin: 0 0 12px; padding-left: 18px; border-left: 4px solid var(--accent); font-size: 1.25rem; line-height: 1.45; }
.founder-quote p { margin: 0; }
.founder-sign { font-weight: 700; margin-bottom: 18px; }
.art { margin: 0; }
.art svg { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.art figcaption { margin-top: 8px; font-size: 0.95rem; color: var(--muted); }

/* ---------------------------------------------------------------- reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; }
.reviews-head h3 { margin: 0; font-size: 1.5rem; }
.rating { margin: 0; font-weight: 600; }
.stars { color: #b7791f; letter-spacing: 2px; }
.review .src { display: block; margin-top: 6px; font-size: 0.88rem; color: var(--muted); }
.hero-rating { margin: 18px 0 0; font-weight: 600; }
.hero-rating a { color: var(--ink); text-decoration: none; }
.hero-rating a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- calm reveal (only with JS and motion allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- prototype banner (remove before launch) */
.proto-banner {
  padding: 6px 16px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.9rem;
  text-align: center;
}
@media print { .proto-banner { display: none; } }

/* ---------------------------------------------------------------- laptops that Windows scales up
   The author's laptop, 1920 × 1200 at 125 % or 150 %, shows the page 1536 or 1280 px wide and felt
   "zoomed in". As on DerivaSteps, this applies only to screens scaled 120 % or more (≥ 1.2 dppx) and
   narrower than 1920 px or lower than 1000 px: a 100 % desktop screen and phones keep their sizes. */
@media (min-width: 960px) and (max-width: 1919.98px) and (min-resolution: 1.2dppx),
  (min-width: 960px) and (max-height: 1000px) and (min-resolution: 1.2dppx) {
  html { font-size: 87.5%; }                  /* 14 px base: text, headings and rem spacing shrink 12.5 % */
  .header-row { min-height: 56px; }
  .brand img { width: 112px; }
  .btn { min-height: 42px; padding: 8px 18px; }
  .btn-small { min-height: 40px; }
  .hero { padding-block: 24px 44px; }
  .hero-grid { gap: 40px; }
  .hero-art { padding: 8px; }
  .mini-quote { margin: 16px 0 10px; padding: 14px; }
  .mini-fields .field { margin-bottom: 8px; }
  .field input[type="text"], .field input[type="tel"], .field input[type="email"],
  .field input[type="date"], .field select, .field textarea { min-height: 42px; padding: 8px 10px; }
  .hero-alt { margin-bottom: 16px; }
  .trust-list { gap: 8px; }
  .section { padding-block: 52px; }
  .card { padding: 20px; }
  .est-inner, .player-inner { padding: 22px; }
}

/* The hero van is a short decorative picture that plays once: it moves for every visitor, also where
   the system asks for reduced motion (the author's choice, as on DerivaSteps, 2026-10-18; the author's
   laptop has Windows animation effects off). Reveals, the step player and smooth scrolling stay still there. */
@media (prefers-reduced-motion: reduce) {
  .hero-art .van { animation: drive 1.8s cubic-bezier(.2,.7,.2,1) 0.3s both !important; }
  .hero-art .wheel { animation: spin 0.45s linear 0.3s 4 !important; }
  .hero-art .lift { animation: lift 0.6s ease-out 2.1s both !important; }
  .hero-art .crate { animation: pop 0.5s ease-out 2.5s both !important; }
  .hero-art .crate:nth-of-type(2) { animation-delay: 2.8s !important; }
  .hero-art .crate:nth-of-type(3) { animation-delay: 3.1s !important; }
}
