/* MonaSmile — phones & tablets.
   Loaded last on every page. Scroll-pinned desktop scenes become normal flowing sections,
   carousels are native swipe strips, the header collapses into a menu. */

.nav-burger,.m-menu,.hero-mark,.tel-pop{display:none}

/* reels strip arrows (every screen size) */
.rl-nav{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 calc(4 * var(--vw))}
.rl-nav button{display:grid;place-items:center;border:0;border-radius:50%;cursor:pointer;transition:opacity .2s,transform .2s,background .2s}
.rl-nav button:active{transform:scale(.94)}
.rl-nav button:disabled{opacity:.35;pointer-events:none}
.rl-nav svg{width:18px;height:18px}
.rl-nav .rl-prev{width:44px;height:44px;background:#2a2a2a;color:#9d9c96}
.rl-nav .rl-next{width:60px;height:60px;background:var(--yellow);color:#111}
.rl-nav .rl-next svg{width:22px;height:22px}
@media (hover:hover){.rl-nav .rl-prev:hover{background:#353535;color:#efeee9}.rl-nav .rl-next:hover{transform:scale(1.05)}}

/* ── desktop reels: heading row, then one strip scrolled with the arrows (like phones) ── */
@media (min-width:901px){
  .kit[data-rail]{height:auto!important}
  .kit .kit-pin{position:relative;display:block;height:auto;min-height:0;overflow:visible}
  .kit-rail.cv.rl{--u:1px;display:flex;flex-direction:column;align-items:stretch;gap:36px;width:auto;height:auto;padding:clamp(36px,5vh,64px) 0 clamp(80px,11vh,120px);transform:none!important}
  .eq{padding-bottom:clamp(24px,4vh,48px)!important}
  .kit-rail .rl-head{width:auto;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:calc(6 * var(--vw));row-gap:18px;padding:0 calc(4 * var(--vw))}
  .kit-rail .rl-head .rl-label{grid-column:1 / -1;grid-row:1;font-size:13px;gap:12px}
  .kit-rail .rl-label i{width:8px;height:8px}
  .kit-rail .rl-title{grid-column:1;grid-row:2 / span 2;align-self:end;font-size:clamp(52px,calc(5.4 * var(--vw)),96px)}
  .kit-rail .rl-note{grid-column:2;grid-row:2;align-self:end;max-width:42ch;font-size:16px}
  .kit-rail .rl-cta{grid-column:2;grid-row:3;align-self:end;justify-self:start;padding:14px 22px;font-size:11px;gap:10px}
  .kit-rail .rl-rows{display:flex;flex-direction:row;gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 calc(4 * var(--vw));padding:0 calc(4 * var(--vw)) 6px;overscroll-behavior-x:contain;scrollbar-width:none}
  .kit-rail .rl-rows::-webkit-scrollbar{display:none}
  .kit-rail .rl-row{display:contents}
  .kit-rail .rl-tile{width:clamp(240px,calc(19 * var(--vw)),320px);height:auto;aspect-ratio:4/5;scroll-snap-align:start}
  .kit-rail .rl-more{padding:24px;gap:14px}
  .kit-rail .rl-more span{font-size:28px}
}
@keyframes heroMarkIn{from{opacity:0;transform:translate3d(-50%,14px,0)}to{opacity:.94;transform:translate3d(-50%,0,0)}}

/* ── touch screens and narrow windows: no scroll-jacked scenes (same test as touchUI in app.js) ── */
@media (hover:none) and (pointer:coarse),(max-width:900px){
  .name-pin{height:auto!important;min-height:0!important}
  .name-sticky{position:relative!important;height:auto!important;min-height:100svh}
  .name-lock,.name-expand{opacity:1;transform:none!important}
  .name-expand{clip-path:none}
  .name-body,.name-kick{opacity:1}
  .name-part{position:relative!important;inset:auto!important;margin:6vh 0;transform:none!important}
  .name-lock{position:relative!important;inset:auto!important;height:auto!important}
  .name-mark{display:none!important}

  .kit[data-rail]{height:auto!important}
  .kit-pin{position:relative;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .kit-pin::-webkit-scrollbar{display:none}
  .kit-rail{transform:none!important;will-change:auto!important}

  img{-webkit-touch-callout:none}
}

/* ── phones and portrait tablets ── */
@media (max-width:900px){
  html,body{overflow-x:clip}

  /* header: logo · book · menu */
  header{display:flex!important;align-items:center;justify-content:space-between;gap:12px;height:72px!important;padding:0 max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left))!important}
  header .nav-ways,header .callback,.nav-dd-panel{display:none!important}
  .logo{flex:none}
  .logo img,.logo img.logo-lockup{height:44px!important;width:auto;max-width:200px}
  header > .head-act{display:flex;align-items:center;gap:10px;margin-left:auto}
  /* header Book: one small solid yellow capsule, just the word */
  header .book.is-cta{--c:14px;display:inline-flex!important;width:auto;height:32px!important;padding:0 18px!important;gap:0!important;
    border:0!important;border-radius:999px;background:var(--yellow)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    box-shadow:none!important;font:600 10px/1 Montserrat,Arial,sans-serif!important;letter-spacing:.2em!important;color:#111!important;
    transition:background-color .25s,transform .25s!important}
  header .book.is-cta:before,header .book.is-cta .book-dot{display:none!important}
  header .book.is-cta:active{background:#c4a13c!important;transform:scale(.97)!important}
  header .book.is-cta .book-text{text-shadow:none!important;transform:none!important}
  header .book.is-cta .book-arrow{display:none!important}
  header .book.is-cta .book-label{position:static;width:auto;height:1.2em;overflow:hidden;clip:auto;white-space:nowrap}
  header .book-rest{display:none}

  /* Book carries a small ringing receiver; one tap opens every way to reach the clinic */
  header .book.is-cta{gap:8px!important;padding:0 16px 0 13px!important;animation:bookPing 4.8s cubic-bezier(.2,.7,.2,1) 1.6s infinite}
  header .book.is-cta:after{content:""!important;display:block!important;position:static!important;order:-1;flex:none;width:12px;height:12px;margin:0;
    background:#111!important;transform:none;transform-origin:50% 50%;border:0;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5h2.6l1.4 4-1.9 1.3a12 12 0 0 0 6.5 6.5l1.3-1.9 4 1.4v2.6a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5h2.6l1.4 4-1.9 1.3a12 12 0 0 0 6.5 6.5l1.3-1.9 4 1.4v2.6a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    animation:telRing 4.8s cubic-bezier(.36,.07,.19,.97) 1.6s infinite}
  header .book.is-cta.is-on{animation:none;background:#fbfaf7!important}
  header .book.is-cta.is-on:after{animation:none}
  @keyframes telRing{
    0%,14%,100%{transform:rotate(0)}
    2%{transform:rotate(-18deg)}4%{transform:rotate(15deg)}6%{transform:rotate(-12deg)}
    8%{transform:rotate(9deg)}10%{transform:rotate(-5deg)}12%{transform:rotate(2deg)}
  }
  @keyframes bookPing{
    0%{box-shadow:0 0 0 0 rgba(214,180,76,.55)}
    20%,100%{box-shadow:0 0 0 12px rgba(214,180,76,0)}
  }

  /* the contact panel, dropping from under the header */
  .tel-pop{display:block;position:fixed;z-index:25;top:calc(72px + 4px);right:max(12px,env(safe-area-inset-right));width:min(310px,calc(calc(100 * var(--vw)) - 24px));
    padding:6px;border:1px solid rgba(214,180,76,.32);border-radius:18px;background:rgba(14,14,14,.97);
    box-shadow:0 24px 60px rgba(0,0,0,.55);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
    opacity:0;transform:translate3d(0,-8px,0) scale(.96);transform-origin:calc(100% - 90px) 0;
    transition:opacity .22s ease,transform .34s cubic-bezier(.2,.7,.2,1)}
  .tel-pop[hidden]{display:none}
  .tel-pop.is-open{opacity:1;transform:none}
  .tel-pop.is-low{top:auto;right:auto;left:50%;bottom:calc(14px + 52px + 12px + env(safe-area-inset-bottom));
    transform:translate3d(-50%,10px,0) scale(.96);transform-origin:50% 100%}
  .tel-pop.is-low.is-open{transform:translate3d(-50%,0,0)}
  .dock.book.is-cta.is-open-pop{border-color:var(--yellow)}
  .tel-pop .tp-opt{display:flex;align-items:center;gap:14px;width:100%;margin:0;padding:12px;border:0;border-radius:12px;background:none;
    color:#efeee9;text-align:left;text-decoration:none;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;
    opacity:0;transform:translate3d(0,6px,0);transition:background-color .2s}
  .tel-pop.is-open .tp-opt{opacity:1;transform:none;transition:background-color .2s,opacity .35s ease var(--d,0s),transform .45s cubic-bezier(.2,.7,.2,1) var(--d,0s)}
  .tel-pop .tp-row{display:flex;align-items:center;gap:4px;border-top:1px solid #222}
  .tel-pop .tp-row .tp-opt{flex:1;min-width:0}
  .tel-pop .tp-row:nth-child(2) .tp-opt{--d:.04s}.tel-pop .tp-row:nth-child(3) .tp-opt{--d:.08s}
  .tel-pop .tp-copy{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;margin-right:4px;padding:0;border:1px solid #333;border-radius:50%;background:none;color:#efeee9;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .tel-pop .tp-copy svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
  .tel-pop .tp-copy small{position:absolute;right:calc(100% + 6px);top:50%;transform:translateY(-50%);padding:4px 8px;border-radius:6px;background:var(--yellow);color:#111;font:500 11px/1.2 Montserrat,Arial,sans-serif;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}
  .tel-pop .tp-copy.is-done{border-color:var(--yellow);color:var(--yellow)}
  .tel-pop .tp-copy.is-done small{opacity:1}
  .tel-pop.is-low{bottom:calc(62px + 10px + env(safe-area-inset-bottom))}
  .tel-pop .tp-opt:active{background:#1c1c1c}
  .tp-ico{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#242424;color:var(--yellow)}
  .tp-ico.is-wa{background:var(--yellow);color:#111}
  .tp-ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
  .tel-pop .tp-opt span{display:flex;flex-direction:column;gap:5px;min-width:0}
  .tel-pop .tp-opt b{font:500 14px/1.1 Montserrat,Arial,sans-serif;letter-spacing:.02em}
  .tel-pop .tp-opt em{font:400 11px/1.2 Montserrat,Arial,sans-serif;font-style:normal!important;color:#8d8c86}
  @media (prefers-reduced-motion:reduce){header .book.is-cta,header .book.is-cta:after{animation:none}.tel-pop,.tel-pop .tp-opt{transition:none}}

  .nav-burger{display:inline-flex;position:relative;flex:none;width:52px;height:52px;margin-right:-8px;padding:0;border:0;border-radius:50%;background:none;color:#efeee9;cursor:pointer;align-items:center;justify-content:center}
  .nav-burger i{position:absolute;left:12px;right:12px;height:2px;background:currentColor;border-radius:2px;transition:transform .35s cubic-bezier(.2,.7,.2,1),top .35s cubic-bezier(.2,.7,.2,1)}
  .nav-burger i:first-child{top:20px}
  .nav-burger i:last-child{top:30px}
  .menu-open .nav-burger i:first-child{top:25px;transform:rotate(45deg)}
  .menu-open .nav-burger i:last-child{top:25px;transform:rotate(-45deg)}
  .menu-open header{transform:none!important;background:#0b0b0b!important}
  .menu-open,.menu-open body{overflow:hidden}

  @media (max-width:340px){header .book.is-cta{padding:0 12px!important;letter-spacing:.1em!important}}

  .m-menu{display:block;position:fixed;inset:0;z-index:19;padding:calc(72px + 12px) max(20px,env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:#0b0b0b;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;opacity:0;visibility:hidden;transform:translate3d(0,-12px,0);transition:opacity .3s ease,transform .4s cubic-bezier(.2,.7,.2,1),visibility 0s linear .4s}
  .m-menu.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease,transform .4s cubic-bezier(.2,.7,.2,1),visibility 0s}
  .m-menu a,.m-menu button,.m-menu summary{-webkit-tap-highlight-color:transparent}
  .m-home{display:block;padding:14px 0;border-bottom:1px solid #222;font:400 15px/1.2 Montserrat,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#a9a8a2;text-decoration:none}
  .m-grp{border-bottom:1px solid #222}
  .m-grp summary{display:flex;align-items:center;justify-content:space-between;padding:20px 0;list-style:none;cursor:pointer;font:400 clamp(30px,calc(9 * var(--vw)),44px)/1 Montserrat,Arial,sans-serif;letter-spacing:-.02em;color:#efeee9}
  .m-grp summary::-webkit-details-marker{display:none}
  .m-grp summary:after{content:"";flex:none;width:12px;height:12px;margin-right:6px;border-right:1.5px solid var(--yellow);border-bottom:1.5px solid var(--yellow);transform:translateY(-4px) rotate(45deg);transition:transform .3s}
  .m-grp[open] summary:after{transform:translateY(3px) rotate(-135deg)}
  .m-grp[open] summary{color:var(--yellow)}
  .m-grp ul{list-style:none;margin:0;padding:0 0 18px}
  .m-grp li a,.m-grp li button{display:block;width:100%;padding:11px 0;border:0;background:none;text-align:left;font:400 16px/1.3 Montserrat,Arial,sans-serif;color:#d9d8d2;text-decoration:none}
  .m-grp li.m-gh{margin-top:16px;padding:10px 0 4px;border-top:1px solid #1d1d1d;font:500 10px/1 Montserrat,Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#8d8c86}
  .m-grp li.is-all a{color:var(--yellow);font-weight:500;letter-spacing:.12em;text-transform:uppercase;font-size:12px}
  .m-grp li a[aria-current="page"]{color:var(--yellow)}
  .m-foot{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}
  .m-foot a,.m-foot button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 14px;border:1px solid rgba(239,238,233,.3);border-radius:999px;background:none;font:500 11px/1.2 Montserrat,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#efeee9;text-decoration:none;text-align:center}
  .m-foot .m-book{grid-column:1 / -1;background:var(--yellow);border-color:var(--yellow);color:#111}
  .m-foot .m-call,.m-foot .m-phone,.m-foot .m-lang{grid-column:1 / -1}
  .m-foot .m-lang{border-color:#2a2a2a;color:#a9a8a2}
  .m-foot .m-phone{flex-direction:column;gap:6px;min-height:64px;padding:12px 16px}
  .m-foot .m-phone small{font:500 9px/1 Montserrat,Arial,sans-serif;letter-spacing:.18em;color:var(--yellow)}
  .m-foot a,.m-foot button{position:relative}
  .m-foot .m-ico{position:absolute;left:7px;top:50%;display:grid;place-items:center;width:38px;height:38px;margin-top:-19px;border-radius:50%;
    background:#1c1c1c;color:var(--yellow);font-style:normal!important}
  .m-foot .m-ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
  .m-foot .m-book .m-ico{background:#111;color:var(--yellow)}
  .m-foot .m-phone .m-ico{left:12px;width:40px;height:40px;margin-top:-20px}
  .m-foot .m-lang .m-ico{background:none;color:#7d7c77}
  .m-foot .m-phone b{font:500 15px/1 Montserrat,Arial,sans-serif;letter-spacing:.04em;font-weight:500}

  /* hero: founders at the bottom, the name in the empty space above them */
  .hero-brand,.hero-brand .hero-sticky,.hero.hero-brand[data-hero-hold]{height:100svh!important;min-height:520px!important}
  .hero-brand .hero-media,.hero-brand .hero-shift,.hero-brand .hero-cut{transform:none!important;opacity:1!important}
  /* photo on top, fading into black; the name sits on the black below the doctors */
  .hero-brand{--sign:calc(150px + env(safe-area-inset-bottom))}
  .hero-brand .hero-media img.hero-wide{position:absolute;inset:0 0 auto 0;width:100%;height:calc(100% - var(--sign) + 70px)!important;object-fit:cover;object-position:50% 100%!important;
    -webkit-mask-image:linear-gradient(#000 calc(100% - 90px),transparent)!important;mask-image:linear-gradient(#000 calc(100% - 90px),transparent)!important;transform:none!important}
  .hero-brand .hero-media:after{background:linear-gradient(180deg,rgba(11,11,11,.45) 0%,rgba(11,11,11,.06) 22%,transparent 50%)}

  .hero-brand .brand-sign{position:absolute!important;inset:auto 0 0 0!important;top:auto!important;height:var(--sign);display:flex!important;flex-direction:column;align-items:center;justify-content:flex-end;gap:0!important;
    padding:0 calc(6 * var(--vw)) calc(30px + env(safe-area-inset-bottom))!important;pointer-events:none;animation:none!important;opacity:1!important;transform:none!important}
  .hero-brand .brand-lockup{text-shadow:none}
  body.page-home .hero-brand .brand-mona,body.page-home .hero-brand .brand-smile{font-size:min(calc(14 * var(--vw)),64px)!important;line-height:.9}
  .hero-brand .brand-clinic{margin-top:12px;font-size:11px;letter-spacing:.56em;text-indent:.56em}
  .hero-brand .hero p.brand-line,.hero-brand p.brand-line{display:none!important}
  .hero-mark{display:none!important}

  /* curtain: the first screen holds still, sinks back a little, and the next section slides over it */
  .hero-brand{position:sticky!important;top:0;z-index:0}
  /* only transform and opacity follow the scroll: a radius or blurred shadow that changes every frame
     repaints the whole screen and makes the scroll judder on phones */
  .hero-brand .hero-sticky{--curtain:0;transform:scale(calc(1 - var(--curtain) * .08));transform-origin:50% 35%;will-change:transform}
  .hero-brand .hero-sticky:after{content:"";position:absolute;inset:0;z-index:6;pointer-events:none;background:#050505;opacity:calc(var(--curtain) * .7)}
  .hero-brand + section{position:relative;z-index:2;background:#0b0b0b;border-radius:26px 26px 0 0;
    box-shadow:0 -28px 60px rgba(0,0,0,.55),inset 0 1px 0 rgba(214,180,76,.22)}

  /* the name: one calm screen, no pin */
  .name-sticky{min-height:0!important;padding:96px calc(6 * var(--vw)) 72px!important;overflow:visible!important;transform:none!important}
  .name-part.is-smile{text-align:left!important;justify-items:start!important}
  .name-expand strong{white-space:normal!important}
  .name-expand.is-smile{padding-right:0!important}
  .name-deck{display:none!important}
  .name-head{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:16px!important;opacity:1!important;transform:none!important;margin:0 0 48px}
  .name-head > *{grid-column:1!important;grid-row:auto!important;justify-self:start!important;text-align:left!important;max-width:none}
  .name-head h2{font-size:clamp(30px,calc(8.6 * var(--vw)),64px)}
  
  .name-lock{display:flex;flex-direction:column;gap:56px;inset:auto;height:auto}
  .name-part,.name-part.is-mona,.name-part.is-smile{position:relative!important;inset:auto!important;margin:0!important;display:block;max-width:none}
  .name-lock .name-part{pointer-events:auto}
  .name-word,.name-word.is-mona,.name-word.is-smile{display:block;opacity:1!important;font-size:clamp(84px,calc(24 * var(--vw)),200px)!important;line-height:.84}
  .name-expand{display:block;margin-top:10px!important;opacity:1!important;transform:none!important;clip-path:none!important}
  .name-expand span,.name-expand strong{font-size:clamp(22px,calc(6.2 * var(--vw)),40px)}
  .name-kick{opacity:1!important;transform:none!important;margin-bottom:10px;flex-direction:row!important;padding:0!important}
  .name-body{opacity:1!important;transform:none!important;max-width:46ch;margin-top:18px!important;font-size:15px}
  .name-body p{font-size:15px;line-height:1.55}
  .name-part.is-smile .name-tags{justify-content:flex-start}
  .name-go{display:inline-flex;margin-top:14px;min-height:44px;align-items:center}

  /* doctors: photo then text, no swap scene */
  .faces{height:auto!important}
  .faces-stage{position:relative!important;height:auto!important;overflow:visible!important}
  .face, .face.is-liza{display:flex!important;flex-direction:column;position:relative!important;inset:auto!important;height:auto!important;min-height:0!important}
  .face .face-media{order:1}
  .face .face-copy{order:2}
  .face-media{position:relative!important;inset:auto!important;left:auto!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/5;max-height:82svh;overflow:hidden;clip-path:none}
  .face-media img{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover;object-position:50% 18%}
  .face-copy{position:relative!important;inset:auto!important;left:auto!important;width:auto!important;height:auto!important;padding:40px calc(6 * var(--vw)) 56px!important}
  .face-copy h2{font-size:clamp(40px,calc(11 * var(--vw)),72px)!important}

  /* two directions: one card each, not a full screen each */
  .split{display:grid!important;grid-template-columns:1fr;height:auto!important;min-height:0!important}
  .direction{height:auto!important;min-height:min(78svh,calc(120 * var(--vw)))!important}

  /* reels: heading, then a swipe strip */
  .kit,.kit[data-rail]{height:auto!important}
  .kit-pin{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important}
  .kit-rail.cv.rl{display:flex!important;flex-direction:column;align-items:stretch;gap:28px;width:auto!important;height:auto!important;padding:88px 0 72px!important;--u:1px}
  .rl-head{width:auto!important;padding:0 calc(6 * var(--vw));gap:16px!important}
  .rl-label{font-size:13px!important;gap:12px!important}
  .rl-label i{width:8px!important;height:8px!important}
  .rl-title{font-size:clamp(40px,calc(11 * var(--vw)),72px)!important}
  .rl-note{font-size:15px!important;max-width:44ch}
  .rl-cta{padding:14px 20px!important;font-size:11px!important;gap:10px!important}
  .rl-rows{display:flex!important;flex-direction:row!important;gap:12px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 calc(6 * var(--vw));padding:0 calc(6 * var(--vw)) 6px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .rl-rows::-webkit-scrollbar{display:none}
  .rl-row{display:contents!important}
  .rl-tile{width:min(calc(62 * var(--vw)),300px)!important;height:auto!important;aspect-ratio:4/5;flex:none;scroll-snap-align:start}
  .rl-play{left:12px!important;bottom:12px!important;width:40px!important;height:40px!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(11,11,11,.45)!important}
  .rl-play:before{border-width:6px 0 6px 10px!important}
  .rl-more{padding:20px!important;gap:12px!important}
  .rl-more span{font-size:26px!important}
  .rl-more i{font-size:11px!important}


  /* map: a picture, not three screens */
  .place-copy{min-height:0!important;padding:72px calc(6 * var(--vw)) 48px!important}
  .place-map,.place-map-link,.place-map img{min-height:0!important}
  .place-map,.place-map-link{height:calc(62 * var(--vw));max-height:60svh}
  .place-map img{width:100%;height:100%;object-fit:cover}

  /* calm, cheap reveals instead of scroll-scrubbed motion */
  .m-rv{opacity:0;transform:translate3d(0,22px,0);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
  .m-rv.is-in{opacity:1;transform:none}
}

/* ── about us: readable title, founders photo cropped to 4:5 instead of a two-screen portrait ── */
@media (max-width:900px){
  .roots-track{gap:56px!important;padding:80px calc(6 * var(--vw)) 72px!important}
  .roots-kick{margin-bottom:20px}
  .roots-title{font-size:clamp(40px,calc(10 * var(--vw)),64px)!important;line-height:1}
  .roots-lead{max-width:52ch;margin-top:24px}
  .rp-founders .roots-col:not(.is-side){width:100%;max-width:none}
  .roots-shot.is-founders{aspect-ratio:4/5!important;height:auto!important;width:100%!important;max-height:none}
  .roots-shot.is-founders img{object-position:50% 17%}
  .roots-meta{width:100%}
  .roots-cap{width:100%!important}
  .roots-meta .roots-cap p{padding:16px 0}
  .roots-meta .roots-cap p a{font-size:18px}
  .roots-quote{font-size:clamp(28px,calc(7.6 * var(--vw)),52px)!important}
  .roots-team-head h3{font-size:clamp(28px,calc(7 * var(--vw)),44px)}
  
  .rp-team .roots-shot.is-team{max-width:720px}
}
@media (min-width:601px) and (max-width:900px){
  .roots-shot.is-founders{aspect-ratio:4/3!important}
  .roots-shot.is-founders img{object-position:50% 33%}
  .roots-meta .roots-cap p{flex-direction:row-reverse!important;justify-content:space-between;align-items:baseline;gap:24px!important}
  .roots-meta .roots-cap p a{font-size:20px}
}
@media (max-width:900px){
  .proof#reviews .proof-list{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:none!important;gap:10px!important}
  .proof#reviews .proof-card,.proof#reviews .proof-card.is-lg,.proof#reviews .proof-card.is-wide,.proof#reviews .proof-card.is-md,.proof#reviews .proof-card.is-sm{grid-column:auto!important;grid-row:auto!important;padding:16px 14px 14px!important;gap:10px!important}
  .proof#reviews .proof-card blockquote,.proof#reviews .proof-card.is-lg blockquote,.proof#reviews .proof-card.is-sm blockquote{overflow-wrap:break-word;font-size:clamp(12.5px,calc(1.9 * var(--vw)),15px)!important;line-height:1.45!important;letter-spacing:0}
  .proof#reviews .proof-card figcaption{gap:8px}
  .proof#reviews .proof-card figcaption img,.proof#reviews .proof-card.is-lg figcaption img,.proof#reviews .proof-card.is-sm figcaption img{width:30px;height:30px}
  .proof#reviews .proof-card figcaption b{font-size:12px}
  .proof#reviews .proof-card figcaption i{font-size:9px}
  .proof#reviews .proof-card .proof-stars span,.proof#reviews .proof-card.is-lg .proof-stars span{width:11px;height:11px}

  .rl-nav{padding:0 calc(6 * var(--vw))}
  .name-sticky .name-head{padding-bottom:36px!important;border-bottom:1px solid rgba(239,238,233,.14)}
  .roots .rp-end{padding-top:32px!important;border-top:1px solid #222}
  .roots .rp-end h3{font-size:clamp(28px,calc(7.4 * var(--vw)),44px)!important}
}
@media (max-width:479px){
  .roots .rp-end h3 br{display:none}
  .roots .rp-end p{margin:14px 0 22px!important;max-width:none}
  .roots .rp-end .roots-go{display:flex;justify-content:center;width:100%}
}
@media (min-width:480px) and (max-width:900px){
  .name-lock .name-part,.name-lock .name-part.is-mona,.name-lock .name-part.is-smile{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;column-gap:clamp(24px,calc(5 * var(--vw)),48px)!important;row-gap:0!important;align-items:end!important;justify-items:start!important}
  .name-lock .name-part .name-kick{grid-column:1 / -1!important;grid-row:1!important;justify-self:start!important}
  .name-lock .name-part .name-word{grid-column:1!important;grid-row:2!important;font-size:clamp(64px,calc(13 * var(--vw)),112px)!important}
  .name-lock .name-part .name-expand{grid-column:1!important;grid-row:3!important;margin-top:8px!important;padding:0!important}
  .name-lock .name-expand span,.name-lock .name-expand strong{font-size:clamp(20px,calc(4 * var(--vw)),32px)!important}
  .name-lock .name-part .name-body{grid-column:2!important;grid-row:2 / span 2!important;align-self:end!important;margin:0!important;padding:0!important;max-width:36ch}
  .name-lock .name-body p{font-size:clamp(13px,calc(1.9 * var(--vw)),16px)!important;line-height:1.6!important;margin:0}
  .roots .rp-end{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:clamp(24px,calc(5 * var(--vw)),48px);row-gap:18px;align-items:start}
  .roots .rp-end h3{grid-column:1;grid-row:1 / span 2;align-self:center}
  .roots .rp-end p{grid-column:2;grid-row:1;margin:0!important;max-width:34ch}
  .roots .rp-end .roots-go{grid-column:2;grid-row:2;justify-self:start}
  .kit-rail .rl-head{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:clamp(24px,calc(5 * var(--vw)),48px)!important;row-gap:16px!important;align-items:start}
  .kit-rail .rl-head .rl-label{grid-column:1 / -1;grid-row:1;margin:0}
  .kit-rail .rl-title{grid-column:1;grid-row:2 / span 2;align-self:center;font-size:clamp(36px,calc(7.4 * var(--vw)),56px)!important;line-height:1!important}
  .kit-rail .rl-note{grid-column:2;grid-row:2;align-self:end;margin:0!important;max-width:34ch;font-size:clamp(13px,calc(1.9 * var(--vw)),16px)!important;line-height:1.6!important}
  .kit-rail .rl-cta{grid-column:2;grid-row:3;justify-self:start;align-self:start}
  .eq-head{grid-template-columns:auto minmax(0,1fr)!important;column-gap:clamp(24px,calc(5 * var(--vw)),48px)!important;align-items:end!important}
  .eq-title{font-size:clamp(30px,calc(5.6 * var(--vw)),46px)!important}
  .eq-lead{margin:0 0 .3em!important;max-width:36ch;font-size:clamp(13px,calc(1.9 * var(--vw)),16px)!important;line-height:1.6!important}
  .rp-intro{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:clamp(24px,calc(5 * var(--vw)),48px);align-items:end}
  .rp-intro .roots-kick{grid-column:1 / -1;grid-row:1}
  .rp-intro .roots-title{grid-column:1;grid-row:2 / span 2;font-size:clamp(40px,calc(8.4 * var(--vw)),60px)!important}
  .rp-intro .roots-lead{grid-column:2;grid-row:2;margin:0!important;max-width:36ch;font-size:clamp(14px,calc(2.1 * var(--vw)),17px);line-height:1.55}
  .rp-intro .roots-sign{grid-column:2;grid-row:3;margin:14px 0 .3em!important}
}

/* ── portrait tablets: doctors side by side with their copy ── */
@media (min-width:601px) and (max-width:900px){
  .faces{padding-top:24px}
  .face, .face.is-liza{display:grid!important;grid-template-columns:1fr 1fr;align-items:start;padding:24px 0}
  .face-media{aspect-ratio:3/4;max-height:none}
  .face-copy{padding:0 calc(5 * var(--vw))!important;align-self:center}
  .face-copy .eyebrow{margin-top:0!important}
  .faces .face.is-liza .face-media{order:2}
  .faces .face.is-liza .face-copy{order:1}
  .face-copy h2{font-size:clamp(36px,calc(6 * var(--vw)),56px)!important}
}

/* ── phones ── */
@media (max-width:600px){
  .hero-brand .brand-sign{top:calc(64px + 4svh)}
  body.page-home .brand-mona,body.page-home .brand-smile{font-size:calc(17 * var(--vw))}
  .brand-line em{font-size:calc(11 * var(--vw))}
  .direction{min-height:min(70svh,calc(118 * var(--vw)))!important}

  /* doctors as compact cards: portrait thumbnail, name beside it, copy below */
  .faces{padding:8px 0}
  .face, .face.is-liza{display:grid!important;grid-template-columns:calc(36 * var(--vw)) minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;column-gap:18px;align-items:start;padding:24px calc(6 * var(--vw)) 36px;border-top:1px solid #1d1d1d}
  .face:first-child{border-top:0}
  .face-copy{display:contents!important}
  .face-media{grid-column:1;grid-row:1 / span 4;aspect-ratio:3/4;max-height:none;border-radius:4px}
  .face-copy .eyebrow{grid-column:2;grid-row:2;align-self:start;justify-self:start;margin:0 0 12px!important}
  .face-copy h2{grid-column:2;grid-row:3;align-self:start;margin:0;font-size:clamp(26px,calc(7.6 * var(--vw)),34px)!important;line-height:1.05}
  .face-copy h2 span,.face-copy h2 em{display:block}
  .face-copy p:not(.eyebrow){grid-column:1 / -1;grid-row:5;margin:22px 0 0;font-size:15px;line-height:1.55}
  .face-copy .book{grid-column:1 / -1;grid-row:6;justify-self:start;margin-top:18px}
  .faces .face.is-liza{grid-template-columns:minmax(0,1fr) calc(36 * var(--vw))}
  .faces .face.is-liza .face-media{grid-column:2}
  .faces .face.is-liza .face-copy .eyebrow,.faces .face.is-liza .face-copy h2{grid-column:1}
}


/* short landscape phones */
@media (max-height:500px) and (orientation:landscape) and (hover:none){
  .hero-brand,.hero-brand .hero-sticky{height:100svh!important;min-height:0!important}
  .name-sticky{min-height:0!important}
}

/* ── one vertical rhythm on small screens: ~56px into a section, ~48px out of it ── */
@media (max-width:900px){
  .name-sticky{padding:72px calc(6 * var(--vw)) 48px!important}
  .name-head{margin-bottom:36px!important}
  .name-lock{gap:44px!important}

  .roots-track{gap:44px!important;padding:56px calc(6 * var(--vw)) 48px!important}
  .roots-kick{margin-bottom:16px!important}
  .rp-end p{margin:16px 0 22px!important}

  .eq{padding:56px calc(6 * var(--vw)) 16px!important}
  .eq-head{margin-bottom:32px!important;row-gap:16px!important}
  .eq-kick{margin-bottom:16px!important}
  .eq-row:last-child{padding-bottom:12px!important}

  .kit-rail.cv.rl{padding:28px 0 48px!important;gap:24px!important}

  .proof#reviews{padding:64px calc(6 * var(--vw)) 48px!important}
  .proof-head{margin-bottom:40px!important}
  .proof-kick{margin-bottom:18px!important}
  .proof-rule{margin-top:32px!important}

  .place-copy{padding:56px calc(6 * var(--vw)) 40px!important}
}

@media (prefers-reduced-motion:reduce){
  .m-rv{opacity:1!important;transform:none!important;transition:none!important}
  .m-menu{transition:none!important}
  .hero-mark{animation:none!important}
}

/* ── Doctor heroes (aesthetics + dentistry), phones: the photo stays put, the copy slides up over it as a sheet ── */
@media (max-width:900px) and (max-aspect-ratio:4/5){
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min{--tfs:calc(11.4 * var(--vw));--ph:max(400px,calc(100svh - 52px - 1.84 * var(--tfs)));display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;row-gap:0;height:auto;min-height:0;padding:0;overflow:visible;overflow:clip;clip-path:inset(0);background:#111}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-photo{position:sticky;inset:auto;top:0;z-index:0;grid-column:1;grid-row:1;height:var(--ph);min-height:400px;margin:0;overflow:hidden;transform-origin:50% 30%}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-photo img{position:absolute;inset:0;object-position:56% 20%}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-photo:after{background:linear-gradient(180deg,rgba(17,17,17,.62) 0%,rgba(17,17,17,0) 18%,rgba(17,17,17,0) 70%,rgba(17,17,17,.35) 100%)}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-photo:before{content:"";position:absolute;inset:0;z-index:1;background:#111;opacity:0;pointer-events:none}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-kick,
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-title,
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-intro{position:relative;z-index:1;grid-column:1;align-self:auto;justify-self:stretch;max-width:none;margin:0;background:#111;padding-left:max(24px,calc(6 * var(--vw)));padding-right:max(24px,calc(6 * var(--vw)))}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-kick{grid-row:2;margin-top:-84px;padding-top:34px;border-radius:28px 28px 0 0;box-shadow:0 -1px 0 rgba(239,238,233,.12)}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-kick:before{content:"";position:absolute;left:max(24px,calc(6 * var(--vw)));top:16px;width:36px;height:1px;background:var(--yellow)}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-title{grid-row:3;margin-top:-1px;padding-top:17px}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-intro{grid-row:4;margin-top:-1px;padding-top:44px;padding-bottom:12px;border-top:0;box-sizing:border-box;min-height:calc(var(--ph) - 170px)}
  /* the photo fills the first screen; only the kicker and the gold title sit on the sheet at its bottom (--tfs = the title size) */
  :lang(es) .sub-aesthetics .ar-hero.is-min{--tfs:calc(13 * var(--vw))}
  :is(.sub-dentistry,.ar-twin) .ar-hero.is-min{--tfs:calc(12 * var(--vw))}
  :lang(es) :is(.sub-dentistry,.ar-twin) .ar-hero.is-min{--tfs:calc(10.2 * var(--vw))}
  /* the sheet is at least as tall as the photo, so the photo stays put until the sheet has covered it completely (a curtain going up) */
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .tx-menu{padding-top:28px}
  /* --sheet (0→1) is set from the scroll position in site.js */
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-photo:before{opacity:calc(var(--sheet,0) * .72)}
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-kick{border-radius:calc(28px * clamp(0, (1 - var(--sheet,0)) * 4, 1)) calc(28px * clamp(0, (1 - var(--sheet,0)) * 4, 1)) 0 0}
}

/* Doctor heroes, photo + sheet: the photo is framed only in the part the sheet leaves visible
   (the sheet overlaps the photo by 84px), and it is centred on the doctor's face,
   so the sheet never covers the face whatever the screen proportions are */
@media (max-width:900px) and (max-aspect-ratio:4/5){
  :is(.sub-aesthetics,:is(.sub-dentistry,.ar-twin)) .ar-hero.is-min .ar-hero-photo img{inset:0 0 auto 0;width:100%;height:calc(100% - 84px)}
  :is(.sub-dentistry,.ar-twin) .ar-hero.is-min .ar-hero-photo img{object-position:58% 34%}
  .sub-aesthetics .ar-hero.is-min .ar-hero-photo img{object-position:55% 42%}
}

@media (max-width:600px){body.page-home .roots{border-top:0}body.page-home .roots-track{padding-top:28px!important}}

/* phone menu + Book panel: address, languages and opening hours */
@media (max-width:900px){
  .m-info,.tp-info{list-style:none;margin:0;padding:0;display:grid;gap:14px}
  .m-info{grid-column:1 / -1;margin:8px 0 4px;padding:18px 4px 4px;border-top:1px solid #222}
  .tp-info{margin-top:4px;padding:14px 12px 10px;border-top:1px solid #222;gap:12px}
  .m-info li,.tp-info li{display:flex;align-items:flex-start;gap:12px}
  .m-info i,.tp-info i{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#1c1c1c;color:var(--yellow)}
  .m-info svg,.tp-info svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
  .m-info span,.tp-info span{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:1px}
  .m-info small,.tp-info small{font:500 9px/1.2 Montserrat,Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#8d8c86}
  .m-info b,.m-info a,.tp-info b,.tp-info a{font:400 14px/1.35 Montserrat,Arial,sans-serif;color:#efeee9;text-decoration:none;letter-spacing:.01em}
  .tp-info b,.tp-info a{font-size:13px}
  .m-foot .m-info a{display:inline;min-height:0;padding:0;border:0;border-radius:0;text-transform:none;letter-spacing:.01em;text-align:left;justify-content:flex-start;border-bottom:1px solid rgba(239,238,233,.3)}
  .tp-info a{border-bottom:1px solid rgba(239,238,233,.3)}
  /* overview heroes (Dra. Liza / Dr. Armen): the booking button spans the width, text centred, like the service pages */
  html[lang="ru"] .ar-hero-acts .ar-hero-book{flex:1 1 100%!important;width:100%!important;max-width:none!important;justify-content:center;text-align:center}
}
@media (max-width:900px){.tel-pop{max-height:calc(100svh - 150px);overflow-y:auto;overscroll-behavior:contain}}
/* the phone menu scrolls under the bottom bar: keep its last lines above the bar */

/* phones: the language switch stays visible in the header, next to the menu button */
.m-lang-top{display:none}
@media (max-width:900px){
  header .m-lang-top{display:inline-grid;place-items:center;min-width:44px;height:36px;margin-right:6px;padding:0 10px;border:1px solid rgba(239,238,233,.3);border-radius:999px;font:500 11px/1 Montserrat,Arial,sans-serif;letter-spacing:.14em;color:#efeee9;text-decoration:none;-webkit-tap-highlight-color:transparent}
  header .m-lang-top:active{border-color:var(--yellow);color:var(--yellow)}
  header .m-lang-wrap{position:relative;margin-right:6px}
  header .m-lang-top{margin-right:0;background:none;cursor:pointer}
  header .m-lang-top[aria-expanded="true"]{border-color:var(--yellow);color:var(--yellow)}
  header .m-lang-pop{position:absolute;top:calc(100% + 8px);right:0;z-index:5;display:grid;min-width:140px;padding:6px;border:1px solid rgba(239,238,233,.16);border-radius:14px;background:rgba(11,11,11,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
  header .m-lang-pop[hidden]{display:none}
  header .m-lang-pop a{padding:11px 12px;border-radius:9px;font:500 13px/1 Montserrat,Arial,sans-serif;color:#efeee9;text-decoration:none}
  header .m-lang-pop a:active{background:rgba(239,238,233,.08);color:var(--yellow)}
}

/* phones: home first screen shows "Care focused on you." under the name, as on desktop; the photo sits a little higher */
@media (max-width:900px){
  .hero-brand{--sign:calc(228px + env(safe-area-inset-bottom))}
  .hero-brand .hero p.brand-line,.hero-brand p.brand-line{display:flex!important;margin-top:20px!important}
  .hero-brand .brand-line span{font-size:10px;letter-spacing:.26em}
  .hero-brand .brand-line span:after{margin:10px auto 6px}
  .hero-brand .brand-line em{font-size:30px}
}

/* near-square big screens (unfolded foldables, iPad Pro portrait, square windows): the founders' photo on top, the name below them */
@media (min-width:901px) and (max-aspect-ratio:5/4){
  .hero-brand .hero-media img.hero-wide{position:absolute;inset:0 0 auto 0;width:100%;height:calc(100% - 250px)!important;object-fit:cover;object-position:50% 75%!important;transform:none!important;
    -webkit-mask-image:linear-gradient(#000 calc(100% - 140px),transparent)!important;mask-image:linear-gradient(#000 calc(100% - 140px),transparent)!important}
}
/* phones on their side: keep the faces in the frame */
@media (max-width:900px) and (min-aspect-ratio:5/4){
  .hero-brand .hero-media img.hero-wide{object-position:50% 22%!important}
}
/* short landscape screens (phones on their side): the treatment hero fits the screen */
@media (min-width:601px) and (max-height:520px) and (min-aspect-ratio:5/4){
  .svc-hero{min-height:0!important;padding:78px calc(4 * var(--vw)) 18px!important}
  .svc-hero-acts{margin-top:14px!important;padding-top:14px!important}
}

/* phones (touch or a narrow window — the same test as touchUI in app.js): the first screen is not held under the page; it scrolls away like any other block */
@media (hover:none) and (pointer:coarse),(max-width:900px){
  html .hero-brand{position:relative!important}
  html .hero-brand .hero-sticky{transform:none!important;will-change:auto!important}
  html .hero-brand .hero-sticky:after{opacity:0!important}
}
/* touch phones: the sticky chapter bar on treatment pages does not re-blur the page under it every frame */
@media (hover:none) and (pointer:coarse),(max-width:900px){
  html .sd-ch.is-ch .sd-side{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(11,11,11,.97)}
}

/* phones: Dra. Liza and Dr. Armen side by side in one strip; each card stops in the middle. Where scroll timelines exist
   the strip pages through on the page scroll (above); otherwise it is swiped sideways (scroll snap). Two dots below say
   which doctor is in front (app.js, facesDots). */
/* the doctors' photos and copy rest in place on phones (they were reset with !important elsewhere) */
@media (max-width:900px){
  .face-media,.face-media img,.face-copy > *{transform:none;opacity:1}
}
@supports not (animation-timeline: view()){
  @media (max-width:900px){.face-media,.face-media img,.face-copy > *{transform:none!important;opacity:1!important}}
}
@media (max-width:900px){
  html .faces{position:relative;height:auto!important;padding:40px 0 64px!important}
  html .faces .faces-stage{position:relative!important;display:flex!important;flex-direction:row!important;gap:14px;height:auto!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;perspective:1200px;
    padding:0 9%!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
  html .faces .faces-stage::-webkit-scrollbar{display:none}
  html .faces .face,html .faces .face.is-liza{flex:0 0 82%;scroll-snap-align:center;position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none}
  html .faces .face .face-media,html .faces .face.is-liza .face-media{order:1!important;position:relative!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;height:auto!important;aspect-ratio:4/5!important;max-height:64svh!important;margin:0;border-radius:6px;overflow:clip;clip-path:none!important}
  html .faces .face .face-media img{object-position:50% 22%;transform:none!important}
  /* Dr. Armen in white on black: the framing his phone copy had before the same photo went to every screen */
  html .faces .face[data-doctor="armen"] .face-media img{object-position:45% 20%}
  /* a phone-only portrait where one is set (Dr. Armen in white with his loupes, on black) replaces the desktop one */
  html .faces .face .face-media:has(.face-m) > img:not(.face-m){display:none!important}
  html .faces .face .face-media .face-m{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:45% 20%}
  html .faces .face .face-copy,html .faces .face.is-liza .face-copy{order:2!important;display:block!important;padding:22px 0 0!important}
  html .faces .face .face-copy > *{grid-column:auto!important;grid-row:auto!important;opacity:1!important;transform:none!important}
  html .faces .face .face-copy .eyebrow{display:inline-block;margin:0 0 14px!important}
  html .faces .face .face-copy h2{margin:0;font-size:clamp(28px,calc(8 * var(--vw)),46px)!important;line-height:1.02}
  html .faces .face .face-copy h2 span,html .faces .face .face-copy h2 em{display:block}
  html .faces .face .face-copy p:not(.eyebrow){margin:14px 0 0;font-size:15px;line-height:1.6}
  /* no booking link under each doctor here: the page reads as one story, booking stays in the header */
  html .faces .face .face-copy .book{display:none!important}
  html .faces .faces-dots{display:flex;justify-content:center;gap:8px;margin-top:26px}
  html .faces .faces-dots i{width:22px;height:2px;border-radius:2px;background:rgba(251,250,247,.22);transition:background .4s,width .4s}
  html .faces .faces-dots i.is-on{width:34px;background:var(--yellow)}
}
.faces-dots,.face-m{display:none}
/* the doctors page through as the page scrolls down: the section holds the screen, Dra. Liza's card turns away to the
   left and steps back while Dr. Armen's turns towards you from the right and comes forward (black-and-white photos).
   Without scroll timelines the strip is swiped sideways instead (below). */
@keyframes fcLeave{from{transform:perspective(1000px) translate3d(0,0,0) rotateY(0) scale(1);opacity:1}to{transform:perspective(1000px) translate3d(calc(-100% - 14px),0,0) rotateY(-18deg) scale(.92);opacity:.45}}
@keyframes fcEnter{from{transform:perspective(1000px) translate3d(0,0,0) rotateY(16deg) scale(.94);opacity:.6}to{transform:perspective(1000px) translate3d(calc(-100% - 14px),0,0) rotateY(0) scale(1);opacity:1}}
/* the dots only scale and cross-fade a gold layer (transform and opacity), so they never repaint on the scroll */
@keyframes fcDotA{from{transform:scaleX(1.55)}to{transform:scaleX(1)}}
@keyframes fcDotB{from{transform:scaleX(1)}to{transform:scaleX(1.55)}}
@keyframes fcGoldA{from{opacity:1}to{opacity:0}}
@keyframes fcGoldB{from{opacity:0}to{opacity:1}}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    /* "Two specialists. One approach.": the heading stays lit, the copy under it steps back as the doctors come up */
    html body.page-home .faces{view-timeline:--facesIn block}
    html body.page-home .team-intro > .team-intro-lead{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 40% cover 42%,cover 62% cover 76%}
    html body.page-home .team-intro-lead :is(strong,b){animation:nhLit linear both;animation-timeline:view();animation-range:cover 62% cover 76%}
    html body.page-home .team-intro > .team-intro-kick{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 30%,cover 66% cover 80%}
  }
}

/* phones: the MonaSmile name moves with the scroll, run by the browser (CSS scroll timelines, transforms and opacity only).
   As the first screen leaves, Mona drifts off to the left and Smile to the right; in "Our name" the big words come in
   from opposite sides and their meanings, then the copy, rise in line by line. */
@keyframes msSplitL{to{transform:translate3d(-34vw,-6vh,0);opacity:0}}
@keyframes msSplitR{to{transform:translate3d(34vw,6vh,0);opacity:0}}
@keyframes msFromL{from{transform:translate3d(-60vw,0,0)}to{transform:translate3d(0,0,0)}}
@keyframes msFromR{from{transform:translate3d(60vw,0,0)}to{transform:translate3d(0,0,0)}}
@keyframes msRise{from{transform:translate3d(0,40px,0);opacity:0}to{transform:translate3d(0,0,0);opacity:1}}
@supports (animation-timeline: view()){
  @media (max-width:900px){
    html .hero-brand{view-timeline:--msHero block}
    html .hero-brand .brand-mona,html .hero-brand .brand-smile{display:inline-block;animation-timeline:--msHero;animation-range:exit 5% exit 75%;animation-fill-mode:both;animation-timing-function:linear}
    html .hero-brand .brand-mona{animation-name:msSplitL}
    html .hero-brand .brand-smile{animation-name:msSplitR}
    html .name-lock .name-word{animation:msFromL linear both;animation-timeline:view();animation-range:entry 0% cover 38%}
    html .name-lock .name-word.is-smile{animation-name:msFromR}
    html .name-lock .name-expand > *{display:block;animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 34%}
    html .name-lock .name-expand > :nth-child(2){animation-range:entry 30% cover 40%}
    html .name-lock .name-body > *{animation:msRise linear both;animation-timeline:view();animation-range:entry 5% cover 25%}
  }
}

/* phones: the "Our name" lines slide in from alternating sides as they scroll up, every other line set in;
   run by the browser (CSS scroll timeline, transforms only); desktop keeps its <br> lines and its own scene */
@media (max-width:900px){
  html body.page-home .name-pin{overflow-x:clip}
  /* no rule between the sentence and the name: MonaSmile follows straight on */
  html body.page-home .name-sticky .name-head{border-bottom:0!important;padding-bottom:8px!important}
  html body.page-home .name-head h2 br{display:none}
  html body.page-home .name-head h2 .nh-ln{display:block}
  html body.page-home .name-head h2 .nh-ln:nth-child(4n+3){padding-left:16vw}
}
@keyframes nhSlide{from{transform:translate3d(var(--nx),0,0)}to{transform:translate3d(0,0,0)}}
@keyframes nhDim{to{color:rgba(239,238,233,.16)}}
@keyframes nhBack{from{color:rgba(239,238,233,.16)}to{color:var(--porcelain)}}
@keyframes signLit{to{color:var(--porcelain);text-shadow:0 0 18px rgba(214,180,76,.45)}}
@keyframes nhDimInk{to{color:rgba(22,22,22,.2)}}
@keyframes nhLit{to{text-shadow:0 0 22px rgba(214,180,76,.5)}}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .name-head h2 .nh-ln{animation:nhSlide linear both;animation-timeline:view();animation-range:entry 0% cover 55%;will-change:transform}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(1){--nx:-14vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(2){--nx:18vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(3){--nx:-10vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(4){--nx:12vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(5){--nx:-16vw}
    /* then the sentence fades back and only the gold words stay lit; "the real you" comes back last */
    html body.page-home .name-head h2{view-timeline:--nhHead block}
    html body.page-home .name-head h2 .nh-ln{animation:nhSlide linear both,nhDim linear both;animation-timeline:view(),--nhHead;animation-range:entry 0% cover 55%,cover 44% cover 56%}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(5){animation:nhSlide linear both,nhDim linear both,nhBack linear forwards;animation-timeline:view(),--nhHead,--nhHead;animation-range:entry 0% cover 55%,cover 44% cover 56%,cover 60% cover 70%}
    html body.page-home .name-head h2 em{animation:nhLit linear both;animation-timeline:--nhHead;animation-range:cover 44% cover 56%}
  }
}
/* phones and small tablets: Mona on the left, Smile on the right below it, each with its own text */
@media (max-width:900px){
  html body.page-home .name-lock{gap:12vh!important}
  html body.page-home .name-lock .name-part,html body.page-home .name-lock .name-part.is-mona,html body.page-home .name-lock .name-part.is-smile{display:block!important}
  html body.page-home .name-lock .name-word,html body.page-home .name-lock .name-word.is-mona,html body.page-home .name-lock .name-word.is-smile{display:block!important;width:max-content!important;max-width:none!important;font-size:clamp(84px,calc(24 * var(--vw)),180px)!important;line-height:.86!important}
  html body.page-home .name-lock .name-word.is-smile{margin-left:auto!important}
  /* under each word one quiet column: a small "stands for", the meaning and the copy, all on one edge.
     Mona's column sits on the left, Smile's on the right, the way the two words part */
  html body.page-home .name-lock .name-part{--nl-col:min(100%,30rem)}
  html body.page-home .name-lock .name-expand,html body.page-home .name-lock .name-body{width:var(--nl-col)!important;max-width:none!important;padding:0!important}
  html body.page-home .name-lock .name-part.is-smile .name-expand,html body.page-home .name-lock .name-part.is-smile .name-body{margin-left:auto!important}
  html body.page-home .name-lock .name-expand{display:block!important;margin-top:28px!important}
  html body.page-home .name-lock .name-expand span{display:block;margin:0 0 10px;font:500 11px/1.2 Montserrat,Arial,sans-serif!important;letter-spacing:.24em!important;text-transform:uppercase;color:#8f8e88}
  html body.page-home .name-lock .name-expand strong{display:block;padding:0!important;font-size:clamp(26px,calc(7 * var(--vw)),40px)!important;line-height:1.05!important;letter-spacing:-.01em}
  html body.page-home .name-lock .name-body{display:block!important;margin-top:18px!important}
  html body.page-home .name-lock .name-body p{font-size:15px!important;line-height:1.6!important;margin:0!important}
  html body.page-home .name-lock .name-tags{justify-content:flex-start!important}
  /* no link under Mona and Smile here: the directions right below lead on to both */
  html body.page-home .name-lock .name-go{display:none!important}
}

/* MonaSmile comes in as one word: Smile breaks off and holds on the screen while Mona moves on, then settles below;
   what Mona stands for rises line by line only once Smile has passed under it. app.js measures the layout into
   custom properties; the browser runs the motion on the scroll (view timeline of .name-lock, transforms only). The
   ranges are counted back from the end of its cover range, which Safari's sliding toolbar does not move */
@keyframes msJoin{from{transform:translate3d(var(--jx),var(--jy),0) scale(var(--js))}to{transform:translate3d(0,0,0) scale(1)}}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .name-lock.is-join{view-timeline:--msLock block}
    html body.page-home .name-lock.is-join .name-word{transform-origin:0 0;will-change:transform;animation:msJoin linear both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--r0)) cover calc(100% - var(--r1))}
    html body.page-home .name-lock.is-join .name-word.is-mona{--jx:var(--ax);--jy:0px}
    html body.page-home .name-lock.is-join .name-word.is-smile{--jx:var(--bx);--jy:var(--by)}
    /* one animation per line (the rise): a second one on another timeline (the dim) made iPhone Safari blink the lines */
    html body.page-home .name-lock.is-join .name-part.is-mona [data-rise]{animation:msRise cubic-bezier(.2,.8,.2,1) both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--t0)) cover calc(100% - var(--t1))}
    /* what each half stands for lights up like "you" above: first all white, then everything steps back (the small
       "stands for", the words beside the gold one and the copy) and stays back, while the gold word glows */
    html body.page-home .name-lock .name-expand em{animation:nhLit linear both;animation-timeline:view();animation-range:cover 55% cover 66%}
    /* Smile's text steps back only once the directions (Dra. Liza, Dr. Armen) start to come up from below */
    html body.page-home main{timeline-scope:--dirsIn,--facesIn}
    html body.page-home .split{view-timeline:--dirsIn block}
    html body.page-home .name-lock .name-part.is-smile .name-expand em{animation-timeline:--dirsIn;animation-range:entry 0% entry 45%}
    html body.page-home .name-lock .name-part.is-smile .name-expand span{animation:msRise linear both,nhDim linear both;animation-timeline:view(),--dirsIn;animation-range:entry 10% cover 34%,entry 0% entry 45%}
    html body.page-home .name-lock .name-part.is-smile .name-body p{animation:msRise linear both,nhDim linear both;animation-timeline:view(),--dirsIn;animation-range:entry 5% cover 25%,entry 0% entry 45%}
    
    html body.page-home .name-lock .name-part.is-smile .name-expand strong{animation:msRise linear both,nhDim linear both;animation-timeline:view(),--dirsIn;animation-range:entry 30% cover 40%,entry 0% entry 45%}
    html body.page-home .name-lock.is-join .name-part.is-mona .name-expand em{animation-range:cover 66% cover 76%}
    
  }
}

/* phones and small tablets: the two directions share one screen, top and bottom (as on desktop they share it side by
   side), each on its own treatment photo, a gold hairline between.
   Each half keeps everything it had: tag, title, line, the treatments and the way on. */
.dir-m,.team-intro{display:none}
@media (max-width:900px){
  html body.page-home .split{display:grid!important;grid-template-rows:auto auto;height:auto!important;min-height:0!important;border:0!important}
  html body.page-home .split .direction{position:relative;display:flex!important;flex-direction:column;justify-content:flex-end;min-height:50svh!important;height:auto!important;border:0!important;overflow:clip!important}
  html body.page-home .split .direction > img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1!important;clip-path:none!important;scale:1!important;filter:grayscale(1) contrast(1.05) brightness(.95)!important}
  /* a phone-only photo where one is set (Dr. Armen at work with the intraoral scanner): it takes the place of the desktop one */
  html body.page-home .split .direction:has(.dir-m) > img:not(.dir-m){display:none!important}
  html body.page-home .split .direction + .direction > img{object-position:50% 22%}
  /* the treatments: the same clear glass as the Explore capsule */
  html body.page-home .split .dir-more li{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0))!important;border:1px solid rgba(255,255,255,.26)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28);color:#fbfaf7!important}
  html body.page-home .split .direction:after{background:linear-gradient(0deg,rgba(11,11,11,.9) 0%,rgba(11,11,11,.55) 34%,rgba(11,11,11,.08) 70%,transparent)!important}
  /* no dark fade over the top of the photo (it covered the doctor's head): a clean edge with the same gold hairline */
  html body.page-home .split .direction:first-child{box-shadow:0 -1px 0 rgba(214,180,76,.55)}
  html body.page-home .split .direction:first-child > img{object-position:50% 12%}
  html body.page-home .split .direction + .direction{box-shadow:0 -1px 0 rgba(214,180,76,.55)}
  html body.page-home .split .direction-copy{position:relative!important;z-index:2;inset:auto!important;margin:0!important;padding:110px calc(6 * var(--vw)) 26px!important;transform:none!important;opacity:1!important}
  html body.page-home .split .direction h2{margin:12px 0 8px!important;font-size:clamp(26px,calc(7.4 * var(--vw)),44px)!important;line-height:1.04!important}
  html body.page-home .split .direction p{margin:0 0 14px!important;font-size:13px!important;line-height:1.5!important}
  html body.page-home .split .dir-more{display:flex!important;flex-wrap:wrap;gap:8px;margin:0 0 18px!important;padding:0;list-style:none}
  /* the way on: a round clear-glass capsule — the photo shows straight through, a thin light edge and a highlight on top
     (no backdrop blur: in Chrome it breaks the line masks of the titles above it) */
  html body.page-home .split .direction .link{display:inline-flex!important;align-items:center;gap:12px;min-height:44px;max-width:100%;margin-top:4px!important;padding:0 20px!important;white-space:nowrap;
    border:1px solid rgba(255,255,255,.26)!important;border-radius:999px;font-size:clamp(10px,calc(2.8 * var(--vw)),11px)!important;letter-spacing:.16em!important;color:#fbfaf7!important;
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}
  html body.page-home .split .direction .link i{color:var(--yellow)}

  /* the bridge from the directions to the doctors */
  html body.page-home .team-intro{display:block;padding:72px calc(6 * var(--vw)) 8px;background:var(--black)}
  html body.page-home .team-intro-kick{display:flex;align-items:center;gap:10px;margin:0 0 18px;font:400 11px/1 Montserrat,Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#9c9b96}
  html body.page-home .team-intro-kick i{width:6px;height:6px;border-radius:50%;background:var(--yellow)}
  html body.page-home .team-intro h2{margin:0 0 16px;font:400 clamp(32px,calc(9 * var(--vw)),56px)/1.04 Montserrat,Arial,sans-serif;letter-spacing:-.02em;text-transform:uppercase;color:var(--porcelain)}
  html body.page-home .team-intro-lead{margin:0;max-width:34ch;font:400 15px/1.6 Montserrat,Arial,sans-serif;color:#bdbcb6}
  html body.page-home .team-intro-lead :is(strong,b){font-weight:600;color:var(--porcelain)}
}
/* on the scroll: each "Explore …" glass capsule grows smoothly towards the middle of the screen and shrinks again past it; the bridge lines rise in */
@keyframes linkGrow{0%{scale:.96;animation-timing-function:cubic-bezier(.45,0,.55,1)}50%{scale:1.06;animation-timing-function:cubic-bezier(.45,0,.55,1)}100%{scale:.96}}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split .direction .link{transform-origin:0 50%;animation:linkGrow linear both;animation-timeline:view();animation-range:cover 12% cover 88%}
    html body.page-home .split .direction > img{animation:dirDrift linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    html body.page-home .team-intro > *{animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 30%}
    html body.page-home .team-intro > h2{animation-range:entry 25% cover 36%}
  }
}
@keyframes dirDrift{from{transform:scale(1.1) translate3d(0,-3%,0)}to{transform:scale(1.1) translate3d(0,3%,0)}}

/* phones: "About us · Those at the Founders" stands above the founders ribbon (moved there by roots.js); its line about
   the two doctors is already said just above the doctors, so it is not repeated here */
@media (max-width:900px){
  html body.page-home .roots-intro-m{padding:72px calc(6 * var(--vw)) 8px;background:var(--black)}
  html body.page-home .roots-intro-m .rp-intro{display:block!important;width:auto!important;padding:0!important}
  html body.page-home .roots-intro-m .roots-title{font-size:clamp(48px,calc(14 * var(--vw)),84px)!important;line-height:.98}
  html body.page-home .roots-intro-m .roots-lead{display:none}
  html body.page-home .roots-intro-m .roots-sign{margin:22px 0 0!important}
  /* the ribbon follows straight on: no rule, and the founders sit at the top of their screen, just below the header */
  html body.page-home .roots{border-top:0!important}
  html body.page-home .roots.is-pin .rp-founders{justify-content:flex-start!important;padding-top:68px!important}
  html body.page-home .roots.is-pin .rp-founders :is(.roots-meta,.roots-meta .roots-cap){margin-top:0!important}
}
/* then, as with "Our name" above: the title fades back and only the gold Founders and the address stay lit */
@keyframes rtFade{to{opacity:.16}}
@keyframes rtSign{to{color:#e8e6e0;text-shadow:0 0 14px rgba(214,180,76,.4)}}
@keyframes rtLit{to{text-shadow:0 0 22px rgba(214,180,76,.55);box-shadow:0 0 26px rgba(214,180,76,.35),inset 0 0 16px rgba(214,180,76,.14)}}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .roots-intro-m .rp-intro{view-timeline:--rtHead block}
    html body.page-home .roots-intro-m .roots-title .ln:not(:last-child) > span{animation:nhDim linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-kick{animation:rtFade linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-sign{animation:rtSign linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-box{animation:rtLit linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-title.is-in .ln:last-child{overflow:visible!important;clip-path:none!important}
  }
}

/* phones: every chapter below "Those at the Founders" opens like "Two specialists": its label, title and text rise in
   one after another; once the heading has been read and moves up, its plain words fade back for good and its gold
   words light (as in "Our name"). Scroll-driven, each element on its own pass. */
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    /* entrance */
    html body.page-home :is(.roots-intro-m .rp-intro > .roots-kick,.roots-intro-m .roots-sign,.eq-head > *,.kit-rail .rl-head > *,.place-copy > *){animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 26%}
    html body.page-home :is(.eq-head,.kit-rail .rl-head,.place-copy) > :nth-child(2){animation-range:entry 18% cover 30%}
    html body.page-home :is(.eq-head,.kit-rail .rl-head,.place-copy) > :nth-child(3){animation-range:entry 26% cover 34%}
    html body.page-home :is(.eq-head,.kit-rail .rl-head,.place-copy) > :nth-child(n+4){animation-range:entry 32% cover 38%}
    /* highlight: About us — "Those at the" fades back, the Founders box lights */
    html body.page-home .roots-intro-m .rp-intro > .roots-kick{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 26%,cover 60% cover 72%}
    /* the address lights up with the Founders box (white, a soft gold glow) */
    html body.page-home .roots-intro-m .rp-intro .roots-sign{animation:msRise linear both,signLit linear both;animation-timeline:view(),--rtTitle;animation-range:entry 10% cover 26%,cover 58% cover 70%}
    /* the title's lines sit in clipping masks, so they follow the whole title's pass rather than their own */
    html body.page-home .roots-intro-m{timeline-scope:--rtTitle}
    html body.page-home .roots-intro-m .roots-title{view-timeline:--rtTitle block}
    html body.page-home .roots-intro-m .roots-title .ln > span{transform:none!important;transition:none!important}
    html body.page-home .roots-intro-m .roots-title .ln{overflow:visible;animation:msRise linear both;animation-timeline:view();animation-range:entry 12% cover 26%}
    html body.page-home .roots-intro-m .roots-title .ln:nth-child(2){animation-range:entry 20% cover 30%}
    html body.page-home .roots-intro-m .roots-title .ln:nth-child(3){animation-range:entry 28% cover 34%}
    html body.page-home .roots-intro-m .roots-title .ln:not(:has(.roots-box)) > span{animation:nhDim linear both;animation-timeline:--rtTitle;animation-range:cover 58% cover 70%}
    html body.page-home .roots-intro-m .roots-title em.roots-box{animation:nhLit linear both;animation-timeline:--rtTitle;animation-range:cover 58% cover 70%}
    /* highlight: Equipment — the title's first line, the label and the text fade back, the gold line lights */
    html body.page-home .eq .eq-head > .eq-title{animation:none}
    html body.page-home .eq-head .eq-title span:not(:nth-child(2)){animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 14% cover 28%,cover 58% cover 70%}
    html body.page-home .eq-head .eq-title span:nth-child(2){animation:msRise linear both,nhLit linear both;animation-timeline:view(),view();animation-range:entry 22% cover 32%,cover 58% cover 70%}
    html body.page-home .eq .eq-head > .eq-kick{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 26%,cover 60% cover 72%}
    html body.page-home .eq .eq-head > .eq-lead{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 26% cover 34%,cover 56% cover 68%}
    /* highlight: Reels — the title fades back around its gold word, label and note too */
    html body.page-home .kit-rail .rl-head > .rl-title{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 18% cover 30%,cover 58% cover 70%}
    html body.page-home .kit-rail .rl-head .rl-title em{animation:nhLit linear both;animation-timeline:view();animation-range:cover 58% cover 70%}
    html body.page-home .kit-rail .rl-head > :is(.rl-label,.rl-note){animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 26%,cover 58% cover 70%}
    /* highlight: Reviews — the title fades back around its gold words; the count and stars stay bright */
    html body.page-home .proof-head .proof-title{view-timeline:--pfTitle block}
    html body.page-home .proof-head .proof-title .ln > span{transform:none!important;transition:none!important}
    html body.page-home .proof-head .proof-title .ln{overflow:visible;animation:msRise linear both;animation-timeline:view();animation-range:entry 12% cover 26%}
    html body.page-home .proof-head .proof-title .ln:nth-child(2){animation-range:entry 20% cover 30%}
    html body.page-home .proof-head .proof-title .ln:nth-child(3){animation-range:entry 28% cover 34%}
    html body.page-home .proof-head > .proof-kick{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 8% cover 22%,cover 60% cover 72%}
    html body.page-home .proof-head .proof-title .ln > span{animation:nhDim linear both;animation-timeline:--pfTitle;animation-range:cover 58% cover 70%}
    html body.page-home .proof-head .proof-title em{animation:nhLit linear both;animation-timeline:--pfTitle;animation-range:cover 58% cover 70%}
    html body.page-home .proof-head :is(.proof-kick,.proof-sub){animation:nhDim linear both;animation-timeline:view();animation-range:cover 60% cover 72%}
  }
}

/* phones and small tablets: the Equipment heading set like the other chapters — label, a large title over the full
   width, then the text under it (no two columns) */
@media (max-width:900px){
  html body.page-home .eq-head{display:block!important;margin-bottom:48px!important}
  html body.page-home .eq-head .eq-kick{margin:0 0 20px!important}
  html body.page-home .eq-head .eq-title{font-size:clamp(40px,calc(11 * var(--vw)),72px)!important;line-height:1.02!important;letter-spacing:-.03em}
  html body.page-home .eq-head .eq-title span:nth-child(2){padding-left:0!important}
  html body.page-home .eq-head .eq-lead{margin:22px 0 0!important;max-width:38ch;font-size:16px!important;line-height:1.65!important}
}

/* phones and small tablets: the Reels heading set the same way — label, a large full-width title, the text under it,
   then the Instagram link */
@media (max-width:900px){
  html body.page-home .kit-rail .rl-head{display:block!important}
  html body.page-home .kit-rail .rl-head .rl-label{margin:0 0 20px!important}
  html body.page-home .kit-rail .rl-head .rl-title{font-size:clamp(40px,calc(11 * var(--vw)),72px)!important;line-height:1.02!important;letter-spacing:-.03em}
  html body.page-home .kit-rail .rl-head .rl-note{margin:22px 0 0!important;max-width:38ch;font-size:16px!important;line-height:1.65!important}
  html body.page-home .kit-rail .rl-head .rl-cta{display:inline-flex;margin-top:24px}
}

/* phones and small tablets: the Reviews heading sits on the left edge like every other chapter */
@media (max-width:900px){
  html body.page-home .proof-head{align-items:flex-start!important;text-align:left!important;margin-left:0!important;margin-right:0!important}
  html body.page-home .proof-head .proof-big{justify-content:flex-start}
  html body.page-home .proof-head .proof-big:before{inset:-35% -10% -35% -20%}
}

/* phones and small tablets: the reviews as clear-glass cards that page through on the scroll, the way the doctors do.
   The cards' screen holds; scrolling down moves the strip one card at a time, the card in the middle is full size and
   bright, its neighbours show at both edges, smaller and turned away in depth (3D), and dimmed. Without scroll timelines the cards stand in a column. */
@keyframes pgTrack{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-4 * (var(--cw) + 4px)),0,0)}}
@keyframes pgFocus{0%{transform:perspective(1200px) rotateY(12deg) scale(.94);opacity:.55}50%{transform:perspective(1200px) rotateY(0) scale(1);opacity:1}100%{transform:perspective(1200px) rotateY(-12deg) scale(.94);opacity:.55}}
/* the first card is already facing you when the reviews arrive; it only turns away once the strip starts */
@keyframes pgFirst{from{transform:perspective(1200px) rotateY(0) scale(1);opacity:1}to{transform:perspective(1200px) rotateY(-12deg) scale(.94);opacity:.55}}
@media (max-width:900px){
  html body.page-home .proof#reviews .proof-card,html body.page-home .proof#reviews .proof-card:is(.is-lg,.is-wide,.is-md,.is-sm){
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.015))!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:14px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important;padding:24px 22px 22px!important}
  html body.page-home .proof#reviews .proof-card blockquote{font-size:16px!important;line-height:1.55!important}
  html body.page-home .proof#reviews .proof-card figcaption b{font-size:13px}
}
/* phones and small tablets: the reviews' figures set as one quiet lockup in the brand serif — the count with its gold
   "+" on the left, the stars and the Google line beside it — instead of a giant counter with a glow; the strip of
   cards ends on a "more on Google" card, and the row of links under it goes */
.proof-more{display:none}
@media (max-width:900px){
  html body.page-home .proof#reviews .proof-head{display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:18px;align-items:center}
  html body.page-home .proof#reviews .proof-head > :is(.proof-kick,.proof-title,.proof-rule){grid-column:1 / -1}
  html body.page-home .proof#reviews .proof-rule{margin:26px 0 22px!important}
  html body.page-home .proof#reviews .proof-big{grid-column:1;grid-row:4 / span 2;margin:0!important;font:500 clamp(56px,calc(17 * var(--vw)),84px)/.9 var(--brand-serif)!important;letter-spacing:-.02em!important}
  html body.page-home .proof#reviews .proof-big:before{display:none}
  html body.page-home .proof#reviews .proof-big b{font-family:var(--brand-serif)!important;font-weight:500!important}
  html body.page-home .proof#reviews .proof-big span{font-size:.45em;margin:.1em 0 0 .04em}
  html body.page-home .proof#reviews .proof-head-stars{grid-column:2;grid-row:4;align-self:end;gap:6px!important}
  html body.page-home .proof#reviews .proof-head-stars span{width:14px!important;height:14px!important}
  html body.page-home .proof#reviews .proof-sub{grid-column:2;grid-row:5;align-self:start;margin:8px 0 0!important;font-size:13px!important;line-height:1.45}
  html body.page-home .proof#reviews .proof-bar{display:none!important}
  /* the last card: no figures, just a gold ring with an arrow and "Read more", centred */
  html body.page-home .proof#reviews .proof-more{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:var(--white);text-decoration:none;text-align:center}
  html body.page-home .proof#reviews .proof-more-ico{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;border:1px solid rgba(214,180,76,.75);background:radial-gradient(closest-side,rgba(214,180,76,.16),rgba(214,180,76,0));box-shadow:0 0 28px rgba(214,180,76,.18)}
  html body.page-home .proof#reviews .proof-more-ico svg{width:24px;height:24px;fill:none;stroke:var(--yellow);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
  html body.page-home .proof#reviews .proof-more span{font:500 12px/1.4 Montserrat,Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase}
}

/* ── white, where it joins the story (phones and small tablets) ──
   the founders ribbon's closing panel ("Come and meet us") is a warm white page of its own that slides in
   On white nothing fades back — the words stay fully readable; gold becomes a deeper bronze. */
@media (max-width:900px){


  html body.page-home .roots.is-pin .rp-end{align-self:stretch;height:100%;box-sizing:border-box;background:#37373a;justify-content:center}
  html body.page-home .roots.is-pin .rp-end h3{color:#efeee9!important}
  html body.page-home .roots.is-pin .rp-end h3 em{color:var(--yellow)!important}
  html body.page-home .roots.is-pin .rp-end p{color:#c4c2bb!important}
  html body.page-home .roots.is-pin .rp-end .roots-go{color:#efeee9!important;border-color:#efeee9!important}
}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    /* on white nothing fades back: the words only rise in and stay fully readable */
  }
}

/* phones and small tablets: "About us · Those at the Founders" (right after Dr. Armen's portrait) on plain warm white */
@media (max-width:900px){

  /* About us on white: ink words, the Founders box and the address in bronze */
  /* the warm white comes up out of the doctors' black as a shallow arc that straightens while it fills the screen,
     and bends again as it leaves; the arc is the top of a very wide ellipse (200% of the screen), so it never bulges;
     a fine gold hairline runs along it */
  html body.page-home .roots-intro-m{position:relative;margin:0!important;padding:120px calc(6 * var(--vw)) 120px!important;overflow:clip;
    view-timeline:--abtArc block;
    background:linear-gradient(180deg,transparent 44px,#37373a 44px,#37373a calc(100% - 44px),transparent calc(100% - 44px))!important}
  html body.page-home :is(.roots-intro-m,main .eq):before,html body.page-home :is(.roots-intro-m,main .eq):after{content:"";position:absolute;left:-50%;width:200%;z-index:0;pointer-events:none;
    background:#37373a;border-radius:50%;border:1px solid transparent}
  /* the ellipse is fixed (its sides meet the screen edges 44px in); only scaleY changes with the scroll, so the arc
     moves on the GPU with no layout or repaint per frame (iPhone Safari runs scroll animations on the main thread) */
  html body.page-home .roots-intro-m:before{top:0;height:656px;border-top-color:rgba(214,180,76,.5);transform-origin:50% 44px}
  html body.page-home :is(.roots-intro-m,main .eq):after{bottom:0;height:656px;border-bottom-color:rgba(214,180,76,.5);transform-origin:50% calc(100% - 44px);transform:scaleY(0)}
  html body.page-home :is(.roots-intro-m,main .eq):is(:before,:after){will-change:transform}
  html body.page-home :is(.roots-intro-m,main .eq) > *{position:relative;z-index:1}
}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    /* the arcs: deep while the white comes up from below, settling as it fills the screen; deepening again as it leaves */
    html body.page-home .roots-intro-m:before{animation:arcFlat linear both;animation-timeline:--abtArc;animation-range:entry 0% cover 38%}
    html body.page-home .roots-intro-m:after{animation:arcBend linear both;animation-timeline:--abtArc;animation-range:cover 62% exit 100%}
  }
}

@keyframes arcFlat{from{transform:scaleY(1)}to{transform:scaleY(0)}}
@keyframes arcBend{from{transform:scaleY(0)}to{transform:scaleY(1)}}

/* phones and small tablets: "Come and meet us" fills the screen at the end of the ribbon and its white simply carries
   on into Equipment, which is a warm white page too (ink words, bronze accents; nothing fades back on white);
   Equipment then bends down into the Reels black with the same shallow arc as About us */
@media (max-width:900px){
  html body.page-home .roots .rp-end{position:relative;z-index:2;box-shadow:-40px 0 0 #37373a;border-top:0!important}
  html body.page-home main .eq{position:relative;overflow:clip;margin-top:0!important;padding-top:118px!important;padding-bottom:96px!important;border-top:0!important;
    view-timeline:--eqArc block;background:linear-gradient(180deg,transparent 44px,#37373a 44px,#37373a calc(100% - 44px),transparent calc(100% - 44px))!important}
  html body.page-home main .eq:before{top:0;height:656px;border-top-color:rgba(214,180,76,.5);transform-origin:50% 44px}
}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home main .eq:after{animation:arcBend linear both;animation-timeline:--eqArc;animation-range:exit 0% exit 70%}
    html body.page-home main .eq:before{animation:arcFlat linear both;animation-timeline:--eqArc;animation-range:entry 0% entry 85%}
  }
}

/* phones: the held stages only clip (overflow:clip), they are no scroll containers of their own, so Safari keeps
   their scroll-linked motion on the page's own scroll */
@media (max-width:900px){
  html body .roots.is-pin .roots-stage{overflow:clip!important}
}

/* phones: the review cards are graphite sheets on the black (light words, gold stars and source), the same grey as
   About us and Equipment; the "Read more" card stays glass with its gold ring */
@media (max-width:900px){
  html body.page-home .proof#reviews .proof-card:not(.proof-more),html body.page-home .proof#reviews .proof-card:is(.is-lg,.is-wide,.is-md,.is-sm):not(.proof-more){
    background:#37373a!important;border:0!important;box-shadow:0 18px 40px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08)!important}
  html body.page-home .proof#reviews .proof-card:not(.proof-more) blockquote{color:#efeee9!important}
  html body.page-home .proof#reviews .proof-card:not(.proof-more) figcaption b{color:#efeee9!important}
  html body.page-home .proof#reviews .proof-card:not(.proof-more) figcaption i{color:var(--yellow)!important}
  html body.page-home .proof#reviews .proof-card:not(.proof-more) .proof-stars span{background:var(--yellow)!important}
}

/* phones: one review card size on every phone — a near-portrait sheet, never wider than 320px */
@media (max-width:900px){
  html body.page-home .proof#reviews{--cw:min(74vw,320px)}
  html body.page-home .proof#reviews .proof-card:not(.proof-more){display:flex!important;flex-direction:column}
  html body.page-home .proof#reviews .proof-card:not(.proof-more) figcaption{margin-top:auto}
  html body.page-home .proof#reviews .proof-card blockquote{font-size:15px!important;line-height:1.55!important}
}

/* phones: every sideways strip is swiped with the finger (client's request) — the page never holds a screen and turns
   the vertical scroll into sideways motion. Native scrolling with snapping: the Founders ribbon, the doctors (above),
   the reviews and the reels all move the same way. */
@media (max-width:900px){
  /* Founders: roots.js marks the ribbon .is-swipe on phones and lights its panels from the strip's own scroll */
  html body .roots.is-pin.is-swipe{height:auto!important}
  html body .roots.is-pin.is-swipe .roots-stage{position:relative!important;top:auto!important;height:100svh;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  html body .roots.is-pin.is-swipe .roots-stage::-webkit-scrollbar{display:none}
  html body .roots.is-pin.is-swipe .roots-track{position:relative!important;width:max-content;animation:none!important;transform:none!important;will-change:auto}
  html body .roots.is-pin.is-swipe .roots-panel{scroll-snap-align:start}

  /* doctors: each card stops in the middle with the same room on both sides */
  html body.page-home .faces .faces-stage{padding:0 13vw!important;scroll-padding:0 13vw}
  html body.page-home .faces .face,html body.page-home .faces .face.is-liza{flex:0 0 74vw!important}

  /* reviews: one card in the middle, the next one peeking in */
  html body.page-home .proof#reviews .proof-stage{position:relative!important;overflow:visible!important;padding:0!important;height:auto!important}
  html body.page-home .proof#reviews .proof-list{display:flex!important;flex-direction:row!important;gap:12px!important;width:auto!important;
    margin:28px calc(-6 * var(--vw)) 0!important;padding:6px calc((100vw - var(--cw)) / 2) 24px!important;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;animation:none!important;transform:none!important}
  html body.page-home .proof#reviews .proof-list::-webkit-scrollbar{display:none}
  html body.page-home .proof#reviews .proof-list .proof-card{flex:0 0 var(--cw);width:var(--cw)!important;min-height:calc(var(--cw) * 1.12)!important;box-sizing:border-box;
    scroll-snap-align:center}
  html body.page-home .proof#reviews .swipe-dots{display:flex;justify-content:center;gap:8px;margin-top:4px}
  html body.page-home .proof#reviews .swipe-dots i{width:22px;height:2px;border-radius:2px;background:rgba(251,250,247,.22);transition:background .4s,width .4s}
  html body.page-home .proof#reviews .swipe-dots i.is-on{width:34px;background:var(--yellow)}
}

/* phones: the light chapters (About us, "Come and meet us", Equipment, the review cards) are the graphite grey of the
   founders' portrait on the first screen (client's request) instead of warm white; light words, gold accents */

/* phones: nothing may stick out past the screen's edges (the hero grain, the "Our name" lines waiting to slide in, the
   directions photo): iPhone Safari would otherwise let the whole page pan sideways when a swipe runs past a strip's end */
@media (max-width:900px){
  html body.page-home main > *{overflow-x:clip}
  html body.page-home .faces .faces-stage,html body.page-home .proof#reviews .proof-list,html body.page-home .roots.is-pin.is-swipe .roots-stage{overscroll-behavior-x:contain;touch-action:pan-x pan-y}
}
/* phones: the cards turn as they are swiped — the one coming in from the right faces slightly away and turns to you as it
   reaches the middle, the one leaving turns away to the left (the browser runs it from the strip's own scroll, transform
   and opacity only) */
@keyframes swTurn{
  0%{transform:perspective(1200px) rotateY(14deg) scale(.94);opacity:.6}
  50%{transform:perspective(1200px) rotateY(0) scale(1);opacity:1}
  100%{transform:perspective(1200px) rotateY(-14deg) scale(.94);opacity:.6}}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .faces .faces-stage .face,html body.page-home .proof#reviews .proof-list .proof-card{
      transform-origin:50% 50%;will-change:transform,opacity;animation:swTurn linear both;animation-timeline:view(inline);animation-range:cover 0% cover 100%}
  }
}

/* phones: night water under MonaSmile ("crafted to reflect the real you"). The name stands on dark water, a thin
   silver glint on the waterline, its reflection lying on the water in perspective, coming towards you. As the name
   parts, Smile keeps its place and the water with it, while Mona rises out of the water and its reflection melts away.
   Dark only; transform and opacity move. app.js nameJoin sets the words' text (data-t) and their baseline (--bl). */
@keyframes nmStretch{to{scale:1 1.12}}
@keyframes nmLift{to{opacity:0}}
@supports (animation-timeline: view()){
  @media (max-width:900px){
    html body.page-home .name-lock .name-expand{margin-top:84px!important}
    html body.page-home .name-lock.is-join .name-word{position:relative;--sv:214,220,232}
    /* the water: one surface, carried by Smile (Smile holds its place on the screen while Mona moves on). Joined, it is
       centred under the whole name; a thin glint on the waterline and a little depth beneath, fading to the sides */
    html body.page-home .name-lock.is-join .name-word.is-mona::before{content:none}
    html body.page-home .name-lock.is-join .name-word.is-smile::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:-150%;right:-40%;top:var(--bl);height:110px;
      background:linear-gradient(90deg,rgba(var(--sv),0) 6%,rgba(var(--sv),.3) 50%,rgba(var(--sv),0) 94%) 0 0/100% 1px no-repeat,
        radial-gradient(ellipse 46% 60% at 50% 0,rgba(0,0,0,.55),rgba(0,0,0,0) 72%)}
    /* the reflection lies on that water and comes towards you: mirrored, tilted forward, dim, fading out */
    html body.page-home .name-lock.is-join .name-word::after{content:attr(data-t);position:absolute;left:0;top:0;pointer-events:none;white-space:nowrap;
      color:rgb(var(--sv));opacity:.3;filter:blur(.9px);transform-origin:50% var(--bl);transform:perspective(900px) rotateX(36deg) scaleY(-1.2);
      -webkit-mask:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.55) 74%,#000 97%);mask:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.55) 74%,#000 97%)}
  }
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .name-lock.is-join .name-word::after{animation:nmStretch linear both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--r0)) cover calc(100% - var(--r1))}
    /* Mona rises out of the water as it moves on: its reflection melts away over the whole parting */
    html body.page-home .name-lock.is-join .name-word.is-mona::after{animation:nmStretch linear both,nmLift linear both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--r0)) cover calc(100% - var(--r1))}
  }
}


/* phones: graphite lives in cards on the black page (no full-width grey bands, no black strips between them).
   About us and "Come and meet us" are inset graphite cards whose top and bottom are the same shallow arcs with the
   gold hairline (straightening as the card comes in, bending as it leaves); Equipment stands on black and each
   service is a rounded graphite card, like the reviews. */
@media (max-width:900px){
  /* the card is the box itself (rounded); the arcs rise beyond its top and bottom edges and fold flat into them */
  html body.page-home .roots-intro-m,html body.page-home .roots.is-pin .rp-end{background:#37373a!important;border-radius:22px;overflow:visible!important;
    clip-path:inset(-50px 0 -50px 0)}
  html body.page-home .roots-intro-m{margin:56px 12px!important;padding:64px 24px 60px!important}
  html body.page-home .roots-intro-m:before,html body.page-home .roots.is-pin .rp-end:before{top:-44px!important}
  html body.page-home .roots-intro-m:after,html body.page-home .roots.is-pin .rp-end:after{bottom:-44px!important}
  html body.page-home .roots.is-pin .rp-end{position:relative;height:auto!important;align-self:center!important;margin:0 12px 0 0!important;
    padding:60px 26px!important;box-shadow:none!important}
  html body.page-home .roots.is-pin .rp-end:before,html body.page-home .roots.is-pin .rp-end:after{content:"";position:absolute;left:-50%;width:200%;height:656px;z-index:0;
    pointer-events:none;background:#37373a;border-radius:50%;border:1px solid transparent;will-change:transform}
  html body.page-home .roots.is-pin .rp-end:before{border-top-color:rgba(214,180,76,.5);transform-origin:50% 44px}
  html body.page-home .roots.is-pin .rp-end:after{border-bottom-color:rgba(214,180,76,.5);transform-origin:50% calc(100% - 44px);transform:scaleY(0)}
  html body.page-home .roots.is-pin .rp-end > *{position:relative;z-index:1}
  html body.page-home main .eq{background:#0b0b0b!important;padding-top:72px!important;padding-bottom:40px!important}
  html body.page-home main .eq:before,html body.page-home main .eq:after{display:none!important}
  html body.page-home main .eq .eq-row{background:#37373a;border-radius:18px;padding:20px 18px!important;margin-bottom:12px;border:0!important}
}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .roots.is-swipe{view-timeline:--rootsV block}
    html body.page-home .roots.is-pin .rp-end:before{animation:arcFlat linear both;animation-timeline:--rootsV;animation-range:entry 0% entry 70%}
    html body.page-home .roots.is-pin .rp-end:after{animation:arcBend linear both;animation-timeline:--rootsV;animation-range:exit 30% exit 100%}
  }
}

/* phones: no gold on the arcs, no dots under the sideways strips; the swiped cards are their own GPU layers */
@media (max-width:900px){
  html body.page-home :is(.roots-intro-m,.roots.is-pin .rp-end,main .eq):is(:before,:after){border-color:transparent!important}
  html body.page-home .faces .faces-dots,html body.page-home .proof#reviews .swipe-dots{display:none!important}
  html body.page-home :is(.faces .faces-stage .face,.proof#reviews .proof-list .proof-card){backface-visibility:hidden;contain:layout paint}
}

/* phones: (1) no gold at all on the arcs (pseudo-elements cannot sit inside :is(), so each is named);
   (2) "Come and meet us" inside the sideways ribbon is a plain rounded graphite card — the arcs belong to the vertical
   transitions, inside a sideways strip they only flickered; (3) the directions end on the same soft arc: the photo's
   bottom edge bulges into the black and straightens as it leaves — a black layer with an elliptic opening, scaled
   on the scroll (transform only). */
@media (max-width:900px){
  html body.page-home .roots-intro-m:before,html body.page-home .roots-intro-m:after,
  html body.page-home main .eq:before,html body.page-home main .eq:after{border-color:transparent!important}
  html body.page-home .roots.is-pin .rp-end{clip-path:none!important;overflow:hidden!important;border-radius:22px}
  html body.page-home .roots.is-pin .rp-end:after{content:none!important;animation:none!important}
  html body.page-home .split{position:relative}
  html body.page-home .split:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:64px;z-index:5;pointer-events:none;
    background:radial-gradient(ellipse 56% 100% at 50% 0,rgba(11,11,11,0) 98.5%,#0b0b0b 100%);transform-origin:50% 100%;transform:scaleY(0)}
}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split:after{animation:arcBend linear both;animation-timeline:--dirsIn;animation-range:exit 0% exit 45%}
  }
}

/* phones: every treatments list (Aesthetic medicine, Dentistry) is a stack of rounded cards like the services under
   Equipment on the home page — photo and words inside each card, no rules between them; the card tone is --txc */
@media (max-width:900px){
  html body .tx-menu{--txc:#0b0b0b;--txc-on:#151515}
  html body .tx-menu .tx-cards{gap:10px!important;border-top:0!important}
  html body .tx-menu .tx-card{padding:14px 16px 14px 14px!important;border:0!important;border-radius:18px!important;background:var(--txc)!important;
    transition:background .3s,transform .3s}
  html body .tx-menu .tx-cards li:last-child .tx-card{border:0!important}
  html body .tx-menu .tx-card.is-tap,html body .tx-menu .tx-card:active{background:var(--txc-on)!important;transform:scale(.985)}
  html body .tx-menu .tx-card:hover{border:0!important}
  html body .tx-menu .tx-block-k{padding-bottom:6px!important;margin-bottom:14px!important}
}

/* phones: the reels in two rows, like a contact sheet — smaller covers, the second row set half a cover to the right,
   both rows swiped together; as the strip moves the second row glides a little faster than the first (depth) */
@keyframes rlDrift{to{transform:translate3d(calc(-.5 * var(--rt)),0,0)}}
@media (max-width:900px){
  html body.page-home .kit-rail .rl-rows{--rt:min(40vw,190px);display:flex!important;flex-direction:column!important;gap:10px!important;align-items:flex-start}
  html body.page-home .kit-rail .rl-row{display:flex!important;gap:10px;width:max-content;flex:none}
  html body.page-home .kit-rail .rl-row.is-offset{margin-left:calc(var(--rt) / 2 + 5px);padding-left:0!important}
  html body.page-home .kit-rail .rl-tile{width:var(--rt)!important;border-radius:14px;overflow:hidden}
  html body.page-home .kit-rail .rl-row.is-offset .rl-tile{scroll-snap-align:none}
  html body.page-home .kit-rail .rl-play{width:32px!important;height:32px!important;left:10px!important;bottom:10px!important}
}
@supports (animation-timeline: scroll()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .kit-rail .rl-row.is-offset{will-change:transform;animation:rlDrift linear both;animation-timeline:scroll(inline nearest)}
  }
}

/* phones: the treatment cards are black (the page's own black) with a fine edge, so the shape reads on the dark page */
@media (max-width:900px){
  html body .tx-menu .tx-card{box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)!important}
}

/* phones: the directions also open on the soft arc — the photo's top edge rises into the black above and straightens
   as it comes in (a black layer with an elliptic opening, scaled on the scroll; transform only) */
@media (max-width:900px){
  html body.page-home .split:before{content:"";position:absolute;left:0;right:0;top:-1px;height:64px;z-index:5;pointer-events:none;
    background:radial-gradient(ellipse 56% 100% at 50% 100%,rgba(11,11,11,0) 98.5%,#0b0b0b 100%);transform-origin:50% 0;transform:scaleY(0)}
}
@supports (animation-timeline: view()){
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split:before{animation:arcFlat linear both;animation-timeline:--dirsIn;animation-range:entry 0% entry 40%}
  }
}

/* phones: the review cards take the shape of the treatment cards — the page's black with a fine edge, as tall as their
   words (no empty middle), a silver quotation mark on top; the "Read more" card the same */
@media (max-width:900px){
  html body.page-home .proof#reviews .proof-list .proof-card,html body.page-home .proof#reviews .proof-list .proof-card:is(.is-lg,.is-wide,.is-md,.is-sm){
    background:#0b0b0b!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)!important;border:0!important;border-radius:20px!important;min-height:0!important}
  html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more){padding:22px 22px 20px!important}
  html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more):before{content:"\201C";display:block;font:400 64px/.6 var(--brand-serif);color:rgba(214,220,232,.35);margin:6px 0 2px -2px}
  html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more) blockquote{font-size:17px!important;line-height:1.55!important}
  html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more) figcaption{margin-top:18px!important}
  html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more) figcaption i{color:#8f8e88!important}
  html body.page-home .proof#reviews .proof-list{align-items:stretch}
}

/* phones: headings and copy are all Montserrat — the reviews' count and the quotation marks too (only the MonaSmile
   logotype keeps the brand serif) */
@media (max-width:900px){
  html body.page-home .proof#reviews .proof-big,html body.page-home .proof#reviews .proof-big b{font-family:Montserrat,Arial,sans-serif!important;font-weight:300!important;letter-spacing:-.03em!important}
  html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more):before{font-family:Montserrat,Arial,sans-serif!important;font-weight:300!important}
}

/* phones: the graphite has the same film grain as the founders' portrait on the first screen (the hero's noise, blended
   over the grey) and the same soft studio light — brighter in the middle, a little darker towards the edges — so the
   grey reads as photographic paper, not a flat fill: About us (and its arcs), "Come and meet us", the Equipment
   cards. A still texture — drawn once, nothing moves */
@media (max-width:900px){
  html body.page-home{--grain:image-set(url("../assets/img/grain/g-ab0020c8.webp") 1x)}
  html body.page-home .roots-intro-m,html body.page-home .roots-intro-m:before,html body.page-home .roots-intro-m:after,
  html body.page-home .roots.is-pin .rp-end,html body.page-home main .eq .eq-row{
    background:linear-gradient(180deg,#2b2b2b 0,#282828 100%)!important}
}

/* phones: over the grey the same grain layer as on the first screen (same texture), standing still */
@media (max-width:900px){
  html body.page-home .roots-intro-m > .rp-intro::before,html body.page-home .roots.is-pin .rp-end::before,html body.page-home main .eq .eq-row::after{
    content:"";position:absolute;pointer-events:none;background:image-set(url("../assets/img/grain/g-f6459f17.webp") 1x) 0 0/160px 160px repeat;
    opacity:.05;mix-blend-mode:normal;will-change:auto}
  /* the grain blends with the card's own backdrop, exactly as on the first screen */
  html body.page-home .roots.is-pin .rp-end,html body.page-home main .eq .eq-row{isolation:isolate}
  html body.page-home .roots-intro-m > .rp-intro::before{z-index:-1;top:-64px;bottom:-60px;left:-30px;right:-30px}
  html body.page-home .roots.is-pin .rp-end::before{z-index:0;inset:-8px}
  html body.page-home main .eq .eq-row{overflow:hidden}
  html body.page-home main .eq .eq-row::after{z-index:0;inset:-8px}
  html body.page-home main .eq .eq-row > *{position:relative;z-index:1}
}

/* phones: the About us arcs are the card's own edge colours as they are seen, with the card's grain on top (the grain
   lifts the graphite by about 4 steps; the arcs carry no grain, so in the bare gradient colours they read as a dark band) */
@media (max-width:900px){
  html body.page-home .roots-intro-m:before{background:#2f2f2f!important}
  html body.page-home .roots-intro-m:after{background:#2c2c2c!important}
  html body.page-home .roots-intro-m > .rp-intro{position:relative;z-index:1!important}
}

/* phones and tablets: the doctors' names under their strip, in small capitals; a gold dot before the one in front */
.faces-nav{display:none}
@media (max-width:900px){
  html body.page-home .faces .faces-nav{display:flex;justify-content:center;align-items:center;gap:34px;margin:32px auto 0}
  html body.page-home .faces .fn-item{display:flex;align-items:center;gap:10px;margin:0;padding:10px 0;border:0;background:none;cursor:pointer;
    font:500 11px/1 Montserrat,Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;white-space:nowrap;color:#5f5e59;transition:color .4s;-webkit-tap-highlight-color:transparent}
  html body.page-home .faces .fn-item:before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--yellow);opacity:0;transform:scale(.4);transition:opacity .4s,transform .4s cubic-bezier(.2,.7,.2,1)}
  html body.page-home .faces .fn-item.is-on{color:#efeee9}
  html body.page-home .faces .fn-item.is-on:before{opacity:1;transform:none}
  html body.page-home .faces .fn-item:focus-visible{outline:1px solid var(--yellow);outline-offset:4px;border-radius:4px}
}

/* desktop, Russian: "Доктор Лиза" / "Доктор Армен" are longer than "Dra. Liza" / "Dr. Armen"; at the English size they ran
   under the photo (and "Доктор Армен" past the right edge of the screen), so the Russian names are set smaller */
@media (min-width:901px){
  html[lang="ru"] .faces .face-copy h2{font-size:min(calc(4.4 * var(--vw)),13vh)}
}

/* desktop: the phone's scroll language on the chapters that are not held scenes — each heading's label, lines and text
   rise in one after another; once the heading has been read and moves up, its plain words fade back and its gold
   words light. The directions' photos drift and their "Explore" links grow towards the middle of the screen.
   "Our name", the doctors and the Founders ribbon keep their own desktop scenes; in the Founders the heading follows
   the whole held section (its title stands still while the ribbon runs). Browser-run, no script. */
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    /* Two directions */
    html body.page-home .split .direction > img{animation:dirDrift linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    html body.page-home .split .direction-copy > :not(h2):not(.link){animation:msRise linear both;animation-timeline:view();animation-range:entry 20% cover 40%}
    html body.page-home .split .direction .link{transform-origin:0 50%;animation:msRise linear both,linkGrow linear both;animation-timeline:view(),view();animation-range:entry 25% cover 42%,cover 12% cover 88%}
    /* Equipment: the title's first line, the label and the text fade back, the gold line lights */
    html body.page-home .eq .eq-head > .eq-title{animation:none}
    html body.page-home .eq-head .eq-title span:not(:nth-child(2)){display:inline-block;animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 14% cover 28%,cover 52% cover 66%}
    html body.page-home .eq-head .eq-title span:nth-child(2){display:inline-block;animation:msRise linear both,nhLit linear both;animation-timeline:view(),view();animation-range:entry 22% cover 32%,cover 52% cover 66%}
    html body.page-home .eq .eq-head > .eq-kick{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 26%,cover 54% cover 68%}
    html body.page-home .eq .eq-head > .eq-lead{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 26% cover 34%,cover 50% cover 64%}
    /* Reels: the title fades back around its gold words, the label and the note too */
    html body.page-home .kit-rail .rl-head > *{animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 26%}
    html body.page-home .kit-rail .rl-head > .rl-title{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 18% cover 30%,cover 50% cover 64%}
    html body.page-home .kit-rail .rl-head .rl-title em{animation:nhLit linear both;animation-timeline:view();animation-range:cover 50% cover 64%}
    html body.page-home .kit-rail .rl-head > :is(.rl-label,.rl-note){animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 26%,cover 50% cover 64%}
    /* Reviews: the lines still rise on their own; then the title fades back around its gold words, the label and line under
       the count too (the count and the stars stay bright) */
    html body.page-home .proof-head .proof-title{view-timeline:--pfTitleD block}
    html body.page-home .proof-head .proof-title .ln > span{animation:nhDim linear both;animation-timeline:--pfTitleD;animation-range:cover 52% cover 66%}
    html body.page-home .proof-head .proof-title em{animation:nhLit linear both;animation-timeline:--pfTitleD;animation-range:cover 52% cover 66%}
    html body.page-home .proof-head :is(.proof-kick,.proof-sub,.proof-trust){animation:nhDim linear both;animation-timeline:view();animation-range:cover 54% cover 68%}
    /* Founders (held): as the ribbon starts to run, "Those at the" fades back, the gold Founders box lights, the label
       steps back and the address lights up */
    html body.page-home .roots.is-pin{view-timeline:--rtHeld block}
    html body.page-home .roots.is-pin .rp-intro .roots-title .ln:not(:has(.roots-box)) > span{animation:nhDim linear both;animation-timeline:--rtHeld;animation-range:contain 3% contain 12%}
    html body.page-home .roots.is-pin .rp-intro .roots-title em.roots-box{animation:rtLit linear both;animation-timeline:--rtHeld;animation-range:contain 3% contain 12%}
    html body.page-home .roots.is-pin .rp-intro .roots-kick{animation:rtFade linear both;animation-timeline:--rtHeld;animation-range:contain 3% contain 12%}
    html body.page-home .roots.is-pin .rp-intro .roots-sign{animation:signLit linear both;animation-timeline:--rtHeld;animation-range:contain 3% contain 12%}
    html body.page-home .roots.is-pin .rp-intro .roots-title.is-in .ln:last-child{overflow:visible!important;clip-path:none!important}
    /* Visit us: the copy rises in line by line (the address keeps its own letter animation) */
    html body.page-home .place-copy > :not(h2){animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 26%}
    html body.page-home .place-copy > :nth-child(3){animation-range:entry 18% cover 30%}
    html body.page-home .place-copy > :nth-child(n+4){animation-range:entry 26% cover 34%}
  }
}

/* ═══ desktop = phone: "Our name" and the doctors are the phone's own blocks on wide screens too (client's request:
   one meaning on every screen). The rules below are the phone rules for these two blocks, set for wide screens,
   plus a few sizes for a wide screen. The desktop's own scenes for them (the pinned name with the photo deck, the
   doctors' half-screen swap) are switched off in app.js (nameStory, facesSwap). ═══ */
@media (min-width:901px){
  /* the name: no pin, one calm flow (as touch screens and narrow windows) */
  html body.page-home .name-pin{height:auto!important;min-height:0!important}
  html body.page-home .name-sticky{position:relative!important;height:auto!important;min-height:0!important;padding:120px calc(6 * var(--vw)) 96px!important;overflow:visible!important;transform:none!important}
  html body.page-home .name-deck,html body.page-home .name-mark{display:none!important}
  html body.page-home .name-head{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:16px!important;opacity:1!important;transform:none!important;margin:0 0 72px}
  html body.page-home .name-head > *{grid-column:1!important;grid-row:auto!important;justify-self:start!important;text-align:left!important;max-width:none}
  html body.page-home .name-head h2{font-size:clamp(44px,calc(5 * var(--vw)),92px)}
  html body.page-home .name-head h2 .nh-ln:nth-child(4n+3){padding-left:10vw}
  html body.page-home .name-lock{position:relative!important;inset:auto!important;height:auto!important;display:flex;flex-direction:column;opacity:1;transform:none!important;max-width:1280px;margin:0 auto}
  html body.page-home .name-part,html body.page-home .name-part.is-mona,html body.page-home .name-part.is-smile{position:relative!important;inset:auto!important;margin:0!important;display:block;max-width:none;transform:none!important;pointer-events:auto}
  html body.page-home .name-part.is-smile{text-align:left!important;justify-items:start!important}
  html body.page-home .name-word,html body.page-home .name-word.is-mona,html body.page-home .name-word.is-smile{opacity:1!important}
  html body.page-home .name-expand{opacity:1!important;transform:none!important;clip-path:none!important}
  html body.page-home .name-expand strong{white-space:normal!important}
  html body.page-home .name-expand.is-smile{padding-right:0!important}
  html body.page-home .name-kick,html body.page-home .name-body{opacity:1!important;transform:none!important}
  html body.page-home .name-lock .name-part{--nl-col:min(100%,34rem)}
  html body.page-home .name-lock .name-expand strong{font-size:clamp(32px,calc(3 * var(--vw)),48px)!important}
  html body.page-home .name-lock .name-body p{font-size:17px!important}

  /* the doctors: the phone's sideways strip of cards, sized for a wide screen; the desktop seam and switch go */
  html body.page-home .faces{padding:96px 0 96px!important}
  html body.page-home .faces .faces-stage{--fw:min(34vw,500px);gap:28px;padding:0 calc(50% - var(--fw) / 2)!important;scroll-padding:0 calc(50% - var(--fw) / 2);cursor:grab}
  html body.page-home .faces .faces-stage.is-drag{cursor:grabbing;scroll-snap-type:none}
  html body.page-home .faces .face,html body.page-home .faces .face.is-liza{flex:0 0 var(--fw)}
  html body.page-home .faces .face .face-media,html body.page-home .faces .face.is-liza .face-media{max-height:50vh!important}
  html body.page-home .faces .face,html body.page-home .faces .face.is-liza{min-width:0!important;width:auto!important;max-width:none!important}
  html body.page-home .faces .face .face-media,html body.page-home .faces .face.is-liza .face-media{inset:auto!important;left:auto!important;min-height:0!important;height:auto!important;width:100%!important;transform:none!important}
  html body.page-home .faces .face .face-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover}
  html body.page-home .faces .face .face-copy h2{font-size:clamp(34px,calc(3 * var(--vw)),52px)!important}
  html body.page-home .faces .face .face-copy p:not(.eyebrow){font-size:17px}
  html body.page-home .faces .faces-nav{margin-top:40px}
}
/* phones: Dra. Liza and Dr. Armen side by side in one strip; each card stops in the middle. Where scroll timelines exist
   the strip pages through on the page scroll (above); otherwise it is swiped sideways (scroll snap). Two dots below say
   which doctor is in front (app.js, facesDots). */
/* the doctors' photos and copy rest in place on phones (they were reset with !important elsewhere) */
@media (min-width:901px){
  .face-media,.face-media img,.face-copy > *{transform:none;opacity:1}
}
@supports not (animation-timeline: view()){
  @media (min-width:901px){.face-media,.face-media img,.face-copy > *{transform:none!important;opacity:1!important}}
}
@media (min-width:901px){
  html .faces{position:relative;height:auto!important;padding:40px 0 64px!important}
  html .faces .faces-stage{position:relative!important;display:flex!important;flex-direction:row!important;gap:14px;height:auto!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;perspective:1200px;
    padding:0 9%!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none}
  html .faces .faces-stage::-webkit-scrollbar{display:none}
  html .faces .face,html .faces .face.is-liza{flex:0 0 82%;scroll-snap-align:center;position:relative!important;inset:auto!important;display:flex!important;flex-direction:column;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none}
  html .faces .face .face-media,html .faces .face.is-liza .face-media{order:1!important;position:relative!important;grid-column:auto!important;grid-row:auto!important;width:100%!important;height:auto!important;aspect-ratio:4/5!important;max-height:64svh!important;margin:0;border-radius:6px;overflow:clip;clip-path:none!important}
  html .faces .face .face-media img{object-position:50% 22%;transform:none!important}
  /* Dr. Armen in white on black: the framing his phone copy had before the same photo went to every screen */
  html .faces .face[data-doctor="armen"] .face-media img{object-position:45% 20%}
  /* a phone-only portrait where one is set (Dr. Armen in white with his loupes, on black) replaces the desktop one */
  html .faces .face .face-media:has(.face-m) > img:not(.face-m){display:none!important}
  html .faces .face .face-media .face-m{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:45% 20%}
  html .faces .face .face-copy,html .faces .face.is-liza .face-copy{order:2!important;display:block!important;padding:22px 0 0!important}
  html .faces .face .face-copy > *{grid-column:auto!important;grid-row:auto!important;opacity:1!important;transform:none!important}
  html .faces .face .face-copy .eyebrow{display:inline-block;margin:0 0 14px!important}
  html .faces .face .face-copy h2{margin:0;font-size:clamp(28px,calc(8 * var(--vw)),46px)!important;line-height:1.02}
  html .faces .face .face-copy h2 span,html .faces .face .face-copy h2 em{display:block}
  html .faces .face .face-copy p:not(.eyebrow){margin:14px 0 0;font-size:15px;line-height:1.6}
  /* no booking link under each doctor here: the page reads as one story, booking stays in the header */
  html .faces .face .face-copy .book{display:none!important}
  html .faces .faces-dots{display:flex;justify-content:center;gap:8px;margin-top:26px}
  html .faces .faces-dots i{width:22px;height:2px;border-radius:2px;background:rgba(251,250,247,.22);transition:background .4s,width .4s}
  html .faces .faces-dots i.is-on{width:34px;background:var(--yellow)}
}
.faces-dots,.face-m{display:none}

@supports (animation-timeline: view()){
  @media (min-width:901px){
    html .hero-brand{view-timeline:--msHero block}
    html .hero-brand .brand-mona,html .hero-brand .brand-smile{display:inline-block;animation-timeline:--msHero;animation-range:exit 5% exit 75%;animation-fill-mode:both;animation-timing-function:linear}
    html .hero-brand .brand-mona{animation-name:msSplitL}
    html .hero-brand .brand-smile{animation-name:msSplitR}
    html .name-lock .name-word{animation:msFromL linear both;animation-timeline:view();animation-range:entry 0% cover 38%}
    html .name-lock .name-word.is-smile{animation-name:msFromR}
    html .name-lock .name-expand > *{display:block;animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 34%}
    html .name-lock .name-expand > :nth-child(2){animation-range:entry 30% cover 40%}
    html .name-lock .name-body > *{animation:msRise linear both;animation-timeline:view();animation-range:entry 5% cover 25%}
  }
}


/* phones: the "Our name" lines slide in from alternating sides as they scroll up, every other line set in;
   run by the browser (CSS scroll timeline, transforms only); desktop keeps its <br> lines and its own scene */
@media (min-width:901px){
  html body.page-home .name-pin{overflow-x:clip}
  /* no rule between the sentence and the name: MonaSmile follows straight on */
  html body.page-home .name-sticky .name-head{border-bottom:0!important;padding-bottom:8px!important}
  html body.page-home .name-head h2 br{display:none}
  html body.page-home .name-head h2 .nh-ln{display:block}
  html body.page-home .name-head h2 .nh-ln:nth-child(4n+3){padding-left:16vw}
}
@keyframes nhSlide{from{transform:translate3d(var(--nx),0,0)}to{transform:translate3d(0,0,0)}}
@keyframes nhDim{to{color:rgba(239,238,233,.16)}}
@keyframes nhBack{from{color:rgba(239,238,233,.16)}to{color:var(--porcelain)}}
@keyframes signLit{to{color:var(--porcelain);text-shadow:0 0 18px rgba(214,180,76,.45)}}
@keyframes nhDimInk{to{color:rgba(22,22,22,.2)}}
@keyframes nhLit{to{text-shadow:0 0 22px rgba(214,180,76,.5)}}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .name-head h2 .nh-ln{animation:nhSlide linear both;animation-timeline:view();animation-range:entry 0% cover 55%;will-change:transform}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(1){--nx:-14vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(2){--nx:18vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(3){--nx:-10vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(4){--nx:12vw}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(5){--nx:-16vw}
    /* then the sentence fades back and only the gold words stay lit; "the real you" comes back last */
    html body.page-home .name-head h2{view-timeline:--nhHead block}
    html body.page-home .name-head h2 .nh-ln{animation:nhSlide linear both,nhDim linear both;animation-timeline:view(),--nhHead;animation-range:entry 0% cover 55%,cover 44% cover 56%}
    html body.page-home .name-head h2 .nh-ln:nth-of-type(5){animation:nhSlide linear both,nhDim linear both,nhBack linear forwards;animation-timeline:view(),--nhHead,--nhHead;animation-range:entry 0% cover 55%,cover 44% cover 56%,cover 60% cover 70%}
    html body.page-home .name-head h2 em{animation:nhLit linear both;animation-timeline:--nhHead;animation-range:cover 44% cover 56%}
  }
}
/* phones and small tablets: Mona on the left, Smile on the right below it, each with its own text */
@media (min-width:901px){
  html body.page-home .name-lock{gap:12vh!important}
  html body.page-home .name-lock .name-part,html body.page-home .name-lock .name-part.is-mona,html body.page-home .name-lock .name-part.is-smile{display:block!important}
  html body.page-home .name-lock .name-word,html body.page-home .name-lock .name-word.is-mona,html body.page-home .name-lock .name-word.is-smile{display:block!important;width:max-content!important;max-width:none!important;font-size:clamp(84px,calc(24 * var(--vw)),180px)!important;line-height:.86!important}
  html body.page-home .name-lock .name-word.is-smile{margin-left:auto!important}
  /* under each word one quiet column: a small "stands for", the meaning and the copy, all on one edge.
     Mona's column sits on the left, Smile's on the right, the way the two words part */
  html body.page-home .name-lock .name-part{--nl-col:min(100%,30rem)}
  html body.page-home .name-lock .name-expand,html body.page-home .name-lock .name-body{width:var(--nl-col)!important;max-width:none!important;padding:0!important}
  html body.page-home .name-lock .name-part.is-smile .name-expand,html body.page-home .name-lock .name-part.is-smile .name-body{margin-left:auto!important}
  html body.page-home .name-lock .name-expand{display:block!important;margin-top:28px!important}
  html body.page-home .name-lock .name-expand span{display:block;margin:0 0 10px;font:500 11px/1.2 Montserrat,Arial,sans-serif!important;letter-spacing:.24em!important;text-transform:uppercase;color:#8f8e88}
  html body.page-home .name-lock .name-expand strong{display:block;padding:0!important;font-size:clamp(26px,calc(7 * var(--vw)),40px)!important;line-height:1.05!important;letter-spacing:-.01em}
  html body.page-home .name-lock .name-body{display:block!important;margin-top:18px!important}
  html body.page-home .name-lock .name-body p{font-size:15px!important;line-height:1.6!important;margin:0!important}
  html body.page-home .name-lock .name-tags{justify-content:flex-start!important}
  /* no link under Mona and Smile here: the directions right below lead on to both */
  html body.page-home .name-lock .name-go{display:none!important}
}

/* MonaSmile comes in as one word: Smile breaks off and holds on the screen while Mona moves on, then settles below;
   what Mona stands for rises line by line only once Smile has passed under it. app.js measures the layout into
   custom properties; the browser runs the motion on the scroll (view timeline of .name-lock, transforms only). The
   ranges are counted back from the end of its cover range, which Safari's sliding toolbar does not move */
@keyframes msJoin{from{transform:translate3d(var(--jx),var(--jy),0) scale(var(--js))}to{transform:translate3d(0,0,0) scale(1)}}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .name-lock.is-join{view-timeline:--msLock block}
    html body.page-home .name-lock.is-join .name-word{transform-origin:0 0;will-change:transform;animation:msJoin linear both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--r0)) cover calc(100% - var(--r1))}
    html body.page-home .name-lock.is-join .name-word.is-mona{--jx:var(--ax);--jy:0px}
    html body.page-home .name-lock.is-join .name-word.is-smile{--jx:var(--bx);--jy:var(--by)}
    /* one animation per line (the rise): a second one on another timeline (the dim) made iPhone Safari blink the lines */
    html body.page-home .name-lock.is-join .name-part.is-mona [data-rise]{animation:msRise cubic-bezier(.2,.8,.2,1) both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--t0)) cover calc(100% - var(--t1))}
    /* what each half stands for lights up like "you" above: first all white, then everything steps back (the small
       "stands for", the words beside the gold one and the copy) and stays back, while the gold word glows */
    html body.page-home .name-lock .name-expand em{animation:nhLit linear both;animation-timeline:view();animation-range:cover 55% cover 66%}
    /* Smile's text steps back only once the directions (Dra. Liza, Dr. Armen) start to come up from below */
    html body.page-home main{timeline-scope:--dirsIn,--facesIn}
    html body.page-home .split{view-timeline:--dirsIn block}
    html body.page-home .name-lock .name-part.is-smile .name-expand em{animation-timeline:--dirsIn;animation-range:entry 0% entry 45%}
    html body.page-home .name-lock .name-part.is-smile .name-expand span{animation:msRise linear both,nhDim linear both;animation-timeline:view(),--dirsIn;animation-range:entry 10% cover 34%,entry 0% entry 45%}
    html body.page-home .name-lock .name-part.is-smile .name-body p{animation:msRise linear both,nhDim linear both;animation-timeline:view(),--dirsIn;animation-range:entry 5% cover 25%,entry 0% entry 45%}
    
    html body.page-home .name-lock .name-part.is-smile .name-expand strong{animation:msRise linear both,nhDim linear both;animation-timeline:view(),--dirsIn;animation-range:entry 30% cover 40%,entry 0% entry 45%}
    html body.page-home .name-lock.is-join .name-part.is-mona .name-expand em{animation-range:cover 66% cover 76%}
    
  }
}


/* phones: night water under MonaSmile ("crafted to reflect the real you"). The name stands on dark water, a thin
   silver glint on the waterline, its reflection lying on the water in perspective, coming towards you. As the name
   parts, Smile keeps its place and the water with it, while Mona rises out of the water and its reflection melts away.
   Dark only; transform and opacity move. app.js nameJoin sets the words' text (data-t) and their baseline (--bl). */
@keyframes nmStretch{to{scale:1 1.12}}
@keyframes nmLift{to{opacity:0}}
@supports (animation-timeline: view()){
  @media (min-width:901px){
    html body.page-home .name-lock .name-expand{margin-top:84px!important}
    html body.page-home .name-lock.is-join .name-word{position:relative;--sv:214,220,232}
    /* the water: one surface, carried by Smile (Smile holds its place on the screen while Mona moves on). Joined, it is
       centred under the whole name; a thin glint on the waterline and a little depth beneath, fading to the sides */
    html body.page-home .name-lock.is-join .name-word.is-mona::before{content:none}
    html body.page-home .name-lock.is-join .name-word.is-smile::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:-150%;right:-40%;top:var(--bl);height:110px;
      background:linear-gradient(90deg,rgba(var(--sv),0) 6%,rgba(var(--sv),.3) 50%,rgba(var(--sv),0) 94%) 0 0/100% 1px no-repeat,
        radial-gradient(ellipse 46% 60% at 50% 0,rgba(0,0,0,.55),rgba(0,0,0,0) 72%)}
    /* the reflection lies on that water and comes towards you: mirrored, tilted forward, dim, fading out */
    html body.page-home .name-lock.is-join .name-word::after{content:attr(data-t);position:absolute;left:0;top:0;pointer-events:none;white-space:nowrap;
      color:rgb(var(--sv));opacity:.3;filter:blur(.9px);transform-origin:50% var(--bl);transform:perspective(900px) rotateX(36deg) scaleY(-1.2);
      -webkit-mask:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.55) 74%,#000 97%);mask:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.55) 74%,#000 97%)}
  }
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .name-lock.is-join .name-word::after{animation:nmStretch linear both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--r0)) cover calc(100% - var(--r1))}
    /* Mona rises out of the water as it moves on: its reflection melts away over the whole parting */
    html body.page-home .name-lock.is-join .name-word.is-mona::after{animation:nmStretch linear both,nmLift linear both;animation-timeline:--msLock;animation-range:cover calc(100% - var(--r0)) cover calc(100% - var(--r1))}
  }
}

/* phones and tablets: the doctors' names under their strip, in small capitals; a gold dot before the one in front */
@media (min-width:901px){
  html body.page-home .faces .faces-nav{display:flex;justify-content:center;align-items:center;gap:34px;margin:32px auto 0}
  html body.page-home .faces .fn-item{display:flex;align-items:center;gap:10px;margin:0;padding:10px 0;border:0;background:none;cursor:pointer;
    font:500 11px/1 Montserrat,Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;white-space:nowrap;color:#5f5e59;transition:color .4s;-webkit-tap-highlight-color:transparent}
  html body.page-home .faces .fn-item:before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--yellow);opacity:0;transform:scale(.4);transition:opacity .4s,transform .4s cubic-bezier(.2,.7,.2,1)}
  html body.page-home .faces .fn-item.is-on{color:#efeee9}
  html body.page-home .faces .fn-item.is-on:before{opacity:1;transform:none}
  html body.page-home .faces .fn-item:focus-visible{outline:1px solid var(--yellow);outline-offset:4px;border-radius:4px}
}

/* desktop: the doctors' cards turn as the strip moves, as on phones */
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .faces .faces-stage .face{transform-origin:50% 50%;will-change:transform,opacity;animation:swTurn linear both;animation-timeline:view(inline);animation-range:cover 0% cover 100%}
  }
}

/* desktop "Our name", after review: no small aside under the sentence; larger meanings and copy under Mona and Smile;
   what Mona stands for rises as soon as it comes into view (on a wide screen Smile stands to the right, not over it);
   the four small portraits of the old desktop scene float behind the words again, drifting at their own pace */
@keyframes ndDrift{from{transform:translate3d(0,70px,0)}to{transform:translate3d(0,-70px,0)}}
@media (min-width:901px){
  html body.page-home .name-head .name-aside,html body.page-home .name-head .name-note{display:none!important}
  html body.page-home .name-lock .name-part{--nl-col:min(100%,42rem)}
  html body.page-home .name-lock .name-expand{margin-top:56px!important}
  html body.page-home .name-lock .name-expand span{font-size:13px!important;margin-bottom:14px}
  html body.page-home .name-lock .name-expand strong{font-size:clamp(40px,calc(3.6 * var(--vw)),66px)!important;line-height:1.02!important}
  html body.page-home .name-lock .name-body{margin-top:26px!important}
  html body.page-home .name-lock .name-body p{font-size:clamp(18px,calc(1.35 * var(--vw)),22px)!important;line-height:1.6!important}
  html body.page-home .name-lock .name-tags{margin-top:18px}
  /* the portraits behind */
  html body.page-home .name-sticky .name-deck{display:block!important;position:absolute;inset:0;z-index:0;pointer-events:none}
  html body.page-home .name-sticky .name-deck:after{display:none}
  html body.page-home .name-sticky > :not(.name-deck){position:relative;z-index:1}
  html body.page-home .name-deck .name-card{position:absolute;display:block!important;opacity:.42;aspect-ratio:9/16;height:auto;transform:none}
  html body.page-home .name-deck .name-card:nth-child(1){left:auto;right:3vw;top:3%;bottom:auto;width:min(9vw,160px)}
  html body.page-home .name-deck .name-card:nth-child(2){right:15vw;left:auto;top:16%;bottom:auto;width:min(7vw,120px)}
  html body.page-home .name-deck .name-card:nth-child(3){left:auto;right:4vw;top:36%;bottom:auto;width:min(8vw,140px)}
  html body.page-home .name-deck .name-card:nth-child(4){left:2vw;right:auto;top:auto;bottom:3%;width:min(8vw,140px)}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .name-deck .name-card{animation:ndDrift linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    html body.page-home .name-deck .name-card:nth-child(2n){animation-direction:reverse}
    /* one animation per line (the rise): a second one on another timeline (the dim) made iPhone Safari blink the lines */
    html body.page-home .name-lock.is-join .name-part.is-mona [data-rise]{animation:msRise cubic-bezier(.2,.8,.2,1) both;animation-timeline:view();animation-range:entry 5% cover 25%}
    html body.page-home .name-lock.is-join .name-part.is-mona :is(.name-expand span,.name-body p)[data-rise]{animation:msRise cubic-bezier(.2,.8,.2,1) both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 5% cover 25%,cover 62% cover 74%}
    html body.page-home .name-lock.is-join .name-part.is-mona .name-expand strong[data-rise]{animation:msRise cubic-bezier(.2,.8,.2,1) both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 28%,cover 66% cover 76%}
  }
}

/* desktop doctors, after review: the strip fills the screen and the ordinary vertical scroll moves it sideways. The
   section holds the screen (sticky) while the page scroll slides the cards from Dra. Liza to Dr. Armen; each card is a
   full-height spread, photo on the left, name and copy on the right; the one leaving turns away, the one coming turns
   to you. Browser-run (the section's view timeline), no script; the names and bars below follow (app.js facesHeld). */
@keyframes fcTrack{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-1 * (var(--cw) + var(--cg))),0,0)}}
@keyframes fcOut{from{transform:perspective(1600px) rotateY(0) scale(1);opacity:1}to{transform:perspective(1600px) rotateY(-12deg) scale(.94);opacity:.45}}
@keyframes fcIn{from{transform:perspective(1600px) rotateY(12deg) scale(.94);opacity:.45}to{transform:perspective(1600px) rotateY(0) scale(1);opacity:1}}
@supports (animation-timeline: view()){
  @media (min-width:901px){
    html body.page-home .faces{--cw:80vw;--cg:4vw;height:240vh!important;padding:0!important;overflow-x:clip;view-timeline:--fcHeld block}
    html body.page-home .faces .faces-stage{position:sticky!important;top:0;height:100vh!important;overflow:visible!important;scroll-snap-type:none!important;
      display:flex!important;align-items:center;gap:var(--cg)!important;padding:0 0 0 calc((100vw - var(--cw)) / 2)!important;cursor:auto;
      animation:fcTrack linear both;animation-timeline:--fcHeld;animation-range:contain 12% contain 88%}
    html body.page-home .faces .face,html body.page-home .faces .face.is-liza{flex:0 0 var(--cw)!important;height:min(78vh,820px)!important;display:flex!important;flex-direction:row!important;align-items:center;gap:5vw;animation:none}
    html body.page-home .faces .face .face-media,html body.page-home .faces .face.is-liza .face-media{flex:0 0 44%;width:44%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;border-radius:8px}
    html body.page-home .faces .face .face-copy,html body.page-home .faces .face.is-liza .face-copy{flex:1;padding:0!important;max-width:40rem}
    html body.page-home .faces .face .face-copy .eyebrow{font-size:12px;margin:0 0 22px!important}
    html body.page-home .faces .face .face-copy h2{font-size:clamp(52px,calc(5.2 * var(--vw)),104px)!important;line-height:1}
    html body.page-home .faces .face .face-copy p:not(.eyebrow){margin-top:28px;font-size:clamp(18px,calc(1.35 * var(--vw)),22px);line-height:1.6}
    /* the bars and the names stay at the foot of the held screen */
    html body.page-home .faces .faces-dots{display:none!important}
    html body.page-home .faces .faces-nav{position:sticky;z-index:3;top:calc(100vh - 84px);height:84px;margin:-84px auto 0;align-items:center}
  }
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .faces .faces-stage .face:first-child{animation:fcOut linear both;animation-timeline:--fcHeld;animation-range:contain 12% contain 88%}
    html body.page-home .faces .faces-stage .face:nth-child(2){animation:fcIn linear both;animation-timeline:--fcHeld;animation-range:contain 12% contain 88%}
  }
}
/* phones, after the client's review: the doctors go sideways with the page scroll, as the Founders ribbon does — the
   section holds the screen (app.js facesHeld adds .is-held) and the scroll slides the strip from Dra. Liza to Dr. Armen.
   No finger swipe: held and also swiped, the strip had two drivers on iPhone and shook. As on desktop the sticky stage
   itself moves (a scroll-linked transform inside a sticky box springs back on iPhone), over px counted from the start of
   the hold (a percentage range moves with Safari's sliding toolbar). Only the photos turn, the words travel with their
   card and fade: words turned or scaled by the scroll twitched on iPhone */
@keyframes fcFadeOut{to{opacity:.6}}
@keyframes fcFadeIn{from{opacity:.6}}
@supports (animation-timeline: view()){
  @media (max-width:900px){
    html body.page-home .faces.is-held{--cw:74vw;--cg:14px;--run:calc((var(--cw) + var(--cg)) * 1.9);--fr:contain calc(var(--run) * .12) contain calc(var(--run) * .88);
      height:calc(var(--run) + 100svh)!important;padding:0!important;view-timeline:--fcHeld block}
    /* the photos fill the screen between the header and the names below; both cards span the stage's two rows, so
       the two photos are one height and the words of both start on one line */
    html body.page-home .faces.is-held .faces-stage{position:sticky!important;top:0;box-sizing:border-box;height:100svh!important;padding:88px 0 60px 13vw!important;
      overflow:visible!important;scroll-snap-type:none!important;touch-action:pan-y;perspective:none;
      display:grid!important;grid-auto-flow:column;grid-auto-columns:var(--cw);grid-template-rows:minmax(96px,1fr) auto;gap:0 var(--cg)!important;
      animation:fcTrack linear both;animation-timeline:--fcHeld;animation-range:var(--fr)}
    html body.page-home .faces.is-held .face,html body.page-home .faces.is-held .face.is-liza{display:grid!important;grid-row:span 2;grid-template:subgrid / minmax(0,1fr)!important;align-items:stretch;contain:none!important;animation:none!important}
    html body.page-home .faces.is-held .face .face-media,html body.page-home .faces.is-held .face.is-liza .face-media{height:auto!important;max-height:none!important;aspect-ratio:auto!important}
    html body.page-home .faces.is-held .face .face-copy{align-self:start}
    html body.page-home .faces.is-held .faces-nav{position:sticky;z-index:3;top:calc(100svh - 60px);height:60px;margin:-60px auto 0}
    /* phones on their side: photo and words side by side, as on desktop, the words sized to the short screen */
    @media (orientation:landscape){
      html body.page-home .faces.is-held .faces-stage{padding-top:80px!important;grid-template-rows:minmax(0,1fr)}
      html body.page-home .faces.is-held .face,html body.page-home .faces.is-held .face.is-liza{grid-row:auto;display:flex!important;flex-direction:row!important;align-items:center;gap:4vw}
      html body.page-home .faces.is-held .face .face-media,html body.page-home .faces.is-held .face.is-liza .face-media{flex:0 0 32%;width:32%!important;height:100%!important}
      html body.page-home .faces.is-held .face .face-copy{flex:1;align-self:center;padding:0!important}
      html body.page-home .faces.is-held .face .face-copy .eyebrow{margin-bottom:10px!important}
      html body.page-home .faces.is-held .face .face-copy h2{font-size:min(9svh,40px)!important}
      html body.page-home .faces.is-held .face .face-copy p:not(.eyebrow){margin-top:10px;font-size:14px;line-height:1.5}
    }
  }
  @media (max-width:900px) and (prefers-reduced-motion:no-preference){
    html body.page-home .faces.is-held .face:first-child .face-media{animation:fcOutF linear both;animation-timeline:--fcHeld;animation-range:var(--fr)}
    html body.page-home .faces.is-held .face:nth-child(2) .face-media{animation:fcInF linear both;animation-timeline:--fcHeld;animation-range:var(--fr)}
    html body.page-home .faces.is-held .face:first-child .face-copy{animation:fcFadeOut linear both;animation-timeline:--fcHeld;animation-range:var(--fr)}
    html body.page-home .faces.is-held .face:nth-child(2) .face-copy{animation:fcFadeIn linear both;animation-timeline:--fcHeld;animation-range:var(--fr)}
  }
}


/* ── desktop = phone: the graphite screens (About us, "Come and meet us", the Equipment cards, grain, arcs) — the phone rules above, as they are, on wide screens ── */
@media (min-width:901px){
  html body.page-home .roots-intro-m{padding:72px calc(6 * var(--vw)) 8px;background:var(--black)}
  html body.page-home .roots-intro-m .rp-intro{display:block!important;width:auto!important;padding:0!important}
  html body.page-home .roots-intro-m .roots-title{font-size:clamp(48px,calc(14 * var(--vw)),84px)!important;line-height:.98}
  html body.page-home .roots-intro-m .roots-lead{display:none}
  html body.page-home .roots-intro-m .roots-sign{margin:22px 0 0!important}
  /* the ribbon follows straight on: no rule, and the founders sit at the top of their screen, just below the header */
  html body.page-home .roots{border-top:0!important}
  html body.page-home .roots.is-pin .rp-founders{justify-content:flex-start!important;padding-top:68px!important}
  html body.page-home .roots.is-pin .rp-founders :is(.roots-meta,.roots-meta .roots-cap){margin-top:0!important}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .roots-intro-m .rp-intro{view-timeline:--rtHead block}
    html body.page-home .roots-intro-m .roots-title .ln:not(:last-child) > span{animation:nhDim linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-kick{animation:rtFade linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-sign{animation:rtSign linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-box{animation:rtLit linear both;animation-timeline:--rtHead;animation-range:cover 52% cover 66%}
    html body.page-home .roots-intro-m .roots-title.is-in .ln:last-child{overflow:visible!important;clip-path:none!important}
  }
}
@media (min-width:901px){


  html body.page-home .roots.is-pin .rp-end{align-self:stretch;height:100%;box-sizing:border-box;background:#37373a;justify-content:center}
  html body.page-home .roots.is-pin .rp-end h3{color:#efeee9!important}
  html body.page-home .roots.is-pin .rp-end h3 em{color:var(--yellow)!important}
  html body.page-home .roots.is-pin .rp-end p{color:#c4c2bb!important}
  html body.page-home .roots.is-pin .rp-end .roots-go{color:#efeee9!important;border-color:#efeee9!important}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    /* on white nothing fades back: the words only rise in and stay fully readable */
  }
}
@media (min-width:901px){

  /* About us on white: ink words, the Founders box and the address in bronze */
  /* the warm white comes up out of the doctors' black as a shallow arc that straightens while it fills the screen,
     and bends again as it leaves; the arc is the top of a very wide ellipse (200% of the screen), so it never bulges;
     a fine gold hairline runs along it */
  html body.page-home .roots-intro-m{position:relative;margin:0!important;padding:120px calc(6 * var(--vw)) 120px!important;overflow:clip;
    view-timeline:--abtArc block;
    background:linear-gradient(180deg,transparent 44px,#37373a 44px,#37373a calc(100% - 44px),transparent calc(100% - 44px))!important}
  html body.page-home :is(.roots-intro-m,main .eq):before,html body.page-home :is(.roots-intro-m,main .eq):after{content:"";position:absolute;left:-50%;width:200%;z-index:0;pointer-events:none;
    background:#37373a;border-radius:50%;border:1px solid transparent}
  /* the ellipse is fixed (its sides meet the screen edges 44px in); only scaleY changes with the scroll, so the arc
     moves on the GPU with no layout or repaint per frame (iPhone Safari runs scroll animations on the main thread) */
  html body.page-home .roots-intro-m:before{top:0;height:656px;border-top-color:rgba(214,180,76,.5);transform-origin:50% 44px}
  html body.page-home :is(.roots-intro-m,main .eq):after{bottom:0;height:656px;border-bottom-color:rgba(214,180,76,.5);transform-origin:50% calc(100% - 44px);transform:scaleY(0)}
  html body.page-home :is(.roots-intro-m,main .eq):is(:before,:after){will-change:transform}
  html body.page-home :is(.roots-intro-m,main .eq) > *{position:relative;z-index:1}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    /* the arcs: deep while the white comes up from below, settling as it fills the screen; deepening again as it leaves */
    html body.page-home .roots-intro-m:before{animation:arcFlat linear both;animation-timeline:--abtArc;animation-range:entry 0% cover 38%}
    html body.page-home .roots-intro-m:after{animation:arcBend linear both;animation-timeline:--abtArc;animation-range:cover 62% exit 100%}
  }
}
@media (min-width:901px){
  html body.page-home .roots .rp-end{position:relative;z-index:2;box-shadow:-40px 0 0 #37373a;border-top:0!important}
  html body.page-home main .eq{position:relative;overflow:clip;margin-top:0!important;padding-top:118px!important;padding-bottom:96px!important;border-top:0!important;
    view-timeline:--eqArc block;background:linear-gradient(180deg,transparent 44px,#37373a 44px,#37373a calc(100% - 44px),transparent calc(100% - 44px))!important}
  html body.page-home main .eq:before{top:0;height:656px;border-top-color:rgba(214,180,76,.5);transform-origin:50% 44px}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home main .eq:after{animation:arcBend linear both;animation-timeline:--eqArc;animation-range:exit 0% exit 70%}
    html body.page-home main .eq:before{animation:arcFlat linear both;animation-timeline:--eqArc;animation-range:entry 0% entry 85%}
  }
}
@media (min-width:901px){
  /* the card is the box itself (rounded); the arcs rise beyond its top and bottom edges and fold flat into them */
  html body.page-home .roots-intro-m,html body.page-home .roots.is-pin .rp-end{background:#37373a!important;border-radius:22px;overflow:visible!important;
    clip-path:inset(-50px 0 -50px 0)}
  html body.page-home .roots-intro-m{margin:56px 12px!important;padding:64px 24px 60px!important}
  html body.page-home .roots-intro-m:before,html body.page-home .roots.is-pin .rp-end:before{top:-44px!important}
  html body.page-home .roots-intro-m:after,html body.page-home .roots.is-pin .rp-end:after{bottom:-44px!important}
  html body.page-home .roots.is-pin .rp-end{position:relative;height:auto!important;align-self:center!important;margin:0 12px 0 0!important;
    padding:60px 26px!important;box-shadow:none!important}
  html body.page-home .roots.is-pin .rp-end:before,html body.page-home .roots.is-pin .rp-end:after{content:"";position:absolute;left:-50%;width:200%;height:656px;z-index:0;
    pointer-events:none;background:#37373a;border-radius:50%;border:1px solid transparent;will-change:transform}
  html body.page-home .roots.is-pin .rp-end:before{border-top-color:rgba(214,180,76,.5);transform-origin:50% 44px}
  html body.page-home .roots.is-pin .rp-end:after{border-bottom-color:rgba(214,180,76,.5);transform-origin:50% calc(100% - 44px);transform:scaleY(0)}
  html body.page-home .roots.is-pin .rp-end > *{position:relative;z-index:1}
  html body.page-home main .eq{background:#0b0b0b!important;padding-top:72px!important;padding-bottom:40px!important}
  html body.page-home main .eq:before,html body.page-home main .eq:after{display:none!important}
  html body.page-home main .eq .eq-row{background:#37373a;border-radius:18px;padding:20px 18px!important;margin-bottom:12px;border:0!important}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .roots.is-swipe{view-timeline:--rootsV block}
    html body.page-home .roots.is-pin .rp-end:before{animation:arcFlat linear both;animation-timeline:--rootsV;animation-range:entry 0% entry 70%}
    html body.page-home .roots.is-pin .rp-end:after{animation:arcBend linear both;animation-timeline:--rootsV;animation-range:exit 30% exit 100%}
  }
}
@media (min-width:901px){
  html body.page-home :is(.roots-intro-m,.roots.is-pin .rp-end,main .eq):is(:before,:after){border-color:transparent!important}
  html body.page-home .faces .faces-dots,html body.page-home .proof#reviews .swipe-dots{display:none!important}
  html body.page-home :is(.faces .faces-stage .face,.proof#reviews .proof-list .proof-card){backface-visibility:hidden;contain:layout paint}
}
@media (min-width:901px){
  html body.page-home .roots-intro-m:before,html body.page-home .roots-intro-m:after,
  html body.page-home main .eq:before,html body.page-home main .eq:after{border-color:transparent!important}
  html body.page-home .roots.is-pin .rp-end{clip-path:none!important;overflow:hidden!important;border-radius:22px}
  html body.page-home .roots.is-pin .rp-end:after{content:none!important;animation:none!important}
  html body.page-home .split{position:relative}
  html body.page-home .split:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:64px;z-index:5;pointer-events:none;
    background:radial-gradient(ellipse 56% 100% at 50% 0,rgba(11,11,11,0) 98.5%,#0b0b0b 100%);transform-origin:50% 100%;transform:scaleY(0)}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split:after{animation:arcBend linear both;animation-timeline:--dirsIn;animation-range:exit 0% exit 45%}
  }
}
@media (min-width:901px){
  html body.page-home{--grain:image-set(url("../assets/img/grain/g-ab0020c8.webp") 1x)}
  html body.page-home .roots-intro-m,html body.page-home .roots-intro-m:before,html body.page-home .roots-intro-m:after,
  html body.page-home .roots.is-pin .rp-end,html body.page-home main .eq .eq-row{
    background:linear-gradient(180deg,#2b2b2b 0,#282828 100%)!important}
}
@media (min-width:901px){
  html body.page-home .roots-intro-m > .rp-intro::before,html body.page-home .roots.is-pin .rp-end::before,html body.page-home main .eq .eq-row::after{
    content:"";position:absolute;pointer-events:none;background:image-set(url("../assets/img/grain/g-f6459f17.webp") 1x) 0 0/160px 160px repeat;
    opacity:.05;mix-blend-mode:normal;will-change:auto}
  /* the grain blends with the card's own backdrop, exactly as on the first screen */
  html body.page-home .roots.is-pin .rp-end,html body.page-home main .eq .eq-row{isolation:isolate}
  html body.page-home .roots-intro-m > .rp-intro::before{z-index:-1;top:-64px;bottom:-60px;left:-30px;right:-30px}
  html body.page-home .roots.is-pin .rp-end::before{z-index:0;inset:-8px}
  html body.page-home main .eq .eq-row{overflow:hidden}
  html body.page-home main .eq .eq-row::after{z-index:0;inset:-8px}
  html body.page-home main .eq .eq-row > *{position:relative;z-index:1}
}
@media (min-width:901px){
  html body.page-home .roots-intro-m:before{background:#2f2f2f!important}
  html body.page-home .roots-intro-m:after{background:#2c2c2c!important}
  html body.page-home .roots-intro-m > .rp-intro{position:relative;z-index:1!important}
}
/* desktop: the same graphite cards, sized for a wide screen */
@media (min-width:901px){
  html body.page-home .roots-intro-m{margin:96px 3vw!important;padding:110px 6vw 104px!important;border-radius:28px}
  html body.page-home .roots-intro-m .roots-title{font-size:clamp(84px,7.4vw,140px)!important}
  html body.page-home .roots-intro-m .roots-sign{margin-top:34px!important}
  html body.page-home .roots.is-pin .rp-end{width:min(44vw,640px)!important;min-height:min(62vh,600px);margin:0 4vw 0 0!important;padding:72px 56px!important;border-radius:28px;justify-content:center}
  html body.page-home .roots.is-pin .rp-end h3{font-size:clamp(48px,4.2vw,76px)!important}
  html body.page-home .roots.is-pin .rp-end p{font-size:clamp(17px,1.25vw,20px)!important;max-width:34ch}
  html body.page-home main .eq .eq-row{border-radius:22px;padding:24px 28px!important;margin-bottom:14px}
}
@media (min-width:901px){
  html body.page-home .roots-intro-m > .rp-intro::before{top:-110px!important;bottom:-104px!important;left:-6vw!important;right:-6vw!important;border-radius:28px}
}

/* desktop = phone: "Two specialists. One approach." — the bridge from the directions to the doctors, as on phones */
@media (min-width:901px){
  html body.page-home .team-intro{display:block;padding:150px 8vw 72px;background:var(--black)}
  html body.page-home .team-intro-kick{display:flex;align-items:center;gap:12px;margin:0 0 26px;font:400 12px/1 Montserrat,Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#9c9b96}
  html body.page-home .team-intro-kick i{width:6px;height:6px;border-radius:50%;background:var(--yellow)}
  html body.page-home .team-intro h2{margin:0 0 26px;font:400 clamp(56px,5.6vw,108px)/1.02 Montserrat,Arial,sans-serif;letter-spacing:-.02em;text-transform:uppercase;color:var(--porcelain)}
  html body.page-home .team-intro-lead{margin:0;max-width:44ch;font:400 clamp(18px,1.35vw,22px)/1.6 Montserrat,Arial,sans-serif;color:#bdbcb6}
  html body.page-home .team-intro-lead :is(strong,b){font-weight:600;color:var(--porcelain)}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .team-intro > *{animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 30%}
    html body.page-home .team-intro > h2{animation-range:entry 25% cover 36%}
    html body.page-home .team-intro > .team-intro-lead{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 40% cover 42%,cover 62% cover 76%}
    html body.page-home .team-intro-lead :is(strong,b){animation:nhLit linear both;animation-timeline:view();animation-range:cover 62% cover 76%}
    html body.page-home .team-intro > .team-intro-kick{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 30%,cover 66% cover 80%}
  }
}

/* desktop directions: the scroll drift moves the photo with `translate` and holds it at `scale`, so the hover zoom
   (transform) eases in smoothly on top of it instead of snapping the photo out of its drift */
@keyframes dirDriftT{from{translate:0 -3%}to{translate:0 3%}}
@media (min-width:901px){
  html body.page-home .split .direction > img{scale:1.1;transform-origin:50% 50%}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split .direction > img{animation-name:dirDriftT!important}
  }
}
@media (min-width:901px) and (hover:hover) and (pointer:fine){
  html body.page-home .split .direction > img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1),opacity .6s ease,filter .6s ease!important}
  html body.page-home .split .direction:hover > img{transform:scale(1.05)!important}
}


/* ── desktop = phone: Instagram reels in two rows and the reviews strip — the phone rules above, on wide screens ── */
@media (hover:none) and (pointer:coarse),(min-width:901px){html body.page-home .kit[data-rail]{height:auto!important}}
@media (hover:none) and (pointer:coarse),(min-width:901px){html body.page-home .kit-pin{position:relative;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}}
@media (hover:none) and (pointer:coarse),(min-width:901px){html body.page-home .kit-pin::-webkit-scrollbar{display:none}}
@media (hover:none) and (pointer:coarse),(min-width:901px){html body.page-home .kit-rail{transform:none!important;will-change:auto!important}}
@media (min-width:901px){html body.page-home .kit,html body.page-home .kit[data-rail]{height:auto!important}}
@media (min-width:901px){html body.page-home .kit-pin{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important}}
@media (min-width:901px){html body.page-home .kit-rail.cv.rl{display:flex!important;flex-direction:column;align-items:stretch;gap:28px;width:auto!important;height:auto!important;padding:88px 0 72px!important;--u:1px}}
@media (min-width:901px){html body.page-home .rl-head{width:auto!important;padding:0 calc(6 * var(--vw));gap:16px!important}}
@media (min-width:901px){html body.page-home .rl-label{font-size:13px!important;gap:12px!important}}
@media (min-width:901px){html body.page-home .rl-label i{width:8px!important;height:8px!important}}
@media (min-width:901px){html body.page-home .rl-title{font-size:clamp(40px,calc(11 * var(--vw)),72px)!important}}
@media (min-width:901px){html body.page-home .rl-note{font-size:15px!important;max-width:44ch}}
@media (min-width:901px){html body.page-home .rl-cta{padding:14px 20px!important;font-size:11px!important;gap:10px!important}}
@media (min-width:901px){html body.page-home .rl-rows{display:flex!important;flex-direction:row!important;gap:12px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 calc(6 * var(--vw));padding:0 calc(6 * var(--vw)) 6px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}}
@media (min-width:901px){html body.page-home .rl-rows::-webkit-scrollbar{display:none}}
@media (min-width:901px){html body.page-home .rl-row{display:contents!important}}
@media (min-width:901px){html body.page-home .rl-tile{width:min(calc(62 * var(--vw)),300px)!important;height:auto!important;aspect-ratio:4/5;flex:none;scroll-snap-align:start}}
@media (min-width:901px){html body.page-home .rl-play{left:12px!important;bottom:12px!important;width:40px!important;height:40px!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(11,11,11,.45)!important}}
@media (min-width:901px){html body.page-home .rl-play:before{border-width:6px 0 6px 10px!important}}
@media (min-width:901px){html body.page-home .rl-more{padding:20px!important;gap:12px!important}}
@media (min-width:901px){html body.page-home .rl-more span{font-size:26px!important}}
@media (min-width:901px){html body.page-home .rl-more i{font-size:11px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:none!important;gap:10px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card,html body.page-home .proof#reviews .proof-card.is-lg,html body.page-home .proof#reviews .proof-card.is-wide,html body.page-home .proof#reviews .proof-card.is-md,html body.page-home .proof#reviews .proof-card.is-sm{grid-column:auto!important;grid-row:auto!important;padding:16px 14px 14px!important;gap:10px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card blockquote,html body.page-home .proof#reviews .proof-card.is-lg blockquote,html body.page-home .proof#reviews .proof-card.is-sm blockquote{overflow-wrap:break-word;font-size:clamp(12.5px,calc(1.9 * var(--vw)),15px)!important;line-height:1.45!important;letter-spacing:0}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card figcaption{gap:8px}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card figcaption img,html body.page-home .proof#reviews .proof-card.is-lg figcaption img,html body.page-home .proof#reviews .proof-card.is-sm figcaption img{width:30px;height:30px}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card figcaption b{font-size:12px}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card figcaption i{font-size:9px}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card .proof-stars span,html body.page-home .proof#reviews .proof-card.is-lg .proof-stars span{width:11px;height:11px}}
@media (min-width:901px){html body.page-home .rl-nav{padding:0 calc(6 * var(--vw))}}
@media (min-width:901px){html body.page-home .kit-rail.cv.rl{padding:28px 0 48px!important;gap:24px!important}}
@media (min-width:901px){html body.page-home .proof#reviews{padding:64px calc(6 * var(--vw)) 48px!important}}
@media (min-width:901px){html body.page-home .proof-head{margin-bottom:40px!important}}
@media (min-width:901px){html body.page-home .proof-kick{margin-bottom:18px!important}}
@media (min-width:901px){html body.page-home .proof-rule{margin-top:32px!important}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home :is(.roots-intro-m .rp-intro > .roots-kick,.roots-intro-m .roots-sign,.eq-head > *,.kit-rail .rl-head > *,.place-copy > *){animation:msRise linear both;animation-timeline:view();animation-range:entry 10% cover 26%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home :is(.eq-head,.kit-rail .rl-head,.place-copy) > :nth-child(2){animation-range:entry 18% cover 30%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home :is(.eq-head,.kit-rail .rl-head,.place-copy) > :nth-child(3){animation-range:entry 26% cover 34%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home :is(.eq-head,.kit-rail .rl-head,.place-copy) > :nth-child(n+4){animation-range:entry 32% cover 38%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .kit-rail .rl-head > .rl-title{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 18% cover 30%,cover 58% cover 70%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .kit-rail .rl-head .rl-title em{animation:nhLit linear both;animation-timeline:view();animation-range:cover 58% cover 70%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .kit-rail .rl-head > :is(.rl-label,.rl-note){animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 10% cover 26%,cover 58% cover 70%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head .proof-title{view-timeline:--pfTitle block}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head .proof-title .ln > span{transform:none!important;transition:none!important}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head .proof-title .ln{overflow:visible;animation:msRise linear both;animation-timeline:view();animation-range:entry 12% cover 26%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head .proof-title .ln:nth-child(2){animation-range:entry 20% cover 30%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head .proof-title .ln:nth-child(3){animation-range:entry 28% cover 34%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head > .proof-kick{animation:msRise linear both,nhDim linear both;animation-timeline:view(),view();animation-range:entry 8% cover 22%,cover 60% cover 72%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head .proof-title .ln > span{animation:nhDim linear both;animation-timeline:--pfTitle;animation-range:cover 58% cover 70%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head .proof-title em{animation:nhLit linear both;animation-timeline:--pfTitle;animation-range:cover 58% cover 70%}}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof-head :is(.proof-kick,.proof-sub){animation:nhDim linear both;animation-timeline:view();animation-range:cover 60% cover 72%}}}
@media (min-width:901px){html body.page-home .kit-rail .rl-head{display:block!important}}
@media (min-width:901px){html body.page-home .kit-rail .rl-head .rl-label{margin:0 0 20px!important}}
@media (min-width:901px){html body.page-home .kit-rail .rl-head .rl-title{font-size:clamp(40px,calc(11 * var(--vw)),72px)!important;line-height:1.02!important;letter-spacing:-.03em}}
@media (min-width:901px){html body.page-home .kit-rail .rl-head .rl-note{margin:22px 0 0!important;max-width:38ch;font-size:16px!important;line-height:1.65!important}}
@media (min-width:901px){html body.page-home .kit-rail .rl-head .rl-cta{display:inline-flex;margin-top:24px}}
@media (min-width:901px){html body.page-home .proof-head{align-items:flex-start!important;text-align:left!important;margin-left:0!important;margin-right:0!important}}
@media (min-width:901px){html body.page-home .proof-head .proof-big{justify-content:flex-start}}
@media (min-width:901px){html body.page-home .proof-head .proof-big:before{inset:-35% -10% -35% -20%}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card,html body.page-home .proof#reviews .proof-card:is(.is-lg,.is-wide,.is-md,.is-sm){background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.015))!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:14px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important;padding:24px 22px 22px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card blockquote{font-size:16px!important;line-height:1.55!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card figcaption b{font-size:13px}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-head{display:grid!important;grid-template-columns:auto minmax(0,1fr);column-gap:18px;align-items:center}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-head > :is(.proof-kick,.proof-title,.proof-rule){grid-column:1 / -1}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-rule{margin:26px 0 22px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-big{grid-column:1;grid-row:4 / span 2;margin:0!important;font:500 clamp(56px,calc(17 * var(--vw)),84px)/.9 var(--brand-serif)!important;letter-spacing:-.02em!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-big:before{display:none}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-big b{font-family:var(--brand-serif)!important;font-weight:500!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-big span{font-size:.45em;margin:.1em 0 0 .04em}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-head-stars{grid-column:2;grid-row:4;align-self:end;gap:6px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-head-stars span{width:14px!important;height:14px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-sub{grid-column:2;grid-row:5;align-self:start;margin:8px 0 0!important;font-size:13px!important;line-height:1.45}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-bar{display:none!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-more{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:var(--white);text-decoration:none;text-align:center}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-more-ico{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;border:1px solid rgba(214,180,76,.75);background:radial-gradient(closest-side,rgba(214,180,76,.16),rgba(214,180,76,0));box-shadow:0 0 28px rgba(214,180,76,.18)}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-more-ico svg{width:24px;height:24px;fill:none;stroke:var(--yellow);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-more span{font:500 12px/1.4 Montserrat,Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card:not(.proof-more),html body.page-home .proof#reviews .proof-card:is(.is-lg,.is-wide,.is-md,.is-sm):not(.proof-more){background:#37373a!important;border:0!important;box-shadow:0 18px 40px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08)!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card:not(.proof-more) blockquote{color:#efeee9!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card:not(.proof-more) figcaption b{color:#efeee9!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card:not(.proof-more) figcaption i{color:var(--yellow)!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card:not(.proof-more) .proof-stars span{background:var(--yellow)!important}}
@media (min-width:901px){html body.page-home .proof#reviews{--cw:min(74vw,320px)}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card:not(.proof-more){display:flex!important;flex-direction:column}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card:not(.proof-more) figcaption{margin-top:auto}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-card blockquote{font-size:15px!important;line-height:1.55!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-stage{position:relative!important;overflow:visible!important;padding:0!important;height:auto!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list{display:flex!important;flex-direction:row!important;gap:12px!important;width:auto!important;
    margin:28px calc(-6 * var(--vw)) 0!important;padding:6px calc((100vw - var(--cw)) / 2) 24px!important;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;animation:none!important;transform:none!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list::-webkit-scrollbar{display:none}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card{flex:0 0 var(--cw);width:var(--cw)!important;min-height:calc(var(--cw) * 1.12)!important;box-sizing:border-box;
    scroll-snap-align:center}}
@media (min-width:901px){html body.page-home .proof#reviews .swipe-dots{display:flex;justify-content:center;gap:8px;margin-top:4px}}
@media (min-width:901px){html body.page-home .proof#reviews .swipe-dots i{width:22px;height:2px;border-radius:2px;background:rgba(251,250,247,.22);transition:background .4s,width .4s}}
@media (min-width:901px){html body.page-home .proof#reviews .swipe-dots i.is-on{width:34px;background:var(--yellow)}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list{overscroll-behavior-x:contain;touch-action:pan-x pan-y}}
@supports (animation-timeline: view()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .proof#reviews .proof-list .proof-card{transform-origin:50% 50%;will-change:transform,opacity;animation:swTurn linear both;animation-timeline:view(inline);animation-range:cover 0% cover 100%}}}
@media (min-width:901px){html body.page-home .proof#reviews .swipe-dots{display:none!important}}
@media (min-width:901px){html body.page-home :is(.faces .faces-stage .face,.proof#reviews .proof-list .proof-card){backface-visibility:hidden;contain:layout paint}}
@media (min-width:901px){html body.page-home .kit-rail .rl-rows{--rt:min(40vw,190px);display:flex!important;flex-direction:column!important;gap:10px!important;align-items:flex-start}}
@media (min-width:901px){html body.page-home .kit-rail .rl-row{display:flex!important;gap:10px;width:max-content;flex:none}}
@media (min-width:901px){html body.page-home .kit-rail .rl-row.is-offset{margin-left:calc(var(--rt) / 2 + 5px);padding-left:0!important}}
@media (min-width:901px){html body.page-home .kit-rail .rl-tile{width:var(--rt)!important;border-radius:14px;overflow:hidden}}
@media (min-width:901px){html body.page-home .kit-rail .rl-row.is-offset .rl-tile{scroll-snap-align:none}}
@media (min-width:901px){html body.page-home .kit-rail .rl-play{width:32px!important;height:32px!important;left:10px!important;bottom:10px!important}}
@supports (animation-timeline: scroll()){@media (min-width:901px) and (prefers-reduced-motion:no-preference){html body.page-home .kit-rail .rl-row.is-offset{will-change:transform;animation:rlDrift linear both;animation-timeline:scroll(inline nearest)}}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card,html body.page-home .proof#reviews .proof-list .proof-card:is(.is-lg,.is-wide,.is-md,.is-sm){background:#0b0b0b!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)!important;border:0!important;border-radius:20px!important;min-height:0!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more){padding:22px 22px 20px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more):before{content:"\201C";display:block;font:400 64px/.6 var(--brand-serif);color:rgba(214,220,232,.35);margin:6px 0 2px -2px}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more) blockquote{font-size:17px!important;line-height:1.55!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more) figcaption{margin-top:18px!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more) figcaption i{color:#8f8e88!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list{align-items:stretch}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-big,html body.page-home .proof#reviews .proof-big b{font-family:Montserrat,Arial,sans-serif!important;font-weight:300!important;letter-spacing:-.03em!important}}
@media (min-width:901px){html body.page-home .proof#reviews .proof-list .proof-card:not(.proof-more):before{font-family:Montserrat,Arial,sans-serif!important;font-weight:300!important}}
/* desktop: the same two rows and strip, sized for a wide screen */
@media (min-width:901px){
  html body.page-home .kit-rail .rl-rows{--rt:clamp(200px,15vw,260px);gap:14px!important;padding-left:6vw!important;padding-right:6vw!important;scroll-padding:0 6vw!important}
  html body.page-home .kit-rail .rl-row{gap:14px}
  html body.page-home .kit-rail .rl-row.is-offset{margin-left:calc(var(--rt) / 2 + 7px)}
  html body.page-home .kit-rail .rl-head,html body.page-home .proof#reviews .proof-head{padding-left:6vw;padding-right:6vw}
  html body.page-home .kit-rail .rl-head .rl-title{font-size:clamp(64px,6vw,112px)!important}
  html body.page-home .kit-rail .rl-head .rl-note{font-size:clamp(17px,1.25vw,20px)!important}
  html body.page-home .kit-rail.cv.rl{padding:120px 0 96px!important;gap:40px!important}
  html body.page-home .rl-nav{padding:0 6vw!important}
  html body.page-home .proof#reviews{--cw:clamp(340px,26vw,420px);padding:120px 0 96px!important}
  html body.page-home .proof#reviews .proof-head .proof-title{font-size:clamp(64px,6vw,112px)!important}
  html body.page-home .proof#reviews .proof-big{font-size:clamp(84px,7vw,128px)!important}
  html body.page-home .proof#reviews .proof-sub{font-size:15px!important}
  html body.page-home .proof#reviews .proof-list{margin:40px 0 0!important;padding:6px 6vw 24px!important;scroll-padding:0 6vw}
  html body.page-home .proof#reviews .proof-list .proof-card{scroll-snap-align:start}
  html body.page-home :is(.kit-rail .rl-rows,.proof#reviews .proof-list){cursor:grab;user-select:none}
  html body.page-home :is(.kit-rail .rl-rows,.proof#reviews .proof-list).is-drag{cursor:grabbing;scroll-snap-type:none!important;scroll-behavior:auto}
  html body.page-home :is(.kit-rail .rl-rows,.proof#reviews .proof-list) img{-webkit-user-drag:none}
}

/* desktop = phone: the next doctor peeks in from the right, turned away in 3D, exactly as on phones (same angle, scale
   and fade as swTurn); the card is narrower so a clear slice of Dr. Armen shows beside Dra. Liza */
@keyframes fcOut{from{transform:perspective(1200px) rotateY(0) scale(1);opacity:1}to{transform:perspective(1200px) rotateY(-14deg) scale(.94);opacity:.6}}
@keyframes fcIn{from{transform:perspective(1200px) rotateY(14deg) scale(.94);opacity:.6}to{transform:perspective(1200px) rotateY(0) scale(1);opacity:1}}
@supports (animation-timeline: view()){
  @media (min-width:901px){
    html body.page-home .faces{--cw:70vw;--cg:3vw}
    html body.page-home .faces .face .face-media,html body.page-home .faces .face.is-liza .face-media{flex-basis:46%;width:46%!important}
  }
}

/* every screen: the About us arcs show only beyond the card's edge. Inside the card the arc ellipse was a slightly
   different grey under the grain, and as it scaled on the scroll its edge swept across the card as a flickering band.
   Clipped to the part past the edge line (which is also the transform origin), the scaling stays outside the card. */
html body.page-home .roots-intro-m:before{clip-path:inset(0 0 calc(100% - 45px) 0)}
html body.page-home .roots-intro-m:after{clip-path:inset(calc(100% - 45px) 0 0 0)}
/* every screen: the About us card's top and bottom edges are its arcs, so its corners are square — a rounded corner
   left a black notch where the arc starts at the card's side */
html body.page-home .roots-intro-m,html body.page-home .roots-intro-m > .rp-intro::before{border-radius:0!important}
/* desktop: "Ven a conocernos" stands a clear step away from the team photo (the photo drifts a little inside its panel
   and slid under the card's edge), and its words sit in the middle of the card */
@media (min-width:901px){
  html body.page-home .roots.is-pin .rp-end{display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;
    margin:0 4vw 0 5vw!important;z-index:2}
  html body.page-home .roots.is-pin .rp-end > *{margin-left:0!important}
  html body.page-home .roots.is-pin .rp-end p{margin:22px 0 30px!important}
}
/* desktop: the founders panel opens the ribbon now (its title is the grey About us card above), so it keeps the page's
   left margin and its own vertical centring — the phone's "founders at the top" rule is for the phone's short screen */
@media (min-width:901px){
  html body.page-home .roots.is-pin .rp-founders{justify-content:normal!important;padding-top:113px!important;padding-left:6vw!important}
}
/* desktop: the closing card is sized in the page's own units (--vw stops growing at the page's 1920px width), so on
   screens wider than the page (or zoomed out) it still fits the ribbon's end instead of running past the page edge */
@media (min-width:901px){
  html body.page-home .roots.is-pin .rp-end{width:min(calc(44 * var(--vw)),640px)!important;margin:0 calc(4 * var(--vw)) 0 calc(5 * var(--vw))!important}
  html body.page-home .roots.is-pin .rp-founders{padding-left:calc(6 * var(--vw))!important}
}

/* phones: "Our name" meanings read as clearly as on desktop — a larger title and body, the body a little brighter, so
   the small grey Montserrat no longer looks thin (client's feedback) */
@media (max-width:900px){
  html body.page-home .name-pin .name-expand > span{font-size:12px!important;letter-spacing:.24em!important}
  html body.page-home .name-pin .name-expand strong{font-size:clamp(34px,calc(9.6 * var(--vw)),46px)!important;line-height:1.04!important}
  html body.page-home .name-pin .name-lock .name-body p{font-size:17px!important;line-height:1.65!important;color:#d2d1cb!important;max-width:34ch}
  html body.page-home .name-pin .name-lock .name-body{margin-top:22px!important}
}

/* desktop "Our name": the background photos are four equal small cards in two tidy columns at the page edges — Dra.
   Liza's two stacked on the right beside "Mona", Dr. Armen's two stacked on the left beside "Smile" — outside the path
   of the travelling "Smile" word and clear of every line of text. Still: no drift */
@media (min-width:901px){
  html body.page-home .name-deck .name-card{--nw:min(calc(9 * var(--vw)),150px);--nh:calc(var(--nw) * 1.25);width:var(--nw)!important;aspect-ratio:4/5!important;height:auto!important;
    opacity:.5;border-radius:6px;overflow:hidden;animation:none!important;transform:none!important;bottom:auto!important}
  html body.page-home .name-deck .name-card img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05)}
  html body.page-home .name-deck .name-card:nth-child(1){left:auto!important;right:calc(5 * var(--vw))!important;top:31%!important}
  html body.page-home .name-deck .name-card:nth-child(3){left:auto!important;right:calc(5 * var(--vw))!important;top:calc(31% + var(--nh) + 16px)!important}
  html body.page-home .name-deck .name-card:nth-child(2){right:auto!important;left:calc(5 * var(--vw))!important;top:69%!important}
  html body.page-home .name-deck .name-card:nth-child(4){right:auto!important;left:calc(5 * var(--vw))!important;top:calc(69% + var(--nh) + 16px)!important}
}

/* desktop = phone: every treatments list (Dentistry, Aesthetic medicine) is the phone's stack of rounded cards — the
   page's black with a fine edge, a small photo, the name, one line and an arrow inside each card — and the groups flow
   in two columns, so a group with a single treatment no longer leaves half a row empty */
@media (min-width:901px){
  html body .tx-menu{columns:2;column-gap:clamp(32px,4vw,64px)}
  html body .tx-menu > .tx-menu-head{column-span:all}
  html body .tx-menu .tx-block{break-inside:avoid;padding:0 0 clamp(40px,6vh,64px)!important;margin:0}
  html body .tx-menu .tx-block-k{margin:0 0 16px!important;padding:0 0 8px!important;border:0!important;font-size:clamp(24px,1.9vw,32px)!important}
  html body .tx-menu .tx-block .tx-cards{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;border-top:0!important}
  html body .tx-menu .tx-block .tx-card{flex-direction:row!important;align-items:center;gap:22px;padding:14px 22px 14px 14px!important;border:0!important;border-radius:18px!important;
    background:#0b0b0b!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)!important;overflow:hidden;transition:box-shadow .3s,transform .3s}
  html body .tx-menu .tx-block .tx-ph{flex:none;width:clamp(140px,11vw,180px);height:auto;aspect-ratio:3/2;border-radius:12px}
  html body .tx-menu .tx-block .tx-card-b{gap:6px;padding:0!important;min-width:0}
  html body .tx-menu .tx-block .tx-card-t{font-size:18px}
  html body .tx-menu .tx-block .tx-card-d{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  html body .tx-menu .tx-block .tx-card-go{flex:none;margin-left:auto;padding:0 2px 0 0!important;font-size:20px;letter-spacing:0}
  html body .tx-menu .tx-card-go:before,html body .tx-menu .tx-card.is-ask .tx-card-go:before,html[lang] body .tx-menu .tx-card-go:before,html[lang] body .tx-menu .tx-card.is-ask .tx-card-go:before{content:"→"}
}
@media (min-width:901px) and (hover:hover){
  html body .tx-menu .tx-block .tx-card:hover{box-shadow:inset 0 0 0 1px rgba(214,180,76,.7)!important;transform:translateY(-2px)}
}
/* every screen: the About us arcs are ellipses twice the card's width; clip-path hid their sides but they still widened
   the page, so on screens wider than the 1920px page (or zoomed out) the whole page scrolled sideways. The card now
   clips sideways itself (the arcs still rise above and below it) */
html body.page-home .roots-intro-m{overflow-x:clip!important;overflow-y:visible!important}

/* "Our name": the small photos under each meaning — phones only (desktop shows them in the background columns).
   The tags under each meaning are shown on phones too */
.name-pics{display:none}
@media (max-width:900px){
  html body.page-home .name-lock .name-tags{display:flex!important;flex-wrap:wrap;gap:8px;margin-top:18px}
  html body.page-home .name-lock .name-tags li{font-size:11px!important;padding:8px 13px!important}
  html body.page-home .name-lock .name-pics{display:flex;gap:10px;margin-top:22px}
  html body.page-home .name-lock .name-pics figure{flex:0 0 calc(30 * var(--vw));max-width:150px;aspect-ratio:4/5;margin:0;border-radius:10px;overflow:hidden;opacity:.6}
  html body.page-home .name-lock .name-pics img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05)}
}

/* desktop = phone: the directions open on the soft arc too — the photos' top edge rises out of the black above and
   straightens as they come in (the bottom arc was already there); deeper here for the wide screen */
@media (min-width:901px){
  html body.page-home .split:before{content:"";position:absolute;left:0;right:0;top:-1px;height:110px;z-index:5;pointer-events:none;
    background:radial-gradient(ellipse 56% 100% at 50% 100%,rgba(11,11,11,0) 98.5%,#0b0b0b 100%);transform-origin:50% 0;transform:scaleY(0)}
  html body.page-home .split:after{height:110px!important}
  html body.page-home :is(.faces.is-held,.roots.is-pin:not(.is-swipe)){cursor:grab}
  html body.page-home :is(.faces.is-held,.roots.is-pin:not(.is-swipe)).is-drag{cursor:grabbing;user-select:none}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split:before{animation:arcFlat linear both;animation-timeline:--dirsIn;animation-range:entry 0% entry 40%}
  }
}
/* desktop directions: the arcs read on a wide screen — a broader, deeper opening that stays curved until the photos
   are well in (top) and starts bending as soon as they leave (bottom); Dr. Armen's photo shows his whole head */
@media (min-width:901px){
  html body.page-home .split:before{height:180px!important;background:radial-gradient(ellipse 72% 100% at 50% 100%,rgba(11,11,11,0) 98.8%,#0b0b0b 100%)!important}
  html body.page-home .split:after{height:180px!important;background:radial-gradient(ellipse 72% 100% at 50% 0,rgba(11,11,11,0) 98.8%,#0b0b0b 100%)!important}
  html body.page-home .split .direction + .direction > img{object-position:52% 16%!important;transform-origin:50% 20%!important}
}
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split:before{animation-range:entry 0% cover 42%!important}
    html body.page-home .split:after{animation-range:exit 0% exit 40%!important}
  }
}

/* Equipment: every service's name is always white (client's request) — no greyed-out rows; on desktop the card under the
   mouse grows a little */
html body.page-home main .eq .eq-row .eq-t h3{color:var(--white)!important}
@media (min-width:901px){
  html body.page-home main .eq .eq-row{transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s;transform-origin:50% 50%;will-change:transform}
}
@media (min-width:901px) and (hover:hover){
  html body.page-home main .eq .eq-row:hover{transform:scale(1.008);box-shadow:0 10px 26px rgba(0,0,0,.28)}
}

/* footer: one format on every page — the home page shows the same four columns as the inner pages (Aesthetic medicine,
   Dentistry, Contact, Hours) and on phones the same folded rows; it no longer drops Contact and Hours */
html body.page-home .brand-end-grid.has-tx>div:nth-child(3),html body.page-home .brand-end-grid.has-tx>div:nth-child(4){display:flex!important}
@media (min-width:601px){
  html body.page-home .brand-end-grid.has-tx{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:1180px!important}
}
@media (min-width:601px) and (max-width:1100px){
  html body.page-home .brand-end-grid.has-tx{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
/* desktop Founders: the founders' names sit level with the middle of their portrait, not at its foot */
@media (min-width:901px){
  html body.page-home .roots.is-pin .rp-founders .roots-meta{align-self:center!important}
}

/* Founders quote: the lines and the note under them brighten smoothly with the scroll (roots.js sets --lit 0…1 on each),
   no stepped switching — the same continuous lighting as the other headings */
html body .roots .roots-quote span,html body .roots .roots-quote span.is-on{color:rgba(239,238,233,calc(.22 + .78 * var(--lit,0)))!important;transition:none!important}
html body .roots .roots-quote span em,html body .roots .roots-quote span.is-on em,html body .roots .roots-quote span:not(.is-on) em{
  color:rgba(214,180,76,calc(.35 + .65 * var(--lit,0)))!important;text-shadow:0 0 22px rgba(214,180,76,calc(.5 * var(--lit,0)))!important;transition:none!important}
html body .roots .roots-quote-note,html body .roots .roots-quote-note.is-on{color:rgba(167,166,160,calc(.25 + .75 * var(--lit,0)))!important;transition:none!important}
@media (prefers-reduced-motion:reduce){
  html body .roots .roots-quote span{--lit:1}
  html body .roots .roots-quote-note{--lit:1}
}
/* the closing MonaSmile wordmark keeps the same small space between Mona and Smile as the first screen (.04em) */
html body .brand-end-mark .end-smile{margin-left:.04em!important}

/* desktop = phone: "Explore …" under each direction is the same round clear-glass capsule — the photo shows straight
   through, a thin light edge and a highlight on top — and it grows towards the middle of the screen with the scroll
   (linkGrow, already on desktop) */
@media (min-width:901px){
  html body.page-home .split .direction .link{display:inline-flex!important;align-items:center;gap:14px;min-height:52px;max-width:100%;margin-top:6px!important;padding:0 26px!important;white-space:nowrap;
    border:1px solid rgba(255,255,255,.26)!important;border-radius:999px;font-size:12px!important;letter-spacing:.16em!important;color:#fbfaf7!important;text-decoration:none!important;
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28);
    transition:border-color .35s,background .35s}
  html body.page-home .split .direction .link:before,html body.page-home .split .direction .link:after{display:none!important}
  html body.page-home .split .direction .link i{color:var(--yellow);font-style:normal}
}
@media (min-width:901px) and (hover:hover){
  html body.page-home .split .direction .link:hover{border-color:rgba(214,180,76,.7)!important;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.02))!important}
}
/* desktop: the direction card clips like on phones (clip, not hidden) so it is not a scroll box of its own — with
   hidden, the capsule's scroll timeline measured against the card and its growth stood still */
@media (min-width:901px){
  html body.page-home .split .direction{overflow:clip!important}
}

/* desktop: the "Explore …" capsule grows only while the mouse is over its direction card (no growth on the scroll) */
@supports (animation-timeline: view()){
  @media (min-width:901px) and (prefers-reduced-motion:no-preference){
    html body.page-home .split .direction .link{animation:msRise linear both!important;animation-timeline:view()!important;animation-range:entry 25% cover 42%!important}
  }
}
@media (min-width:901px){
  html body.page-home .split .direction .link{scale:1;transform-origin:0 50%;transition:scale .5s cubic-bezier(.2,.7,.2,1),border-color .35s,background .35s!important}
}
@media (min-width:901px) and (hover:hover){
  html body.page-home .split .direction:hover .link{scale:1.06}
}
/* desktop directions: the words, tags and the "Explore" capsule are always fully lit — no rise-in from transparency
   (it lagged behind the full-screen block and left them dim while the photos were already on screen) */
@media (min-width:901px){
  html body.page-home .split .direction-copy > *,html body.page-home .split .direction .link{animation:none!important;opacity:1!important;translate:none}
  html body.page-home .split .direction-copy > :not(.link){transform:none!important}
}

/* the ribbon's own timeline (--roots, which moves it) and the heading timeline (--rtHeld) live on the same block */
html body.page-home .roots.is-css{view-timeline-name:--roots,--rtHeld!important;view-timeline-axis:block,block!important}

/* iPhone / iPad (html.is-ios, app.js): Safari moves the held doctors and the Founders ribbon itself, in its scrolling
   thread (scroll timelines, iOS 26.4+), transform and opacity only — no script.
   - The sections that hold them are not clipped: in Safari a sticky screen inside an ancestor with overflow: clip
     shook up and down with every scrolled frame (the whole held block twitched). The page clips sideways instead.
   - The 3D turn (iPad's desktop layout) is drawn flat: the picture of perspective(1200px)
     rotateY(14deg) scale(.94) as a matrix without depth — a card turned with rotateY came through the header and left
     its own words behind ("ghost" text). Nothing else inside a card keeps a layer of its own */
html.is-ios,html.is-ios body{overflow-x:clip}
html.is-ios body.page-home main > .faces.is-held,html.is-ios body.page-home .faces.is-held,
html.is-ios body.page-home main > .roots.is-pin:not(.is-swipe),html.is-ios body.page-home .roots.is-pin:not(.is-swipe){overflow-x:visible!important}
@keyframes fcOutF{from{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);opacity:1}to{transform:matrix3d(.912078,0,0,-.000189505,0,.94,0,0,0,0,1,0,0,0,0,1);opacity:.6}}
@keyframes fcInF{from{transform:matrix3d(.912078,0,0,.000189505,0,.94,0,0,0,0,1,0,0,0,0,1);opacity:.6}to{transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);opacity:1}}
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  html.is-ios body.page-home .faces.is-held .faces-stage .face:first-child{animation-name:fcOutF!important}
  html.is-ios body.page-home .faces.is-held .faces-stage .face:nth-child(2){animation-name:fcInF!important}
}
html.is-ios body.page-home .faces.is-held .faces-stage .face{contain:none!important;backface-visibility:visible!important}
html.is-ios body.page-home .faces.is-held .faces-stage .face *{will-change:auto!important;backface-visibility:visible!important}
html body .roots.is-pin.is-ios .roots-track *{will-change:auto!important;backface-visibility:visible!important}
/* the edge under the home page's first screen (app.js headerCraft): Safari 26 paints the strip under its floating bottom bar
   in this colour while the page is at its top, instead of showing the next block there. Safari ignores it under 6px tall */
html.is-ios .bar-edge{position:fixed;left:0;right:0;bottom:0;z-index:18;height:8px;background:#0b0b0b;pointer-events:none}
/* desktop: the held doctors scene asks for less scrolling (the swap reads the same, it just takes less wheel) */
@supports (animation-timeline: view()){
  @media (min-width:901px){html body.page-home .faces.is-held{height:190vh!important}}
}

/* phones: a long word never sticks out of its box (site.js longWords marks only the boxes it does not fit, .is-overfull): a title
   hyphenates it, a facts grid closes up its spaced capitals */
@media (max-width:900px){
  html body .is-overfull:is(.tx-card-t,h1,h2,h3){-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
  html body .tx2-facts.is-overfull dt{letter-spacing:.16em;overflow-wrap:break-word}
}
/* the narrowest phones (320px): the full-width booking button on the doctor pages wraps its words instead of cutting them */
@media (max-width:340px){
  html body .ar-hero.is-min .ar-hero-book{white-space:normal;line-height:1.3;text-align:center}
}
/* every screen: under the doctors two small dots say who is in front (gold: the doctor in view, grey: the other); the
   names stay in the buttons for screen readers, a tap or click on a dot brings that doctor (app.js facesNav, facesHeld) */
html body.page-home .faces .faces-nav{gap:4px}
@media (max-width:900px){html body.page-home .faces .faces-nav{margin-top:24px}}
html body.page-home .faces .fn-item{width:28px;height:28px;padding:0;justify-content:center;gap:0;font-size:0!important;letter-spacing:0;color:transparent!important}
html body.page-home .faces .fn-item:before{width:7px;height:7px;opacity:1;transform:none;background:rgba(239,238,233,.28);transition:background .35s ease,transform .35s cubic-bezier(.2,.7,.2,1)}
html body.page-home .faces .fn-item.is-on:before{background:var(--yellow);transform:scale(1.15)}
html body.page-home .faces .fn-item:not(.is-on):hover:before{background:rgba(239,238,233,.55)}
/* desktop, after review: the "Come and meet us" card at the end of the Founders ribbon was too big — a smaller card, the
   same words */
@media (min-width:901px){
  html body.page-home .roots.is-pin .rp-end{width:min(calc(32 * var(--vw)),480px)!important;min-height:min(44vh,420px)!important;padding:52px 44px!important;border-radius:22px!important}
  html body.page-home .roots.is-pin .rp-end h3{font-size:clamp(36px,calc(3 * var(--vw)),56px)!important}
  html body.page-home .roots.is-pin .rp-end p{font-size:clamp(15px,calc(1.05 * var(--vw)),17px)!important;margin:16px 0 26px!important}
}
/* desktop equipment: a quieter hover — the card no longer grows and its title no longer scales up; it only brightens and
   shows its line of copy */
@media (min-width:901px){
  html body.page-home main .eq .eq-row:hover{transform:none!important;box-shadow:none!important}
  html body.page-home main .eq .eq-row.is-on .eq-t h3{transform:none!important}
}
/* reviews heading, after review: set in the brand's serif (Cormorant Garamond, as MonaSmile in the logo and "Our name")
   with the gold word in italic, so it reads as the clinic's own voice rather than a template headline; the count and
   the line under it stay in Montserrat */
html body.page-home .proof .proof-title,html body.page-home .proof .proof-title *{font-family:"Cormorant Garamond",Georgia,serif!important;font-weight:500!important;letter-spacing:-.015em!important;line-height:.95!important}
html body.page-home .proof .proof-title em{font-style:italic!important;letter-spacing:-.005em!important}
html body.page-home .proof#reviews .proof-head .proof-title{font-size:clamp(58px,calc(8 * var(--vw)),136px)!important}
@media (min-width:901px){html body.page-home .proof#reviews .proof-head .proof-title{font-size:clamp(72px,calc(6.8 * var(--vw)),128px)!important}}
/* phones, "Our name": the treatment tags (Ultherapy Prime, Morpheus8…) and the two pictures under Mona's and Smile's copy
   stand still, as the pictures do on desktop — they only fade in, in place, when their turn comes (once Smile has passed
   under them). Rising 40px with the scroll, the tags slid under the copy above them on iPhone and the pictures drifted */
@keyframes msFadeIn{from{opacity:0}to{opacity:1}}
@media (max-width:900px){
  html body.page-home .name-lock .name-body :is(.name-tags,.name-pics){animation-name:msFadeIn!important;transform:none!important;translate:none!important}
}
@keyframes msRiseS{from{transform:translate3d(0,12px,0);opacity:0}to{transform:none;opacity:1}}
@media (max-width:900px){
  /* the copy over them rises only a little: rising 40px, it slid over the tags under it while it came in */
  html body.page-home .name-lock .name-body > p{animation-name:msRiseS!important}
}
/* phones, "Our name": Mona's lines, tags and pictures fade in by a class (app.js nameJoin .is-up), not frame by frame with
   the scroll — tied to the scroll they blinked on iPhone whenever the page moved a little to and fro */
@media (max-width:900px){
  html body.page-home .name-lock.is-join .name-part.is-mona [data-rise]:not(#_){animation:none!important;opacity:0;transform:translate3d(0,10px,0);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
  html body.page-home .name-lock.is-join .name-part.is-mona :is(.name-tags,.name-pics)[data-rise]:not(#_){transform:none}
  html body.page-home .name-lock.is-join .name-part.is-mona [data-rise].is-up:not(#_){opacity:1;transform:none}
}
@media (max-width:900px) and (prefers-reduced-motion:reduce){
  html body.page-home .name-lock .name-part.is-mona [data-rise]{opacity:1!important;transform:none!important}
}
/* phones: Smile's lines just stand (two scroll animations on one line — the rise and the later dim — blinked on iPhone) */
@media (max-width:900px){
  html body.page-home .name-lock .name-part.is-smile :is(.name-expand > *,.name-expand em,.name-body > *):not(#_){animation:none!important;opacity:1!important;transform:none!important}
}
