/* Feature view: reservoir night for the work, record paper for what remained. All rules scoped to .em-ft. */
.em-ft{--ft-night:#0e2730;--ft-deep:#081c22;--ft-foam:#eaf1ef;--ft-mist:#a5bbba;--ft-dawn:#efb562;--ft-paper:#e4e8e2;--ft-ink:#13303a;--ft-ink-soft:#4a636b;--ft-teal:#1d666b;--ft-focus:var(--ft-dawn);--ft-gx:max(56px,7vw);--ft-col:clamp(300px,25vw,380px);--ft-type:clamp(52px,5.4vw,88px);--ft-wl:60%;--H:calc(100dvh - var(--hm-bar-height,64px));--len:calc(var(--n,3) * 1.8);position:relative;min-width:0;background:var(--ft-night);color:var(--ft-foam);font-family:HommingContent,sans-serif;font-size:20px;line-height:1.7}
.em-ft *,.em-ft *::before,.em-ft *::after{box-sizing:border-box}
.em-ft p{margin:0}
.em-ft.em-ft :is(button,a,summary):focus-visible:focus-visible{outline:2px solid var(--ft-focus);outline-offset:5px}

/* Opening */
.em-ft-opening{position:relative;height:var(--H);min-height:560px;overflow:hidden;background:var(--ft-night)}
.em-ft-opening-picture{position:absolute;inset:0;overflow:hidden}
.em-ft-opening-image{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 44%;animation:em-ft-settle 2.6s cubic-bezier(.2,.65,.2,1) both}
.em-ft-opening-picture::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0e2730 0,#0e2730e0 18%,#0e273000 60%),linear-gradient(90deg,#0e2730b8 0,#0e273000 55%)}
.em-ft-opening-picture.is-missing>*{display:none}
.em-ft-ai-label{position:absolute;z-index:1;top:20px;right:var(--ft-gx);font-size:14px;line-height:1.4;color:#f7f3ea;background:#0e273080;padding:6px 12px;backdrop-filter:blur(6px)}
.em-ft-opening-title{position:absolute;z-index:1;left:var(--ft-gx);bottom:clamp(44px,8vh,84px);max-width:min(760px,58vw)}
.em-ft.em-ft .em-ft-opening-title h1{font:700 clamp(50px,5.3vw,84px)/1.16 HommingEditorial,serif;letter-spacing:-.055em;color:#fbf8f1;margin:0 0 22px;text-shadow:0 2px 28px #0e273088}
.em-ft.em-ft .em-ft-opening-title .hm-intro{font-size:20px;line-height:1.7;color:#dbe6e3;max-width:25em;margin:0}
.em-ft.em-ft .em-ft-opening-title .hm-provenance{font-size:14px;color:var(--ft-mist);margin:18px 0 0}
.em-ft.em-ft .em-ft-opening-title .hm-provenance::before{background:var(--ft-dawn)}
.em-ft-begin{position:absolute;z-index:1;right:var(--ft-gx);bottom:clamp(44px,8vh,84px);display:flex;flex-direction:column;align-items:center;gap:10px;background:none;border:0;padding:6px 4px;color:var(--ft-foam);font:inherit;font-size:16px;cursor:pointer}
.em-ft-begin::after{content:'';width:1px;height:46px;background:linear-gradient(180deg,var(--ft-foam),#eaf1ef00)}
.em-ft-begin:hover{color:var(--ft-dawn)}

/* Lede with sidenote */
.em-ft-lede{display:grid;grid-template-columns:minmax(0,31em) minmax(250px,300px);column-gap:clamp(48px,6vw,104px);row-gap:30px;align-items:start;padding:clamp(96px,15vh,150px) var(--ft-gx) clamp(120px,20vh,190px);background:var(--ft-night)}
.em-ft-lede-text{grid-column:1;font:700 clamp(23px,1.85vw,27px)/1.85 HommingEditorial,serif;letter-spacing:-.025em;color:var(--ft-foam);word-break:keep-all}
.em-ft-mark{background:linear-gradient(180deg,transparent 66%,#efb5625c 66%);padding:0 .06em}
.em-ft-sidenote{grid-column:2;border-top:2px solid var(--ft-dawn);padding-top:16px;margin-top:10px}
.em-ft-sidenote-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.em-ft-sidenote-value{font:700 28px/1.2 HommingEditorial,serif;letter-spacing:-.02em;color:var(--ft-foam);font-variant-numeric:tabular-nums}
.em-ft-sidenote-detail{font-size:14px;line-height:1.5;color:#d3dfdc;margin-top:8px!important}
.em-ft-sidenote-source{font-size:13px;line-height:1.5;color:var(--ft-mist);margin-top:8px!important}
.em-ft-sidenote-text{font-size:14.5px;line-height:1.7;color:var(--ft-mist);margin-top:18px!important;padding-top:14px;border-top:1px solid #eaf1ef24}

/* Pinned stage */
.em-ft-track{position:relative;height:calc(var(--H) * (1 + var(--len)));background:var(--ft-night)}
.em-ft-stage{position:sticky;top:var(--hm-bar-height,64px);height:var(--H);overflow:hidden}
.em-ft-scene,.em-ft-layers,.em-ft-layer{position:absolute;inset:0}
.em-ft-layer{pointer-events:none}
.em-ft-sky{position:absolute;inset:0;background:radial-gradient(90% 60% at 30% var(--ft-wl),#efb5621f 0,#efb56200 50%),linear-gradient(180deg,var(--ft-night) 0,#173b45 60%)}
.em-ft-paper{position:absolute;inset:0;background:var(--ft-paper);opacity:var(--paper,0)}
.em-ft-water{position:absolute;left:0;right:0;top:var(--ft-wl);bottom:-2px;background:linear-gradient(180deg,#0b242c 0,var(--ft-deep) 100%);transform:translateY(calc(var(--paper,0) * 102%))}
.em-ft-water::before{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,#efb56200 0,var(--ft-dawn) 16%,#efb56250 62%,#efb56200 100%)}
.em-ft-water::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(180deg,#ffffff08 0 1px,#ffffff00 1px 14px);-webkit-mask-image:linear-gradient(180deg,#000,#0000 85%);mask-image:linear-gradient(180deg,#000,#0000 85%)}

/* Type on the waterline */
.em-ft-type-holder{position:absolute;left:var(--ft-gx);bottom:calc(100% - var(--ft-wl));font:700 var(--ft-type)/1.18 HommingEditorial,serif;letter-spacing:-.045em;color:var(--ft-foam);white-space:nowrap}
.em-ft-type-line{overflow:hidden;padding-right:.1em}
.em-ft-type-inner{transform:translateY(calc(var(--x,0) * 120%))}
.em-ft-mirror{position:absolute;left:0;top:100%;width:100%;overflow:hidden;padding-right:.1em;transform:scaleY(-1);opacity:calc(.22 * (1 - var(--fade,0)));filter:blur(1.5px);color:#d6e6e2;-webkit-mask-image:linear-gradient(180deg,#0000 20%,#000 100%);mask-image:linear-gradient(180deg,#0000 20%,#000 100%)}
.em-ft-word{display:inline-block;white-space:pre}
.em-ft-ch{display:inline-block;--t:clamp(0,calc((var(--k,0) - var(--i,0) * var(--st,0)) / var(--du,1)),1)}
.em-ft-space{width:.26em}
.em-ft-gap{display:inline-block;width:.26em}
.em-ft-slot{display:inline-grid;justify-items:start}
.em-ft-slot>.em-ft-word{grid-area:1/1}
.em-ft-layer.is-measured .em-ft-slot{width:calc(var(--wf) + (var(--wt) - var(--wf)) * var(--sw,0))}
.em-ft-from{--k:var(--out,0)}
.em-ft-to{--k:var(--in,0)}
.em-ft-from .em-ft-ch{transform:translateY(calc(var(--t) * 120%))}
.em-ft-to .em-ft-ch{transform:translateY(calc((var(--t) - 1) * 120%))}
.em-ft-layer-name .em-ft-type-holder{font-size:calc(var(--ft-type) * 1.5);letter-spacing:-.015em}
.em-ft-name{--k:var(--enter,0)}
.em-ft-name .em-ft-ch{transform:translateY(calc((var(--t) - 1) * 120%))}

/* MIND90's two tasks, under the surface */
.em-ft-tracks{position:absolute;left:var(--ft-gx);top:calc(var(--ft-wl) + 40px);display:grid;grid-template-columns:repeat(2,minmax(0,300px));gap:0 56px}
.em-ft-track-item{opacity:calc(var(--r,0) * (1 - var(--x,0)));transform:translateY(calc((1 - var(--r,0)) * 22px));border-left:2px solid #efb562a6;padding:2px 0 6px 22px}
.em-ft-track-label{font:700 clamp(25px,2.1vw,32px)/1.35 HommingEditorial,serif;letter-spacing:-.03em;color:var(--ft-foam)}
.em-ft-track-text{font-size:17px;line-height:1.65;color:var(--ft-mist);margin-top:10px!important;word-break:keep-all}

/* Materials gather into the book */
.em-ft-layer-gather{visibility:hidden}
.em-ft-layer-gather.is-on{visibility:visible}
.em-ft-book{position:absolute;top:11%;height:66%;aspect-ratio:1772/2629;left:calc((100% - var(--ft-col) - var(--ft-gx)) / 2 + var(--ft-gx) / 2);margin-left:calc(var(--H) * -.2226)}
.em-ft-slip{position:absolute;left:calc(var(--sx,50) * 1%);top:calc(var(--sy,50) * 1%);width:36%;aspect-ratio:3/4;transform:translate(-50%,-50%) rotate(calc(var(--sr,0) * 1deg));opacity:var(--so,0);background:#f7f8f4;box-shadow:0 1px 2px #13303a24,0 16px 32px #13303a2e;padding:14px 16px;display:flex;flex-direction:column;gap:9px;color:var(--ft-ink)}
.em-ft-slip-label{font:700 clamp(18px,1.55vw,23px)/1.3 HommingEditorial,serif;letter-spacing:-.03em;white-space:nowrap}
.em-ft-slip-rule{display:block;height:1px;background:#13303a26;width:86%}
.em-ft-slip-rule+.em-ft-slip-rule{width:62%}
.em-ft-book-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;opacity:var(--cover,0);transform:translateY(calc((1 - var(--cover,0)) * 64px))}
.em-ft-book-fallback{display:none}
.em-ft-book.is-missing .em-ft-book-image{display:none}
.em-ft-book.is-missing .em-ft-book-fallback{position:absolute;inset:6% 4%;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;background:#3d2b22;color:#f4ede2;font:700 26px/1.4 HommingEditorial,serif;opacity:var(--cover,0)}
.em-ft-book-caption{position:absolute;top:calc(100% + 18px);left:-30%;width:160%;text-align:center;font-size:14px;line-height:1.6;color:var(--ft-ink-soft);opacity:var(--cover,0);word-break:keep-all}

/* Steps that scroll past the stage */
.em-ft-steps{position:absolute;inset:0;pointer-events:none}
.em-ft-step{position:absolute;right:var(--ft-gx);width:var(--ft-col);top:calc(var(--at,0) * var(--H) * var(--len) + var(--H) * .3);color:var(--ft-foam);transition:color .45s ease}
.em-ft-step-text{font-size:20px;line-height:1.78;letter-spacing:-.015em;word-break:keep-all}
.em-ft-step-note{font-size:15.5px;line-height:1.65;color:#d6e2df;border-left:2px solid var(--ft-dawn);padding-left:14px;margin-top:20px!important;word-break:keep-all}
.em-ft-step-source{font-size:13.5px;line-height:1.5;color:var(--ft-mist);margin-top:16px!important;transition:color .45s ease}
.em-ft.is-paper .em-ft-step{color:var(--ft-ink)}
.em-ft.is-paper .em-ft-step-source{color:var(--ft-ink-soft)}

/* Position along the three movements */
.em-ft-rail{position:absolute;z-index:2;left:var(--ft-gx);bottom:clamp(20px,4vh,36px);display:flex;gap:6px}
.em-ft-rail-stop{min-width:76px;min-height:44px;display:flex;align-items:flex-start;background:none;border:0;border-top:1px solid #a5bbba59;padding:10px 0 0;color:var(--ft-mist);font:inherit;font-size:14px;line-height:1.3;text-align:left;cursor:pointer;transition:color .3s,border-color .3s}
.em-ft-rail-stop[aria-current=step]{color:var(--ft-foam);border-top:2px solid var(--ft-dawn);padding-top:9px}
.em-ft-rail-stop:hover{color:var(--ft-foam)}
.em-ft.is-paper .em-ft-stage{--ft-focus:var(--ft-teal)}
.em-ft.is-paper .em-ft-rail-stop{color:var(--ft-ink-soft);border-top-color:#13303a40}
.em-ft.is-paper .em-ft-rail-stop[aria-current=step]{color:var(--ft-ink);border-top-color:var(--ft-teal)}

/* Ending */
.em-ft-ending{--ft-focus:var(--ft-teal);min-height:var(--H);display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);grid-template-rows:auto 1fr auto;column-gap:clamp(48px,6vw,110px);align-items:start;background:var(--ft-paper);color:var(--ft-ink);padding:clamp(88px,13vh,130px) var(--ft-gx) 48px}
.em-ft-ending-reading{grid-column:1;max-width:820px}
.em-ft-ending-label{font-size:15px;font-weight:700;line-height:1.5;color:var(--ft-teal);margin-bottom:18px!important}
.em-ft-ending-text{font:700 clamp(30px,2.7vw,40px)/1.62 HommingEditorial,serif;letter-spacing:-.035em;word-break:keep-all;text-wrap:pretty}
.em-ft-destinations{grid-column:2;grid-row:1;display:flex;flex-direction:column;margin-top:38px;border-bottom:1px solid #13303a38}
.em-ft-destination{display:grid;grid-template-columns:88px minmax(0,1fr);gap:24px;align-items:center;min-height:0;background:none;border:0;border-top:1px solid #13303a38;padding:24px 0;color:inherit;font:inherit;text-align:left;cursor:pointer}
.em-ft-destination-thumb{width:88px;height:112px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.em-ft-destination-thumb img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .3s ease}
.em-ft-destination-thumb.is-missing{background:#13303a14}
.em-ft-destination-thumb.is-missing img{display:none}
.em-ft-destination-words{display:flex;flex-direction:column;gap:6px;min-width:0}
.em-ft-destination-action{font-size:20px;font-weight:700;line-height:1.45;letter-spacing:-.02em;color:var(--ft-ink);text-decoration:underline;text-decoration-color:#13303a00;text-underline-offset:7px;transition:text-decoration-color .25s}
.em-ft-destination-title{font-size:16px;line-height:1.5;color:var(--ft-ink-soft)}
.em-ft-destination:hover .em-ft-destination-action{text-decoration-color:var(--ft-teal)}
.em-ft-destination:hover .em-ft-destination-thumb img{transform:translateY(-4px)}
.em-ft-ending-foot{grid-column:1/-1;grid-row:3;display:flex;align-items:flex-start;gap:clamp(32px,5vw,72px);margin-top:clamp(48px,8vh,80px);padding-top:24px;border-top:1px solid #13303a26}
.em-ft-restart{flex:none;background:none;border:1px solid #13303a52;padding:10px 20px;color:var(--ft-ink);font:inherit;font-size:16px;cursor:pointer}
.em-ft-restart:hover{background:#13303a0f}
.em-ft.em-ft .em-ft-ending-foot .hm-source-details{flex:1;margin:0;padding:0;border:0;max-width:44em;color:var(--ft-ink-soft);font-size:15px}
.em-ft.em-ft .em-ft-ending-foot .hm-source-details summary{min-height:44px;color:var(--ft-ink)}
.em-ft.em-ft .em-ft-ending-foot .hm-source-links a{color:var(--ft-teal)}

/* Plain article for records without a longform structure */
.em-ft-simple{--ft-focus:var(--ft-teal);min-height:var(--H);background:var(--ft-paper);color:var(--ft-ink);padding:48px var(--ft-gx) 80px}
.em-ft-simple-figure{margin:0 0 36px;max-width:900px}
.em-ft-simple-figure img{display:block;max-width:100%;max-height:52vh;object-fit:contain}
.em-ft-simple-figure.is-missing img{display:none}
.em-ft-simple-figure figcaption{font-size:14px;color:var(--ft-ink-soft);margin-top:10px}
.em-ft.em-ft-simple .hm-content-head h1{color:var(--ft-ink)}
.em-ft-simple-prose{max-width:34em;margin-top:32px}
.em-ft-simple-prose p{font-size:20px;line-height:1.85;margin:0 0 22px}
.em-ft-simple-prose h2{font:700 28px/1.5 HommingEditorial,serif;margin:36px 0 18px}
.em-ft-simple-related{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:32px}
.em-ft-simple-link{background:none;border:0;border-bottom:1px solid var(--ft-teal);padding:8px 0;color:var(--ft-ink);font:inherit;font-size:18px;cursor:pointer}

@keyframes em-ft-settle{from{transform:scale(1.07)}to{transform:scale(1)}}
.em-ft.is-reduced .em-ft-opening-image{animation:none}
.em-ft.is-reduced :is(.em-ft-step,.em-ft-step-source,.em-ft-rail-stop,.em-ft-destination-thumb img,.em-ft-destination-action){transition:none}
@media(prefers-reduced-motion:reduce){.em-ft-opening-image{animation:none}.em-ft :is(.em-ft-step,.em-ft-step-source,.em-ft-rail-stop,.em-ft-destination-thumb img,.em-ft-destination-action){transition:none}}
@media(max-width:960px){.em-ft{--ft-gx:24px;--ft-col:min(86vw,420px);--H:calc(100dvh - 72px)}.em-ft-lede{grid-template-columns:1fr}.em-ft-sidenote{grid-column:1}.em-ft-ending{grid-template-columns:1fr}.em-ft-destinations{grid-column:1;grid-row:auto}.em-ft-ending-foot{flex-direction:column}.em-ft-stage{top:72px}}
