/* The home page's own sheet. index.html loads it after styles/celva-home.css,
   which eight landing pages also load and which is therefore left alone:
   everything here is scoped to body.home-v6 (or to classes only index.html
   carries) and changes what that shared sheet draws on this one page.
   What it does: takes the mono-caps labels, pills and the cream tint off,
   sizes the headings to span their column, redraws the vial, cell and review
   figures with words set in HTML at a readable size, lays the cell types out
   as rows, turns the day's five steps into a timeline on a phone and the
   patient tiles into one row, gives each section its own entrance, and
   prints the finished state. */

.home-v6 main{overflow-x:clip}
.home-v6 main :is(a,button,summary):focus-visible{outline:2px solid var(--accent-blue);outline-offset:3px}
.home-v6 :is(.hero,.h-no,.dark,.ctaband,.vial__col--celva) :is(a,button,summary):focus-visible{outline-color:#fff}

/* A heading breaks where its styling changes, never mid-phrase, and never
   on a hard break. */
.home-v6 main h2 > .h-lead,.home-v6 main h2 > em{display:inline-block}
.home-v6 .sec-h2{font-size:clamp(2.2rem,4.5vw,3.6rem);line-height:1.06}
.home-v6 .sec-h2--xl,.home-v6 .method__head .sec-h2--xl{font-size:clamp(2.6rem,5.4vw,4.6rem);line-height:1.04}
.home-v6 #personas .sec-h2--xl{font-size:clamp(2.6rem,6.8vw,5.8rem)}
.home-v6 #process .sec-h2--xl{font-size:clamp(2.3rem,4.5vw,3.6rem)}

/* ---------- hero ---------- */
.hero__deck{display:block;margin-top:clamp(18px,2vw,28px);font-family:var(--font-body);font-size:1.0625rem;line-height:1.5;letter-spacing:0;font-weight:400;color:var(--ice)}
.home-v6 .hero__sub{margin-top:12px}
/* site.js writes a scroll offset onto this clip as an inline transform, which
   replaced the sheet's scale and left nothing to cover the move: the picture
   slid up to 8px inside its own frame. It now keeps to its frame, at the crop
   it has always had at rest. */
.home-v6 .hero__img video{transform:none!important}
.home-v6 .ticker__row{font-family:var(--font-body);font-size:.8125rem;letter-spacing:.01em;text-transform:none;color:rgba(255,255,255,.74)}

/* Loops run only while their figure is on screen (scripts/home-page.js
   toggles is-live); with scripts off they simply run. */
.hp-js .hero:not(.is-live) :is(.hero__lattice,.ticker__row)::after,
.hp-js .hero:not(.is-live) #hero-rotate #hero-word::after,
.hp-js .hero:not(.is-live) :is(.hero__lattice,.ticker__row),
.hp-js :is(.vfig,.cellfig,.gate,.stepicon):not(.is-live),
.hp-js :is(.vfig,.cellfig,.gate,.stepicon):not(.is-live) *{animation-play-state:paused}

/* A pulse grows from its own middle, not from the corner of the drawing. */
.home-v6 main svg .blip{transform-box:fill-box;transform-origin:center}

/* ---------- what brought you here ---------- */
.home-v6 .door__meta{font-family:var(--font-body);font-size:.8125rem;letter-spacing:0;text-transform:none}

/* ---------- the vial ---------- */
.home-v6 .vialsec{background:var(--accent-wash)}
.home-v6 .vial__col:hover{transform:none;box-shadow:none}
.home-v6 .vial__col--celva:hover{box-shadow:var(--shadow-md)}
.home-v6 .vial__tag{display:block;margin:0;border:0;border-radius:0;padding:0;font-family:var(--font-body);font-size:.9375rem;letter-spacing:0;text-transform:none}
.home-v6 .vial__col h3{margin:0 0 6px;text-wrap:balance}
.home-v6 .vial__closing{font-size:clamp(1.3rem,2.1vw,1.65rem);text-wrap:balance}

.vfig{--ico:72px;--node:112px;display:flex;align-items:flex-start;margin:26px 0 2px;color:var(--ink-muted);font-size:.8125rem;line-height:1.4}
.vfig__node{flex:0 0 var(--node);display:flex;flex-direction:column;gap:10px}
.vfig__node svg{width:var(--ico);height:calc(var(--ico)*88/84);overflow:visible}
.vfig__gap{flex:1 1 auto;position:relative;height:calc(var(--ico)*88/84);min-width:36px;margin:0 14px 0 calc(var(--ico) + 12px - var(--node))}
.vfig__gap::before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:repeating-linear-gradient(90deg,currentColor 0 5px,transparent 5px 11px);opacity:.55}
.vfig__gap span{position:absolute;left:50%;top:9px;transform:translateX(-50%)}
.vfig--in .vfig__gap{flex:0 0 calc(var(--ico) + 8px)}
.vfig--in .vfig__gap::before{background:var(--ice);opacity:1}
.vfig--in .vfig__node:last-child{flex:1 1 var(--node);max-width:170px}
.vfig__glass{stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;opacity:.8}
.vfig__ice{fill:rgba(124,169,209,.34)}
.vfig__flake{stroke:#4F86BC;stroke-width:1.5;stroke-linecap:round}
.vfig__thaw{fill:rgba(74,100,128,.12)}
.vfig__badge{fill:#fff;stroke:currentColor;stroke-width:1.5}
.vfig__badge--open{stroke-dasharray:3 4}
.vfig__tick{stroke:var(--accent-blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vial__col--celva .vfig{color:rgba(255,255,255,.82)}
.vial__col--celva .vfig__badge{fill:var(--navy-mid);stroke:var(--ice)}
.vial__col--celva .vfig__tick{stroke:#fff}
.vfig__live{fill:rgba(124,169,209,.26)}
.vfig__cells{fill:var(--ice)}
.vfig__six path{stroke:var(--ice);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vfig__six .vfig__row{stroke:rgba(255,255,255,.36)}
/* The order is the point: on the left a check, then months, then nobody
   looking; on the right six checks and one more the same morning. */
.vfig .dash-draw{transition:stroke-dashoffset .45s var(--ease) calc(.35s + var(--i,0)*.13s)}
.vfig--in .vfig__tick{--i:10}
.vfig__gap::before,.vfig__gap span,.vfig__badge--open{transition:clip-path 1.5s linear .85s,opacity .5s var(--ease) 2.3s}
.vfig__gap span{transition-delay:1.2s}
.vfig--in .vfig__gap::before{transition-duration:.3s;transition-delay:1.3s}

/* ---------- cell types: rows, not cards ---------- */
.home-v6 .cells{display:block;margin-top:clamp(36px,5vw,60px)}
.home-v6 .cell{position:relative;display:grid;grid-template-columns:120px minmax(0,.8fr) minmax(0,1.55fr);column-gap:clamp(24px,4vw,60px);align-items:center;padding:26px 0;border:0;border-radius:0;background:none;box-shadow:none}
.home-v6 .cell:hover{transform:none;box-shadow:none}
.home-v6 .cell::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--border);transform-origin:left;transition:transform 1.2s var(--ease) .1s}
.home-v6 .cell:first-child{border-top:1px solid var(--border)}
.home-v6 .cellfig{width:120px;height:96px;margin:0}
.home-v6 .cell h3{margin:0}
.home-v6 .cell__code{margin:6px 0 0;font-family:var(--font-body);font-size:.9375rem;letter-spacing:0;text-transform:none;color:var(--accent-blue)}
.cellfig__line{stroke:var(--navy-brand);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.cellfig__tube{stroke:var(--navy-brand);stroke-width:17;stroke-linecap:round}
.cellfig__core{stroke:#fff;stroke-width:14;stroke-linecap:round}
.cellfig__twist{stroke:rgba(19,44,91,.42);stroke-width:14;stroke-dasharray:1.5 8;animation:hpTwist 3.4s linear infinite}
@keyframes hpTwist{to{stroke-dashoffset:-19}}
.cellfig__fill{fill:rgba(124,169,209,.32)}
.cellfig__cart{stroke:var(--ice);stroke-width:7;stroke-linecap:round;opacity:.8}
.cellfig__dots{fill:var(--navy-brand)}
.home-v6 .cells__closing{margin-top:34px}

/* ---------- a straight answer ---------- */
.home-v6 .h-no__reasons li{display:block;position:relative;padding-left:28px}
.home-v6 .h-no__reasons li::before{content:"";position:absolute;left:0;top:calc(20px + .8em);width:13px;height:1px;background:var(--ice)}
.home-v6 .gate{position:sticky;width:100%;max-width:440px;aspect-ratio:320/300;margin-inline:auto}
.gate svg{width:100%;height:100%}
.gate__door{stroke:rgba(255,255,255,.2);stroke-width:1}
.gate__in path{stroke:var(--ice);stroke-width:1.5}
.gate__out path{stroke:rgba(255,255,255,.42);stroke-width:1.5}
.gate__halo{fill:rgba(124,169,209,.18)}
.gate__node{fill:var(--ice)}
.gate__yes{fill:#fff}
.gate__no{fill:var(--ink);stroke:rgba(255,255,255,.55);stroke-width:1.5}
.gate__l{position:absolute;font-size:.8125rem;line-height:1.2;white-space:nowrap;color:rgba(255,255,255,.72);transition:opacity .6s var(--ease)}
.gate__l--in{left:7.5%;top:5%}
.gate__l--review{left:55%;top:19%;color:var(--ice);transition-delay:1s}
.gate__l--yes{right:8%;top:51%;color:#fff;transition-delay:1.9s}
.gate__l--no{right:8%;top:82%;transition-delay:2.1s}
.gate .gate__in .dash-draw{transition-duration:1.1s}
.gate .gate__in path:nth-child(2){transition-delay:.35s}
.gate .gate__in path:nth-child(3){transition-delay:.5s}
.gate .gate__out .dash-draw{transition-duration:1s;transition-delay:1.35s}
.gate__yes,.gate__no{transition:opacity .4s var(--ease) 2.1s}

/* ---------- hour by hour ---------- */
.home-v6 .step{position:relative}
.home-v6 .step:hover{background:none}
.home-v6 .step__who{font-family:var(--font-body);font-size:.8125rem;letter-spacing:0;text-transform:none;color:rgba(255,255,255,.64)}
.home-v6 .steps__rail i{transform:scaleX(var(--hp-p,0));transition:none}
.home-v6 .step::before{content:"";position:absolute;top:-5px;left:22px;width:9px;height:9px;border-radius:50%;background:var(--ink);border:1.5px solid rgba(255,255,255,.36);transition:background .45s var(--ease),border-color .45s var(--ease)}
.home-v6 .step.is-lit::before{background:var(--ice);border-color:var(--ice)}
.home-v6 .stepicon > *{transition:opacity .6s var(--ease)}
.hp-js .home-v6 .step:not(.is-lit) .stepicon > *{opacity:.45}

/* ---------- in their words ---------- */
.home-v6 .band{background:#fff;padding-bottom:0}
.home-v6 .pt-fig__cap{font-family:var(--font-body);font-size:.8125rem;letter-spacing:0;text-transform:none;line-height:1.4}

/* ---------- questions, and the close ---------- */
.home-v6 .faq__a{padding-left:0;max-width:none}
.home-v6 .faq__list summary{min-height:44px}
.home-v6 .ctaband h2{margin-top:20px}
.home-v6 .ctaband__disclaimer{font-family:var(--font-body);font-size:.8125rem;letter-spacing:0;text-transform:none;line-height:1.6;color:rgba(255,255,255,.68)}

/* ---------- entrances: one per section, only once scripts confirm ---------- */
.js-anim :is(.vial__col,.cell,.gate,.step):not(.is-in) .dash-draw{stroke-dashoffset:var(--len,400)}
.home-v6 .vial__col{transition:transform .9s var(--ease),opacity .9s var(--ease),box-shadow .5s var(--ease)}
.js-anim .home-v6 .vial__col:not(.is-in){opacity:0;transform:translateX(-32px)}
.js-anim .home-v6 .vial__col--celva:not(.is-in){transform:translateX(32px)}
.js-anim .vial__col:not(.is-in) .vfig__gap::before{clip-path:inset(0 100% 0 0)}
.js-anim .vial__col.is-in .vfig__gap::before{clip-path:inset(0)}
.js-anim .vial__col:not(.is-in) :is(.vfig__gap span,.vfig__badge--open){opacity:0}
.js-anim .home-v6 .cell[data-r]{transform:none}
.js-anim .home-v6 .cell:not(.is-in)::after{transform:scaleX(0)}
.js-anim .home-v6 .h-no__reasons li[data-r]{transform:translateX(-22px)}
.js-anim .home-v6 .h-no__reasons li[data-r].is-in{transform:none}
.js-anim .gate:not(.is-in) :is(.gate__l,.gate__yes,.gate__no){opacity:0}
.home-v6 .day__visual{transition:clip-path 1.4s var(--ease) .15s}
.js-anim .home-v6 .day:not(.is-in) .day__visual{clip-path:inset(0 0 0 100%)}
.js-anim .home-v6 .day.is-in .day__visual{clip-path:inset(0)}
.js-anim .home-v6 .pt-fig[data-r]{transform:scale(.94)}
.js-anim .home-v6 .pt-fig[data-r].is-in{transform:none}
.js-anim .home-v6 .faq__head [data-r]{transform:none}

/* ---------- widths ---------- */
@media (min-width:1081px){
/* three doors, one set of rows: a title that runs to two lines no longer
   pushes its own card's text below its neighbours' */
.home-v6 .doors{grid-template-rows:auto auto 1fr auto auto;row-gap:0}
.home-v6 .door{display:grid;grid-template-rows:subgrid;grid-row:span 5}
.home-v6 .door__go{justify-self:start}
}
@media (min-width:900px){
.vfig{--ico:92px;--node:150px;font-size:.875rem}
.home-v6 .pt-grid{grid-template-columns:repeat(5,1fr)}
}
@media (max-width:1080px){
.home-v6 .gate{position:relative;top:auto;order:-1;max-width:400px;margin-bottom:-8px}
.home-v6 .h-no__lede{margin-bottom:28px}
.home-v6 .h-no__reasons{margin-top:20px}
/* the day as a timeline: a rail down the left, one step under the last */
.home-v6 .steps{display:block}
.home-v6 .steps__rail{display:block;left:59px;right:auto;top:6px;bottom:6px;width:1px;height:auto}
.home-v6 .steps__rail i{transform:scaleY(var(--hp-p,0));transform-origin:top}
.home-v6 .step{display:grid;grid-template-columns:56px minmax(0,.7fr) minmax(0,1.3fr);column-gap:22px;padding:0 0 40px;border:0}
.home-v6 .step:last-child{padding-bottom:0}
.home-v6 .step::before{display:none}
.home-v6 .step:last-child::after{content:"";position:absolute;left:0;top:52px;bottom:0;width:56px;background:var(--ink)}
.home-v6 .stepicon{grid-column:1;grid-row:1 / span 2;width:56px;height:52px;margin:0;padding:6px 0;background:var(--ink);align-self:start}
.home-v6 .step h3{grid-column:2;grid-row:1;margin:10px 0 6px;white-space:normal}
.home-v6 .step__who{grid-column:2;grid-row:2;align-self:start;padding:0;border:0}
.home-v6 .step p{grid-column:3;grid-row:1 / span 2;margin:10px 0 0;font-size:.9375rem}
}
@media (min-width:860px) and (max-width:1080px){
/* the two models stay side by side for as long as both fit */
.home-v6 .vial{grid-template-columns:1fr 1fr}
}
@media (min-width:621px) and (max-width:1080px){
/* a door: photo on the left, its words beside it */
.home-v6 .door{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);column-gap:28px;grid-template-rows:auto 1fr auto auto;padding:26px 28px 26px 0}
.home-v6 .door__ph{grid-column:1;grid-row:1 / -1;margin:-26px 0;height:auto;min-height:240px}
.home-v6 .door > :not(.door__ph){grid-column:2}
.home-v6 .door__go{justify-self:start}
}
@media (max-width:899px){
/* five people in one row that slides, so nobody is left alone on a line */
.home-v6 .pt-grid{display:flex;gap:12px;width:auto;align-self:stretch;margin:44px -32px 0;padding:8px 32px 6px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:32px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 44px),transparent)}
.home-v6 .pt-grid::-webkit-scrollbar{display:none}
.home-v6 .pt-grid.is-start{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent)}
.home-v6 .pt-grid.is-end{-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px);mask-image:linear-gradient(90deg,transparent,#000 28px)}
.home-v6 .pt-fig{flex:0 0 clamp(190px,56vw,250px);scroll-snap-align:start}
.home-v6 .pt-tile:hover{transform:none}
/* in the row a tile is simply there: one that faded in as it slid under a
   thumb would read as late */
.js-anim .home-v6 .pt-fig[data-r]{opacity:1;transform:none}
.home-v6 .cell{grid-template-columns:84px minmax(0,1fr);column-gap:18px;padding:22px 0}
.home-v6 .cellfig{width:84px;height:67px}
.home-v6 .cell > p{grid-column:1 / -1;margin-top:14px}
}
@media (max-width:699px){
.home-v6 .step{grid-template-columns:56px minmax(0,1fr);padding-bottom:34px}
.home-v6 .step p{grid-column:2;grid-row:auto;margin:0 0 8px}
.home-v6 .step__who{grid-row:auto}
.home-v6 .stepicon{grid-row:1 / span 3}
}
@media (max-width:620px){
.home-v6 .steps__rail{left:47px}
.home-v6 .pt-grid{margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px}
.home-v6 .door__ph{height:168px}
}

/* ---------- print: the finished page, dark on white ---------- */
@media print{
.home-v6 main *,.home-v6 main *::before,.home-v6 main *::after{animation:none!important;transition:none!important}
.home-v6 main [data-r],.home-v6 main .reveal-mask>span,.home-v6 main :is(.vial__col,.gate__l,.gate__yes,.gate__no,.vfig__gap span,.vfig__badge--open){opacity:1!important;transform:none!important}
.home-v6 main :is(.hero__img,.day__visual){clip-path:none!important}
.home-v6 main .vfig__gap::before{clip-path:none!important}
.home-v6 main .dash-draw{stroke-dashoffset:0!important}
.home-v6 main .cell::after{transform:none!important}
.home-v6 .steps__rail i{transform:none!important}
.home-v6 > .nav{position:static}
.home-v6 :is(.hero,.h-no,.dark,.ctaband){background:#fff!important;color:var(--ink)!important;min-height:0;padding:24px 0}
.home-v6 :is(.hero__vid,.hero__scrim,.hero__lattice,.hero__grain,.h-no__bg,.ctaband__pattern,.pt-tile__play,.faq__ic){display:none!important}
.home-v6 :is(.hero,.h-no,.dark,.ctaband) :is(h1,h2,h3,p,li,em,div,span){color:var(--ink)!important}
.home-v6 .ticker{-webkit-mask-image:none;mask-image:none;border-color:var(--border)}
.home-v6 .ticker__row{width:auto;white-space:normal;flex-wrap:wrap;gap:4px 28px;padding:0 32px}
.home-v6 .ticker__row span:nth-child(n+7){display:none}
.home-v6 .stepicon{background:none}
.home-v6 .stepicon > *{opacity:1!important}
.home-v6 .pt-grid{display:grid;grid-template-columns:repeat(5,1fr);overflow:visible;margin:24px 0 0;padding:0;-webkit-mask-image:none;mask-image:none}
.home-v6 :is(.sec,.band,.h-no,.ctaband){padding-block:28px}
.home-v6 :is(.faq__head,.gate){position:static}
}
