/* ============================================================
   KINESIS — Fysiotherapie & Bewegingsstudio
   ============================================================ */

/* ---------- Theme tokens ---------- */
:root,
:root[data-theme="salie"] {
  --bone: #ECF2E4;
  --bone-soft: #e0e9d5;
  --ink: #16291f;
  --ink-soft: #3f5e4c;
  --clay: #BF913B;
  --clay-soft: #d8b06a;
  --accent-2: #5BA68A;
  --line: rgba(22, 41, 31, 0.16);
}

:root[data-theme="aqua"] {
  --bone: #EAF7F1;
  --bone-soft: #d6ece1;
  --ink: #123029;
  --ink-soft: #2f5e50;
  --clay: #1F9E84;
  --clay-soft: #6EE8C2;
  --accent-2: #86F8FF;
  --line: rgba(18, 48, 41, 0.16);
}

:root[data-theme="zon"] {
  --bone: #FFF4E8;
  --bone-soft: #fbe4cc;
  --ink: #3a2316;
  --ink-soft: #6e4a31;
  --clay: #E2651F;
  --clay-soft: #FBB773;
  --accent-2: #F6E57D;
  --line: rgba(58, 35, 22, 0.16);
}

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  background: var(--bone);
}
html, body { width: 100%; max-width: 100%; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Smooth recolour when the theme changes */
body, .marquee, .stats, .approach, .cta, .footer, .acard, .quote,
.service__row::before, .preloader, .mmenu, .themer {
  transition: background-color 0.55s ease, color 0.55s ease, border-color 0.55s ease;
}

::selection { background: var(--clay); color: var(--bone); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; font-weight: 300; }

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { background-position: 0 0; }
  20% { background-position: -30px 20px; }
  40% { background-position: 20px -30px; }
  60% { background-position: -20px -20px; }
  80% { background-position: 30px 30px; }
}

/* ---------- Page transition overlay ---------- */
.pagefade {
  position: fixed;
  inset: 0;
  z-index: 9700;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  animation: pagefade-reveal 0.8s 0.05s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
.pagefade__mark {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--clay);
  animation: pagefade-spin 1.4s linear infinite;
}
@keyframes pagefade-reveal {
  to { transform: translateY(-100%); visibility: hidden; }
}
@keyframes pagefade-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader__inner { text-align: center; }
.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  margin-left: 0.35em; /* visually recenter letterspaced text */
}
.preloader__char { display: inline-block; opacity: 0; transform: translateY(40px); }
.preloader__count {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clay);
  z-index: 9500;
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
  mix-blend-mode: multiply;
  will-change: transform;
  opacity: 0;
}
.cursor__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: flex; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--pad);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}
.header__logo sup { font-size: 0.5em; }
.header__nav { display: flex; gap: 2rem; }
.header__link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}
.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.header__link:hover::after { transform: scaleX(1); transform-origin: left; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: background 0.35s ease, color 0.35s ease;
  background: transparent;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--bone); }
.btn--big {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  padding: 1.2rem 2.6rem;
  border-color: var(--bone);
  color: var(--bone);
}
.btn--big:hover { background: var(--clay); border-color: var(--clay); color: var(--ink); }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 8600;
}
.header__burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s ease, background 0.4s ease;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.mmenu__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mmenu__link {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4rem);
  font-weight: 300;
  line-height: 1.25;
}
.mmenu__foot { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.95rem; opacity: 0.7; }
.header__burger.is-open span { background: var(--bone); }
body.menu-open .header {
  z-index: 8600;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.menu-open .header__logo { color: var(--bone); }

/* ---------- Section shared ---------- */
.section { padding: clamp(6rem, 12vw, 11rem) var(--pad); }
.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 2.5rem;
}
.section__label--light { color: var(--clay-soft); }
.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: 4rem;
}

/* line-mask reveal helpers */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__inner { display: inline-block; will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--pad) 3rem;
  position: relative;
  overflow: hidden;
}
.hero__orb {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--clay) 26%, transparent) 0%, transparent 65%);
  top: -20vmax;
  right: -18vmax;
  pointer-events: none;
}
.hero__orb--b {
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 30%, transparent) 0%, transparent 65%);
  top: auto;
  right: auto;
  bottom: -25vmax;
  left: -15vmax;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 11.5vw, 10.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 12ch;
}
.hero__dot { color: var(--clay); }
.hero__sub {
  max-width: 38ch;
  margin-top: 2.5rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
}
.hero__badge {
  position: absolute;
  right: clamp(1.5rem, 7vw, 7rem);
  bottom: clamp(7rem, 18vh, 11rem);
  width: clamp(96px, 11vw, 140px);
  height: clamp(96px, 11vw, 140px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__badge-ring text {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: var(--ink);
  font-family: var(--font-body);
}
.hero__badge-arrow {
  font-size: 1.6rem;
  background: var(--clay);
  color: var(--bone);
  width: 44%;
  height: 44%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero__badge:hover .hero__badge-arrow { transform: scale(1.15); }
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 3.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__scrollhint { display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero__scrollline {
  width: 1px;
  height: 42px;
  background: var(--ink-soft);
  display: block;
  transform-origin: top;
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.4rem 0;
  background: var(--bone-soft);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
}
.marquee__track i { font-style: normal; color: var(--clay); font-size: 1.1rem; }

/* ---------- Philosophy ---------- */
.philosophy { max-width: 1200px; }
.philosophy__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  line-height: 1.32;
}
.philosophy__text .w {
  --rv: 0;
  color: color-mix(in srgb, var(--ink) calc(16% + var(--rv) * 84%), transparent);
}
.philosophy__sign { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 0.2rem; }
.philosophy__sig { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }
.philosophy__role { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services__list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 3rem;
  align-items: center;
  gap: 1.5rem;
  padding: 2.2rem 1rem;
  position: relative;
  isolation: isolate;
  transition: color 0.45s ease, padding-left 0.45s ease;
}
.service__row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.service__row:hover::before { transform: scaleY(1); transform-origin: top; }
.service__row:hover { color: var(--bone); padding-left: 2rem; }
.service__index { font-size: 0.8rem; font-weight: 700; color: var(--clay); }
.service__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}
.service__desc { font-size: 0.92rem; color: inherit; opacity: 0.65; }
.service__arrow {
  font-size: 1.5rem;
  justify-self: end;
  transition: transform 0.4s ease;
}
.service__row:hover .service__arrow { transform: translateX(8px) rotate(-45deg); color: var(--clay); }

/* ---------- Stats ---------- */
.stats {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(5rem, 9vw, 8rem) var(--pad);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
}
.stat__num, .stat__suffix {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--clay-soft); font-size: clamp(1.8rem, 3.5vw, 3rem); }
.stat__label { margin-top: 0.8rem; font-size: 0.85rem; opacity: 0.6; letter-spacing: 0.04em; }

/* ---------- Approach (horizontal) ---------- */
.approach { background: var(--ink-soft); color: var(--bone); overflow: hidden; }
.approach__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 6rem) var(--pad);
  gap: clamp(2.5rem, 5vh, 4.5rem);
}
.approach__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
}
.approach__title em { color: var(--clay-soft); }
.approach__track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  width: max-content;
  will-change: transform;
}
.acard {
  width: clamp(280px, 34vw, 460px);
  background: color-mix(in srgb, var(--bone) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--bone) 18%, transparent);
  border-radius: 20px;
  padding: clamp(1.8rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(4px);
}
.acard__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--clay-soft);
  line-height: 1;
}
.acard__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.acard__text { font-size: 0.95rem; line-height: 1.7; opacity: 0.78; }

/* ---------- Quotes ---------- */
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.quote {
  border-top: 2px solid var(--ink);
  padding-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
}
.quote figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: auto;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(7rem, 14vw, 12rem) var(--pad) clamp(4rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3.5rem;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 10vw, 9rem);
  line-height: 1;
}
.cta__title em { color: var(--clay); }
.cta__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
  padding-top: 3.5rem;
  border-top: 1px solid color-mix(in srgb, var(--bone) 20%, transparent);
}
.cta__cols h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-bottom: 0.9rem;
}
.cta__cols p { font-size: 0.98rem; opacity: 0.85; }
.cta__cols a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem var(--pad);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  border-top: 1px solid color-mix(in srgb, var(--bone) 14%, transparent);
}
.footer__mark { color: var(--clay); font-size: 1rem; }

/* ---------- Theme switcher ---------- */
.themer {
  position: fixed;
  left: var(--pad);
  bottom: 1.4rem;
  z-index: 8200;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: color-mix(in srgb, var(--bone) 80%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
}
.themer__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.themer__swatches { display: flex; gap: 0.45rem; }
.themer__btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: conic-gradient(var(--s1) 0 33.3%, var(--s2) 0 66.6%, var(--s3) 0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.themer__btn:hover { transform: scale(1.15); }
.themer__btn[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.1); }

/* ---------- Treatment detail page ---------- */
.detail__article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(8rem, 16vw, 12rem) var(--pad) clamp(4rem, 8vw, 6rem);
}
.detail__back {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 2.5rem;
}
.detail__back:hover { text-decoration: underline; }
.detail__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.detail__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 2.2rem;
}
.detail__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 2.5rem;
}
.detail__body { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.8; color: var(--ink-soft); }
.detail__body p { margin-bottom: 1.4rem; }
.detail__body a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.detail__h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--ink);
  margin: 2.4rem 0 1rem;
}
.detail__list { margin: 0 0 1.6rem; padding: 0; }
.detail__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}
.detail__list li::before {
  content: "◐";
  position: absolute;
  left: 0;
  color: var(--clay);
  font-size: 0.8em;
  top: 0.15em;
}
.detail__next {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.detail__next-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.detail__next-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  transition: color 0.3s ease;
}
.detail__next:hover .detail__next-name { color: var(--clay); }
.detail__cta { margin-top: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }

  .hero__badge { position: relative; right: auto; bottom: auto; margin-top: 3rem; align-self: flex-end; }
  .hero__meta span:first-child { display: none; }

  .service__row { grid-template-columns: 1fr 2rem; padding: 1.8rem 0.4rem; }
  .service__desc { display: none; }
  .service__row:hover { padding-left: 0.4rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .quotes__grid { grid-template-columns: 1fr; }
  .cta__cols { grid-template-columns: 1fr; }

  /* approach falls back to vertical scroll on mobile */
  .approach__pin { min-height: 0; }
  .approach__track { flex-direction: column; width: 100%; }
  .acard { width: 100%; }

  .footer { flex-direction: column; text-align: center; gap: 0.5rem; padding-bottom: 4.5rem; }

  .themer { padding: 0.4rem 0.6rem; gap: 0.5rem; bottom: 1rem; }
  .themer__label { display: none; }
  .themer__btn { width: 22px; height: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__scrollline, .pagefade__mark { animation: none; }
  .pagefade { animation-duration: 0.01ms !important; transform: translateY(-100%); visibility: hidden; }
  * { transition-duration: 0.01ms !important; }
}
