:root{--sequence-poster:url('frames/hero-20261117-clean4k/0001.webp')}
/* Phone compositions: readable content first, with touch-sized controls. */
@media(max-width:600px){
 .front-sequence .opening-act{--portrait-height:clamp(280px,43svh,360px)}
 .front-sequence .opening-act .hero-copy{padding-top:calc(var(--header-height) + var(--portrait-height) * .82)}
 .front-sequence .opening-act .hero-copy h1{font-size:clamp(34px,9.4vw,44px);letter-spacing:-.035em}
 .front-sequence .opening-act .hero-base{margin-top:20px;row-gap:16px}
 .front-sequence .opening-act .hero-base>.hero-description{font-size:16px;line-height:1.55}
 .front-sequence .opening-act .hero-base>.solid-button,.front-sequence .opening-act .hero-base>.quiet-link{width:100%;justify-content:center;min-height:48px}

 .global-header .rf-lang__btn{min-width:44px;min-height:44px}
 .atlas[data-motion=true] .atlas-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:100%;padding:0;overflow:visible}
 .atlas[data-motion=true] .atlas-nav-button{white-space:normal;font-size:15px!important;padding:10px 8px!important;border:1px solid #ded8df;min-height:48px}
 .atlas[data-motion=true][data-atlas-mode=vertical] .atlas-images{width:100%;max-width:none}
 .atlas[data-motion=true][data-atlas-mode=vertical] .atlas-image{aspect-ratio:4/3!important;max-height:260px!important}
 .atlas[data-motion=true] .atlas-gallery{gap:24px}
 .front-sequence .care-composition>.care-portrait{aspect-ratio:1;max-height:360px}
 .rf-cookie{bottom:calc(12px + env(safe-area-inset-bottom));left:12px;width:calc(100vw - 24px);padding:16px;gap:12px;border-radius:16px}
 .rf-cookie>div{width:100%;justify-content:space-between}
 .rf-cookie a,.rf-cookie button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
 .mc:not(.is-open) .mc-launch{width:48px;height:48px;padding:0;justify-content:center}
 .mc:not(.is-open) .mc-launch span{display:none}
 .mc{bottom:calc(12px + env(safe-area-inset-bottom))}
 .rf-top[data-rf-top]{display:none!important}
 body:has(.rf-cookie:not([hidden])) .mc:not(.is-open),body:has(.rf-cookie:not([hidden])) .rf-top,
 body:has(.atlas-reader:not([hidden]) .show-questionnaire:not([hidden])) .mc:not(.is-open),body:has(.atlas-reader:not([hidden]) .show-questionnaire:not([hidden])) .rf-top{visibility:hidden;pointer-events:none}
 .atlas .atlas-reader{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 .launch-event .launch-copy h3{max-width:none;text-wrap:wrap}
 .rf-bank-dialog .rf-bank{padding-top:28px}
 .rf-bank-dialog .rf-bank__photo{min-height:300px}
}
@media(max-width:600px){
 :root{--header-height:52px}
 .global-header,.global-header.gallery-header,.global-header.hero-header{height:var(--header-height);padding-inline:var(--g) calc(var(--g) - 12px);gap:4px}
 .global-header .wordmark,.global-header.gallery-header .wordmark{display:flex;align-items:center;width:84px;min-height:44px}
 .global-header .header-contact,.global-header.gallery-header .header-contact{
  position:relative;isolation:isolate;margin-left:0;height:44px;min-height:44px;padding:0 12px;border:0;background:transparent;
  font-size:12px;gap:0
 }
 .global-header .header-contact::before{
  content:"";position:absolute;inset:6px 0;z-index:-1;border-radius:999px;background:#2c2631;pointer-events:none
 }
 .global-header .header-contact .rf-arw{display:none}
 /* Match the menu glyph's 12px inset on the other side of the CTA. */
 .global-header .rf-lang__btn{width:auto;justify-content:flex-end;padding-inline:4px 12px;font-size:12px}
 .global-header nav a{font-size:16px;min-height:48px;display:flex;align-items:center}
}

@media(max-width:600px){
 .atlas[data-motion=true][data-atlas-mode=vertical] .atlas-image img{object-position:50% 0%;transform:none}
}
/* Stable global chrome: the content beneath supplies the frosted tint. */
.global-header,.global-header.gallery-header{background:rgba(255,255,255,.76);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.global-header.hero-header:not(.menu-open){transition:none;background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.global-header.menu-open{background:rgba(255,255,255,.96)}
/* Rail controls belong to the section, away from fixed help/back-to-top tools. */
.rf-steps .rf-foot{align-items:flex-start}
.rf-steps .rf-ctl{margin-right:180px}
@media(max-width:1100px){.rf-steps .rf-ctl{margin-left:0;margin-right:0;align-self:flex-start}}

/* Roomy desktops keep the film full bleed. Center the entire reading group
   in the space below the header, including when a translation wraps. */
@media (min-width:1101px) and (min-height:701px) and (prefers-reduced-motion:no-preference){
 .front-sequence[data-enabled=true] .opening-act .hero-copy{top:var(--header-height);bottom:0;display:flex;flex-direction:column;justify-content:center}
}
/* On tablets and wide, short windows the photograph and copy share a row. */
@media (min-width:601px) and (max-width:1100px), (min-width:601px) and (max-height:700px), (min-width:1101px) and (prefers-reduced-motion:reduce){
 .front-sequence .opening-act{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1fr);gap:clamp(24px,4vw,52px);align-items:center;padding:calc(var(--header-height) + 32px) var(--g) 40px;background:#faf6f4}
 .front-sequence .opening-act .photo-object{position:relative;inset:auto;grid-area:1/1;overflow:hidden;border-radius:14px;height:clamp(330px,55svh,590px)}
 .front-sequence .opening-act .photo-object::after{display:none}
 #home .photo-leaf:first-child img.jimeng-video-poster{top:0!important;height:100%!important;object-position:20% 50%!important}
 .front-sequence .opening-act .hero-copy{grid-area:1/2;padding:0;margin:0;width:100%;min-width:0}
 .front-sequence .opening-act .hero-copy h1{font-size:clamp(34px,5.4vw,67px);line-height:1.07}
 .front-sequence .opening-act .hero-base{display:flex;flex-wrap:wrap;align-items:center;gap:14px;max-width:56ch;margin:20px 0 0}
 .front-sequence .opening-act .hero-base>p{flex:0 0 100%;max-width:100%;font-size:16px;line-height:1.55}
 .front-sequence .opening-act .hero-base>a{font-size:14px;min-height:44px}
 .front-sequence .manifesto-photo{position:relative;top:auto;align-self:center}
}
@media (min-width:601px) and (max-height:500px){
 .front-sequence .opening-act{padding-block:calc(var(--header-height) + 14px) 18px}
 .front-sequence .opening-act .photo-object{height:clamp(248px,67svh,320px)}
 .front-sequence .opening-act .hero-copy h1{font-size:clamp(32px,4.4vw,46px)}
 .front-sequence .opening-act .hero-base{gap:8px 16px;margin-top:12px}
}
@media (max-width:600px){
 .front-sequence #home .hero-base{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;gap:14px 10px;align-items:stretch}
 .front-sequence #home .hero-base>p{grid-column:1/-1}
 .front-sequence #home .hero-base>:is(.solid-button,.hero-secondary){grid-area:auto;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;padding-inline:8px;gap:6px;text-align:center}
 .front-sequence .care-composition{display:grid;grid-template-columns:minmax(0,1fr) clamp(52px,16vw,76px);gap:12px 16px;align-items:start}
 .front-sequence .care-composition>h2{grid-area:1/1;font-size:clamp(30px,8.6vw,44px)}
 #care .care-composition>.care-lead{grid-area:2/1/3/3}
 .front-sequence .care-composition>.care-portrait{grid-area:1/2;align-self:center;justify-self:end;aspect-ratio:1;height:auto;border-radius:12px}
 .front-sequence .care-composition>.care-curve{grid-area:3/1/4/3}
 .front-sequence .care-composition>.care-details{grid-area:4/1/5/3}
}
@media (max-width:1100px), (max-height:700px){
 #home .hero-base>.solid-button{padding-inline:18px;gap:12px}
}

@media (max-width:389px){
 #home .hero-base{column-gap:10px}
 #home .hero-base>:is(.solid-button,.hero-secondary){padding-inline:14px}
}

/* A single portrait follows both messages. Text keeps its intrinsic height in either language. */
.compact-story{--story-paper:#fefdfc;position:relative;padding-top:var(--header-height);background:linear-gradient(to bottom,var(--story-paper) 85%,transparent)}
.compact-story-portrait{position:sticky;top:var(--header-height);z-index:5;overflow:hidden;pointer-events:none;background:var(--story-paper) var(--sequence-poster) 20% center/cover no-repeat}
.compact-story #home .photo-object,.compact-story #approach .manifesto-photo{display:none}
.front-sequence .compact-story #home,.front-sequence .compact-story #approach{display:flex;flex-direction:column;justify-content:center;gap:0;background:transparent;padding:32px var(--g);margin:0}
.front-sequence .compact-story #home .hero-copy{position:relative;inset:auto;margin:0;padding:0;width:100%}
.front-sequence .compact-story #approach .approach-message{width:100%}
@media(max-width:600px){
 .compact-story{--story-image:clamp(200px,52svh,680px)}
 .compact-story-portrait{height:var(--story-image)}
 .compact-story-portrait::after{content:'';position:absolute;inset:auto 0 0;height:22%;background:linear-gradient(transparent,var(--story-paper))}
 .front-sequence .compact-story #home,.front-sequence .compact-story #approach{min-height:calc(100svh - var(--header-height) - var(--story-image));padding-block:24px 40px}
}
@media(min-width:601px){
 .compact-story{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1fr);column-gap:clamp(24px,4vw,52px);padding-inline:var(--g)}
 .compact-story-portrait{grid-area:1/1/3/2;align-self:start;top:calc(var(--header-height) + 16px);height:min(68svh,calc(100svh - var(--header-height) - 32px));margin-block:16px;border-radius:14px}
 .front-sequence .compact-story #home,.front-sequence .compact-story #approach{grid-column:2;padding:22px 0;min-height:calc(100svh - var(--header-height))}
}
@media(max-width:600px) and (prefers-reduced-motion:reduce){
 .front-sequence #home{background:transparent}
 .front-sequence #home .photo-object::after{background:linear-gradient(to bottom,transparent calc(var(--header-height) + var(--portrait-height)*.55),#fefdfc calc(var(--header-height) + var(--portrait-height)))}
}

/* The heading, rail and note share one sticky stage until the final card. */
.rf-rail-run{display:contents}
.rf-pin.compact-pin{height:auto}
.compact-pin .rf-stick{position:relative;display:block;height:auto;overflow:visible;padding:48px 0;--rf-ch:clamp(230px,54svh,500px)}
.compact-pin .rf-rail-run{display:block;position:relative}
.compact-pin .rf-rail-run::after{content:"";display:block;height:var(--rf-dist)}
.rf-card-panel{display:contents}
.compact-pin .rf-card-panel{display:block;padding-top:var(--steps-gap)}
.compact-pin .rf-rail{position:relative;overflow:clip;scroll-snap-type:none;touch-action:pan-y pinch-zoom}
.compact-pin .rf-card{width:clamp(250px,80vw,380px);max-width:calc(100vw - 2 * var(--g));height:var(--rf-ch)}
@media(max-height:500px){
 .compact-pin .rf-stick{--rf-ch:clamp(190px,calc(100svh - var(--header-height) - 24px),330px)}
 .compact-pin .rf-card__txt{left:16px;right:16px;bottom:12px}
 .compact-pin .rf-card__txt b{font-size:30px}
 .compact-pin .rf-card__place,.compact-pin .rf-card__chip{top:10px;height:24px}
 .compact-pin .rf-card__txt h3{margin-top:4px}
}

.compact-story #home .hero-copy,.compact-story #approach .approach-message{opacity:var(--copy-opacity,1)}
.compact-story :is(.hero-copy,.approach-message):focus-within{opacity:1!important}
.rf-scroll-group{display:contents}
.compact-pin .rf-scroll-group{
 display:block;position:sticky;--steps-gap:clamp(14px,2.5svh,24px);
 --rf-ch:clamp(200px,calc(100svh - var(--header-height) - 24px - var(--steps-heading,170px) - var(--steps-foot,100px) - var(--steps-gap)),min(50svh,500px));
}
@media(max-width:600px) and (max-height:700px){
 .compact-pin .rf-head{gap:8px}
 .compact-pin .rf-head h2{margin-top:8px!important;font-size:30px}
}
@media(max-width:1100px),(max-height:700px){
 .atlas[data-motion=true][data-atlas-mode=horizontal] .atlas-image{aspect-ratio:4/3!important;height:clamp(140px,32svh,360px)!important}
}

.compact-story-panel{display:contents}
.compact-story.pinned-copy{padding:0}
.pinned-copy::after{content:'';display:block;height:72svh}
.pinned-copy .compact-story-panel{position:sticky;top:0;display:grid;grid-template-rows:minmax(120px,1fr) auto;height:100svh;padding-top:var(--header-height)}
.pinned-copy .compact-story-portrait{position:relative;inset:auto;grid-area:1/1;height:100%;min-height:0}
.front-sequence .pinned-copy :is(#home,#approach){grid-area:2/1;min-height:0;padding-block:12px max(18px,env(safe-area-inset-bottom));justify-content:flex-start}
.pinned-copy #approach .approach-message{opacity:var(--copy-opacity,0)}
.pinned-copy .front-act[inert]{pointer-events:none}

/* The opening poster uses the same crop as the scroll-driven canvas. */
@media(max-width:600px){
 .compact-story-portrait{container-type:size;background:var(--story-paper)}
 .compact-story-portrait::before{
  content:"";position:absolute;left:50%;top:12%;width:max(200cqw,177.7778cqh);aspect-ratio:16/9;
  transform:translate(-25%,-12%);background:var(--sequence-poster) center/cover;
 }
}
@media(max-width:1100px),(max-height:700px),(prefers-reduced-motion:reduce){
 .front-sequence .care-portrait,.front-sequence .manifesto-photo .image-reveal{container-type:size;position:relative;overflow:hidden}
 .front-sequence #care .care-portrait img,.front-sequence #approach .manifesto-photo img{
  position:absolute;left:50%;top:12%;width:max(200cqw,177.7778cqh);height:auto;max-width:none;transform:translate(-25%,-12%);
 }
}
@media(max-width:600px) and (prefers-reduced-motion:reduce){
 .front-sequence #home{--portrait-height:clamp(260px,51svh,630px)}
 #home .photo-leaf:first-child img.jimeng-video-poster{
  width:max(200%,calc(var(--portrait-height)*1.777778))!important;height:auto!important;
  left:50%!important;top:var(--header-height)!important;transform:translateX(-25%)!important;
 }
}

.compact-pin .rf-card-panel .rf-foot{padding-top:14px;padding-right:calc(var(--g) + 50px);gap:0}
.compact-pin .rf-card-panel .rf-ctl{display:none}
@media(min-width:601px) and (max-height:500px){
 .compact-pin .rf-scroll-group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);row-gap:10px;--rf-ch:clamp(190px,calc(100svh - var(--header-height) - 24px),330px)}
 .compact-pin .rf-card-panel{display:contents}
 .compact-pin .rf-head{grid-area:1/1;align-self:end;gap:8px}
 .compact-pin .rf-head h2{margin-top:6px!important;font-size:30px}
 .compact-pin .rf-card-panel .rf-foot{grid-area:2/1;padding:0 var(--g)}
 .compact-pin .rf-rail{grid-area:1/2/3/3;min-width:0;align-self:center}
 .compact-pin .rf-stick .rf-card{width:min(42vw,380px)}
}

#knowledge .atlas-introduction p,
#rf-steps-title,
#knowledge .compact-topic-label,
#how-it-works .rf-card__txt h3{font-weight:650}

.compact-topic-copy,.compact-topic-label{display:none}
@media(max-width:1100px),(max-height:700px){
 .atlas[data-motion=true] .atlas-image[data-card-depth]{overflow:hidden;border-radius:12px}
 .atlas-image .atlas-card-face{border-radius:inherit}
 .atlas[data-atlas-mode] .compact-topic-label{
  border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;
  display:block;position:absolute;inset:auto 0 0;z-index:2;padding:32px 18px 14px;
  background:linear-gradient(transparent,rgba(28,21,34,.74));color:white;font-size:20px;text-align:start;
 }
}
@media(max-width:1100px) and (prefers-reduced-motion:reduce),(max-height:700px) and (prefers-reduced-motion:reduce){
 .atlas[data-atlas-mode=grid] .atlas-gallery>.atlas-nav{display:none!important}
 .atlas[data-atlas-mode=grid] .atlas-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .atlas[data-atlas-mode=grid] .atlas-image{overflow:hidden;border-radius:12px}
 .atlas[data-atlas-mode=grid] .compact-topic-label{font-size:16px;padding:20px 8px 8px}
}
@media(max-width:1100px) and (prefers-reduced-motion:no-preference),(max-height:700px) and (prefers-reduced-motion:no-preference){
 .atlas[data-motion=true][data-atlas-mode=horizontal] .atlas-gallery{
  display:block;padding-inline:var(--g);
 }
 .atlas[data-atlas-mode=horizontal] .atlas-gallery>.atlas-nav,
 .atlas[data-atlas-mode=horizontal] .atlas-gallery>.atlas-topic-summary{display:none!important}
 .atlas[data-atlas-mode=horizontal] .compact-gallery-deck>.atlas-introduction{display:block;position:static;grid-area:1/1/2/-1;margin:0;align-self:start;order:0}
 .compact-gallery-run{position:relative}
 .compact-gallery-run::after{content:"";display:block;height:var(--chapter-travel,0px)}
 .compact-gallery-deck{
  position:sticky;top:var(--chapter-header,var(--header-height));isolation:isolate;
  box-sizing:border-box;height:calc(100svh - var(--chapter-header,var(--header-height)));margin-inline:calc(0px - var(--g));padding:12px var(--g) 20px;
  display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);
  gap:clamp(10px,2svh,20px) var(--g);overflow:clip;
 }
 .compact-gallery-visual{position:relative;align-self:start;min-width:0}
 .atlas[data-motion=true][data-atlas-mode=horizontal] .atlas-images{
  position:relative;inset:auto;width:100%;min-width:0;max-width:none;margin:0;
  overflow:hidden;scroll-snap-type:none;scrollbar-width:none;touch-action:pan-y pinch-zoom;
 }
 .atlas[data-atlas-mode=horizontal] .atlas-images::-webkit-scrollbar{display:none}
 .atlas[data-motion=true][data-atlas-mode=horizontal] .atlas-image{overflow:hidden;flex-basis:92%;border-radius:12px}
 .compact-gallery-visual .atlas-image:first-of-type{margin-inline-start:4%!important}
 .compact-gallery-visual .atlas-image:last-of-type{margin-inline-end:4%!important}
 .compact-gallery-visual .atlas-image::after{
  content:"";position:absolute;inset:auto 0 0;height:46%;pointer-events:none;
  border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;
  background:linear-gradient(transparent,rgba(25,17,32,.78));backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  mask-image:linear-gradient(transparent,#000 78%);-webkit-mask-image:linear-gradient(transparent,#000 78%);
 }
 .atlas .compact-gallery-visual .compact-topic-label{
  z-index:12;padding:0 14px 14px;background:transparent;color:#fff;font-size:clamp(26px,5.8vw,36px);
  line-height:1.12;letter-spacing:-.025em;text-shadow:0 1px 4px #20162655;pointer-events:none;
 }
 .atlas[data-atlas-mode=horizontal] .compact-topic-copy{display:grid;min-width:0;min-height:0}
 .compact-topic-copy article{
  grid-area:1/1;display:flex;flex-direction:column;min-height:0;
 }
 .compact-topic-copy article[inert]{pointer-events:none}
 .compact-topic-copy h3{flex:none;margin:0 0 14px;font-size:clamp(26px,3.5vw,36px);line-height:1.16;letter-spacing:-.025em}
 .compact-topic-body{min-height:0;overflow:hidden;padding-bottom:4px}
 .compact-topic-details{margin:0 0 20px;font-size:16px;line-height:1.6}
 .compact-topic-details .service-steps,.compact-topic-details .service-answers :is(dt,dd),.compact-topic-details .service-note{display:block!important}
 .compact-topic-copy .atlas-read-link{position:static}
}
@media(max-width:600px) and (prefers-reduced-motion:no-preference){
 .compact-gallery-deck{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:clamp(10px,2svh,16px)}
}
@media(min-width:601px) and (max-height:500px) and (prefers-reduced-motion:no-preference){
 .compact-gallery-deck{grid-template-rows:auto minmax(0,1fr)}
 .atlas[data-atlas-mode=horizontal] .compact-gallery-deck>.atlas-introduction{grid-area:1/1}
 .compact-gallery-visual{grid-area:2/1}
 .compact-topic-copy{grid-area:1/2/3/3}
}
 /* Portrait originals need headroom when used in wide topic cards. */
.atlas:is([data-atlas-mode=horizontal],[data-atlas-mode=grid]) .atlas-image:is([data-atlas-asset-id="0"],[data-atlas-asset-id="2"],[data-atlas-asset-id="3"]) img{object-position:center top}


.rf-card img[src$="/connect.webp"],.rf-card img[src$="/consult.webp"],.rf-card img[src$="/rest.webp"],.rf-card img[src$="/video.webp"]{object-position:50% 12%}
.rf-photo img[src$="/consult.webp"],.rf-photo img[src$="/cycle.webp"]{object-position:50% 18%}

@media (max-width:1100px), (max-height:700px), (prefers-reduced-motion:reduce){
 .global-header.menu-open nav{gap:0;padding:8px var(--g) 12px}
 .global-header.menu-open nav>a{display:flex;align-items:center;margin:0;padding:12px 0;min-height:48px;height:auto;line-height:22px;font-size:14px;font-weight:500;border:0;border-bottom:1px solid var(--hairline)}
 .global-header.menu-open nav>a:last-child{border-bottom-color:transparent}
}
@media (orientation:landscape) and (max-height:500px) and (pointer:coarse){
 .rf-top[data-rf-top]{display:none!important}
}

@media (min-width:1101px) and (min-height:701px) and (prefers-reduced-motion:no-preference){
 .global-header .header-contact,.global-header.gallery-header .header-contact{
  box-sizing:border-box;height:44px;min-height:44px;padding-block:0;line-height:1.2;align-items:center
 }
}

/* Wide tablets keep the opening copy on the film, including its static poster. */
@media (min-width:1024px), (min-width:601px) and (orientation:portrait){
 .compact-story{
  grid-template-columns:minmax(0,1fr);gap:0;padding:0;isolation:isolate;
 }
 .compact-story .compact-story-portrait{
  grid-area:1/1/3/2;position:sticky;top:0;z-index:0;
  width:100%;height:100svh;margin:0;border-radius:0;
 }
 .front-sequence .compact-story :is(#home,#approach){
  grid-column:1;z-index:1;min-height:100svh;
  padding:calc(var(--header-height) + 24px) var(--g) 32px 53%;
 }
 .front-sequence .compact-story #home{grid-row:1}
 .front-sequence .compact-story #approach{grid-row:2}
}
@media (min-width:1024px) and (prefers-reduced-motion:reduce), (min-width:601px) and (orientation:portrait) and (prefers-reduced-motion:reduce){
 .front-sequence #home{
  display:flex;flex-direction:column;justify-content:center;min-height:100svh;
  padding:calc(var(--header-height) + 24px) var(--g) 32px 53%;
 }
 .front-sequence #home .photo-object{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;border-radius:0;
 }
 #home .photo-leaf:first-child img.jimeng-video-poster{top:0!important;height:100%!important;object-position:20% center!important}
}
@media (min-width:601px) and (orientation:portrait){
 .front-sequence .compact-story :is(#home,#approach),
 .front-sequence[data-enabled=false] #home{
  justify-content:flex-end;padding-inline:var(--g);padding-bottom:6svh;
  background-image:linear-gradient(to top,rgba(250,246,244,.98) 0%,rgba(250,246,244,.93) 18%,transparent 54%);
 }
 .front-sequence .compact-story :is(.hero-copy,.approach-message),
 .front-sequence[data-enabled=false] #home .hero-copy{max-width:680px}
}
@media (min-width:601px) and (orientation:portrait) and (prefers-reduced-motion:reduce){
 .front-sequence #home .photo-object::after{
  display:block;background:linear-gradient(to top,rgba(250,246,244,.98) 0%,rgba(250,246,244,.93) 18%,transparent 54%);
 }
}

/* Use the phone's shared portrait and reading area across tablet orientations. */
@media (min-width:601px) and (max-width:1100px) and (min-height:501px){
 .compact-story {display:block;padding-inline:0;background:var(--story-paper)}
 .compact-story:not(.pinned-copy) {padding-top:var(--header-height)}
 .compact-story .compact-story-panel {background:var(--story-paper)}
 .compact-story.pinned-copy .compact-story-panel {
  display:grid;grid-template: minmax(66.8vw,1fr) auto / minmax(0,1fr);
 }
 .compact-story .compact-story-portrait {
  position:relative;inset:auto;grid-area:1/1;width:100%;height:max(50svh,66.8vw);margin:0;border-radius:0;
  container-type:size;background:var(--story-paper);
 }
 .compact-story.pinned-copy .compact-story-portrait {height:100%}
 .compact-story .compact-story-portrait::before,
 #home .photo-leaf:first-child img.jimeng-video-poster {
  position:absolute;left:50%!important;top:12%!important;
  width:max(200cqw,177.7778cqh)!important;height:auto!important;max-width:none;
  aspect-ratio:16/9;transform:translate(-25%,-12%)!important;
 }
 .compact-story .compact-story-portrait::before {content:"";background:var(--sequence-poster) center/cover}
 .compact-story .compact-story-portrait::after,
 .front-sequence #home .photo-object::after {
  content:"";display:block;position:absolute;inset:auto 0 0;height:14.3vw;
  background:linear-gradient(to bottom,transparent,rgba(254,253,252,.52) 18%,rgba(254,253,252,.85) 57%,#fefdfc);pointer-events:none;
 }
 .front-sequence .compact-story :is(#home,#approach),
 .front-sequence[data-enabled=false] #home {
  grid-area:2/1;min-height:0;padding:10px var(--g) clamp(24px,4svh,52px);
  background:#fefdfc;align-items:center;text-align:center;justify-content:flex-start;
 }
 /* Place the first headline inside the neck-to-paper fade. */
 .compact-story .compact-story-portrait {z-index:0}
 .front-sequence .compact-story #home {position:relative;z-index:1;overflow:visible;background:transparent}
 .front-sequence .compact-story #home .hero-copy,
 .front-sequence[data-enabled=false] #home .hero-copy {margin-top:calc(-12.5vw - 10px);z-index:1}
 .front-sequence #home .hero-copy,.front-sequence #approach .approach-message {max-width:680px}
 .front-sequence #home .hero-copy h1,.front-sequence #approach .approach-message h2 {text-align:center}
 .front-sequence #home .hero-base {margin-inline:auto;justify-content:center}
 .front-sequence #home .hero-base>p {margin-inline:auto}
 .front-sequence .compact-story #home .hero-copy,
 .front-sequence .compact-story #approach .approach-message {opacity:1}
 .front-sequence .pinned-copy :is(#home,#approach)[inert] {opacity:0!important;pointer-events:none}
}
@media (min-width:601px) and (max-width:1100px) and (min-height:501px) and (prefers-reduced-motion:reduce){
 .front-sequence[data-enabled=false] #home {display:flex;flex-direction:column;gap:0;padding:var(--header-height) 0 0;min-height:100svh}
 .front-sequence #home .photo-object {position:relative;inset:auto;order:-1;flex:1 0 max(38svh,66.8vw);width:100%;height:auto;min-height:0;border-radius:0;container-type:size;overflow:hidden}
 .front-sequence #home .hero-copy {position:relative;inset:auto;width:100%;margin-inline:0;padding:10px var(--g) clamp(24px,4svh,52px)}
}

/* Keep the active reading panel legible when a touch scroll stops mid-transition. */
@media (max-width:600px){
 .front-sequence .pinned-copy #home .hero-copy,
 .front-sequence .pinned-copy #approach .approach-message {opacity:1}
 .front-sequence .pinned-copy :is(#home,#approach)[inert] {opacity:0!important;pointer-events:none}
}
@media (min-width:601px) and (max-height:500px) and (pointer:coarse) and (prefers-reduced-motion:no-preference){
 .compact-gallery-deck {padding-bottom:calc(92px + env(safe-area-inset-bottom))}
}

/* Reserve the right edge of the legal row for the fixed help controls. */
.source-footer.site-footer{padding-inline:var(--g)}
.source-footer .footer-legal{padding-inline-end:clamp(150px,12vw,174px)}
@media(max-width:600px){.source-footer .footer-legal{padding-inline-end:64px}}

/* A settled phone chapter fills the rail. Let the page scroll its image and
   copy together so long answers can use the full visible reading area. */
@media(max-width:600px) and (prefers-reduced-motion:no-preference){
 .compact-gallery-deck{height:calc(100dvh - var(--chapter-header,var(--header-height)));padding-bottom:calc(18px + env(safe-area-inset-bottom))}
 .compact-gallery-deck > *{translate:0 var(--chapter-shift,0px)}
 .compact-gallery-deck .compact-topic-body{overflow:visible}
 .compact-gallery-deck .atlas-read-link{max-width:calc(100% - 50px)}
 .atlas[data-motion=true][data-atlas-mode=horizontal] .compact-gallery-visual .atlas-image{flex:0 0 100%;max-width:100%;margin-inline:0!important}
}

.atlas[data-heading-on-photo] .compact-gallery-visual .compact-topic-label{
 font-size:clamp(22px,5.6vw,27px);line-height:1.16;white-space:normal;text-wrap:balance
}
.atlas[data-heading-on-photo] .compact-topic-copy h3{
 position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)
}

@media (max-width:600px) {
 .compact-topic-copy article:nth-child(-n+3) .compact-topic-details {margin-bottom:14px;line-height:1.45}
 .compact-topic-details .service-steps {margin:10px 0 0}
 .compact-topic-details .service-steps li {padding:5px 0;gap:10px;font-size:15px;line-height:1.45}
 .compact-topic-details .service-answers dt {margin:12px 0 0;font-size:16px;line-height:1.4}
 .compact-topic-details .service-answers dt:first-child {margin-top:0}
 .compact-topic-details .service-answers dd {margin:3px 0 0;font-size:15px;line-height:1.45}
}
@media (max-width:600px) {
 .care-details article p, .options-note {text-wrap:pretty}
 .rf-photo__txt h3 {text-wrap:balance}
}
@media (max-width:600px) and (max-height:700px) and (prefers-reduced-motion:no-preference) {
 .atlas[data-motion=true][data-atlas-mode=horizontal] .compact-gallery-visual .atlas-image {height:clamp(125px,25svh,175px)!important}
}

