/* =========================================================
   AP Gulvservice — styles
   Palette drawn from the logo: olive-brown, cream and oak.
   ========================================================= */

:root {
  /* Brand */
  --brand-950: #211A0F;
  --brand-900: #2F2617;
  --brand-800: #3D321F;
  --brand-700: #574628;   /* logo brown */
  --brand-600: #6E5A36;
  --oak-300: #E4C48F;
  --oak-400: #D4A86A;     /* accent on dark */
  --oak-500: #B98A4E;
  --cream-50: #FBF7EE;
  --cream-100: #F4EDDF;
  --sand-200: #E7DBC3;

  /* Semantic */
  --bg: var(--cream-50);
  --surface: #FFFDF8;
  --text: #2B2316;
  --text-muted: #67583F;
  --on-dark: #F6EFE0;
  --on-dark-muted: #CFC2A6;
  --border: var(--sand-200);
  --focus: #D4A86A;
  --error: #A3321F;
  --success: #3F6B3A;

  /* Type */
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt rhythm) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(33, 26, 15, .06), 0 8px 24px rgba(33, 26, 15, .08);

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 600ms;

  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--oak-400); color: var(--brand-950); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 28px; height: 28px; }

.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--oak-500); margin-bottom: var(--s-3);
}
.eyebrow--light { color: var(--oak-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 54px; padding: 0 var(--s-6); font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--oak { background: var(--oak-400); color: var(--brand-950); }
.btn--oak:hover { background: var(--oak-300); }
.btn--brand { background: var(--brand-700); color: var(--cream-50); }
.btn--brand:hover { background: var(--brand-800); }
.btn--ghost { border-color: rgba(246, 239, 224, .55); color: var(--on-dark); background: transparent; }
.btn--ghost:hover { background: rgba(246, 239, 224, .1); border-color: var(--on-dark); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  font-weight: 600; color: var(--brand-700); text-decoration: none;
}
.link-arrow span { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand-950); color: var(--on-dark-muted); font-size: .875rem; }
.topbar__inner { display: flex; gap: var(--s-5); align-items: center; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; color: inherit; }
a.topbar__item:hover { color: var(--on-dark); }
.topbar__item--end { margin-left: auto; }
@media (max-width: 767px) {
  .topbar__item--end, .topbar__item:nth-child(2) { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-900);
  border-bottom: 1px solid rgba(246, 239, 224, .08);
  transition: box-shadow var(--dur) ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header__inner { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }
.header__logo { display: block; flex: none; }
.header__logo img { height: 56px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: var(--s-1); }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .9375rem;
  letter-spacing: .02em; position: relative; transition: color var(--dur-fast) ease;
}
.nav__link::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 8px; height: 2px;
  background: var(--oak-400); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--on-dark); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__cta { display: none; }

.menu-toggle { display: none; }

@media (max-width: 1023px) {
  .header__logo img { height: 46px; }
  .header__cta { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 48px; height: 48px; padding: 12px;
    background: transparent; border: 1.5px solid rgba(246, 239, 224, .3); border-radius: var(--radius-sm); cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--brand-900); border-top: 1px solid rgba(246, 239, 224, .08);
    padding: var(--s-4) var(--s-4) var(--s-6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; }
  .nav__link { font-size: 1.125rem; min-height: 52px; width: 100%; border-bottom: 1px solid rgba(246, 239, 224, .08); }
  .nav__link::after { display: none; }
  .nav__cta { display: flex; margin-top: var(--s-5); width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand-900);
  color: var(--on-dark);
}
/* Shaded photo of a freshly sanded floor (one of AP's own jobs) */
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/img/hero-gulv.jpg") center 55% / cover no-repeat;
  filter: saturate(.9);
  transform: scale(1.04);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* darker on the text side, the floor glows through on the right */
    linear-gradient(90deg, rgba(33, 26, 15, .86) 0%, rgba(33, 26, 15, .72) 42%, rgba(33, 26, 15, .36) 100%),
    /* fade top into the header and bottom into the band below */
    linear-gradient(180deg, rgba(33, 26, 15, .45) 0%, rgba(33, 26, 15, 0) 30%, rgba(33, 26, 15, 0) 70%, rgba(33, 26, 15, .7) 100%),
    radial-gradient(900px 500px at 80% 20%, rgba(212, 168, 106, .14), transparent 60%);
}
@media (max-width: 1023px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(33, 26, 15, .82), rgba(33, 26, 15, .7) 55%, rgba(33, 26, 15, .84)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__bg { animation: hero-drift 24s ease-out both; }
  @keyframes hero-drift { from { transform: scale(1.12); } to { transform: scale(1.04); } }
}
.hero__inner {
  position: relative; display: grid; gap: var(--s-7); align-items: center;
  padding-block: var(--s-7) var(--s-8);
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: var(--s-8); padding-block: var(--s-9); }
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.75rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.01em;
  margin-bottom: var(--s-5);
}
.hero__title em { font-style: italic; color: var(--oak-400); }
/* With the lighter shading, hero text is brighter and gets a soft shadow so it stays readable over the wood */
.hero__text { text-shadow: 0 1px 12px rgba(20, 15, 8, .55); }
.hero__text .btn { text-shadow: none; }
.hero__lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: rgba(246, 239, 224, .92); max-width: 54ch; margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.hero__checks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: rgba(246, 239, 224, .92); font-size: .9375rem; }
.hero__checks li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__checks .icon { color: var(--oak-400); stroke-width: 2.25; }

.hero__media { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero__hint { text-align: center; margin-top: var(--s-3); font-size: .875rem; color: var(--on-dark-muted); }

/* ---------- Play button ---------- */
.play-btn {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--brand-700); color: var(--cream-50); border: 0; cursor: pointer;
  box-shadow: 0 0 0 8px rgba(212, 168, 106, .18), 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast) ease;
}
.play-btn svg { width: 34%; height: 34%; fill: currentColor; margin-left: 6%; }
.play-btn:hover { transform: scale(1.06); background: var(--brand-600); }
.play-btn--light { background: var(--cream-50); color: var(--brand-800); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); width: 72px; height: 72px; }

/* ---------- Before / after slider ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4; background: var(--brand-800);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba--hero { box-shadow: 0 30px 60px rgba(0, 0, 0, .35); outline: 1px solid rgba(246, 239, 224, .12); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream-50); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--cream-50); color: var(--brand-800); box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.ba__knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__tag {
  position: absolute; top: var(--s-4); padding: 4px 12px; border-radius: 99px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: none;
}
.ba__tag--before { left: var(--s-4); background: rgba(33, 26, 15, .75); color: var(--on-dark); }
.ba__tag--after { right: var(--s-4); background: var(--oak-400); color: var(--brand-950); }
/* Range input: keyboard control; pointer handled by JS on the container */
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }

/* ---------- USP band ---------- */
.band { background: var(--brand-700); color: var(--on-dark); }
.band__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-5); padding-block: var(--s-7); }
@media (min-width: 900px) { .band__grid { grid-template-columns: repeat(4, 1fr); } }
.band__item { text-align: center; }
.band__big { font-family: var(--font-display); font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1; color: var(--oak-300); margin-bottom: var(--s-2); }
.band__label { font-size: 1rem; font-weight: 500; color: var(--on-dark); max-width: 22ch; margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-8); }
@media (min-width: 768px) { .section { padding-block: var(--s-9); } }
.section--tight-top { padding-top: 0; }
.section--dark { background: var(--brand-900); color: var(--on-dark); }
.section--sand { background: var(--cream-100); }
.section__head { max-width: 680px; margin-bottom: var(--s-7); }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: flex-end; justify-content: space-between; }
.section__head--split > div:first-child { max-width: 640px; }
.section__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.125rem, 4.2vw, 3.25rem); margin-bottom: var(--s-4); }
.section__lead { color: var(--text-muted); font-size: 1.125rem; }
.section--dark .section__lead { color: var(--on-dark-muted); }
.section__lead a { color: var(--brand-700); font-weight: 600; }

/* ---------- Feature panel (why us) ---------- */
.feature {
  display: grid; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--brand-800); color: var(--on-dark);
}
@media (min-width: 1024px) { .feature { grid-template-columns: 1fr 380px; } }
.feature__body { padding: var(--s-7) var(--s-5); }
@media (min-width: 768px) { .feature__body { padding: var(--s-8) var(--s-8); } }
.feature__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.875rem); margin-bottom: var(--s-7); max-width: 20ch; }
.feature__row { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 768px) { .feature__row { grid-template-columns: minmax(220px, 300px) 1fr; gap: var(--s-7); } }
.video-card {
  position: relative; display: block; padding: 6px; border: 0; border-radius: var(--radius-lg);
  background: var(--cream-50); cursor: pointer; aspect-ratio: 4 / 5; width: 100%; max-width: 340px;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); }
.video-card .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
.feature__list { display: grid; gap: var(--s-6); }
.feature__list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature__icon { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--oak-400); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature__list h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: var(--s-1); }
.feature__list p { color: var(--on-dark-muted); }
.feature__photo { min-height: 320px; }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .feature__photo { aspect-ratio: 4 / 3; } }

/* ---------- Services ---------- */
.services { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur) ease, transform var(--dur) var(--ease-out);
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.service__body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; }
.service__body p { color: var(--text-muted); flex: 1; }

.mini-services { display: grid; gap: var(--s-5); margin-top: var(--s-6); padding: var(--s-6) var(--s-5); border-radius: var(--radius-lg); background: var(--cream-100); }
@media (min-width: 768px) { .mini-services { grid-template-columns: repeat(3, 1fr); padding: var(--s-6); } }
.mini-services li { display: flex; gap: var(--s-4); align-items: flex-start; }
.mini-services .icon { color: var(--brand-700); }
.mini-services h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 2px; }
.mini-services p { color: var(--text-muted); font-size: .9375rem; }

/* ---------- Price calculator ---------- */
.calc { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 1024px) { .calc { grid-template-columns: 1fr 400px; gap: var(--s-6); } }
.calc__form { display: grid; gap: var(--s-5); padding: var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
@media (min-width: 768px) { .calc__form { padding: var(--s-7); } }
.calc__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .calc__row { grid-template-columns: 1fr 1fr; } }
.field__label { font-weight: 600; font-size: .9375rem; }
.calc__m2 { display: flex; align-items: center; gap: var(--s-4); }
.calc__m2 input[type="range"] { flex: 1; min-height: 44px; padding: 0; border: 0; background: none; accent-color: var(--brand-700); cursor: pointer; }
.calc__m2-input { position: relative; flex: none; width: 120px; }
.calc__m2-input input { padding-right: 44px; font-weight: 600; }
.calc__m2-input span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

.stepper { display: flex; align-items: stretch; height: 50px; border: 1.5px solid var(--sand-200); border-radius: var(--radius-sm); background: var(--cream-50); overflow: hidden; }
.stepper button { width: 52px; border: 0; background: transparent; color: var(--brand-700); font-size: 1.375rem; font-weight: 600; cursor: pointer; transition: background-color var(--dur-fast) ease; }
.stepper button:hover { background: var(--cream-100); }
.stepper output { flex: 1; display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; border-inline: 1.5px solid var(--sand-200); }

.calc__check { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: var(--radius); background: var(--cream-50); border: 1.5px solid var(--sand-200); cursor: pointer; font-size: .9375rem; color: var(--text-muted); }
.calc__check strong { display: block; color: var(--text); }
.calc__check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand-700); }
.calc__check #pb-paint-price { font-weight: 600; color: var(--brand-700); white-space: nowrap; }

.calc__result { position: sticky; top: calc(var(--header-h) + 16px); padding: var(--s-6) var(--s-5); border-radius: var(--radius-lg); background: var(--brand-800); color: var(--on-dark); }
@media (min-width: 768px) { .calc__result { padding: var(--s-6); } }
@media (max-width: 1023px) { .calc__result { position: static; } }
.calc__result-label { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-400); }
.calc__price { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.25rem); line-height: 1.05; margin: var(--s-2) 0 var(--s-1); font-variant-numeric: tabular-nums; }
.calc__ex { color: var(--on-dark-muted); font-size: .9375rem; }
.calc__lines { display: grid; gap: var(--s-2); margin: var(--s-5) 0 var(--s-4); padding-top: var(--s-4); border-top: 1px solid rgba(246, 239, 224, .14); font-size: .9375rem; }
.calc__lines li { display: flex; justify-content: space-between; gap: var(--s-4); color: var(--on-dark-muted); }
.calc__lines li span:last-child { color: var(--on-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__min, .calc__note:not(:empty) { margin-bottom: var(--s-4); padding: var(--s-3); border-radius: var(--radius-sm); background: rgba(212, 168, 106, .14); color: var(--oak-300); font-size: .875rem; }
.calc__disclaimer { margin-top: var(--s-4); font-size: .8125rem; color: var(--on-dark-muted); }

.calc__mini { display: none; }
@media (max-width: 1023px) {
  .calc__mini {
    position: sticky; z-index: 5; bottom: var(--s-3);
    display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
    min-height: 56px; padding: 0 var(--s-5); border-radius: 99px;
    background: var(--brand-800); color: var(--on-dark); text-decoration: none;
    box-shadow: 0 10px 30px rgba(33, 26, 15, .3);
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
  }
  .calc__mini span { font-size: .875rem; color: var(--on-dark-muted); }
  .calc__mini strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
  .calc__mini.is-hidden { opacity: 0; transform: translateY(8px); pointer-events: none; }
}
@media (max-width: 767px) { .calc__mini { bottom: calc(80px + env(safe-area-inset-bottom)); } }

.calc__table { margin-top: var(--s-6); }
.calc__table summary { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--brand-700); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.calc__table .legal__table { margin-top: var(--s-3); background: var(--surface); }
.calc__table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__table tbody th { font-weight: 500; background: none; }

/* ---------- Gallery ---------- */
.video-links { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.gallery { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { margin: 0; }
.gallery__item figcaption { margin-top: var(--s-3); color: var(--on-dark-muted); font-size: .9375rem; }

/* ---------- Process ---------- */
.steps { display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--s-5); border-top: 2px solid var(--brand-700); }
.step__num { display: block; font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--oak-500); margin-bottom: var(--s-4); }
.step h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: var(--s-2); }
.step p { color: var(--text-muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.review__stars { color: var(--oak-500); letter-spacing: .15em; font-size: 1.125rem; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.4; }
.review figcaption { display: flex; flex-direction: column; font-size: .9375rem; }
.review figcaption span { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .faq { grid-template-columns: .8fr 1.2fr; gap: var(--s-8); } .faq__head { margin-bottom: 0; } }
.faq__list details { border-bottom: 1px solid var(--border); }
.faq__list details:first-child { border-top: 1px solid var(--border); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: 64px; padding: var(--s-4) 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.125rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border-right: 2px solid var(--brand-700); border-bottom: 2px solid var(--brand-700);
  transform: rotate(45deg) translateY(-3px); transition: transform var(--dur) var(--ease-out);
}
.faq__list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__list details p { padding: 0 var(--s-6) var(--s-5) 0; color: var(--text-muted); max-width: 65ch; }

/* ---------- Quote / form ---------- */
.quote { display: grid; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
@media (min-width: 1024px) { .quote { grid-template-columns: 420px 1fr; } }
.quote__info { background: var(--brand-800); color: var(--on-dark); padding: var(--s-7) var(--s-5); }
@media (min-width: 768px) { .quote__info { padding: var(--s-8) var(--s-7); } }
.quote__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.75rem); margin-bottom: var(--s-4); }
.quote__info > p { color: var(--on-dark-muted); }
.contact-list { display: grid; gap: var(--s-4); margin-block: var(--s-6); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list .icon { color: var(--oak-400); width: 22px; height: 22px; margin-top: 2px; }
.contact-list span { display: block; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-list a { color: var(--on-dark); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.quote__tip { font-size: .9375rem; padding: var(--s-4); border-radius: var(--radius); background: rgba(246, 239, 224, .06); color: var(--on-dark-muted); }
.quote__tip a { color: var(--oak-300); overflow-wrap: anywhere; }

.form { padding: var(--s-7) var(--s-5); }
@media (min-width: 768px) { .form { padding: var(--s-8) var(--s-7); } }
.form__grid { display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--cream-50); border: 1.5px solid var(--sand-200); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--oak-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(212, 168, 106, .45); }
.field__help { font-size: .875rem; color: var(--text-muted); }
.field__error { font-size: .875rem; color: var(--error); font-weight: 500; }
.field__error:empty { display: none; }
.field.has-error input { border-color: var(--error); }

.form__summary { margin-bottom: var(--s-5); padding: var(--s-4); border-radius: var(--radius); border: 1.5px solid var(--error); background: #FBEDEA; color: var(--error); }
.form__summary ul { list-style: disc; padding-left: var(--s-5); margin-top: var(--s-2); }
.form__summary a { color: var(--error); }
.form__note { margin-top: var(--s-3); font-size: .875rem; color: var(--text-muted); text-align: center; }
.form__status:not(:empty) { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--radius); font-weight: 500; }
.form__status.is-success { background: #EAF2E7; color: var(--success); }
.form__status.is-error { background: #FBEDEA; color: var(--error); }

/* ---------- Footer ---------- */
.footer { background: var(--brand-950); color: var(--on-dark-muted); padding-top: var(--s-8); }
.footer__grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand img { width: 160px; margin-bottom: var(--s-4); }
.footer__brand p { max-width: 36ch; }
.footer__title { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-400); margin-bottom: var(--s-4); font-weight: 600; }
.footer__list { display: grid; gap: var(--s-2); }
.footer__list a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; overflow-wrap: anywhere; }
.footer__list a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(246, 239, 224, .1); padding-block: var(--s-5); font-size: .875rem; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; align-items: center; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.footer__legal a, .footer__linkbtn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--on-dark); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Legal page ---------- */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; margin: var(--s-7) 0 var(--s-3); }
.legal h3 { font-size: 1.125rem; font-weight: 700; margin: var(--s-5) 0 var(--s-2); }
.legal p { margin-bottom: var(--s-4); color: var(--text-muted); }
.legal a:not(.btn):not(.link-arrow) { color: var(--brand-700); font-weight: 600; }
.legal__list { list-style: disc; padding-left: var(--s-5); display: grid; gap: var(--s-2); color: var(--text-muted); }
.legal__table { overflow-x: auto; margin-bottom: var(--s-4); border: 1px solid var(--border); border-radius: var(--radius); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 520px; }
.legal__table th, .legal__table td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--border); vertical-align: top; }
.legal__table th { background: var(--cream-100); font-weight: 600; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code { font-size: .875rem; overflow-wrap: anywhere; }
.legal__cta { margin-left: auto; }
@media (max-width: 479px) { .legal__cta { min-height: 44px; padding: 0 var(--s-4); font-size: .9375rem; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 90; left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  max-width: 440px; max-height: calc(100dvh - 2 * var(--s-4)); overflow-y: auto;
  padding: var(--s-5); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(33, 26, 15, .3);
  opacity: 0; transform: translateY(12px); transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out);
}
.cookie.is-open { opacity: 1; transform: none; }
@media (max-width: 767px) {
  /* sit above the sticky call bar */
  .cookie { left: var(--s-2); right: var(--s-2); bottom: calc(76px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 96px); padding: var(--s-4); }
}
.cookie__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: var(--s-2); }
.cookie__text { font-size: .9375rem; color: var(--text-muted); }
.cookie__text a { color: var(--brand-700); font-weight: 600; }
.cookie__prefs { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.cookie__opt { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .9375rem; color: var(--text-muted); cursor: pointer; }
.cookie__opt strong { display: block; color: var(--text); }
.cookie__opt input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--brand-700); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-5); }
/* Accept and reject get equal weight, as Danish guidance requires */
.btn--cookie { min-height: 48px; padding: 0 var(--s-3); background: var(--brand-700); color: var(--cream-50); }
.btn--cookie:hover { background: var(--brand-800); }
.cookie__actions [data-cookie="save"] { grid-column: 1 / -1; }
.cookie__link {
  grid-column: 1 / -1; justify-self: center; min-height: 44px; padding: 0 var(--s-3);
  background: none; border: 0; font: inherit; font-size: .9375rem; font-weight: 600;
  color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-2);
    padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
    background: var(--brand-950); border-top: 1px solid rgba(246, 239, 224, .1);
  }
  .action-bar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 52px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
    color: var(--on-dark); border: 1.5px solid rgba(246, 239, 224, .3);
  }
  .action-bar__btn--primary { background: var(--oak-400); color: var(--brand-950); border-color: var(--oak-400); }
}

/* ---------- Video dialog ---------- */
.video-dialog { padding: 0; border: 0; background: transparent; max-width: min(92vw, 440px); width: 100%; overflow: visible; }
.video-dialog::backdrop { background: rgba(20, 15, 8, .85); }
.video-dialog video { width: 100%; max-height: 82dvh; border-radius: var(--radius-lg); background: #000; }
.video-dialog__close {
  position: absolute; top: -56px; right: 0; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 0; background: var(--cream-50); color: var(--brand-900); cursor: pointer;
}
.video-dialog__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.video-dialog[open] { animation: dialog-in var(--dur) var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: scale(.96); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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