/* MHDP: Movement Heals. Dance & Psychiatry
   Palette comes from the logo (assets/palette.json). */

:root {
  --navy: #082550;
  --teal: #06688F;
  --leaf: #3D8E84;
  --seafoam: #77B7AE;
  --sky: #8FC9E0;
  --mist: #E6F0F3;
  --pearl: #FBFAF5;
  --night: #061A3A;

  --ink: var(--navy);
  --ink-soft: #3A5472;
  --line: #C3D4DB;
  --accent: var(--teal);
  --focus: var(--teal);

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --sec: clamp(4.5rem, 10vw, 9rem);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 76px;

  --shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -22px rgba(8, 37, 80, 0.45);
  --wx: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pearl);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--seafoam); color: var(--night); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 8px); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h3, h4, .soon__list .name { font-weight: 600; }
p { margin: 0; text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--pearl); color: var(--navy); padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600; transition: top 0.15s var(--ease); }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.7rem;
  font: 600 1rem/1.2 var(--font-text); letter-spacing: 0.01em;
  color: #fff; background: var(--teal);
  border: 2px solid var(--teal); border-radius: 999px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), transform 0.12s var(--ease), border-color 0.16s var(--ease);
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn:active { transform: scale(0.97); }
.btn--light { color: var(--navy); background: var(--pearl); border-color: var(--pearl); }
.btn--light:hover { background: var(--seafoam); border-color: var(--seafoam); color: var(--night); }
.btn--ghost { color: var(--navy); background: transparent; border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--pearl); }
.btn .ico { width: 1.1em; height: 1.1em; flex: none; }

.badge {
  display: inline-block; padding: 0.28rem 0.85rem; border-radius: 999px;
  font: 600 0.8125rem/1.3 var(--font-text); letter-spacing: 0.04em;
  background: var(--mist); color: var(--navy); border: 1px solid var(--line);
}
.badge--now { background: #2A6E66; color: #fff; border-color: #2A6E66; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--gutter);
  color: var(--pearl);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-solid {
  color: var(--navy);
  background: rgba(251, 250, 245, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand .emb-light { display: none; }
.nav.is-solid .brand .emb-light { display: block; }
.nav.is-solid .brand .emb-dark { display: none; }
.brand__word { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: 0.06em; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  font-weight: 500; text-decoration: none; padding: 0.8rem 0.1rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.25s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a[aria-current="true"] { background-size: 100% 2px; }
.nav .btn { min-height: 44px; padding: 0.55rem 1.35rem; }
.nav:not(.is-solid) .btn { background: var(--pearl); color: var(--navy); border-color: var(--pearl); }
.nav:not(.is-solid) .btn:hover { background: var(--seafoam); border-color: var(--seafoam); }
.nav__toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.75rem; background: var(--pearl); color: var(--navy);
    box-shadow: 0 24px 40px -24px rgba(8, 37, 80, 0.5);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.2s, visibility 0s 0.25s;
  }
  .nav--open .nav__links { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav--open { background: var(--pearl); color: var(--navy); }
  .nav--open .brand .emb-light { display: block; }
  .nav--open .brand .emb-dark { display: none; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn) { display: block; padding: 1rem 0; font-size: 1.15rem; }
  .nav__links li:last-child { border: 0; padding-top: 1.25rem; }
  .nav__links .btn { width: 100%; background: var(--teal) !important; color: #fff !important; border-color: var(--teal) !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 230vh; background: var(--night); color: var(--pearl); --p: 0; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__media, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { transform: scale(calc(1 + var(--p) * 0.14)); transform-origin: 50% 62%; will-change: transform; }
.hero__video { opacity: 1; transition: opacity 0.7s ease; }
.hero__video.is-fading { opacity: 0; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 26, 58, 0.78) 0%, rgba(6, 26, 58, 0.5) 30%, rgba(6, 26, 58, 0) 58%),
    linear-gradient(0deg, rgba(6, 26, 58, 0.6) 0%, rgba(6, 26, 58, 0) 42%); }
.hero__veil { position: absolute; inset: 0; background: var(--night); opacity: calc(var(--p) * 0.5); pointer-events: none; }
.hero__copy {
  position: absolute; left: var(--gutter); bottom: clamp(3rem, 12vh, 8rem); right: var(--gutter); max-width: 40rem;
  opacity: max(0, min(1, calc(1 - (var(--p) - 0.5) * 4)));
  transform: translateY(calc(var(--p) * -5vh));
}
.hero h1 { font-size: clamp(2.7rem, 4.9vw, 4.7rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--pearl); }
.hero h1 .l2 { display: block; font-style: italic; font-weight: 400; font-size: 0.62em; letter-spacing: -0.005em; color: var(--sky); margin-top: 0.15em; }
.hero__lede { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--pearl); }
.hero__cta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__beat {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(3rem, 14vh, 9rem); max-width: 42rem;
  font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.08; color: var(--pearl);
  opacity: max(0, min(1, calc((var(--p) - 0.62) * 5)));
  transform: translateY(calc((1 - var(--p)) * 4vh)); pointer-events: none;
}
html:not(.js) .hero__beat, .hero--static .hero__beat { display: none; }
html:not(.js) .hero, .hero--static { height: 100svh; min-height: 36rem; }
html:not(.js) .hero__copy, .hero--static .hero__copy { opacity: 1; transform: none; }
html:not(.js) .hero__media, .hero--static .hero__media { transform: none; }
html:not(.js) .hero__veil, .hero--static .hero__veil { opacity: 0; }

@media (max-width: 899px) {
  .hero__scrim { background: linear-gradient(0deg, rgba(6, 26, 58, 0.88) 0%, rgba(6, 26, 58, 0.62) 42%, rgba(6, 26, 58, 0.08) 75%); }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .hero__copy { bottom: clamp(1.75rem, 7vh, 3rem); }
  .hero__lede { font-size: 1rem; margin-top: 1rem; }
  .hero__cta { margin-top: 1.4rem; }
  .hero__media { object-position: 50% 50%; }
  .hero__beat { font-size: clamp(1.9rem, 8.5vw, 2.8rem); }
}

/* ---------- Section waves (the signature "tide") ---------- */
.sec { position: relative; padding: var(--sec) var(--gutter); background: var(--sec-bg, var(--pearl)); --sec-bg: var(--pearl); overflow-x: clip; }
.sec--wave::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 64px; transform: translateY(-100%);
  background: var(--sec-bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40C200 10 400 10 600 40S1000 70 1200 40V64H0Z'/%3E%3C/svg%3E") repeat-x 0 100% / 1200px 64px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40C200 10 400 10 600 40S1000 70 1200 40V64H0Z'/%3E%3C/svg%3E") repeat-x 0 100% / 1200px 64px;
  -webkit-mask-position: var(--wx) 100%; mask-position: var(--wx) 100%;
  pointer-events: none;
}
.sec > .inner { position: relative; max-width: 76rem; margin: 0 auto; }
.sec--mist { --sec-bg: var(--mist); }
.sec--navy { --sec-bg: var(--navy); color: var(--pearl); --ink: var(--pearl); --ink-soft: #C9DAE4; --line: rgba(251, 250, 245, 0.28); --focus: var(--sky); }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.h2 em { font-style: italic; font-weight: 400; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 40rem; }

/* ---------- About ---------- */
.about { position: relative; z-index: 3; margin-top: -1px; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__fig { position: relative; margin: 0; padding: 0 0 1rem 0; }
.about__frame { position: relative; }
.about__ripple { position: absolute; inset: 8% -8% -5% 16%; border-radius: var(--radius); overflow: hidden; z-index: 0; transform: translateY(calc(var(--py, 0) * -34px)); }
.about__ripple img { width: 100%; height: 100%; object-fit: cover; }
.about__photo { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--mist); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.06) translateY(calc(var(--py, 0) * 14px)); }
.about__cap { position: relative; z-index: 2; margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; }
.about__text { max-width: 38rem; }
.about__text .h2 { margin-bottom: 1.75rem; }
.about__text p + p { margin-top: 1.15rem; }
.about__text .faith { padding-top: 0.2rem; }

@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__fig { max-width: 26rem; margin: 0 auto; width: 100%; }
}

/* ---------- Services ---------- */
.services { --sec-bg: var(--mist); }
.services__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__head .lead { margin-top: 1.1rem; }
.offer { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border-radius: var(--radius); overflow: hidden; background: var(--pearl); box-shadow: var(--shadow); }
.offer__img { position: relative; min-height: 22rem; overflow: hidden; }
.offer__img img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translateY(calc(var(--py, 0) * -4%)); }
.offer__body { padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.15rem; }
.offer__body .badge { align-self: flex-start; }
.offer__body h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.offer__body p { color: var(--ink-soft); }
.offer__body .btn { align-self: flex-start; margin-top: 0.5rem; }
.offer__note { font-size: 0.95rem; }

.soon { margin-top: clamp(3.5rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.soon h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.soon__intro p { margin-top: 0.9rem; color: var(--ink-soft); }
.soon__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.soon__list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.soon__list .name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.01em; }

.groups { margin-top: clamp(3.5rem, 7vw, 6rem); position: relative; }
.groups__head { margin-bottom: 2rem; max-width: 40rem; }
.groups__head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.groups__head p { margin-top: 0.9rem; color: var(--ink-soft); }
.rail { display: flex; gap: clamp(1rem, 2vw, 1.75rem); list-style: none; margin: 0; padding: 0.5rem 0 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--teal) var(--line); -webkit-overflow-scrolling: touch; }
.gcard { flex: 0 0 clamp(15rem, 62vw, 19rem); scroll-snap-align: start; }
.gcard__img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gcard h4 { font-size: 1.55rem; margin-top: 1rem; }
.gcard p { color: var(--ink-soft); font-size: 0.98rem; margin-top: 0.3rem; min-height: 3em; }
.gcard .badge { margin-top: 0.6rem; }
@media (hover: hover) and (pointer: fine) { .gcard:hover .gcard__img img { transform: scale(1.04); } }

/* pinned horizontal travel (desktop, motion allowed; added by JS) */
.groups.is-pinned { height: var(--pin-h, 220vh); margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.groups.is-pinned .groups__stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-left: var(--gutter); }
.groups.is-pinned .groups__head { margin-bottom: 1.5rem; }
.groups.is-pinned .rail { overflow: visible; padding-bottom: 0; transform: translate3d(calc(var(--pan, 0) * -1px), 0, 0); will-change: transform; width: max-content; }

.also { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 2.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.also h3 { font-size: 1.5rem; margin-right: 0.5rem; }
.also ul { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.also a { display: inline-flex; align-items: center; min-height: 48px; padding: 0.55rem 1.4rem; border: 1.5px solid var(--navy); border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color 0.16s var(--ease), color 0.16s var(--ease), transform 0.12s var(--ease); }
.also a:hover { background: var(--navy); color: var(--pearl); }
.also a:active { transform: scale(0.97); }

@media (max-width: 899px) {
  .offer { grid-template-columns: 1fr; }
  .offer__img { min-height: 15rem; }
  .soon { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__bg { position: absolute; inset: 0 0 0 auto; width: min(52%, 46rem); z-index: 0; opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact .inner { z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.contact .lead { margin-top: 1.25rem; color: var(--ink-soft); }
.contact .btn { margin-top: 2rem; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact__list dt { font-size: 0.9rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.contact__list a { font-family: var(--font-display); font-size: clamp(1.2rem, 2.1vw, 1.85rem); text-decoration: none; overflow-wrap: break-word; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.25s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }
.contact__list dd { margin: 0.2rem 0 0; }
@media (max-width: 899px) {
  .contact .inner { grid-template-columns: 1fr; }
  .contact__bg { width: 100%; opacity: 0.28; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%); mask-image: linear-gradient(180deg, transparent 0%, #000 70%); }
}

/* ---------- Scripture ---------- */
.verse { position: relative; overflow: hidden; background: var(--night); color: var(--pearl); text-align: center; padding: clamp(5rem, 12vw, 10rem) var(--gutter); isolation: isolate; }
.verse__bg { position: absolute; inset: -12% 0; z-index: -2; transform: translateY(calc((var(--py, 0.5) - 0.5) * 12%)); }
.verse__bg img { width: 100%; height: 100%; object-fit: cover; }
.verse::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 26, 58, 0.72); }
.verse blockquote { margin: 0 auto; max-width: 52rem; }
.verse blockquote p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.55rem, 3.2vw, 2.6rem); line-height: 1.28; letter-spacing: -0.005em; }
.verse cite { display: block; margin-top: 1.75rem; font-style: normal; font-weight: 500; letter-spacing: 0.08em; color: var(--sky); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--pearl); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 2rem; --focus: var(--sky); }
.footer__grid { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1.1fr 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer h2 { font-family: var(--font-text); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; color: var(--sky); margin-bottom: 1rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.75; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer li a { display: inline-block; padding: 0.6rem 0; min-width: 44px; }
.footer__logo { width: 8.5rem; height: auto; margin-bottom: 1.25rem; }
.footer__tele { font-weight: 600; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 19rem; }
.footer__hours span:first-child { color: #C9DAE4; }
.footer__safety { max-width: 76rem; margin: 3rem auto 0; padding: 1.25rem 1.5rem; border: 1.5px solid rgba(251, 250, 245, 0.45); border-radius: var(--radius-sm); font-weight: 600; }
.footer__legal { max-width: 76rem; margin: 1.5rem auto 0; font-size: 0.9rem; color: #C9DAE4; display: grid; gap: 0.5rem; }
@media (max-width: 899px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .wsplit .w { display: inline-block; opacity: 0; transform: translateY(0.55em); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 38ms); }
html.js .wsplit.in .w { opacity: 1; transform: none; }
html.js .reveal-img { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.1s var(--ease); }
html.js .reveal-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- Reduced motion: fewer and gentler, no travel ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv, html.js .wsplit .w { transform: none; transition: opacity 0.4s linear; }
  html.js .reveal-img { clip-path: none; }
  .about__ripple, .about__photo img, .offer__img img, .verse__bg { transform: none !important; }
  .hero__media { transform: none !important; }
}

.footer__legal a { display: inline-block; padding: 0.5rem 0; text-decoration: underline; font-weight: 600; color: var(--pearl); }
