/* ---------------------------------------------------------------------------
 * Version:        0.3.5
 * Last edited by: Manara Studio
 * Date:           2026-09-17
 * Status:         Testing
 * Purpose:        Homepage layout (templates/front-page.php, spec section 5.1): photo hero with a
 *                 flat scrim, services rail (native scroller, upgraded to the drifting diagonal
 *                 staircase by home.js) + controls + progress, "Lihat semua layanan" band flood,
 *                 promises + Google reviews panel, Find us, closing CTA pill. Requires
 *                 assets/css/base.css (tokens, .band, .wrap, .frame, buttons, type).
 * Changelog:
 *   0.13.2 2026-10-12  Manara Studio  Owner: the storefront photo is the hero; the flat overlay goes 64% -> 56%.
 *   0.11.0 2026-10-11  Manara Studio  Rail buttons take the shared 8px corner (--r-ctl, base.css).
 *   0.3.5  2026-09-17  Manara Studio  Card names keep the .56 scrim on hover/focus; forest focus backing; promises head top-aligned; scrim tokens; thumbs will-change only while moving; hero CTA never starts invisible.
 *   0.3.4  2026-09-17  Manara Studio  No view()-timeline shutter reveal on rail card photos (it made the
 *                              photo look offset under the overlay while cards moved).
 *   0.3.3  2026-09-17  Manara Studio  Critique/audit round: hero footprint line in full cream (measured 3.43:1
 *                              before); solid forest backing on rail card ordinal and count; overlay
 *                              colours via --ground-rgb/--cream-rgb; will-change only on .is-moving.
 *   0.3.2  2026-09-17  Manara Studio  Polish: square hairline Trustindex review cards; 44px tap target on the
 *                              Find us branch link; rail footer is the progress line only.
 *   0.3.1  2026-09-17  Manara Studio  touch-action pan-y pinch-zoom; drift pause toggle; hardened CTA.
 *   0.3.0  2026-09-17  Manara Studio  Owner homepage round: section 2b staircase + drift pause toggle; "Lihat semua
 *                              layanan" on the H2 ladder with a direction-aware forest flood
 *                              (underline removed); .home-reviews cream panel for Trustindex;
 *                              linked Find us names; closing CTA hardened to one standard
 *                              pill in a ruled 7 / 5 record (the full-width pill felt out of place).
 *   0.1.0  2026-09-14  Manara Studio  First build.
 * Maintainer notes:
 *   - Styles only home-* classes plus the home-only rail pieces (.rail, .rail__item,
 *     .rail-controls, .rail-btn, .rail-progress, .rail-shell), always scoped under
 *     .home-services. Shared components belong in base.css, never here.
 *   - Tokens only: no new colours, 0px corners, 1px hairlines, no shadows, no gradients.
 *   - The staircase geometry reads --rail-gap, --rail-slope, --rail-pad and the drift speed
 *     --rail-drift (px per second) from .rail; home.js sets the stage height and --rail-angle
 *     (hairline). Change the look and pace here, not in JS.
 *   - Type steps 12/14/16/20/28/40/64/104 at 600px and 1024px only. No clamp().
 *   - Lime appears only on dark ground: the rail progress thumb ("you are here").
 *   - Rail card ordinal and count sit on photos, so each carries a solid forest backing (0.3.3).
 *   - .home-findus bleeds its photo to the left viewport edge at 1024px+ by dropping the wrap and
 *     padding the grid's right side to the wrap edge. Percent padding resolves against the section
 *     width, so the panel's right edge lines up with every other .wrap on the page.
 * --------------------------------------------------------------------------- */

/* ---------- 1. hero: full-bleed photo, flat scrim, centred copy ---------- */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ground);
  color: var(--cream);
}
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scrim-hero);
}
.home-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: max(560px, calc(100vh - var(--header-h)));
  min-height: max(560px, calc(100svh - var(--header-h)));
  max-height: none;
  padding-block: 96px;
  text-align: center;
}
.home-hero .display { max-width: 100%; }
.home-hero .sub {
  max-width: 40ch;
  margin-top: var(--s-5);
  text-wrap: balance;
}
.home-hero .cta-row {
  justify-content: center;
  margin-top: var(--s-6);
}
.home-hero__foot {
  color: var(--cream); /* 0.3.3: the 64% meta colour measured 3.43:1 on bright parts of the photo */
  max-width: 62ch;
  margin-top: var(--s-5);
}

@media (min-width: 1024px) {
  .home-hero .sub { margin-top: var(--s-6); }
  .home-hero .cta-row { margin-top: var(--s-7); }
}

/* ---------- 2. services rail ---------- */
.home-services__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s-4) var(--s-5);
}
.home-services__intro { min-width: 0; }
.home-services__intro .meta { margin-top: var(--s-4); }

.home-services .rail-controls {
  display: flex;
  gap: var(--s-2);
}
.home-services .rail-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-ctl);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.home-services .rail-btn .i { width: 16px; height: 16px; }
.home-services .rail-btn:hover:not(:disabled) {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ground);
}
.home-services .rail-btn:disabled {
  opacity: .35;
  cursor: default;
}

.home-services .rail {
  display: flex;
  gap: var(--s-4);
  margin: var(--s-7) 0 0;
  padding: 0;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) var(--gutter);
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.home-services .rail::-webkit-scrollbar { display: none; }
.home-services .rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  -webkit-user-select: none;
  user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  .home-services .rail { cursor: grab; }
}

.home-services .rail__item {
  flex: 0 0 78vw;
  min-width: 0;
  scroll-snap-align: start;
}

.home-card {
  position: relative;
  display: block;
  color: var(--cream);
  text-decoration: none;
  -webkit-user-drag: none;
}
.home-card:focus-visible { outline-offset: -4px; }
/* 0.3.5: a solid forest border under the inset lime ring, so the focus ring reads on any photo
   (it measured 1.4-2.2:1 against bright photos). The outline paints above this child. */
.home-card:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid var(--ground);
  pointer-events: none;
}
.home-card__media { display: block; }
.home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}
.home-card__scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim-card);
  pointer-events: none;
  transition: background-color .35s var(--ease);
}
.home-card__code {
  position: absolute;
  top: var(--s-4);
  left: var(--s-4);
  padding: 2px 6px;
  background: var(--ground);
  opacity: 1;
}
.home-card__name {
  position: absolute;
  top: 50%;
  left: var(--s-4);
  right: var(--s-4);
  margin: 0;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.home-card__meta {
  position: absolute;
  left: 50%;
  bottom: var(--s-4);
  padding: 4px 8px;
  background: var(--ground);
  white-space: nowrap;
  transform: translateX(-50%);
}

.home-services__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
}
.home-services .rail-progress {
  position: relative;
  flex: 1 1 160px;
  height: 3px;
}
.home-services .rail-progress::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
}
.home-services .rail-progress__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--lime);
}
.home-services.is-moving .rail-progress__thumb { will-change: transform; } /* 0.3.5: only while moving */

@media (min-width: 600px) {
  .home-services .rail { gap: var(--s-5); }
  .home-services .rail__item { flex-basis: 44vw; }
}
@media (min-width: 1024px) {
  .home-services .rail { margin-top: var(--s-8); }
  .home-services .rail__item { flex-basis: min(30vw, 440px); }
  .home-card__name { font-size: 40px; }
}

/* ---------- 2b. ledger staircase (home.js adds .is-staircase) ----------
   Cards stay upright and step up-left / down-right along one hairline through the stage centre.
   The strip loops; the card nearest the centre is bright, the rest sit under .home-card__shade. */
.home-services .rail-shell { position: relative; }
.home-card__shade {
  position: absolute;
  inset: 0;
  background: var(--ground);
  opacity: 0;
  pointer-events: none;
}

.home-services.is-staircase .rail {
  --rail-gap: 16px;
  --rail-slope: .2;
  --rail-pad: 24px;
  --rail-drift: 22;
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  overflow: clip;
  scroll-snap-type: none;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}
.home-services.is-staircase .rail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300vmax;
  height: 1px;
  background: var(--rule);
  transform: translate(-50%, -50%) rotate(var(--rail-angle, 0rad));
  pointer-events: none;
}
.home-services.is-staircase .rail__item {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 62vw;
  animation: none;
}
/* 0.3.4: no scroll-linked shutter reveal on rail photos (base.css .frame > img, view() timeline).
   Its progress follows each card's vertical position, so on the moving diagonal the photo scaled
   and clipped under the still overlay and looked offset from it. */
.home-services .home-card__media.frame > img { animation: none; }
/* Layer hint only while the strip is moving (home.js toggles .is-moving). */
.home-services.is-staircase .rail.is-moving .rail__item { will-change: transform; }
.home-services.is-staircase .home-card:hover .home-card__shade,
.home-services.is-staircase .home-card:focus-visible .home-card__shade {
  opacity: 0 !important; /* beats home.js's inline distance shade: the card under the pointer lights up */
  transition: opacity .35s var(--ease);
}
.home-services.is-staircase .rail-progress { overflow: hidden; }

/* Drift pause toggle (WCAG 2.2.2): rendered hidden, shown by home.js only when the strip drifts.
   aria-pressed="true" means paused, so the button then offers "play". */
.home-services .rail-btn[hidden] { display: none; }
.home-services .rail-btn__play,
.home-services .rail-btn[aria-pressed="true"] .rail-btn__pause { display: none; }
.home-services .rail-btn[aria-pressed="true"] .rail-btn__play { display: contents; }
.home-services .rail-btn__pause { display: contents; }

@media (min-width: 600px) {
  .home-services.is-staircase .rail { --rail-gap: 24px; }
  .home-services.is-staircase .rail__item { width: 38vw; }
}
@media (min-width: 1024px) {
  .home-services.is-staircase .rail { --rail-pad: 32px; }
  .home-services.is-staircase .rail__item { width: min(380px, max(300px, 24vw)); }
}

/* ---------- 3. "Lihat semua layanan": one link, whole block ----------
   Hover floods the row with forest from the side the pointer entered (home.js sets --flood-from
   and .is-flooded; :hover is the no-JS fallback). The flood reaches into the gutters. */
.home-all__link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title arrow"
    "count count"
    "spine spine";
  column-gap: var(--s-5);
  row-gap: var(--s-4);
  align-items: end;
  padding-block: var(--s-6);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: color .45s var(--ease);
}
.home-all__link::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  bottom: -1px;
  left: calc(var(--gutter) * -1);
  right: calc(var(--gutter) * -1);
  background: var(--ground);
  transform: scaleX(0);
  transform-origin: var(--flood-from, left) center;
  transition: transform .6s var(--ease);
}
.home-all__title {
  grid-area: title;
  min-width: 0;
  margin: 0;
  font-size: var(--h2);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.home-all__count { grid-area: count; }
.home-all__arrow {
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid currentColor;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.home-all__arrow .i { width: 20px; height: 20px; }
.home-all__link .spine {
  grid-area: spine;
  color: var(--meta);
  transition: color .45s var(--ease);
}
.home-all__link.is-flooded,
.home-all__link:focus-visible,
html:not(.js) .home-all__link:hover { color: var(--cream); }
.home-all__link.is-flooded::before,
.home-all__link:focus-visible::before,
html:not(.js) .home-all__link:hover::before { transform: scaleX(1); }
.home-all__link.is-flooded .spine,
.home-all__link:focus-visible .spine,
html:not(.js) .home-all__link:hover .spine { color: var(--meta-on-dark); }
.home-all__link.is-flooded .home-all__arrow,
.home-all__link:focus-visible .home-all__arrow,
html:not(.js) .home-all__link:hover .home-all__arrow {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ground);
}
.home-all__note { margin-top: var(--s-5); }

@media (min-width: 600px) {
  .home-all__link { padding-block: var(--s-7); }
  .home-all__arrow { width: 64px; height: 64px; }
  .home-all__arrow .i { width: 24px; height: 24px; }
}
@media (min-width: 1024px) {
  .home-all__link {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    grid-template-areas:
      "count title arrow"
      ".     spine .";
    column-gap: var(--s-6);
    row-gap: var(--s-4);
  }
  .home-all__title { align-self: baseline; }
  .home-all__count { align-self: baseline; }
  .home-all__arrow { grid-row: 1 / span 2; align-self: center; }
  .home-all__note { margin-top: var(--s-6); margin-left: calc(120px + var(--s-6)); }
}

@keyframes wxp-arrow-through {
  0% { transform: translateX(0); }
  45% { transform: translateX(170%); }
  46% { transform: translateX(-170%); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-all__link.is-flooded .home-all__arrow .i { animation: wxp-arrow-through .7s var(--ease); }
}

/* ---------- 4. promises ---------- */
.home-promises__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
}
.home-promises__intro { min-width: 0; }
.home-promises__proof { margin-top: var(--s-5); }
.home-promises__reviews { margin-top: var(--s-2); }
.home-promises__room { min-width: 0; }
.home-promises__room .caption { color: var(--meta); }

.home-promises__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.home-promises__item {
  display: grid;
  align-content: start;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-5) 0 var(--s-6);
  border-bottom: 1px solid var(--rule);
}
.home-promises__item .title { text-wrap: balance; }

/* Google reviews (Trustindex shortcode). Its "light background" widget needs a light ground, so it
   gets a cream panel: a band flip inside the dark section, like the forest bundle card on cream. */
.home-reviews {
  margin-top: var(--s-7);
  padding: var(--s-5) var(--s-4);
  background: var(--cream);
  color: var(--ink);
}
.home-reviews .ti-widget,
.home-reviews .ti-widget * { font-family: var(--f-sans) !important; }
/* The plugin draws rounded grey review cards; on this site only the WhatsApp pill is curved and
   separation is a hairline, so the cards become square, unfilled, hairline-ruled records.
   !important is needed against the plugin's generated stylesheet; avatars stay round (photos). */
.home-reviews__link { margin-top: var(--s-5); }
.home-reviews .ti-widget .ti-review-item > .ti-inner {
  border: 1px solid var(--line-cream) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 600px) {
  .home-reviews { padding: var(--s-6); }
  .home-promises__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-promises__item { padding: var(--s-5) var(--s-6) var(--s-6) 0; }
  .home-promises__item:nth-child(even) {
    padding-left: var(--s-6);
    padding-right: 0;
    border-left: 1px solid var(--rule);
  }
}
@media (min-width: 1024px) {
  .home-promises__head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: var(--s-8);
    align-items: start; /* 0.3.5: no empty forest above the head beside the tall room photo */
  }
  .home-promises__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: var(--s-8);
  }
  .home-reviews {
    margin-top: var(--s-8);
    padding: var(--s-7) var(--s-6);
  }
  .home-promises__item,
  .home-promises__item:nth-child(even) {
    padding: var(--s-5) var(--s-5) var(--s-6) 0;
    border-bottom: 0;
    border-left: 0;
  }
  .home-promises__item + .home-promises__item {
    padding-left: var(--s-5);
    border-left: 1px solid var(--rule);
  }
  .home-promises__item:last-child { padding-right: 0; }
}

/* ---------- 5. find us: photo bleeds left at 1024px+ ---------- */
.home-findus__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.home-findus__media { min-width: 0; }
.home-findus__frame { aspect-ratio: 16 / 10; }
.home-findus__panel { min-width: 0; }
.home-findus__panel .body { margin-top: var(--s-5); }
.home-findus__branches {
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.home-findus__branch {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  column-gap: var(--s-3);
  align-items: baseline;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
.home-findus__branch-main { min-width: 0; }
.home-findus__name {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.005em;
}
.home-findus__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px; /* touch target; the negative margins keep the 24px line in the row */
  margin-block: -10px;
  color: inherit;
  text-decoration: none;
}
.home-findus__link .i { transition: transform .35s var(--ease); }
.home-findus__link:hover > span:first-child,
.home-findus__link:focus-visible > span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.home-findus__link:hover .i,
.home-findus__link:focus-visible .i { transform: translateX(4px); }
.home-findus__branch .meta { margin-top: var(--s-1); }
.home-findus__branch .chip { align-self: center; }
.home-findus__empty { margin-top: var(--s-5); }
.home-findus__cta { margin-top: var(--s-6); }

@media (min-width: 1024px) {
  .home-findus__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: var(--s-8);
    align-items: center;
    max-width: none;
    padding-inline: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  }
  .home-findus__grid--text {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    max-width: var(--wrap);
    padding-inline: var(--gutter);
  }
  .home-findus__branch { grid-template-columns: 56px minmax(0, 1fr) auto; }
}

/* ---------- 7. closing CTA: one action, set in the ledger ----------
   Hairline-ruled 7 / 5 record: the head on the left, the body and the one standard WhatsApp pill in
   a column ruled off on the right (a hairline on top below 1024px). The pill opens the branch
   chooser in booking mode (WhatsApp or Zenwel per branch); without branches it is a plain wa.me
   link (front-page.php). Hardened: the pill may wrap a long translated label instead of
   overflowing a 320px screen, and the head breaks long words. */
.home-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
}
.home-cta__grid > * { min-width: 0; }
.home-cta__body {
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.home-cta .cta-row { margin-top: var(--s-6); }
.home-cta .home-cta__pill {
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

@media (min-width: 1024px) {
  .home-cta__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: var(--s-8);
    align-items: stretch;
    padding-top: var(--s-7);
  }
  .home-cta__body {
    padding-top: 0;
    padding-left: var(--s-6);
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
  .home-cta .cta-row { margin-top: var(--s-7); }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .home-services .rail { scroll-behavior: auto; }
  .home-services .rail-btn,
  .home-card__scrim,
  .home-all__link,
  .home-all__link::before,
  .home-all__link .spine,
  .home-all__arrow,
  .home-findus__link .i { transition: none; }
}

/* ==========================================================================
   Motion 0.2 "Cinematic storefront" (2026-09-17)
   The storefront settles into frame on load, then reframes as the hero scrolls away while the
   scrim deepens; the rail cards rise as they slide in and answer the pointer; the Find us photo
   drifts. Static without support; nothing with reduced motion.
   ========================================================================== */
@keyframes wxp-hero-settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes wxp-hero-reframe { to { transform: translateY(22%) scale(1.1); } }
@keyframes wxp-hero-scrim { to { background-color: var(--scrim-deep); } }
@keyframes wxp-hero-lift { to { transform: translateY(-18%); opacity: 0; } }
@keyframes wxp-settle-up { from { transform: translateY(12px); } }
@keyframes wxp-card-in { from { opacity: .35; transform: translateY(32px); } }
@keyframes wxp-parallax { from { transform: translateY(-7%) scale(1.16); } to { transform: translateY(7%) scale(1.16); } }

@media (prefers-reduced-motion: no-preference) {
  .home-hero__media img { transform-origin: 50% 30%; animation: wxp-hero-settle 2.2s var(--ease) both; }
  .site-main > .home-hero:first-child .cta-row { animation-delay: .6s; }
  .site-main > .home-hero:first-child .home-hero__foot { animation-delay: .8s; }
  /* 0.3.5 (audit): the booking pill and the proof lines never start invisible; they only settle
     upward, so a renderer that skips animations still shows the call to action. */
  .site-main > .home-hero:first-child .cta-row,
  .site-main > .home-hero:first-child .home-hero__foot { animation-name: wxp-settle-up; }

  .home-card__media img { transition: transform 1s var(--ease); }
  .home-card:hover .home-card__media img,
  .home-card:focus-visible .home-card__media img { transform: scale(1.07); }

  @supports (animation-timeline: view()) {
    .home-hero__media { animation: wxp-hero-reframe linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .home-hero__scrim { animation: wxp-hero-scrim linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .home-hero__content { animation: wxp-hero-lift linear both; animation-timeline: view(); animation-range: exit 10% exit 90%; }
    .home-services .rail > li { animation: wxp-card-in linear both; animation-timeline: view(inline); animation-range: entry 0% entry 70%; }
    .home-findus__media .frame > img { animation: wxp-parallax linear both; animation-timeline: view(); animation-range: cover; }
  }
}

/* ==========================================================================
   0.13.2 (2026-10-12; owner: storefront photo as the hero, the same flat overlay a bit lighter)
   Layout unchanged. The flat forest scrim goes from 64% to 56%.
   ========================================================================== */
.home-hero__scrim { background: rgba(var(--ground-rgb), .56); }
