/* Homepage-only document revision. Load after the existing shared styles. */
#main-scroll.is-playback-locked {overflow-y:hidden!important;scroll-snap-type:none!important;scroll-behavior:auto!important}
.home3d-progress input:disabled {opacity:1;cursor:default}
/* Shorter physical transition, ending before chapter-one text begins. */
#main-scroll>.home-trna {background:linear-gradient(180deg,#0b1829 0%,#173249 3%,#42657e 7%,#90a9bb 12%,#d0dee8 18%,var(--dogma-page) 24%,var(--dogma-page) 100%)!important}

#main-scroll .home-trna__inner {grid-template-columns:minmax(0,45fr) minmax(0,50fr);gap:5%}
.home-trna__copy h2 {max-width:none;font-size:clamp(1.75rem,4.1vw,3.65rem)}
.home-trna__copy [data-title-line] {display:block;white-space:nowrap}
.home-trna__visual {display:block;width:100%;min-width:0}
.home-trna__cell-vector {display:block;width:100%;height:auto;max-height:57svh;object-fit:contain}
.home-trna__cell-label em {font-style:italic}

.home-rhythm__copy h2 {max-width:17ch}
.home-mismatch__sublabel {font-size:18px}
.home-mismatch__status {font-size:20px}
.home-aggregate__copy {max-width:1000px}
.home-aggregate__label {font-size:clamp(1.35rem,2.2vw,2rem);font-weight:700}
.home-aggregate__note {margin-top:16px}
/* Readable two-column directory, with one full-width route between its rows. */
.home-explore--directory {padding:90px clamp(24px,7vw,100px) 36px;min-height:100svh;box-sizing:border-box}
.home-explore--directory .home-explore__voyage {margin-top:26px;padding:0;border:0;--voyage-band:clamp(80px,10svh,110px)}
.home-explore--directory .home-explore__destinations {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto var(--voyage-band) auto;gap:0 clamp(48px,16vw,230px);padding:0}
.home-explore--directory [data-zone="project"] {grid-column:1;grid-row:1;align-self:start}
.home-explore--directory [data-zone="drylab"] {grid-column:2;grid-row:1;align-self:start}
.home-explore--directory [data-zone="wetlab"] {grid-column:1;grid-row:3;align-self:start}
.home-explore--directory [data-zone="hp"] {grid-column:2;grid-row:3;align-self:start}
.home-explore--directory .home-explore__route {display:block;position:absolute;left:0;top:var(--voyage-route-top,180px);width:100%;height:var(--voyage-band);overflow:visible;pointer-events:none}
.home-explore--directory .home-explore__boat {position:absolute;left:0;top:0;right:auto;width:46px;height:54px;background:none;transform-origin:50% 86%;transform-box:border-box;opacity:0;pointer-events:none;animation:none!important}
.home-explore--directory .home-explore__zone::before {display:none}
.home-explore--directory h3 {font-size:clamp(21px,2.4vw,30px);margin-bottom:12px}
.home-explore--directory .home-explore__zone a {font-size:clamp(14px,1.3vw,16px);min-height:38px;padding:7px 0;line-height:1.35;box-sizing:border-box}
.home-explore__zone a span:last-child {display:flex;align-items:center;flex:none}
.home-explore__zone a span:last-child svg {width:16px;height:16px;display:block}


@media(max-width:800px){
 #main-scroll .home-trna__inner {grid-template-columns:1fr;gap:clamp(14px,3svh,24px)}
 .home-trna__copy h2 {font-size:clamp(1.75rem,5.2vw,2.85rem);max-width:none}
 .home-trna__cell-vector {max-height:38svh}
 .home-rhythm__copy h2 {max-width:23ch}
}
@media(max-width:700px){
 .home-explore--directory {padding:80px 24px 30px}
 .home-explore--directory .home-explore__voyage {margin-top:28px}
 .home-explore--directory .home-explore__destinations {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto var(--voyage-band) auto;gap:0 24px;padding:0}
 .home-explore--directory .home-explore__boat {width:34px;height:40px;left:0;top:0}
 .home-explore--directory h3 {font-size:20px}
 .home-explore--directory .home-explore__zone a {font-size:13px;min-height:44px}
 .home-explore--directory .home-explore__team {margin-top:24px}
}
@media(min-width:801px) and (max-height:650px){
 .home-explore--directory {padding-top:70px}
 .home-explore--directory .home-explore__voyage {margin-top:18px;--voyage-band:68px}
 .home-explore--directory .home-explore__zone a {min-height:32px;padding:5px 0;font-size:14px}
 .home-explore--directory h3 {font-size:23px;margin-bottom:8px}
 .home-explore--directory .home-explore__team {margin-top:14px}
}
.home-explore--directory .home-explore__team {display:flex;align-items:center;justify-content:center;gap:8px;width:max-content}
.home-explore--directory .home-explore__team span {display:flex;margin-left:0}
.home-explore--directory .home-explore__team svg {display:block;width:14px;height:14px}
/* The shared viewport height measures only the gallery's inner box. Let the
   full section include its equal top/bottom whitespace on a stacked layout. */
#main-scroll .home-application {height:auto!important;min-height:100svh}

/* v17: the supplied cell SVG has substantial transparent padding. A tighter
   vector viewport enlarges the drawing itself, keeping its source untouched. */
.home-trna__cell-vector {width:100%;height:auto;aspect-ratio:1310/765;max-height:57svh;overflow:hidden}
.home-trna__cell-label {margin-top:clamp(12px,2svh,20px)}
@media(max-width:800px){.home-trna__cell-vector {max-height:37svh;width:min(100%,650px);margin-inline:auto}}
