/* Motion hero: a soft teal-to-peach gradient panel, the cut-out model on the right, glass cards on the left. */
.wma-hero { --wh-ink: #22272e; --wh-teal: #2aa7bc; --wh-teal-dk: #1d8a9c; --wh-muted: #5f6b73; --wh-glass: rgba(255, 255, 255, .6); --wh-line: rgba(72, 190, 210, .28);
    padding: 1rem 1rem 0; font-family: 'Manrope', var(--_font-default); }
.wh-panel { position: relative; overflow: hidden; border-radius: 2.6rem; min-height: max(700px, calc(100svh - 2rem));
    background:
        radial-gradient(55% 70% at 12% 18%, rgba(72, 190, 210, .16) 0, rgba(72, 190, 210, 0) 70%),
        radial-gradient(50% 60% at 82% 28%, rgba(72, 190, 210, .12) 0, rgba(72, 190, 210, 0) 70%),
        radial-gradient(60% 60% at 55% 105%, rgba(34, 39, 46, .05) 0, rgba(34, 39, 46, 0) 70%),
        linear-gradient(135deg, #eef9fb 0%, #f7fcfd 45%, #e8f6f8 100%);
    color: var(--wh-ink); }

/* decoration: orbit lines and small dots */
.wh-orbit { position: absolute; border: 1px solid var(--wh-line); border-radius: 50%; pointer-events: none; }
.wh-orbit-1 { width: 640px; height: 640px; right: 4%; top: 12%; animation: wh-spin 60s linear infinite; }
.wh-orbit-2 { width: 260px; height: 260px; left: 46%; top: 46%; }
.wh-orbit-3 { width: 1100px; height: 1100px; right: -18%; top: -30%; opacity: .55; }
.wh-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: rgba(72, 190, 210, .45); box-shadow: 0 0 14px rgba(72, 190, 210, .6);
    animation: wh-float 6s ease-in-out infinite alternate; }

/* copy */
.wh-copy { position: relative; z-index: 6; width: min(46%, 640px); padding: 150px 0 50px 5rem; }
.wh-chip { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; color: var(--wh-muted); }
.wh-chip__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--wh-glass);
    border: 1px dashed rgba(72, 190, 210, .7); color: var(--wh-teal); font-size: 14px; }
.wma-hero h1 { font: 300 clamp(48px, 5.6vw, 96px)/1.02 'Manrope', sans-serif; letter-spacing: -.035em; text-transform: none; color: var(--wh-ink);
    margin: 26px 0 22px; }
.wma-hero h1 .wh-w.acc { color: var(--wh-teal); }
.wh-w { display: inline-block; white-space: nowrap; vertical-align: top; padding-bottom: .08em; }
/* each letter rises in a wave (one after another, tilted, blurred) and leaves upward the same way */
.wh-l { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.55em) rotate(10deg) scale(.92); transform-origin: 50% 100%;
    transition: opacity .7s, filter .7s, transform .9s cubic-bezier(.2, .8, .2, 1.15); transition-delay: calc(var(--i) * 32ms); }
[data-wh-split].in .wh-l { opacity: 1; filter: none; transform: none; }
[data-wh-split].out .wh-l { opacity: 0; filter: blur(6px); transform: translateY(-.45em) rotate(-8deg) scale(.96);
    transition-duration: .45s, .45s, .5s; transition-timing-function: ease, ease, cubic-bezier(.5, 0, .75, 0); transition-delay: calc(var(--i) * 16ms); }
.wma-hero h1 { min-height: 2.1em; }
.wh-lead { font-size: 16px; line-height: 1.6; color: var(--wh-muted); max-width: 430px; margin: 0 0 30px; }
.wh-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wh-cta { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; background: var(--wh-ink); color: #fff;
    font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(34, 39, 46, .15); transition: transform .3s; }
.wh-cta i { color: #7fd6e3; font-size: 18px; }
.wh-ghost { color: var(--wh-ink); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--wh-teal); padding-bottom: 2px; }
.wh-cta:hover, .wh-call:hover { transform: translateY(-2px); }
.wh-cta:hover { color: #fff; }
.wh-ghost:hover { color: var(--wh-teal-dk); }
.wh-call:hover { color: var(--wh-ink); }

/* glass cards */
.wh-cards { display: flex; gap: 14px; margin-top: 56px; }
.wh-card { width: 210px; padding: 18px 20px; border-radius: 24px; background: rgba(255, 255, 255, .8); color: var(--wh-ink);
    backdrop-filter: blur(14px); box-shadow: 0 20px 40px rgba(34, 80, 92, .08); border: 1px solid rgba(72, 190, 210, .14); }
.wh-card p { margin: 0; }
.wh-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.wh-card__top em { font-style: normal; font-weight: 500; font-size: 11px; padding: 3px 9px; border-radius: 99px; background: #dff4f7; color: var(--wh-teal-dk); }
.wh-card__num { font: 400 46px/1.05 'Manrope', sans-serif; letter-spacing: -.03em; margin: 18px 0 6px !important; }
.wh-card__num small { font-size: 16px; color: #6b8086; margin-left: 2px; }
.wh-card__note { font-size: 12px; color: #6b8086; }
.wh-call { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 6px 6px 6px 6px; border-radius: 99px;
    background: var(--wh-glass); backdrop-filter: blur(10px); color: var(--wh-ink); font-size: 13px; transition: transform .3s; }
.wh-call__ic, .wh-call__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wh-teal); }
.wh-call__go { background: rgba(255, 255, 255, .55); color: var(--wh-ink); }

/* the model */
.wh-model { position: absolute; z-index: 3; right: 2%; bottom: 0; width: min(60%, calc((100% - 110px) * 1.54)); max-height: 90%; aspect-ratio: 1388 / 900; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.wh-model canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s; }
.wh-model canvas.ready { opacity: 1; }
.wh-box { position: absolute; z-index: 4; width: 7.5%; aspect-ratio: 1; opacity: 0; transform: translate(-50%, -50%) scale(.6);
    transition: opacity .6s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.wh-box.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wh-box::before { content: ''; position: absolute; inset: 0; border: 1.5px solid #fff;
    -webkit-mask: linear-gradient(#000 0 0) top left / 30% 30% no-repeat, linear-gradient(#000 0 0) top right / 30% 30% no-repeat,
                  linear-gradient(#000 0 0) bottom left / 30% 30% no-repeat, linear-gradient(#000 0 0) bottom right / 30% 30% no-repeat;
            mask: linear-gradient(#000 0 0) top left / 30% 30% no-repeat, linear-gradient(#000 0 0) top right / 30% 30% no-repeat,
                  linear-gradient(#000 0 0) bottom left / 30% 30% no-repeat, linear-gradient(#000 0 0) bottom right / 30% 30% no-repeat; }
.wh-box span { position: absolute; left: calc(100% + 10px); top: 0; white-space: nowrap; padding: 7px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, .82); backdrop-filter: blur(8px); font-size: 11.5px; line-height: 1.3; color: var(--wh-ink);
    box-shadow: 0 8px 20px rgba(40, 90, 110, .12); }
.wh-box span b { display: block; font-weight: 600; color: var(--wh-teal); }
.wh-box.left span { left: auto; right: calc(100% + 10px); }

/* bubble, side numbers, pills */
.wh-bubble { position: absolute; z-index: 5; left: 41%; top: 63%; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .5); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .8); color: var(--wh-ink);
    font-weight: 600; font-size: 15px; box-shadow: 0 20px 50px rgba(40, 90, 110, .14); }
.wh-bubble > span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.wh-live { width: 8px; height: 8px; border-radius: 50%; background: var(--wh-teal); box-shadow: 0 0 0 4px rgba(72, 190, 210, .25); animation: wh-pulse 2s infinite; }
.wh-bubble__plus { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--wh-ink); }
.wh-side { position: absolute; z-index: 6; right: 3rem; top: 150px; display: flex; flex-direction: column; gap: 12px; }
.wh-mini { min-width: 200px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .62); backdrop-filter: blur(12px); color: var(--wh-ink);
    display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 30px rgba(40, 90, 110, .1); }
.wh-mini b { font: 500 26px/1 'Manrope', sans-serif; letter-spacing: -.02em; white-space: nowrap; }
.wh-mini span { white-space: nowrap; font-size: 11.5px; line-height: 1.35; color: #4f6970; }
.wh-pills { position: absolute; z-index: 6; right: 3rem; bottom: 2.4rem; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 360px; }
.wh-pill { padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(72, 190, 210, .35); color: var(--wh-ink); font-size: 13px; font-weight: 500;
    background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); transition: background .3s, color .3s; }
.wh-pill::before { content: '• '; opacity: .7; }
.wh-pill.on, .wh-pill:hover { background: var(--wh-teal); border-color: var(--wh-teal); color: #fff; }

.wh-fade { opacity: 0; transform: translateY(16px); animation: wh-in .9s forwards cubic-bezier(.2, .7, .2, 1); }
@keyframes wh-in { to { opacity: 1; transform: none; } }
@keyframes wh-rise { to { transform: none; } }
@keyframes wh-spin { to { transform: rotate(360deg); } }
@keyframes wh-float { from { transform: translateY(0); } to { transform: translateY(-18px); } }
@keyframes wh-pulse { 50% { box-shadow: 0 0 0 8px rgba(72, 190, 210, 0); } }

@media (max-width: 1399px) {
    .wh-copy { padding-left: 3.4rem; width: 50%; }
    .wh-model { right: 0; }
    .wh-bubble { left: 42%; top: 66%; width: 130px; height: 130px; font-size: 13px; }
    .wh-side { right: 2rem; }
}
@media (max-width: 1099px) {
    .wma-hero { padding: .6rem .6rem 0; }
    .wh-panel { min-height: 0; border-radius: 2rem; display: flex; flex-direction: column; }
    .wh-copy { width: auto; padding: 110px 24px 0; }
    .wh-cards { margin-top: 34px; }
    .wh-card { flex: 1; width: auto; }
    .wh-model { position: relative; right: auto; max-height: none; width: 116%; margin: 20px -8% 0; }
    .wh-bubble, .wh-side, .wh-orbit-2 { display: none; }
    .wh-pills { position: absolute; left: 16px; right: 16px; bottom: 16px; max-width: none; justify-content: center; }
    .wh-box span { display: none; }
}
@media (max-width: 575px) {
    .wh-card { padding: 14px 16px; }
    .wh-card__num { font-size: 34px; }
    .wh-call { font-size: 12px; }
    .wh-pill:nth-child(n+5), .wh-card__top em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .wma-hero *, .wma-hero *::before, .wma-hero *::after { animation-duration: .01s !important; transition: none !important; }
}

/* the template colours paragraphs in dark mode; inside the light panel they keep the hero's own colours */
.wma-hero .wh-card p, .wma-hero .wh-card__num, .wma-hero .wh-card__top { color: var(--wh-ink); }
.wma-hero .wh-card__note, .wma-hero .wh-card__num small { color: #6b8086; }
.wma-hero .wh-chip, .wma-hero .wh-lead { color: var(--wh-muted); }
.wh-card__top em { white-space: nowrap; }
@media (max-width: 1099px) { .wh-card { flex: 1 1 0; min-width: 0; } }

/* ---------------- header: full width above the hero, its content on the hero's lines */
.wma-top { position: sticky; top: 0; z-index: 100; width: 100%; background: color-mix(in srgb, var(--base) 88%, transparent); backdrop-filter: blur(16px);
    border-bottom: 1px solid color-mix(in srgb, var(--t-bright) 8%, transparent); transition: box-shadow .3s; font-family: 'Manrope', var(--_font-default); }
.wma-top.is-scrolled { box-shadow: 0 10px 30px rgba(34, 80, 92, .1); }
.wma-top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; padding: 0 6rem; max-width: 1920px; margin: 0 auto; }
.wma-top__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--t-bright); }
.wma-top__logo img { width: 46px; }
.wma-top__logo i { font-style: normal; font-weight: 400; color: var(--accent); }
.wma-top__nav { display: flex; gap: 34px; }
.wma-top__nav a { position: relative; overflow: hidden; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--t-bright); }
.wma-top__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }
.wma-top__acts { display: flex; align-items: center; gap: 8px; }
.wma-top__icon { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--base-tint); color: var(--t-bright); font-size: 18px; }
.wma-top .mxd-color-switcher { position: relative; }
.wma-top__pill { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 99px; border: 0; cursor: pointer;
    background: var(--base-tint); color: var(--t-bright); font: 600 14px 'Manrope', sans-serif; transition: transform .25s; }
.wma-top__pill:hover { transform: translateY(-2px); }
.wma-top__pill i { font-size: 17px; color: var(--accent); }
.wma-top__pill.dark { background: #22272e; color: #fff; }
.wma-top__pill.dark i { color: #8fdbe7; }
.wma-top__burger { display: none; }

/* ---------------- hero under the header: the model stands from the very top of the panel */
.wma-hero { padding-top: 1rem; }
.wh-panel { min-height: max(680px, calc(100svh - 80px - 1rem)); }
.wh-copy { padding-top: 70px; }
.wh-side { top: 40px; }
.wh-model { top: 0; bottom: 0; right: 7%; height: 100%; width: auto; max-height: none; aspect-ratio: 865 / 1100; }
.wh-box { width: 10%; }

@media (max-width: 1399px) {
    .wma-top__in { padding: 0 4.4rem; }
    .wh-model { right: 2%; height: 100%; }
}
@media (max-width: 1199px) {
    .wma-top__in { padding: 0 2rem; }
    .wma-top__nav { gap: 22px; }
    .wh-side { display: none; }
}
@media (max-width: 1099px) {
    .wma-top__in { height: 68px; padding: 0 calc(.6rem + 16px); }
    .wma-top__burger { display: grid; }
    .wma-top__pill span { display: none; }
    .wma-top__pill { padding: 0 14px; }
    .wma-top__nav { position: fixed; left: 10px; right: 10px; top: 76px; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 24px;
        background: var(--base); box-shadow: 0 20px 50px rgba(34, 80, 92, .15); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s; }
    .wma-top__nav a { font-size: 18px; padding: 10px 0; }
    body.wma-menu-open .wma-top__nav { opacity: 1; visibility: visible; transform: none; }
    .wma-hero { padding-top: .6rem; }
    .wh-copy { padding-top: 40px; }
    .wh-model { position: relative; top: auto; bottom: auto; right: auto; height: auto; width: min(100%, 520px); margin: 20px auto 0; }
}
@media (max-width: 575px) {
    .wma-top__logo span { display: none; }
}

/* hero backdrop: pale teal silk, a soft circle behind the model and water bubbles (the picture has its own circle and
   bubbles, so the drawn orbit lines and dots are hidden) */
.wh-panel { background: #dff1f4 url(../img/hero-bg.webp) right center / cover no-repeat; }
.wh-orbit, .wh-dot { display: none; }
@media (max-width: 1099px) {
    .wh-panel { background-position: 72% bottom; background-size: auto 100%; }
}

/* ---------------- header like the example: no bar of its own at the top of the page, a soft glass bar once you scroll */
.wma-top { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    transition: background .3s, box-shadow .3s, border-color .3s; }
.wma-top.is-scrolled { background: color-mix(in srgb, var(--base) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom-color: color-mix(in srgb, var(--t-bright) 8%, transparent); }
.wma-top__nav a { font-size: 14px; }
.wma-top__nav a::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--accent);
    vertical-align: middle; transform: scale(0); transition: transform .25s; }
.wma-top__nav a:hover::before { transform: scale(1); }
.wma-top__nav sup { font-size: 9px; margin-left: 3px; top: -.7em; opacity: .65; }
.wma-top__cart { position: relative; }
.wma-top__book { gap: 12px; padding: 0 5px 0 20px; background: var(--base-tint); color: var(--t-bright); }
.wma-top__book i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #22272e; color: #8fdbe7; font-size: 16px; }
@media (max-width: 1099px) { .wma-top__book { padding: 0 5px; } }

/* ---------------- hero a little shorter */
.wh-panel { min-height: max(620px, calc(100svh - 80px - 6rem)); }
.wma-hero h1 { margin: 20px 0 16px; }
.wh-lead { margin-bottom: 24px; }
.wh-copy { padding-bottom: 34px; }

/* ---------------- treatments that change like slides: a photo card and a price card */
.wh-deck { position: relative; margin-top: 34px; width: 434px; height: 150px; }
.wh-slide { position: absolute; inset: 0; display: flex; gap: 14px; opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .6s, transform .6s cubic-bezier(.2, .7, .2, 1), visibility .6s; }
.wh-slide.on { opacity: 1; visibility: visible; transform: none; }
.wh-slide .wh-card { width: auto; flex: 1 1 0; height: 150px; position: relative; overflow: hidden; }
.wh-photo { padding: 0; display: block; background: linear-gradient(160deg, #e3f5f8, #c9e9ee); }
.wh-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.55);
    transform-origin: 50% 4%; transition: transform 4s ease-out; }
.wh-slide.on .wh-photo img { transform: scale(1.65); }
/* a treatment's own photo (not a cut-out): shown whole, centred */
.wh-photo--real img, .wh-slide.on .wh-photo--real img { transform: none; object-position: 50% 50%; }
.wh-dots { flex-wrap: wrap; gap: 4px; }
.wh-photo__go { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .85); color: var(--wh-ink); font-size: 13px; }
.wh-info { padding: 16px 18px; display: flex; flex-direction: column; }
.wh-info__name { margin: 12px 0 0 !important; font-size: 14px; font-weight: 600; color: var(--wh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-info .wh-card__num { font-size: 36px; margin: auto 0 0 !important; }
.wh-info .wh-card__top em { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.wh-add { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; background: var(--wh-ink); color: #8fdbe7; font-size: 14px; transition: transform .25s; }
.wh-add:hover { transform: scale(1.1); }
.wh-dots { position: absolute; left: 0; right: 0; bottom: -16px; display: flex; justify-content: center; gap: 5px; }
.wh-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(34, 39, 46, .18); transition: width .3s, background .3s; cursor: pointer; }
.wh-dots i.on { width: 18px; background: var(--wh-teal); }

/* the medical team under the slides */
.wh-team { display: flex; align-items: center; gap: 12px; width: 434px; margin-top: 30px; padding: 6px 6px 6px 8px; border-radius: 99px;
    background: rgba(255, 255, 255, .62); backdrop-filter: blur(10px); color: var(--wh-ink); font-size: 13px; }
.wh-team__faces { display: flex; }
.wh-team__faces i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-left: -8px; font-size: 16px;
    background: #fff; color: var(--wh-teal); border: 2px solid #eaf7f9; }
.wh-team__faces i:first-child { margin-left: 0; }
.wh-team__txt { flex: 1; padding-left: 12px; border-left: 1px solid rgba(34, 39, 46, .12); line-height: 1.3; }
.wh-team__txt b { display: block; font-weight: 600; }
.wh-team__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wh-ink); transition: transform .25s; }
.wh-team__go:hover { transform: rotate(45deg); color: var(--wh-ink); }
@media (max-width: 1099px) {
    .wh-deck, .wh-team { width: auto; max-width: 480px; }
}
@media (max-width: 575px) {
    .wh-deck { height: 136px; }
    .wh-slide .wh-card { height: 136px; }
    .wh-slide { gap: 10px; }
    .wh-info { padding: 12px 14px; }
    .wh-info .wh-card__num { font-size: 28px; }
    .wh-add { width: 30px; height: 30px; right: 10px; bottom: 10px; }
}

/* ---------------- one background across the whole top: the hero runs edge to edge and the menu sits on it */
.wma-top { position: fixed; left: 0; right: 0; top: 0; }
/* over the light hero the menu keeps dark text and white glass buttons in both colour modes; once you scroll it follows the theme */
.wma-top:not(.is-scrolled) { --t-bright: #22272e; --base-tint: rgba(255, 255, 255, .7); --base: #fff; }
.wma-top:not(.is-scrolled) .wma-top__book { background: #22272e; color: #fff; }
.wma-top:not(.is-scrolled) .wma-top__book i { background: rgba(255, 255, 255, .14); }
.wma-hero { padding: 0; }
.wh-panel { border-radius: 0; min-height: max(680px, calc(100svh - 2rem)); background-position: right top; }
.wh-copy { padding-top: 150px; }
.wh-side { top: 120px; }
.wh-bubble { top: 58%; }

/* photo thumbnails at the top right */
.wh-thumb { position: relative; display: block; width: 150px; height: 104px; border-radius: 20px; overflow: hidden;
    background: linear-gradient(160deg, #eaf8fa, #cdebef); box-shadow: 0 14px 30px rgba(34, 80, 92, .12); border: 2px solid rgba(255, 255, 255, .8); }
.wh-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.7); transform-origin: 50% 6%;
    transition: transform .6s; }
.wh-thumb:hover img { transform: scale(1.85); }
.wh-thumb__go { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: #22272e; color: #fff; font-size: 12px; }
.wh-thumb__name { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .85);
    color: var(--wh-ink); font-size: 11px; font-weight: 600; white-space: nowrap; }
.wh-thumb:nth-child(2) .wh-thumb__go { left: auto; right: 8px; }

@media (max-width: 1099px) {
    .wh-panel { min-height: 0; }
    .wh-copy { padding-top: 110px; }
}
@media (min-width: 1100px) { .wh-model { top: 84px; height: calc(100% - 84px); } }

/* product slides a little taller; the old slide leaves quickly before the new one comes in, so the two never overlap */
.wh-deck, .wh-slide .wh-card { height: 180px; }
.wh-slide { transition: opacity .3s, transform .3s, visibility .3s; transform: translateY(-10px); }
.wh-slide.on { transition: opacity .55s .3s, transform .55s .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s; }
.wh-slide:not(.on) { transform: translateY(-10px); }
.wh-info__name { font-size: 15px; margin-top: 14px !important; }
@media (max-width: 575px) {
    .wh-deck, .wh-slide .wh-card { height: 164px; }
}
.wh-info .wh-card__num small { font-size: 14px; margin: 0 2px 0 0; }

/* the background runs edge to edge; the content sits in a narrower centred container, and the menu lines up with it */
.wh-panel { display: flex; }
.wh-in { position: relative; flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; }
.wh-copy { padding-left: 2rem; }
.wh-pills, .wh-side { right: 2rem; }
@media (min-width: 1100px) {
    .wma-top__in { max-width: 1320px; padding: 0 2rem; }
    .wh-model { right: 4%; }
}
@media (max-width: 1099px) {
    .wh-in { display: flex; flex-direction: column; }
    .wh-copy { padding-left: 24px; }
}

/* header in the font of wellnessmedart.com (Arapey), the logo and the menu a little larger */
.wma-top__logo { gap: 12px; font: 400 24px/1 'Arapey', Georgia, serif; letter-spacing: 0; }
.wma-top__logo img { width: 56px; }
.wma-top__nav a { font: 400 18px/1.2 'Arapey', Georgia, serif; letter-spacing: .01em; }
.wma-top__nav sup { font-size: 11px; }
@media (max-width: 1099px) { .wma-top__logo img { width: 48px; } .wma-top__nav a { font-size: 20px; } }
/* the hero headline in Arapey too, like the live site */
.wma-hero h1 { font: 400 clamp(50px, 5.8vw, 100px)/1.02 'Arapey', Georgia, serif; letter-spacing: -.01em; }

/* menu larger and darker so it reads well on the light hero */
.wma-top__nav { gap: 40px; }
.wma-top__nav a { font-size: 21px; color: #14181c; -webkit-text-stroke: .35px currentColor; }
.wma-top.is-scrolled .wma-top__nav a { color: #14181c; }
@media (max-width: 1199px) { .wma-top__nav { gap: 26px; } .wma-top__nav a { font-size: 19px; } }
@media (max-width: 1099px) { .wma-top__nav a { font-size: 22px; } }

/* the background comes alive: glass bubbles drift up and sway over the silk, two soft lights glide slowly across it */
.wh-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.wh-fx i { position: absolute; left: var(--x); bottom: -60px; width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 9%, rgba(255, 255, 255, .3) 22%, rgba(170, 228, 238, .18) 55%, rgba(110, 196, 212, .42) 100%);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, .85), inset -3px -4px 8px rgba(42, 167, 188, .25), 0 6px 16px rgba(40, 140, 160, .12);
    animation: wh-bubble var(--d) linear var(--w) infinite; }
@keyframes wh-bubble {
    0% { transform: translate(0, 0) scale(.7); opacity: 0; }
    8% { opacity: .9; }
    30% { transform: translate(18px, -32vh) scale(.9); }
    55% { transform: translate(-14px, -58vh) scale(1); }
    80% { transform: translate(12px, -82vh) scale(1.05); opacity: .8; }
    100% { transform: translate(-6px, -108vh) scale(1.1); opacity: 0; }
}
.wh-fx b { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; mix-blend-mode: screen; }
.wh-fx b:nth-child(1) { width: 520px; height: 260px; left: -10%; top: 18%; background: rgba(255, 255, 255, .9); animation: wh-glide 22s ease-in-out infinite alternate; }
.wh-fx b:nth-child(2) { width: 420px; height: 220px; right: -8%; bottom: 8%; background: rgba(205, 245, 250, .9); animation: wh-glide 28s ease-in-out -9s infinite alternate-reverse; }
@keyframes wh-glide { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(55vw, -10vh) rotate(6deg); } }
@media (max-width: 1099px) { .wh-fx i:nth-child(2n) { display: none; } }
@media (prefers-reduced-motion: reduce) { .wh-fx { display: none; } }

/* the clinic logo is tall (leaf vine and face): sized by height */
.wma-top__logo img { width: auto; height: 58px; }
@media (max-width: 1099px) { .wma-top__logo img { width: auto; height: 48px; } }
.wma-top__logo img { height: 70px; }
@media (max-width: 1099px) { .wma-top__logo img { height: 54px; } }
/* the logo a little larger again; the bar grows with it */
@media (min-width: 1100px) { .wma-top__in { height: 96px; } .wma-top__logo img { height: 84px; } .wh-model { top: 98px; height: calc(100% - 98px); } }
@media (max-width: 1099px) { .wma-top__logo img { height: 60px; } }

/* Russian and Spanish menu words are longer: a smaller font and tighter gaps on desktop, never wrapped */
.wma-top__nav a { white-space: nowrap; }
@media (min-width: 1100px) {
  html[lang="ru"] .wma-top__nav, html[lang="es"] .wma-top__nav { gap: 24px; }
  html[lang="ru"] .wma-top__nav a { font-size: 16px; -webkit-text-stroke: .25px currentColor; }
  html[lang="es"] .wma-top__nav a { font-size: 18px; }
  html[lang="ru"] .wma-top__logo span, html[lang="es"] .wma-top__logo span { white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1299px) {
  html[lang="ru"] .wma-top__nav, html[lang="es"] .wma-top__nav { gap: 16px; }
  html[lang="ru"] .wma-top__nav a { font-size: 15px; }
}
