/* =========================================================================
   LIVAFS – People & Places · main stylesheet
   Shared design system: tokens, base, layout, components, motion.
   Page-specific styles live in /assets/css/pages/<page>.css
   ========================================================================= */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-latin.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --forest-950: #03120a;
  --forest-900: #072213;
  --forest-850: #0a2b18;
  --forest-800: #0e351e;
  --forest-700: #154a2a;
  --forest-600: #1f6237;
  --lime-200: #d8efb5;
  --lime-300: #b7e07a;
  --lime-400: #98d24b;
  --lime-500: #7cc22e;
  --lime-600: #62a51c;
  --green-ink: #2f7414;          /* lime-family green with AA contrast on paper */
  --paper: #f5f3ec;
  --paper-2: #ebe8dd;
  --paper-3: #e1ddcf;
  --white: #ffffff;
  --ink: #0f1c14;
  --ink-2: #2c3b31;
  --muted: #56655b;
  --line: rgba(15, 28, 20, .12);
  --line-light: rgba(255, 255, 255, .14);
  --on-dark: #eef3ea;
  --on-dark-muted: rgba(238, 243, 234, .74);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --header-h: 84px;

  --shadow-1: 0 1px 2px rgba(3, 18, 10, .06), 0 10px 28px -14px rgba(3, 18, 10, .28);
  --shadow-2: 0 2px 6px rgba(3, 18, 10, .08), 0 28px 60px -24px rgba(3, 18, 10, .42);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
figure, blockquote { margin: 0; }
::selection { background: var(--lime-400); color: var(--forest-950); }
:focus-visible { outline: 3px solid var(--lime-500); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible { outline-color: var(--lime-300); }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--lime-500); color: var(--forest-950); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(124, 194, 46, .10), transparent 55%),
    linear-gradient(160deg, var(--forest-850) 0%, var(--forest-900) 45%, var(--forest-950) 100%);
  isolation: isolate;
}
.section--dark::before {             /* analog grain – keeps the dark surfaces from looking flat/digital */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .06; mix-blend-mode: overlay;
}
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.section--dark .eyebrow { color: var(--on-dark); }
.eyebrow__sep { width: 1px; height: 1.1em; background: currentColor; opacity: .5; }
.hl { color: var(--green-ink); }
.section--dark .hl { color: var(--lime-500); }
.display {
  font-size: clamp(2.7rem, 1.4rem + 5vw, 5.75rem);
  font-weight: 760; line-height: .98; letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
}
.h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.5rem); font-weight: 750; line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.35rem); font-weight: 720; line-height: 1.04; letter-spacing: -.028em; font-variation-settings: "opsz" 72; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 680; line-height: 1.15; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--on-dark-muted); }
.hand { font-family: var(--font-hand); font-weight: 600; letter-spacing: 0; line-height: 1.1; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--green-ink); }

/* hand-drawn underline under a word (SVG injected by main.js or inline) */
.scribble-word { position: relative; display: inline-block; white-space: nowrap; }
.scribble {
  position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible;
  fill: none; stroke: var(--lime-500); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.section:not(.section--dark) .scribble { stroke: var(--lime-500); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--forest-800); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: 1.02rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-spring), background-color .25s, color .25s, box-shadow .35s var(--ease-out), border-color .25s;
  overflow: hidden; isolation: isolate;
}
.btn::after {                        /* soft "wet shine" that wipes across on hover */
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(3, 18, 10, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i:last-child:not(:first-child) { transition: transform .35s var(--ease-spring); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(4px); }
.btn--lime { --btn-bg: var(--lime-500); --btn-fg: var(--forest-950); }
.btn--lime:hover { --btn-bg: var(--lime-400); }
.btn--dark { --btn-bg: var(--forest-800); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--forest-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.section--dark .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.btn--ghost:hover { --btn-bg: rgba(124, 194, 46, .12); }
.btn--sm { min-height: 46px; padding: 10px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; color: var(--green-ink);
}
.section--dark .link-arrow { color: var(--lime-400); }
.link-arrow .i { transition: transform .35s var(--ease-spring); }
.link-arrow:hover .i { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* icon badge – the green ring circle from the mockups */
.badge-icon {
  display: grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lime-500), var(--lime-600) 70%);
  color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 10px 22px -10px rgba(3, 18, 10, .6);
}
.badge-icon .i { width: 30px; height: 30px; stroke-width: 1.8; }
.badge-icon--sm { width: 48px; height: 48px; }
.badge-icon--sm .i { width: 22px; height: 22px; }
.badge-icon--soft { background: var(--lime-200); color: var(--forest-800); box-shadow: none; }

/* check list */
.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 24px; height: 24px; margin-top: .05em; border-radius: 50%;
  background: var(--lime-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303120a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- decorative "light beams" (the diagonal strokes of the mockups) ---------- */
.beams { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.beams::before, .beams::after {
  content: ""; position: absolute; top: -30%; height: 160%; width: 22%;
  background: linear-gradient(90deg, transparent, rgba(124, 194, 46, .16) 45%, rgba(124, 194, 46, .05) 70%, transparent);
  transform: skewX(-28deg); transform-origin: top;
}
.beams::before { left: 18%; }
.beams::after { left: 46%; width: 11%; opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .beams::before { animation: beam-drift 18s ease-in-out infinite alternate; }
  .beams::after { animation: beam-drift 24s ease-in-out infinite alternate-reverse; }
}
@keyframes beam-drift { to { translate: 8vw 0; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: #fff;
  transition: background-color .4s var(--ease-out), box-shadow .4s, transform .45s var(--ease-out), backdrop-filter .4s;
  view-transition-name: site-header;
}
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header.is-scrolled, body[data-header="solid"] .site-header {
  background: rgba(7, 34, 19, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line-light), 0 18px 40px -30px rgba(0, 0, 0, .8);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 50px; width: auto; transition: height .35s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 44px; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: block; padding: 10px 12px; font-weight: 550; font-size: 1.02rem; text-decoration: none;
  color: rgba(255, 255, 255, .92); transition: color .2s;
}
.nav__link::after {                  /* hand-drawn underline that wipes in */
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4C20 2 45 1.5 60 2.5S88 4.5 99 2' fill='none' stroke='%237cc22e' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--lime-400); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { clip-path: inset(0 0 0 0); }
.has-menu .nav__link { padding-right: 4px; }
.nav__toggle {
  display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .85); border-radius: 8px;
}
.nav__toggle .i { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.nav__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% + 10px); left: -8px; z-index: 10;
  display: grid; grid-template-columns: minmax(250px, auto) 230px; gap: 8px;
  padding: 10px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 70px -24px rgba(3, 18, 10, .55), 0 0 0 1px rgba(3, 18, 10, .06);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: 20% 0;
  transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.menu--small { grid-template-columns: minmax(220px, auto); }
.has-menu.is-open .menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility 0s;
}
.menu__list { display: grid; gap: 2px; }
.menu__link {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
  text-decoration: none; font-weight: 550; font-size: .98rem; white-space: nowrap;
  transition: background-color .2s, transform .3s var(--ease-out);
}
.menu__link:hover, .menu__link:focus-visible { background: var(--paper); transform: translateX(3px); }
.menu__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--green-ink); background: rgba(124, 194, 46, .14); }
.menu__icon .i { width: 19px; height: 19px; }
.menu__aside {
  display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: 12px;
  background: linear-gradient(160deg, var(--forest-800), var(--forest-950)); color: var(--on-dark); font-size: .92rem; line-height: 1.45;
}
.menu__hand { font-size: 1.55rem; color: var(--lime-400); }
.menu__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; text-decoration: none; color: #fff; }
.menu__aside .link-arrow { color: var(--lime-400); font-size: .92rem; margin-top: 4px; }

.site-header__cta { flex: none; }

.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; padding: 0; }
.burger__lines { display: grid; gap: 5px; width: 22px; margin: auto; }
.burger__lines span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out), opacity .2s; }
.burger__lines span:nth-child(3) { width: 65%; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(3, 18, 10, .55); }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 12px) 24px 32px;
  background: linear-gradient(170deg, var(--forest-850), var(--forest-950)); color: var(--on-dark);
}
.drawer.is-open .drawer__panel { animation: drawer-in .5s var(--ease-out) both; }
.drawer.is-open .drawer__list > li { animation: rise .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.drawer__list { display: grid; }
.drawer__list a, .drawer__group summary {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 650; text-decoration: none; cursor: pointer; list-style: none;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .i { transform: rotate(180deg); }
.drawer__group summary .i { transition: transform .3s; }
.drawer__group ul { padding: 6px 0 10px 14px; }
.drawer__group ul a { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; padding: 9px 0; border: 0; color: var(--on-dark-muted); }
.drawer__list a[aria-current="page"] { color: var(--lime-400); }
.drawer__foot { display: grid; gap: 14px; }
.drawer__contact { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; }
.drawer__hand { font-size: 1.5rem; color: var(--lime-400); }
body.has-drawer { overflow: hidden; }

@media (max-width: 1180px) {
  .site-header__inner { gap: 18px; }
  .nav__link { padding-inline: 9px; }
  .site-header__cta span { display: none; }
  .site-header__cta { width: 46px; padding: 0; }
}
@media (max-width: 1020px) {
  :root { --header-h: 72px; }
  .nav, .site-header__cta { display: none; }
  .burger { display: block; }
  .brand img { height: 42px; }
  .site-header.is-scrolled .brand img { height: 38px; }
}

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 62vh, 640px);
  padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 10, .96) 0%, rgba(4, 22, 12, .86) 34%, rgba(7, 34, 19, .35) 68%, rgba(7, 34, 19, .1) 100%),
    linear-gradient(0deg, rgba(3, 18, 10, .55), transparent 40%);
}
.page-hero__content { display: grid; gap: 20px; max-width: 720px; }
.page-hero .lead { color: var(--on-dark-muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--on-dark-muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--lime-400); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
@media (max-width: 720px) {
  .page-hero__media::after { background: linear-gradient(0deg, rgba(3, 18, 10, .97) 18%, rgba(4, 22, 12, .78) 55%, rgba(7, 34, 19, .35)); }
}
/* signature entrance: the photo is wiped in (squeegee pass) while the copy rises line by line */
.page-hero__media { animation: page-hero-wipe 1.5s var(--ease-in-out) .05s both; }
.page-hero__media img { animation: page-hero-settle 2.6s var(--ease-out) both; }
.page-hero__content > * { animation: page-hero-rise .9s var(--ease-out) both; }
.page-hero__content > :nth-child(1) { animation-delay: .25s; }
.page-hero__content > :nth-child(2) { animation-delay: .35s; }
.page-hero__content > :nth-child(3) { animation-delay: .45s; }
.page-hero__content > :nth-child(4) { animation-delay: .55s; }
.page-hero__content > :nth-child(5) { animation-delay: .65s; }
.page-hero__content > :nth-child(n+6) { animation-delay: .75s; }
@keyframes page-hero-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes page-hero-settle { from { transform: scale(1.08); } }
@keyframes page-hero-rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- service card (mockup "Dienstleistungen" tile) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 470px; padding: 26px 26px 24px;
  border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
  background: var(--forest-900); box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.svc-card__media { position: absolute; inset: 0; z-index: -2; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform 1.2s var(--ease-out), filter .6s; }
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3, 18, 10, .9) 0%, rgba(3, 18, 10, .62) 48%, rgba(3, 18, 10, .05) 82%),
              linear-gradient(0deg, rgba(3, 18, 10, .6), transparent 45%);
}
.svc-card::after {                   /* diagonal light streak, travels on hover */
  content: ""; position: absolute; top: -20%; left: 28%; width: 18%; height: 140%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(124, 194, 46, .22), transparent);
  transform: skewX(-26deg); transition: transform 1s var(--ease-out), opacity .6s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card:hover::after { transform: skewX(-26deg) translateX(160%); }
.svc-card .badge-icon { margin-bottom: 6px; }
.svc-card__title { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.85rem); font-weight: 720; letter-spacing: -.02em; }
.svc-card__title a { text-decoration: none; }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.svc-card__sub { color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.45; max-width: 30ch; }
.svc-card .checks { gap: 7px; font-size: .95rem; max-width: 32ch; }
.svc-card .checks li::before { width: 21px; height: 21px; background-size: 13px; }
.svc-card .checks li { grid-template-columns: 21px 1fr; gap: 10px; }
.svc-card__more {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px; background: var(--lime-500); color: var(--forest-950); font-weight: 650; font-size: .98rem;
  transition: background-color .25s, gap .35s var(--ease-spring);
}
.svc-card:hover .svc-card__more { background: var(--lime-400); gap: 16px; }
.svc-card:focus-within { outline: 3px solid var(--lime-500); outline-offset: 3px; }
.svc-card:focus-within a:focus-visible { outline: none; }

/* card without photo: hand-drawn illustration on forest */
.svc-card--sketch .svc-card__media { display: grid; place-items: end; padding: 18px; }
.svc-card--sketch .svc-card__media svg { width: 64%; height: auto; color: rgba(124, 194, 46, .55); }

/* ---------- values bar ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.values__item { display: flex; gap: 16px; align-items: flex-start; padding: 6px 26px; }
.values__item + .values__item { border-left: 1px solid var(--line-light); }
.values__icon { width: 46px; height: 46px; flex: none; fill: none; stroke: var(--lime-500); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.values__title { font-size: 1.15rem; font-weight: 650; margin-bottom: 4px; letter-spacing: -.01em; }
.values p { font-size: .94rem; line-height: 1.45; color: var(--on-dark-muted); }
.values__item:hover .values__icon { animation: wiggle .6s var(--ease-out); }
@keyframes wiggle { 25% { rotate: -8deg; } 60% { rotate: 6deg; } }
@media (max-width: 980px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .values__item:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .values__item { padding-inline: 0; }
  .values__item + .values__item { border-left: 0; border-top: 1px solid var(--line-light); padding-top: 18px; }
}

/* ---------- handwritten notes, tape, doodles ---------- */
.note {
  position: relative; padding: 20px 22px; border-radius: 6px 18px 8px 16px;
  background: #fffdf4; color: var(--forest-900); box-shadow: 0 18px 30px -18px rgba(3, 18, 10, .5);
  font-family: var(--font-hand); font-size: 1.6rem; line-height: 1.12; rotate: -2deg;
}
.note--quote {
  background: linear-gradient(150deg, rgba(31, 98, 55, .92), rgba(10, 43, 24, .94));
  color: #fff; border: 1px solid rgba(183, 224, 122, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.note--quote .i { width: 40px; height: 40px; color: var(--lime-500); margin-bottom: 8px; }
.tape {
  position: absolute; width: 92px; height: 26px; top: -12px; left: 50%; translate: -50% 0; rotate: -4deg;
  background: rgba(216, 239, 181, .78); box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px)), repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 5px);
}
.doodle { position: absolute; pointer-events: none; fill: none; stroke: var(--lime-500); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- polaroid (team) ---------- */
.polaroids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
@media (max-width: 860px) { .polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .polaroids { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }
.polaroid {
  --tilt: -2deg;
  position: relative; padding: 14px 14px 18px; background: #fffdf8; color: var(--ink);
  border-radius: 4px; box-shadow: 0 2px 3px rgba(3, 18, 10, .08), 0 24px 44px -26px rgba(3, 18, 10, .55);
  rotate: var(--tilt); transition: rotate .6s var(--ease-spring), translate .6s var(--ease-spring), box-shadow .6s;
}
.polaroid:nth-child(2) { --tilt: 1.6deg; margin-top: 28px; }
.polaroid:nth-child(3) { --tilt: -1deg; margin-top: 8px; }
.polaroid:hover { rotate: 0deg; translate: 0 -8px; box-shadow: 0 2px 3px rgba(3, 18, 10, .08), 0 36px 60px -30px rgba(3, 18, 10, .6); }
.polaroid__photo { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.polaroid__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transition: transform 1s var(--ease-out); }
.polaroid:hover .polaroid__photo img { transform: scale(1.04); }
.polaroid__name { margin-top: 12px; font-family: var(--font-hand); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--forest-800); }
.polaroid__role { margin-top: 4px; font-size: .92rem; font-weight: 600; color: var(--green-ink); }
.polaroid__place { font-size: .88rem; color: var(--muted); }

/* ---------- sketched Swiss map ---------- */
.ch-map svg { width: 100%; height: auto; overflow: visible; }
.ch-map__outline { fill: rgba(124, 194, 46, .07); stroke: var(--forest-700); stroke-width: 1.6; stroke-linejoin: round; }
.section--dark .ch-map__outline { stroke: rgba(183, 224, 122, .75); fill: rgba(124, 194, 46, .06); }
.ch-map__route { fill: none; stroke: var(--lime-500); stroke-width: 1.6; stroke-dasharray: 3 5; stroke-linecap: round; }
.ch-map__traveller { fill: var(--lime-500); }
.ch-map__pin path { fill: var(--forest-800); stroke: #fff; stroke-width: 1.2; }
.section--dark .ch-map__pin path { fill: var(--lime-500); stroke: var(--forest-900); }
.ch-map__pin-dot { fill: #fff; }
.section--dark .ch-map__pin-dot { fill: var(--forest-900); }
.ch-map__pulse { fill: var(--lime-500); opacity: 0; transform-box: fill-box; transform-origin: center; }
.ch-map__label { font-family: var(--font-hand); font-size: 15px; font-weight: 700; fill: var(--forest-800); }
.section--dark .ch-map__label { fill: var(--lime-300); }
.js .ch-map__pin { opacity: 0; }
.ch-map.is-in .ch-map__pin { animation: pin-drop .7s var(--ease-spring) both; animation-delay: calc(1.2s + var(--d) * .25s); }
.ch-map.is-in .ch-map__pulse { animation: pin-pulse 2.6s ease-out infinite; animation-delay: calc(2s + var(--d) * .3s); }
@keyframes pin-drop { from { opacity: 0; translate: 0 -18px; } to { opacity: 1; translate: 0 0; } }
@keyframes pin-pulse { 0% { opacity: .45; scale: .4; } 100% { opacity: 0; scale: 2.2; } }

/* ---------- marquee ---------- */
.marquee { --speed: 46s; position: relative; overflow: hidden; padding-block: 18px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.marquee__item svg { width: .7em; height: .7em; color: var(--lime-500); fill: currentColor; flex: none; }
.marquee__item:nth-child(even) { font-family: var(--font-hand); font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.3rem); color: var(--green-ink); }
.section--dark .marquee__item:nth-child(even) { color: var(--lime-400); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee var(--speed) linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: 22px 22px 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 750; line-height: 1; letter-spacing: -.03em; color: var(--forest-800); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .5em; letter-spacing: 0; margin-left: 2px; color: var(--green-ink); }
.stat__label { margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.4; }

/* ---------- process steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px;
  font-family: var(--font-hand); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--lime-600);
}
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { font-size: .98rem; color: var(--muted); line-height: 1.5; }
.steps__path { position: absolute; left: 4%; right: 4%; top: -34px; width: 92%; height: 60px; fill: none; stroke: var(--lime-500); stroke-width: 2.2; stroke-dasharray: 2 9; stroke-linecap: round; pointer-events: none; }
@media (max-width: 960px) { .steps__path { display: none; } }

/* ---------- CTA band ---------- */
.cta { padding-block: var(--section-y); overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta__text { display: grid; gap: 22px; justify-items: start; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .95rem; color: var(--on-dark-muted); }
.cta__media { position: relative; max-width: 440px; justify-self: end; }
.cta__media picture img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius-l); box-shadow: var(--shadow-2); }
.cta__media .note { position: absolute; left: -64px; bottom: 34px; max-width: 270px; font-size: 1.75rem; }
@media (max-width: 900px) {
  .cta__grid { grid-template-columns: 1fr; }
  .cta__media { justify-self: center; width: min(420px, 100%); }
  .cta__media .note { left: auto; right: -8px; bottom: -28px; max-width: 240px; font-size: 1.5rem; }
}

/* live open/closed indicator */
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--on-dark); }
.status-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa59e; flex: none; }
.status-dot.is-open::before { background: var(--lime-500); box-shadow: 0 0 0 0 rgba(124, 194, 46, .6); animation: status-pulse 2s infinite; }
.section:not(.section--dark) .status-dot { color: var(--ink); }
@keyframes status-pulse { 70% { box-shadow: 0 0 0 10px rgba(124, 194, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 194, 46, 0); } }

/* ---------- forms (shared base) ---------- */
.field { display: grid; gap: 8px; }
.field__label { font-weight: 650; font-size: .95rem; }
.field__label .req { color: var(--green-ink); }
.input-wrap { position: relative; }
.input-wrap > .i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 19px; height: 19px; color: var(--muted); pointer-events: none; transition: color .2s; }
.input-wrap--area > .i { top: 18px; translate: 0 0; }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px 14px 48px; border-radius: 12px;
  border: 1.5px solid var(--paper-3); background: var(--paper); color: var(--ink); font-size: 1rem;
  transition: border-color .2s, background-color .2s, box-shadow .25s;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #7d877f; }
.input:hover { border-color: #cdc8b6; }
.input:focus { outline: none; border-color: var(--lime-600); background: #fff; box-shadow: 0 0 0 4px rgba(124, 194, 46, .22); }
.input-wrap:focus-within > .i { color: var(--green-ink); }
.field.has-error .input { border-color: #b3261e; background: #fff7f6; }
.field__error { font-size: .88rem; color: #b3261e; font-weight: 600; }
.field__hint { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ (shared; build.mjs turns .faq__item into FAQPage schema) ---------- */
.faq-section__grid, .anfrage-faq__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-section__head, .anfrage-faq__head { display: grid; gap: 20px; justify-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; min-height: 44px;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 650; letter-spacing: -.01em;
  list-style: none; cursor: pointer; transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-ink); }
.faq__plus { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--lime-200); transition: background-color .3s, rotate .5s var(--ease-spring); }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.2px; border-radius: 2px;
  background: var(--forest-800); translate: -50% -50%; transition: rotate .45s var(--ease-spring);
}
.faq__plus::after { rotate: 90deg; }
.faq__item[open] .faq__plus { background: var(--lime-500); rotate: 180deg; }
.faq__item[open] .faq__plus::after { rotate: 0deg; }
.faq__body { padding: 0 56px 22px 0; color: var(--ink-2); max-width: 62ch; }
.faq__body a { color: var(--green-ink); font-weight: 600; }
.faq__item[open] .faq__body { animation: faq-open .5s var(--ease-out); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 900px) { .faq-section__grid, .anfrage-faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { padding-top: clamp(64px, 8vw, 110px); padding-bottom: 28px; overflow: hidden; }
.site-footer__claim { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-light); }
.site-footer__big { font-family: var(--font-display); font-size: clamp(2.2rem, 1.2rem + 4.6vw, 5.4rem); font-weight: 750; line-height: .98; letter-spacing: -.035em; max-width: 13ch; }
.site-footer__leaf { width: clamp(64px, 9vw, 120px); color: var(--lime-500); transform-origin: 50% 95%; flex: none; }
@media (prefers-reduced-motion: no-preference) { .site-footer__leaf { animation: sway 5s ease-in-out infinite; } }
@keyframes sway { 0%, 100% { rotate: -6deg; } 50% { rotate: 7deg; } }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.3fr; gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
@media (max-width: 1020px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer__brand { display: grid; gap: 18px; justify-items: start; align-content: start; color: var(--on-dark-muted); font-size: .98rem; }
.brand--footer img { height: 56px; }
.site-footer__h { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--lime-400); margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer__col ul { display: grid; gap: 9px; }
.site-footer__col a { text-decoration: none; color: var(--on-dark); transition: color .2s; }
.site-footer__col a:hover { color: var(--lime-400); text-decoration: underline; }
.site-footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--on-dark-muted); font-size: .97rem; line-height: 1.45; }
.site-footer__contact .i { margin-top: 2px; color: var(--lime-500); }
.site-footer__contact strong { color: var(--on-dark); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .9rem; color: var(--on-dark-muted); }
.site-footer__bottom ul { display: flex; gap: 22px; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--lime-400); text-decoration: underline; }
.site-footer__made { margin-left: auto; font-size: 1.35rem; color: var(--lime-400); }
.to-top {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line-light); color: #fff; transition: background-color .25s, transform .35s var(--ease-spring);
}
.to-top:hover { background: var(--lime-500); color: var(--forest-950); transform: translateY(-3px); }

/* ---------- toast (copy feedback etc.) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; translate: -50% 0;
  padding: 10px 20px 8px; border-radius: 14px; background: var(--forest-900); color: #fff;
  font-family: var(--font-hand); font-size: 1.5rem; box-shadow: var(--shadow-2);
  animation: toast 2.4s var(--ease-out) both;
}
@keyframes toast { 0% { opacity: 0; translate: -50% 16px; } 12%, 80% { opacity: 1; translate: -50% 0; } 100% { opacity: 0; translate: -50% -8px; } }

/* =========================================================================
   Motion: scroll reveals, wipe reveals, drawn lines
   ========================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
/* "wipe": an image gets wiped clean, like a squeegee pass over glass */
.js [data-reveal="wipe"] { opacity: 1; transform: none; }
.js [data-reveal="wipe"] > picture, .js [data-reveal="wipe"] > .wipe-target { clip-path: inset(0 100% 0 0 round var(--radius-l)); }
.js [data-reveal="wipe"].is-in > picture, .js [data-reveal="wipe"].is-in > .wipe-target {
  clip-path: inset(0 0 0 0 round var(--radius-l)); transition: clip-path 1.25s var(--ease-in-out);
}
.js [data-reveal="wipe"] > .note { opacity: 0; translate: 0 18px; }
.js [data-reveal="wipe"].is-in > .note { opacity: 1; translate: 0 0; transition: opacity .7s 1s var(--ease-out), translate .9s 1s var(--ease-spring); }
.js [data-draw] { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.js [data-draw].is-in, .js .is-in [data-draw] { stroke-dashoffset: 0; transition: stroke-dashoffset var(--draw-dur, 1.6s) var(--ease-in-out) var(--draw-delay, .1s); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal].is-in { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="wipe"] > picture, .js [data-reveal="wipe"] > .wipe-target { clip-path: none !important; }
  .js [data-reveal="wipe"] > .note { opacity: 1; translate: 0 0; }
  .js [data-draw] { stroke-dashoffset: 0 !important; }
  .js .ch-map__pin { opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  .site-header, .drawer, .cta, .site-footer__claim, .to-top, .beams { display: none !important; }
  .section--dark { background: none; color: #000; }
  body { background: #fff; }
}

/* ---------- service area block (service pages) ---------- */
.service-area { border-top: 1px solid var(--line); }
.service-area__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.service-area__body { display: grid; gap: 16px; color: var(--ink-2); }
.service-area__links { display: grid; gap: 8px; list-style: none; }
.service-area__contact { font-size: .95rem; color: var(--muted); }
.service-area__contact a { color: var(--green-ink); font-weight: 600; }
@media (max-width: 860px) { .service-area__grid { grid-template-columns: 1fr; } }

/* ---------- location pages ---------- */
.location-facts__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.location-facts__list { display: grid; gap: 14px; margin: 28px 0 22px; }
.location-facts__list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.location-facts__list dt { font-weight: 700; color: var(--green-ink); }
.location-facts__list dd { margin: 0; color: var(--ink-2); }
.location-facts__list a { color: var(--green-ink); font-weight: 600; }
.location-facts__person { max-width: 300px; justify-self: center; }
.chips a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: inherit; }
@media (max-width: 860px) { .location-facts__grid { grid-template-columns: 1fr; } .location-facts__list div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- callback request (in the CTA band) ---------- */
.callback { width: 100%; max-width: 640px; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.callback__toggle { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 650; color: #fff; }
.callback__toggle::-webkit-details-marker { display: none; }
.callback__chev { margin-left: auto; transition: rotate .3s var(--ease-out); }
.callback[open] .callback__chev { rotate: 180deg; }
.callback__form { display: grid; gap: 14px; padding: 4px 18px 18px; }
.callback__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.callback__field { display: grid; gap: 6px; font-size: .88rem; color: var(--on-dark-muted); }
.input--plain { padding-left: 14px; min-height: 48px; background: rgba(255, 255, 255, .95); }
.callback__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--on-dark-muted); }
.callback__consent input { margin-top: 3px; accent-color: var(--lime-500); width: 18px; height: 18px; flex: none; }
.callback__consent a { color: var(--lime-300); }
.callback__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.callback__status { font-size: .95rem; font-weight: 600; color: var(--lime-300); }
.callback__status.is-error { color: #ffb4a8; }
.callback.is-done .callback__form > :not(.callback__foot) { display: none; }
.callback.is-done .callback__foot .btn { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 720px) { .callback__row { grid-template-columns: 1fr; } }

/* review fixes 2026-10-05 */
.site-header.is-hidden { box-shadow: none; }
/* service tiles: keep text readable even where the photo's subject sits behind it */
.svc-card::before {
  background: linear-gradient(90deg, rgba(3, 18, 10, .94) 0%, rgba(3, 18, 10, .8) 52%, rgba(3, 18, 10, .2) 100%),
              linear-gradient(0deg, rgba(3, 18, 10, .7), transparent 50%);
}
