.page-head { position: relative; isolation: isolate; overflow: clip; }
.page-head > .wrap { position: relative; z-index: 1; }
.light-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mask-image: linear-gradient(90deg, transparent 48%, #0008 78%, #000); }
.motion-switch {
  position: absolute; z-index: 2; right: max(1rem, calc((100% - 76rem) / 2)); bottom: .65rem;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.35rem; padding: .35rem .72rem;
  border: 1px solid #88b8a680; border-radius: 2rem; background: #0c1b1df2; color: #e0f8e9;
  font: inherit; font-size: .82rem; cursor: pointer;
}
.motion-switch[hidden] { display: none; }
.motion-switch:not(:focus-visible) { opacity:0; pointer-events:none; }
.motion-switch i { height: .7rem; width: .55rem; border-inline: 2px solid var(--mint); }
html[data-still] .motion-switch i { height: 0; width: 0; border: .34rem solid transparent; border-right: 0; border-left: .55rem solid var(--mint); }
.home-offer + .close { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  /* The page-entry curtain never captures input or delays normal navigation. */
  @keyframes lift-curtain {
    from { transform: translateY(-9%) skewY(-3deg); }
    to { transform: translateY(-112%) skewY(-3deg); }
  }
  html[data-page-entry]:not([data-still]) body::before {
    content: ""; position: fixed; z-index: 8; inset: -8vh 0 0; pointer-events: none;
    background: linear-gradient(to bottom, #102326 85%, #23493c 98.5%, #a7eac2 99%);
    transform-origin: right bottom; transform: translateY(-112%);
    animation: lift-curtain .48s cubic-bezier(.64,.02,.22,1) both;
  }
  @keyframes set-headline { from { transform: translateY(.28em) rotate(-1.4deg); } to { transform: none; } }
  .hero-copy h1, .page-head h1 { transform-origin: left bottom; animation: set-headline .75s cubic-bezier(.16,1,.3,1) both; }
  .button { transition: transform .2s ease-out, box-shadow .2s ease-out; }
  .button:is(:focus-visible,:active) { transform: translateY(-2px); box-shadow: 0 4px 0 #60927b70; }
  @media (hover: hover) {
    .button:hover { transform: translateY(-2px); box-shadow: 0 4px 0 #60927b70; }
    .rate-row { position: relative; isolation: isolate; }
    .rate-row::before { content: ""; position: absolute; z-index: -1; inset: 0 -.55rem; background: #dfefe4; transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
    .rate-row:is(:hover,:focus-within)::before { transform: scaleX(1); }
  }
  @supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
    @keyframes unfold-item { from { transform: translateY(1.25rem); opacity: .62; } to { transform: none; opacity: 1; } }
    .page-body :is(.rate-row, .about-grid article, .stage), .page-body > .package {
      transform-origin: center bottom;
      animation: unfold-item ease-out both; animation-timeline: view(); animation-range: entry 0% entry 83%;
    }
    .page-body :focus-within:is(.rate-row, .about-grid article, .stage, .package) { animation: none; }
  }
}
html[data-still] *, html[data-still] *::before, html[data-still] *::after { animation: none !important; transition: none !important; }
.locale-sample { position: relative; display: block; width: max-content; margin-top: .45rem; padding: .15rem .6rem; border: 1px solid #8caa99; border-radius: .25rem; overflow: clip; color: #284d39; font-weight: 600; }
.locale-sample span { display: block; }
.locale-sample span + span { display: none; }
@media (prefers-reduced-motion:no-preference) {
  html:not([data-still]) .locale-sample[data-roll] span:first-child { position: absolute; animation: sample-out .3s both; }
  html:not([data-still]) .locale-sample[data-roll] span + span { display: block; animation: sample-in .3s both; }
  @keyframes sample-in { from { opacity: 0; transform: translateY(90%); } to { opacity: 1; transform: none; } }
  @keyframes sample-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-90%); } }
}
