/* ============================================================
   Clean Planet — landing, second edition
   Third edition: Kononenko structure in Clean Planet colors.
   Azure + navy + yellow on cool white, pill buttons, rounded
   cards, interactive 3D dot-planet hero (canvas, no deps).
   ============================================================ */

/* ---------- self-hosted font (no third-party requests, DSGVO) ---------- */

@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  /* color — Clean Planet brand: azure + navy ink + yellow spark on cool white */
  --bg: oklch(98.5% 0.004 250);
  --panel: oklch(95.5% 0.015 250);       /* light sky tint */
  --ink: oklch(27% 0.062 252);           /* brand navy */
  --ink-2: oklch(48% 0.045 252);
  --line: oklch(89% 0.012 250);
  --line-strong: oklch(27% 0.062 252);
  --accent: oklch(62% 0.19 252);         /* brand azure #047AF8 */
  --accent-deep: oklch(52.5% 0.2 258);   /* hover / darker azure */
  --navy: oklch(23% 0.055 252);          /* footer, ticker */
  --yellow: oklch(85% 0.165 85);         /* brand yellow, sparks only */
  --error: oklch(48% 0.19 28);

  /* type */
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* rhythm */
  --container: 84rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-gap: clamp(5rem, 10vw, 9rem);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* z */
  --z-nav: 50;
  --z-bar: 60;
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* the hidden attribute must always win over component display rules */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }

::selection { background: var(--ink); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: var(--z-bar);
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---------- type system ---------- */

h1 {
  font-weight: 640;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
  font-size: clamp(2.9rem, 8.2vw, 7rem);
}

h2 {
  font-weight: 620;
  font-stretch: 110%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.text-link {
  color: var(--ink);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}
.text-link:hover { color: var(--accent-deep); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.9rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.btn-invert { background: #fff; color: var(--accent-deep); border-color: #fff; }
.btn-invert:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.85rem; }
.btn-wide { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { border-bottom-color: var(--line-strong); }

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { flex-shrink: 0; display: flex; }
.brand img { width: 126px; height: auto; }

.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: 2rem; }
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

.header-actions { display: flex; align-items: center; gap: 0.65rem; }

/* header phone + WhatsApp CTAs */
.header-phone { gap: 0.45rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn-wa { background: var(--navy); border-color: var(--navy); color: #fff; gap: 0.45rem; }
.btn-wa:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* language switcher — quiet, premium */
.lang-switch { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; letter-spacing: 0.06em; }
.lang-switch a { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 0.2rem 0.1rem; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); border-bottom: 2px solid var(--accent); }
.lang-switch span { color: var(--line-strong); }
.lang-switch-mobile { justify-content: center; font-size: 0.9rem; gap: 0.6rem; margin-top: 0.4rem; }

.phone-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.phone-link:hover { color: var(--accent-deep); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 1.25rem var(--gutter) 2rem;
}
.mobile-menu ul { display: grid; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.8rem 0;
  text-decoration: none;
  font-weight: 620;
  font-stretch: 110%;
  font-size: 1.5rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-cta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ---------- shared section scaffold ---------- */

.section {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  margin-top: var(--section-gap);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 24rem);
  gap: 1.5rem 2rem;
  align-items: end;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-index {
  font-size: 0.95rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
}

.section-note {
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 24rem;
  justify-self: end;
  text-align: left;
}

/* ---------- hero ---------- */

.hero {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
}

.hero-inner { padding-top: clamp(2rem, 4vw, 3.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.9rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-rating:hover { color: var(--accent-deep); }
/* rating stars: gold fill clipped to --fill% (set inline from the live rating),
   over a muted full-star track — so 4.8 shows ~4.8 stars, not five solid ones */
.stars { position: relative; display: inline-block; letter-spacing: 0.12em; white-space: nowrap; }
.stars::before { content: "★★★★★"; color: var(--line-strong); }
.stars::after {
  content: "★★★★★"; color: var(--yellow);
  position: absolute; inset: 0; width: var(--fill, 100%);
  overflow: hidden;
}

/* ---------- hero mascot (real brand character, made lively) ---------- */

.hero-mascot {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.mascot-float {
  position: relative;
  width: min(100%, 480px);
  transform-style: preserve-3d;
  animation: mascot-bob 6s var(--ease) infinite;
  will-change: transform;
}

/* the spinnable planet: front = mascot, back = plain blue sphere */
.planet3d {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(var(--spin, 0deg));
  transform-origin: 49.1% 49.85%; /* the planet disc's centre (measured), not the image's */
  cursor: grab;
  touch-action: pan-y;            /* let vertical scroll through; we handle horizontal */
}
.planet3d:active { cursor: grabbing; }

.planet-front, .planet-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.planet-front {
  position: relative;
  z-index: 1;
}
.planet-front img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 34px oklch(52% 0.16 252 / 0.28));
  -webkit-user-drag: none;
  user-select: none;
}
/* far side of the planet — a clean brand-blue sphere, no face */
.planet-back {
  position: absolute;
  left: 49.1%; top: 49.85%;
  width: 64.2%; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotateY(180deg);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, oklch(82% 0.11 220 / 0.9), transparent 55%),
    radial-gradient(circle at 66% 74%, oklch(46% 0.16 258), transparent 60%),
    linear-gradient(150deg, oklch(72% 0.15 232), oklch(55% 0.18 250) 60%, oklch(46% 0.17 258));
  box-shadow: inset -14px -18px 34px oklch(35% 0.12 258 / 0.55), 0 26px 34px oklch(52% 0.16 252 / 0.28);
}

.spin-hint {
  position: absolute;
  left: 0; right: 0; bottom: -1.6rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-2);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

/* soft brand-azure glow that breathes behind the planet */
.mascot-glow {
  position: absolute;
  inset: 12% 14%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(70% 0.16 252 / 0.4), transparent 68%);
  filter: blur(18px);
  animation: mascot-pulse 6s ease-in-out infinite;
}

/* pupils that follow the cursor (sit over the painted-out original eyes) */
.mascot-eyes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.pupil {
  position: absolute;
  width: 5.05%;                 /* of the mascot's rendered width  */
  height: 10.4%;                /* of the mascot's rendered height */
  background: #001e47;          /* brand navy, matches the original eyes */
  border-radius: 48%;
  transform: translate(-50%, -50%);
  transition: transform 0.14s var(--ease);
}
.pupil:nth-child(1) { left: 46.31%; top: 38.84%; }
.pupil:nth-child(2) { left: 61.38%; top: 38.43%; }

/* extra twinkling sparks, matching the mascot's own yellow stars */
.mascot-spark {
  position: absolute;
  z-index: 2;
  fill: var(--yellow);
  width: 26px; height: 26px;
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
}
.mascot-spark-1 { top: 8%;  right: 14%; width: 30px; height: 30px; animation-delay: 0.2s; }
.mascot-spark-2 { top: 30%; left: 6%;  width: 20px; height: 20px; animation-delay: 1.6s; }
.mascot-spark-3 { bottom: 20%; right: 8%; width: 22px; height: 22px; animation-delay: 2.9s; }

@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}
@keyframes mascot-pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.75; }
  50%      { transform: scale(1.04); opacity: 1; }
}
@keyframes twinkle {
  0%, 100%   { opacity: 0; transform: scale(0.5) rotate(0deg); }
  40%, 60%   { opacity: 1; transform: scale(1) rotate(15deg); }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-float { animation: none; }
  .mascot-glow { animation: none; opacity: 0.85; }
  .mascot-spark { animation: none; opacity: 0.85; }
  .pupil { transition: none; }
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero h1 { max-width: 18ch; }
/* DE/UK render longer words (VERANTWORTUNG, ВІДПОВІДАЛЬНІСТЬ) — scale the display
   size so the longest word always fits on one unbroken line */
:lang(de) .hero h1, :lang(uk) .hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.04;
}

.hero-sub {
  max-width: 32rem;
  font-size: 1.1rem;
  color: var(--ink-2);
  margin-top: 1.6rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* stats strip */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-strong);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stats > div {
  padding: 1.4rem 1.25rem 1.5rem;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column-reverse;
  gap: 0.2rem;
}
.stats > div:first-child { border-left: none; padding-left: 0; }
.stats dd {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 640;
  font-stretch: 110%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent-deep);
}
.stats dt {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- ticker ---------- */

.ticker {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--navy);
  color: var(--bg);
  overflow: hidden;
  padding-block: 0.8rem;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track span {
  white-space: nowrap;
  font-weight: 640;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1rem, 2vw, 1.35rem);
  padding-right: 0.6rem;
}
.ticker-track i {
  font-style: normal;
  color: var(--yellow);
  padding: 0 0.35rem;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- services index ---------- */

.index-list { border-top: 1px solid var(--line-strong); }

.index-row {
  display: grid;
  grid-template-columns: minmax(12rem, 1.1fr) 2fr auto 2.5rem;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}
.index-row:hover { background: var(--panel); }

.index-name {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 620;
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.index-desc { font-size: 0.95rem; color: var(--ink-2); }
.index-price {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--accent-deep);
}
.index-price small { font-weight: 450; color: var(--ink-2); font-size: 0.85em; }
.index-arrow {
  justify-self: end;
  font-weight: 500;
  transition: transform 0.3s var(--ease);
}
.index-row:hover .index-arrow { transform: translateX(6px); color: var(--accent-deep); }

/* ---------- plans ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  perspective: 1200px;
}

.plan {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
  background: var(--bg);
}

.plan h3 {
  font-size: 1.05rem;
  font-weight: 620;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.plan-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border: 1px solid currentColor;
}

.plan-price { font-size: 0.95rem; color: var(--ink-2); }
.plan-price span {
  display: block;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 640;
  font-stretch: 110%;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.3rem;
}

.plan ul { display: grid; gap: 0.55rem; flex: 1; }
.plan li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.98rem;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 0.65rem;
  height: 1px;
  background: currentColor;
}
.plan-no { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1px; }

.plan-featured {
  background: linear-gradient(160deg, var(--accent-deep) 0%, oklch(45% 0.19 260) 100%);
  border-color: var(--accent-deep);
  color: #fff;
}
.plan-featured .plan-price { color: oklch(93% 0.03 252); }
.plan-featured .plan-price span { color: #fff; }
/* solid yellow chip — navy on yellow is AAA and keeps the brand spark */
.plan-featured .plan-tag { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.plans-fine {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ---------- work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(260px, 24vw, 380px);
  gap: 1.1rem;
  perspective: 1200px;
}
.work-grid li { display: contents; }

.work-item {
  position: relative;
  border: none;
  padding: 0;
  background: var(--panel);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 1.1rem;
  transform-style: preserve-3d;
  will-change: transform;
}

.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.work-item:hover img { transform: scale(1.025); }

.work-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1rem 0.8rem;
  text-align: left;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 550;
  color: #fff;
  background: linear-gradient(to top, oklch(16% 0.03 258 / 0.86) 0, oklch(16% 0.03 258 / 0.86) 2.6rem, transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.work-item:hover .work-cap,
.work-item:focus-visible .work-cap { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .work-item img { transition: none; }
  .work-item:hover img { transform: none; }
  .work-cap { opacity: 1; }
}

/* ---------- before / after ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.ba { margin: 0; }
.ba-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--panel);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 52%)) 0 0); }
.ba-tag {
  position: absolute; top: 0.75rem;
  font-family: var(--font);
  font-size: 0.66rem; font-weight: 680;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  background: oklch(20% 0.03 258 / 0.68);
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-before { left: 0.75rem; }
.ba-tag-after  { right: 0.75rem; background: oklch(52.5% 0.2 258 / 0.9); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 52%);
  width: 2px; margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px oklch(20% 0.03 258 / 0.25);
  pointer-events: none;
}
.ba-grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  color: var(--accent-deep);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 14px oklch(20% 0.05 258 / 0.32);
}
.ba-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  cursor: ew-resize;
  opacity: 0;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 2.6rem; height: 100vh; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 2.6rem; height: 100vh; border: 0; background: transparent; cursor: ew-resize; }
.ba-range::-moz-range-track { background: transparent; }
.ba-range:focus-visible ~ .ba-handle .ba-grip {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.ba-cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: 0.85rem;
  font-family: var(--font);
  font-size: 0.9rem; font-weight: 550;
  color: var(--ink);
}
.ba-cap-hint {
  display: inline-flex; align-items: center; gap: 0.28rem;
  font-size: 0.72rem; font-weight: 640;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.ba-cap-hint svg { opacity: 0.8; }

/* ---------- on the job (video) ---------- */
.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.motion-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--navy);
}
.motion-video,
.motion-still {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.motion-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1rem 0.85rem;
  font-family: var(--font);
  font-size: 0.88rem; font-weight: 550;
  color: #fff;
  background: linear-gradient(to top, oklch(16% 0.03 258 / 0.88) 0, oklch(16% 0.03 258 / 0.88) 2.8rem, transparent);
}

@media (max-width: 700px) {
  .ba-grid, .motion-grid { grid-template-columns: 1fr; }
  .ba-stage { aspect-ratio: 4 / 5; }
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-lede {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  font-weight: 480;
  margin-bottom: 1.4rem;
}
.about-copy p + p { margin-top: 1rem; }
.about-copy p:not(.about-lede) { color: var(--ink-2); max-width: 36rem; }
.about-copy strong { color: var(--ink); font-weight: 620; }

.about-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-figure figcaption {
  padding-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ---------- reviews ---------- */

.quotes { border-top: 1px solid var(--line); }
.quotes li { border-bottom: 1px solid var(--line); }

.quotes blockquote {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr);
  gap: 2rem;
  align-items: baseline;
  padding: 1.75rem 0;
}
.quotes blockquote p {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 480;
}
.quotes footer {
  justify-self: end;
  text-align: right;
  display: grid;
  gap: 0.15rem;
}
.quotes cite { font-style: normal; font-weight: 620; font-size: 0.98rem; overflow-wrap: anywhere; }
.quotes cite a { color: inherit; text-decoration: none; }
.quotes cite a:hover, .quotes cite a:focus-visible { text-decoration: underline; }
.quotes footer span { font-size: 0.88rem; color: var(--ink-2); }
.reviews-src { margin-top: 1.25rem; font-size: 0.8rem; color: var(--ink-2); letter-spacing: 0.02em; }

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line); max-width: 56rem; }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.2rem 0.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-2);
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent-deep); }

.faq-list details p {
  padding: 0 0.2rem 1.4rem;
  color: var(--ink-2);
  max-width: 62ch;
}

@media (prefers-reduced-motion: reduce) {
  .faq-list summary::after { transition: none; }
}

/* ---------- contact ---------- */

.section-contact { margin-bottom: var(--section-gap); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.channel-list { display: grid; border-top: 1px solid var(--line); }
.channel-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.channel-label {
  font-size: 0.85rem;
  font-weight: 550;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.channel-value {
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.channel-value:hover { color: var(--accent-deep); }

.plz-check { margin-top: 2rem; }
.plz-check > label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.plz-row { display: flex; gap: 0.6rem; }
.plz-row input {
  width: 6.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--bg);
  padding: 0.6rem 0.9rem;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}
.plz-result { margin-top: 0.65rem; font-weight: 550; font-size: 0.95rem; max-width: 26rem; }
.plz-result.ok { color: var(--accent-deep); }
.plz-result.ok::before { content: "✓ "; }
.plz-result.hmm { color: var(--ink-2); }

.assurances {
  margin-top: 2rem;
  display: grid;
  gap: 0.5rem;
}
.assurances li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.assurances li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.68em;
  width: 0.65rem; height: 1px;
  background: var(--ink);
}

/* form */

.booking-form {
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.25rem;
  background: #fff;
}

.field { display: grid; gap: 0.45rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.field .optional {
  font-weight: 450;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 0.7rem;
  background: var(--bg);
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.field ::placeholder { color: var(--ink-2); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%230c2744' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}

.field textarea { resize: vertical; min-height: 5rem; }

.field-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}
.field-consent input {
  width: 1.05rem; height: 1.05rem;
  margin-top: 0.25rem;
  accent-color: var(--ink);
}
.field-consent label { font-size: 0.9rem; color: var(--ink-2); }
.field-consent a { color: var(--ink); }

.form-error { color: var(--error); font-weight: 600; font-size: 0.92rem; }

.form-actions { display: grid; gap: 0.7rem; }
.form-hint {
  font-size: 0.85rem;
  color: var(--ink-2);
  text-align: center;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: var(--section-gap);
  background: var(--navy);
  color: var(--bg);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer-wordmark {
  margin: 0;
  font-weight: 680;
  font-stretch: 122%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  /* measured in-browser: this string renders ~9.6x the font-size at width 122% */
  font-size: clamp(1.8rem, 9.8vw, 12.5rem);
  text-align: center;
  white-space: nowrap;
  padding-inline: 0.3rem;
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 3rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
  border-top: 1px solid oklch(35% 0.05 252);
}

.footer-brand img { width: 72px; }
.footer-brand p {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: oklch(75% 0.005 270);
}

.footer-nav ul { display: grid; gap: 0.5rem; }
.footer-nav a,
.footer-contact a {
  color: oklch(82% 0.005 270);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }

.footer-contact { display: grid; gap: 0.5rem; justify-items: start; }
.footer-contact a { font-weight: 600; }
.footer-contact span { font-size: 0.9rem; color: oklch(65% 0.005 270); }

.footer-legal {
  text-align: center;
  font-size: 0.84rem;
  color: oklch(62% 0.005 270);
  padding: 1.4rem var(--gutter) 1.8rem;
  border-top: 1px solid oklch(35% 0.05 252);
}

/* ---------- lightbox ---------- */

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1200px);
  width: 100%;
}
.lightbox::backdrop { background: oklch(12% 0.005 270 / 0.9); }

.lb-stage { margin: 0; }
.lb-media img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 0.9rem;
  background: oklch(20% 0.03 252);
}
.lb-stage figcaption {
  color: oklch(85% 0.005 270);
  text-align: center;
  padding: 0.8rem 1rem 0;
  font-size: 0.95rem;
}

.lb-close, .lb-nav {
  position: fixed;
  z-index: 1;
  width: 46px; height: 46px;
  border: 1px solid oklch(50% 0.005 270);
  background: oklch(15% 0.005 270 / 0.7);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: var(--ink); border-color: var(--bg); }

/* ---------- mobile bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-bar);
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--bg);
}
.mobile-bar a {
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 620;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-bar a:first-child { background: var(--accent-deep); color: #fff; }
.mobile-bar a:last-child { background: var(--navy); color: var(--bg); }

/* ---------- legal pages ---------- */

body.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
body.legal-page .legal-main { flex: 1; width: 100%; }

.legal-main {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(3.5rem, 6vw, 5rem);
}

.legal-back { margin-bottom: 2rem; }
.legal-back a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-back a:hover { color: var(--accent-deep); }

.legal-main h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.legal-main h2 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2.4rem 0 0.7rem;
}

.legal-main p { margin-bottom: 0.9rem; }
.legal-main p, .legal-main li { line-height: 1.65; }

.legal-main ul { padding-left: 1.3rem; margin-bottom: 0.9rem; }
.legal-main ul li { list-style: disc; margin-bottom: 0.45rem; }

.legal-main a { color: var(--ink); }
.legal-main a:hover { color: var(--accent-deep); }

.legal-intro { font-size: 1.08rem; color: var(--ink-2); }

.legal-card {
  font-style: normal;
  border: 1.5px solid var(--line-strong);
  border-radius: 1rem;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
  line-height: 1.7;
}

.legal-note { margin-top: 2.2rem; color: var(--ink-2); font-size: 0.95rem; }

.legal-footer { padding-top: 2.5rem; }
.legal-footer .footer-inner { grid-template-columns: 1.3fr 1fr 1.3fr; }

/* ---------- 3D tilt cards ---------- */

.tilt { transition: transform 0.25s var(--ease); }
.tilt.tilting { transition: transform 0.06s linear; }

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .tilt, .tilt.tilting { transition: none; }
}

/* ---------- reveal (JS enhances; visible by default) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 760px) {
  /* mobile: hamburger + Book stay; calls/WhatsApp live in the bottom bar */
  .header-actions .header-phone,
  .header-actions .btn-wa { display: none; }
}
/* longer DE/UK labels need the phone pill to yield earlier */
@media (max-width: 1360px) {
  :lang(de) .header-actions .header-phone,
  :lang(uk) .header-actions .header-phone { display: none; }
}
@media (min-width: 1061px) {
  .mobile-menu { display: none; }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-note { grid-column: 1; justify-self: start; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-mascot { order: -1; }
  .mascot-float { width: min(66vw, 320px); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { border-left: none; padding-left: 0; }
  .stats > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.25rem; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .index-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; row-gap: 0.3rem; }
  .index-desc { grid-column: 1 / -1; grid-row: 2; }
  .index-arrow { display: none; }

  .plans { grid-template-columns: 1fr; }

  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(220px, 40vw, 340px); }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }

  .quotes blockquote { grid-template-columns: 1fr; gap: 0.7rem; }
  .quotes footer { justify-self: start; text-align: left; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .mobile-bar { display: grid; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  body { padding-bottom: calc(3.3rem + env(safe-area-inset-bottom)); }

  .hero-meta { flex-wrap: wrap; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .work-cap { opacity: 1; }

  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .header-actions .btn { display: none; }
}

/* ============================================================
   Booking wizard (Batmaid-style, hourly, live price)
   ============================================================ */

.section-book { margin-bottom: var(--section-gap); }

.book {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

/* progress steps */
.book-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
}
.book-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.book-steps li span {
  display: grid;
  place-items: center;
  width: 1.55rem; height: 1.55rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.book-steps li.is-active { color: var(--ink); }
.book-steps li.is-active span { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.book-steps li.is-done span { background: var(--navy); border-color: var(--navy); color: #fff; }

/* panels */
.book-panel { border: none; margin: 0; padding: 0; min-width: 0; }
.book-panel[hidden] { display: none; }
.book-q {
  font-weight: 640;
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  padding: 0;
  margin-bottom: 0.5rem;
}
.book-hint { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* frequency + generic option cards */
.freq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.opt-card { position: relative; cursor: pointer; }
.opt-card input {
  position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer;
}
.opt-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.1rem 1.2rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 1rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.opt-card:hover .opt-body { border-color: var(--accent-deep); }
.opt-card input:focus-visible + .opt-body { outline: 3px solid var(--yellow); outline-offset: 2px; }
.opt-card input:checked + .opt-body {
  border-color: var(--accent-deep);
  background: var(--panel);
  box-shadow: inset 0 0 0 1.5px var(--accent-deep);
}
.opt-title {
  font-weight: 700;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.opt-flag {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent-deep);
  color: #fff;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
}
.opt-flag-soft { background: var(--yellow); color: var(--ink); }
.opt-rate { font-size: 1.05rem; }
.opt-rate b { font-family: var(--font); font-weight: 750; font-variant-numeric: tabular-nums; }
.opt-save { font-size: 0.85rem; font-weight: 650; color: var(--accent-deep); min-height: 1.1em; }

/* segmented control (type) */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--panel);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.seg-opt input:checked + span { background: var(--accent-deep); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.seg-opt:hover span { color: var(--ink); }

/* big hours stepper */
.stepper-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.4rem 0 0.4rem;
}
.stepper-big button {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--accent-deep);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.stepper-big button:hover { background: var(--panel); border-color: var(--accent-deep); }
.stepper-val { display: grid; place-items: center; min-width: 5rem; }
.stepper-val output { font-size: 3rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stepper-val small { color: var(--ink-2); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }

.hour-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1.4rem;
  text-align: center;
}
.hour-guide li { font-size: 0.82rem; color: var(--ink-2); line-height: 1.35; }
.hour-guide b { display: block; color: var(--ink); font-size: 1rem; }

/* materials toggle */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}
.toggle-title { font-weight: 650; display: block; }
.toggle-sub { font-size: 0.88rem; color: var(--ink-2); }
.toggle-right { display: inline-flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.toggle-right b { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--accent-deep); }
.toggle-right input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
  position: relative;
  width: 46px; height: 27px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 22%, var(--bg));
  transition: background-color 0.2s var(--ease);
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease);
}
.toggle-right input:checked + .switch { background: var(--accent-deep); }
.toggle-right input:checked + .switch::after { transform: translateX(19px); }
.toggle-right input:focus-visible + .switch { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* extra-task chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip-check input:checked + span { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chip-check:hover span { border-color: var(--accent-deep); }
/* the "+30 min" time badge inside an extra chip */
.chip-time { font-style: normal; font-weight: 700; font-size: 0.78em; color: var(--accent-deep); margin-left: 0.3rem; }
.chip-check input:checked + span .chip-time { color: oklch(93% 0.03 252); }

/* furniture pieces — a pill that becomes a quantity stepper once selected */
.qchip {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.qchip:hover { border-color: var(--accent-deep); }
.qchip-name {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.6rem 1.1rem;
  white-space: nowrap;
}
.qchip-step { display: none; align-items: center; gap: 0.1rem; padding-right: 0.35rem; }
.qchip.is-on { background: var(--accent-deep); border-color: var(--accent-deep); }
.qchip.is-on .qchip-name { color: #fff; padding-right: 0.55rem; }
.qchip.is-on .qchip-step { display: inline-flex; }
.qchip-dec, .qchip-inc {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qchip-dec:hover, .qchip-inc:hover { background: rgba(255, 255, 255, 0.34); }
.qchip-n {
  color: #fff;
  min-width: 1.3rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.qchip-name:focus-visible, .qchip-dec:focus-visible, .qchip-inc:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

/* wizard mode tabs (Home / Windows / Furniture / Business) */
.book-modes { margin-bottom: 1.5rem; }
@media (max-width: 640px) {
  .book-modes { display: grid; grid-template-columns: 1fr 1fr; }
  .book-modes .seg-opt span { display: block; text-align: center; }
}

/* summary + talk side column */
.book-side { position: sticky; top: 5rem; display: grid; gap: 1.25rem; }

.book-summary {
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem 1.5rem;
  background: #fff;
}
.sum-label {
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 0.8rem;
}
.sum-lines { display: grid; gap: 0.5rem; margin-bottom: 1.1rem; }
.sum-lines > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.sum-lines dt { color: var(--ink-2); }
.sum-lines dd { font-weight: 650; text-align: right; }

.sum-price {
  border-top: 1.5px solid var(--line);
  padding-top: 1rem;
  margin-bottom: 1.1rem;
}
.sum-price-big { display: flex; align-items: baseline; gap: 0.5rem; }
.sum-price-big b { font-size: 2.4rem; font-weight: 750; line-height: 1; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.sum-price-big small { color: var(--ink-2); font-size: 0.95rem; }
.sum-price-sub { display: block; margin-top: 0.3rem; font-size: 0.88rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.book-nav { display: flex; gap: 0.7rem; }
.book-nav .btn-ghost { flex: 0 0 auto; }
.book-email { display: block; width: 100%; margin-top: 0.8rem; text-align: center; font-size: 0.9rem; background: none; border: none; cursor: pointer; }
.book-fine { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-2); line-height: 1.5; }

.book-talk {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.3rem 1.5rem;
  display: grid;
  gap: 0.55rem;
}
.talk-title { font-weight: 700; margin-bottom: 0.2rem; }
.talk-link { font-weight: 600; text-decoration: none; color: var(--ink); width: fit-content; }
.talk-link:hover { color: var(--accent-deep); }
.book-talk .plz-check { margin-top: 0.8rem; }
.book-talk .assurances { margin-top: 0.6rem; }

/* addr row: street grows, zip fixed */
.field-row.addr { grid-template-columns: 1fr 6rem; }
.field-zip input { text-align: center; letter-spacing: 0.05em; }

@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; }
  .book-side { position: static; }
  .freq-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .freq-grid { grid-template-columns: 1fr; }
  .hour-guide { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .book-steps li { font-size: 0.8rem; gap: 0.35rem; }
  .field-row.addr { grid-template-columns: 1fr; }
}

/* ---------- multi-page: CTA band + booking success ---------- */

.book-cta-band {
  background: var(--navy);
  color: var(--bg);
  border-radius: 1.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  text-align: center;
}
.cta-inner { max-width: 46rem; margin-inline: auto; }
.book-cta-band h2 { color: #fff; }
.book-cta-band p { color: color-mix(in oklab, var(--bg) 82%, var(--navy)); margin: 0.8rem 0 1.8rem; font-size: 1.1rem; }

.book-done {
  border: 1.5px solid var(--line-strong);
  border-radius: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  background: #fff;
}
.book-done-tick {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--accent-deep); color: #fff;
  font-size: 1.7rem; font-weight: 700;
}
.book-done h3 {
  font-weight: 640; font-stretch: 108%; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 0.6rem;
}
.book-done p { color: var(--ink-2); max-width: 30rem; margin: 0 auto 0.6rem; }
.book-done b { color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.book-done-sub { font-size: 0.95rem; }
.book-done-cta { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* ---------- subscription cadence (services page) ---------- */

/* Three peer cadence cards. Double-class specificity (0-2-0) beats both the base
   .plans (2-col) AND the existing @media(max-width:900px){.plans{1fr}} (0-1-0),
   so it wins regardless of stylesheet source order. */
.plans.plans-cadence { grid-template-columns: repeat(3, 1fr); }

/* Price + secondary line grouped tight (the .plan flex gap is 1.4rem, too loose here). */
.plan-cost { display: grid; gap: 0.4rem; }
.plan-meta { font-size: 0.85rem; color: var(--ink-2); }
.plan-meta b { color: var(--accent-deep); font-weight: 640; }   /* accent-deep = AA for small text */
.plan-featured .plan-meta { color: oklch(93% 0.03 252); }       /* near-white, AA on the azure card */
.plan-featured .plan-meta b { color: #fff; }

/* Custom-schedule strip: full-width horizontal card below the three cadences. */
.plan-strip {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.plan-strip-main { display: grid; gap: 0.5rem; flex: 1 1 22rem; min-width: min(100%, 22rem); }
.plan-strip-note { color: var(--ink-2); font-size: 0.98rem; max-width: 46ch; }
.plan-strip-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  text-align: center;
  min-width: 14rem;
}

@media (max-width: 900px) {
  .plans.plans-cadence { grid-template-columns: 1fr; }   /* 0-2-0 override for mobile stack */
  .plan-strip { flex-direction: column; align-items: stretch; }
  .plan-strip-cta { min-width: 0; }
  /* let long cadence labels wrap on very narrow phones instead of forcing horizontal overflow */
  .plans-cadence .btn-wide { white-space: normal; }
}

/* ---------- proof band (100,000+ m² / day) ---------- */
.proof-band { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.proof-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 4rem;
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.proof-stat b {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 640;
  font-stretch: 110%;
  line-height: 1;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.proof-stat span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.proof-line {
  max-width: 44ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
  justify-self: end;
}
@media (max-width: 900px) {
  .proof-inner { grid-template-columns: 1fr; gap: 1rem; }
  .proof-line { justify-self: start; }
}

/* about — founders line */
.about-founders {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-2);
}

/* ---------- get in touch (contact form) ---------- */
.cform-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.cform-photo {
  grid-column: 1; grid-row: 1;
  position: relative; margin: 0;
  border-radius: 1.25rem; overflow: hidden;
  min-height: 340px;
}
.cform-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cform-chips { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cform-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; color: var(--ink);
  border-radius: 999px; padding: 0.55rem 0.95rem;
  font-size: 0.86rem; font-weight: 620; text-decoration: none;
  box-shadow: 0 6px 18px oklch(25% 0.05 258 / 0.18);
}
.cform-chip:hover { color: var(--accent-deep); }
.cform {
  grid-column: 2; grid-row: 1;
  background: var(--panel);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid; gap: 1rem;
  align-content: start;
}
.cform .field input, .cform .field select, .cform .field textarea { background: #fff; }
.cf-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform-done {
  grid-column: 2; grid-row: 1;
  background: var(--panel); border-radius: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem); text-align: center; align-self: center;
}
@media (max-width: 900px) {
  .cform-grid { grid-template-columns: 1fr; }
  .cform-photo { grid-column: 1; grid-row: 1; min-height: 260px; }
  .cform, .cform-done { grid-column: 1; grid-row: 2; }
}

/* ---------- explore teaser (home) ---------- */
.explore-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  background:
    radial-gradient(120% 140% at 82% 30%, oklch(32% 0.07 258) 0%, oklch(21% 0.055 258) 45%, oklch(16% 0.045 260) 100%);
  border-radius: 1.4rem;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem);
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.explore-band::after {   /* faint stars */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, oklch(90% 0.02 250 / 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 74%, oklch(90% 0.02 250 / 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 56% 14%, oklch(90% 0.02 250 / 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 80%, oklch(90% 0.02 250 / 0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 45%, oklch(90% 0.02 250 / 0.3) 50%, transparent 51%);
  pointer-events: none;
}
.explore-copy { position: relative; z-index: 1; }
.explore-copy h2 { color: #fff; margin-bottom: 0.7rem; }
.explore-copy p {
  color: oklch(82% 0.03 252);
  font-size: 1rem; line-height: 1.55;
  max-width: 38ch;
  margin-bottom: 1.4rem;
}
.explore-cta { pointer-events: none; }         /* whole band is the link */
.explore-band:hover .explore-cta { background: var(--accent-deep); }
.explore-band:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.explore-visual { position: relative; justify-self: center; }
.explore-visual img {
  width: min(320px, 34vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px oklch(60% 0.15 252 / 0.35));
  transition: transform 0.5s var(--ease);
}
.explore-band:hover .explore-visual img { transform: rotate(-4deg) scale(1.03); }
.explore-spark {
  position: absolute; color: var(--yellow); z-index: 1;
  text-shadow: 0 0 14px oklch(85% 0.165 85 / 0.7);
}
.es-1 { top: -6%; left: -4%; font-size: 1.6rem; }
.es-2 { top: 18%; right: -7%; font-size: 1.1rem; }
.es-3 { bottom: 4%; left: 8%; font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) {
  .explore-visual img, .explore-band:hover .explore-visual img { transition: none; transform: none; }
}
@media (max-width: 760px) {
  .explore-band { grid-template-columns: 1fr; text-align: left; }
  .explore-visual { order: -1; }
  .explore-visual img { width: min(240px, 56vw); }
}

/* ---------- careers ---------- */
.careers-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.careers-intro { align-self: start; }
.careers-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 34ch;
  margin: 0 0 1.6rem;
  text-wrap: pretty;
}
.careers-offer { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.7rem; }
.careers-offer li {
  display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.6rem; align-items: baseline;
  font-size: 0.98rem; color: var(--ink);
}
.careers-tick { color: var(--accent-deep); font-size: 0.8rem; line-height: 1.4; }
.careers-direct { font-size: 0.9rem; color: var(--ink-2); max-width: 34ch; }
.careers-direct a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.careers-direct a:hover { color: var(--accent-deep); }

.careers-form .field input,
.careers-form .field select,
.careers-form .field textarea { background: #fff; }
.field-label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

.filedrop {
  position: relative;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1.5px dashed var(--line-strong);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.filedrop:hover { border-color: var(--accent-deep); }
.filedrop:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.filedrop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.filedrop-icon { display: grid; place-items: center; color: var(--accent-deep); flex: none; }
.filedrop-text { font-size: 0.92rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filedrop.has-file { border-style: solid; border-color: var(--accent-deep); }
.filedrop.has-file .filedrop-text { color: var(--ink); font-weight: 550; }

@media (max-width: 900px) {
  .careers-grid { grid-template-columns: 1fr; }
  .careers-lede, .careers-direct { max-width: none; }
}

/* ---------- cookie consent ---------- */
.consent {
  position: fixed;
  z-index: 70;                 /* above nav (50) and the mobile bar (60) */
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 720px; margin-inline: auto;
  background: var(--navy); color: #fff;
  border-radius: 14px; padding: 1rem 1.15rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.85rem 1.25rem;
  box-shadow: 0 14px 44px oklch(20% 0.05 258 / 0.4);
}
.consent p { margin: 0; flex: 1 1 20rem; font-size: 0.9rem; line-height: 1.45; }
.consent a { color: var(--yellow); text-decoration: underline; }
.consent-actions { display: flex; gap: 0.6rem; margin-left: auto; }
.consent .btn-ghost { background: transparent; color: #fff; border-color: oklch(100% 0 0 / 0.45); }
.consent .btn-ghost:hover { background: oklch(100% 0 0 / 0.14); color: #fff; }
@media (max-width: 640px) {
  .consent { bottom: calc(3.6rem + env(safe-area-inset-bottom)); left: 0.6rem; right: 0.6rem; }
  .consent-actions { width: 100%; margin-left: 0; }
  .consent-actions .btn { flex: 1; justify-content: center; }
}
