/* The silver entrance lifts away to uncover one continuous droplet study. */
.arrival-curtain{background:#d6d9cd url('/assets/water-silver.webp') center/cover}

.arrival-enter,.arrival-skip{font-size:.875rem}
.field-study{background:#242925;color:#f8f8ee;display:grid;grid-template-columns:minmax(0,1fr);isolation:isolate}
.field-image,.field-lead,.field-method{grid-column:1}
.field-image{grid-row:1 / span 2;align-self:start;position:sticky;top:0;height:100svh;overflow:hidden;z-index:-1;pointer-events:none}
.field-image img{width:100%;height:100%;object-fit:cover;object-position:65% center}
.field-image::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#202521 0%,#202521ed 26%,#202521b8 40%,#20252138 58%,transparent 72%)}
.field-lead{grid-row:1;display:flex;align-items:center;min-height:100svh;padding-block:calc(var(--header) + 30px) 55px}
.field-method{grid-row:2;display:flex;align-items:center;min-height:86svh;padding-block:calc(var(--header) + 25px) 70px}
.field-study .field-copy,.field-method article{width:min(45%,650px)}
.field-label{font:400 .81rem/1.5 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#e5e8d9}
.field-label span{color:#a6b4a7;margin-inline:.5em}
.field-study h1,.field-study h2{font:400 clamp(2.75rem,4.8vw,5.75rem)/1.01 var(--sans);letter-spacing:-.056em;margin:clamp(1.35rem,2.4vw,2.6rem) 0 1.4rem;text-wrap:balance}
.field-study h1 em,.field-study h2 em{font-family:var(--serif);font-style:italic;font-weight:500;letter-spacing:-.045em}
.field-deck{font:400 clamp(1rem,1.15vw,1.25rem)/1.66 var(--sans);color:#e3e7dc;max-width:41ch;text-wrap:pretty}
.field-next,.field-record{display:inline-flex;min-height:44px;align-items:center;gap:.8rem;margin-top:1.55rem;font:400 .93rem/1.4 var(--sans)}
.field-next span{display:grid;place-items:center;width:2.6rem;height:2.6rem;border:1px solid #b6c1b3;border-radius:50%;transition:transform .3s,background .3s,color .3s}
.field-next:is(:hover,:focus-visible) span{background:#e5e8db;color:#242925;transform:translateY(3px)}
.field-record{text-decoration:underline;text-underline-offset:.45em;text-decoration-color:#9ca996}
.field-record:hover{text-decoration-color:currentColor}
.cover-after-methods{padding-block:clamp(3rem,7vw,7rem) 0}.cover-after-methods .laboratory-cover{margin:0 auto;width:min(100%,960px)}
html:not(.menu-open) .site-header[data-tone="dark"] .institute{display:block}
.site-header[data-tone="dark"] .institute img{mix-blend-mode:normal}
@media(max-width:900px){
 .field-study{display:flex;flex-direction:column}
 .field-lead{order:1;min-height:0;padding-top:calc(var(--header) + 2.2rem);padding-bottom:1.15rem}
 .field-study .field-copy,.field-method article{width:100%;max-width:38rem}
 .field-study h1,.field-study h2{font-size:clamp(2.4rem,7.6vw,3.65rem);max-width:19ch}
 .field-deck{max-width:40ch}
 .field-next{margin-top:1rem}
 .field-image{order:2;position:relative;z-index:0;top:auto;width:100%;height:clamp(200px,60vw,390px)}
 .field-image img{object-position:73% 50%;object-fit:cover}
 .field-image::after{background:linear-gradient(180deg,#242925 0%,transparent 20%,transparent 78%,#242925 100%)}
 .field-method{order:3;min-height:auto;padding-block:1.5rem 4.75rem}
 .field-method h2{margin-top:1rem}
}
@media(prefers-reduced-motion:reduce){.field-image{position:relative}.field-next span{transition:none}}
@supports (animation-timeline:view()){
 @media(min-width:901px) and (prefers-reduced-motion:no-preference){
  .field-study{view-timeline-name:--field;view-timeline-axis:block}
  .js-motion:not(.menu-open) .field-image img{animation:field-drift linear both;animation-timeline:--field;animation-range:contain 0% contain 100%}
  @keyframes field-drift{from{transform:scale(1.01)}to{transform:scale(1.065) translateY(-.5%)}}
 }
}

/* A single optical study: a magnified section of the silver surface. */
.arrival-curtain{background:#d4d8ce;color:#202a26;overflow:hidden}
.arrival-water{position:absolute;inset:-3%;z-index:-1;background:linear-gradient(95deg,#e8e9dff5 3%,#e5e7dcde 30%,#e4e6dc77 53%,#d6dbd414 85%),url('/assets/water-silver.webp') 55% 60%/cover}
.arrival-layout{position:relative;max-width:1920px;height:100%;margin:auto;padding:clamp(2rem,6vw,7rem);display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:3.5vw}
.arrival-optic{position:relative;grid-column:2;grid-row:1;isolation:isolate;justify-self:center;width:min(35vw,59svh,37rem);aspect-ratio:1;border-radius:50%}
.arrival-glass{position:absolute;inset:0;border-radius:inherit;background:radial-gradient(ellipse at 28% 19%,#fff6,transparent 34%),url('/assets/water-silver.webp') 83% 67%/230% auto;border:1px solid #f8fbefb0;box-shadow:inset 1px 2px 4px #fffff7e6,inset -7px -9px 13px #58695a52,inset 0 0 0 4px #f8fcf02b,4px 16px 26px -13px #26382d55}
.arrival-optic .arrival-symbol{z-index:1;padding:0;color:#27372d}
.arrival-symbol .water-mark{width:auto;height:48%;max-height:11rem}
.arrival-lockup{grid-column:1;grid-row:1;align-self:center;position:relative}
.arrival-lockup .arrival-name{position:static;display:block;text-align:left;padding:0}
.arrival-lockup .arrival-name small{display:block;color:#334438;font:400 clamp(.78rem,.95vw,.92rem)/1.6 var(--sans);letter-spacing:.12em;margin:0 0 clamp(1.2rem,2.8vw,2.5rem)}
.arrival-lockup .arrival-name p,.arrival-lockup .arrival-name>span{display:block;font:500 clamp(2.3rem,5.35vw,6.3rem)/1.02 var(--serif);letter-spacing:-.043em;margin:0}
.arrival-lockup .arrival-enter{position:relative;left:auto;top:auto;transform:none;gap:1rem;margin-top:clamp(1.3rem,3vw,2.8rem);font:400 1rem/1.5 var(--sans)}
.arrival-enter .arrow-orbit{height:3.1rem;width:3.1rem}
.arrival-enter:is(:hover,:focus-visible) .arrow-orbit{transform:translateX(3px)}
.arrival-skip{right:var(--gutter);bottom:max(1rem,env(safe-area-inset-bottom));font-size:.81rem}
.intro-playing .arrival-water{animation:water-unfold 2.5s var(--ease) both}
.intro-playing .arrival-glass{animation:lens-settle 2.5s var(--ease) both}
.intro-playing .arrival-optic .arrival-symbol{animation:mark-on-glass 2.45s ease both}
.intro-playing .arrival-lockup .arrival-name{animation:title-surface 1s 1.1s var(--ease) both}
@keyframes water-unfold{from{transform:scale(1.055) translateX(.5%)}to{transform:scale(1)}}
@keyframes lens-settle{from{transform:translateY(12px) scale(.95)}to{transform:none}}
@keyframes mark-on-glass{0%{opacity:.85}18%,48%{opacity:1}100%{opacity:.33}}
@keyframes title-surface{from{opacity:0;transform:translateY(11px)}to{opacity:1;transform:none}}
@media(max-width:760px) and (orientation:portrait){
 .arrival-layout{display:flex;flex-direction:column;justify-content:center;align-items:start;gap:clamp(.8rem,3svh,2rem);padding:1.1rem max(1.5rem,6vw) 3.7rem}
 .arrival-optic{width:min(50vw,28svh);align-self:flex-end;margin-right:3vw}
 .arrival-lockup{align-self:stretch}
 .arrival-lockup .arrival-name p,.arrival-lockup .arrival-name>span{font-size:clamp(2.25rem,9.4vw,4.1rem);line-height:1.04}
 .arrival-lockup .arrival-name small{margin-bottom:.85rem}
 .arrival-lockup .arrival-enter{margin-top:1.2rem}
 .arrival-water{background-position:64% center}
}
@media(max-height:500px) and (orientation:landscape){
 .arrival-layout{padding:1.2rem 6vw 2.5rem}
 .arrival-lockup .arrival-name small{margin-bottom:.65rem}
 .arrival-lockup .arrival-name p,.arrival-lockup .arrival-name>span{font-size:clamp(1.9rem,4.75vw,3.5rem)}
 .arrival-lockup .arrival-enter{margin-top:.6rem}
 .arrival-skip{bottom:.25rem}
}

/* Keep the question still while the two water surfaces meet. */
.intro-leaving .arrival-curtain{background:transparent;animation:none}
.intro-leaving .arrival-water{animation:surface-out .75s ease-in-out both}
.intro-leaving .arrival-lockup,.intro-leaving .arrival-skip{animation:surface-out .22s ease-out both}
.intro-leaving .arrival-optic{transform-origin:center;animation:match-droplet .8s cubic-bezier(.35,.03,.2,1) both}
.intro-leaving .site-header{animation:header-in .45s .25s both}
@keyframes surface-out{to{opacity:0}}
@keyframes header-in{from{opacity:0}to{opacity:1}}
@keyframes match-droplet{
 0%{transform:none;opacity:1}
 70%{opacity:.78}
 100%{transform:var(--droplet-outline,none);opacity:0}
}
@media(max-width:900px){
 .intro-leaving .arrival-curtain{background:#d4d8ce;animation:surface-out .28s ease-out both}
 .intro-leaving .arrival-water,.intro-leaving .arrival-optic,.intro-leaving .arrival-lockup,.intro-leaving .arrival-skip,.intro-leaving .site-header{animation:none}
}
@media(max-width:760px) and (orientation:portrait){
 .arrival-water{background:linear-gradient(to bottom,transparent 8%,#e4e7dc17 22%,#e4e7dcbd 38%,#e4e7dc 53%),url('/assets/water-silver.webp') 66% top / auto 57% no-repeat,#e4e7dc}
}

/* Preserve the horizontal position of the lens, text and menu as scrolling unlocks. */
html{scrollbar-gutter:stable}
@media(prefers-reduced-motion:no-preference){
 #navigation{transition:clip-path .44s var(--ease),visibility 0s .44s}
 #navigation.open{transition:clip-path .48s var(--ease),visibility 0s}
 .navigation-inner>a{transform:translateY(8px);transition:transform .32s var(--ease),opacity .24s ease-out,color .18s}
 #navigation.open .navigation-inner>a{transform:none;transition-delay:calc(.04s + var(--item)*.012s)}
 .reveal{transition:opacity .52s ease-out,translate .58s var(--ease)}
 .js-motion .reveal:not(.is-visible){translate:0 12px}
}

/* A single moving glint follows the reflection already drawn in the mark. */
.intro-playing .arrival-symbol .mark-reflection{transform-box:fill-box;transform-origin:center;animation:mark-reflect 1.65s ease-out both}
@keyframes mark-reflect{0%,100%{transform:scaleX(1)}36%{transform:scaleX(1.09)}64%{transform:scaleX(.98)}}
.intro-playing .arrival-glass{overflow:hidden}
.intro-playing .arrival-glass::after{content:"";position:absolute;inset:-10% -70%;background:linear-gradient(105deg,transparent 43%,#fff8 49%,transparent 55%);animation:lens-glint 1.55s ease-out both}
@keyframes lens-glint{from{transform:translateX(-45%);opacity:0}32%{opacity:.68}to{transform:translateX(45%);opacity:0}}
#spectroscopy{--scene-bg:#1c292d;height:auto;min-height:0;background:var(--scene-bg);color:#f5f7f1}
.spectral-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.86fr);gap:clamp(2rem,7vw,8rem);align-items:center;min-height:100svh;padding-block:calc(var(--header) + 2rem) clamp(3rem,6vw,6rem)}
.spectral-copy .eyebrow{color:#c9d8d8;font-size:.875rem;letter-spacing:.085em}
.spectral-copy h3,.facilities h2{font:400 clamp(2.35rem,4.7vw,5.2rem)/1.04 var(--sans);letter-spacing:-.052em;text-wrap:balance;margin:1.2rem 0}
.spectral-copy p:not(.eyebrow){max-width:37ch;font:400 clamp(1rem,1.15vw,1.2rem)/1.7 var(--sans);color:#e0e9e7}
.spectral-copy .text-link{color:#f5f7f1;font-size:1rem;margin-top:1.4rem;min-height:44px;align-items:center;text-decoration:none}
.spectral-plate,.facilities-plates figure{margin:0;min-width:0}
.spectral-plate{width:min(100%,32rem,49svh);justify-self:center}
.spectral-plate img,.facilities-plates img{display:block;width:100%;height:auto}
.spectral-plate figcaption,.facilities figcaption{font:400 .94rem/1.45 var(--sans);padding-top:.75rem}
.spectral-plate figcaption{color:#cedadc}
.facilities{background:#eef0e8;color:#202c28;padding-block:clamp(3rem,7vw,7rem)}
.facilities h2{margin:0 0 clamp(2rem,4vw,4rem)}
.facilities-plates{display:grid;grid-template-columns:1.33fr .75fr .75fr;gap:clamp(1rem,2.3vw,2.5rem)}
.facilities figure{border-top:1px solid #a4aea3;padding-top:.75rem}
.facilities figcaption{color:#29362f}
.lab-gallery .bench-lead{grid-column:1/-1;width:min(100%,1000px);margin:0}
.lab-gallery .bench-lead img{aspect-ratio:auto;height:auto}
@media(min-width:761px){
 .lab-gallery>.lab-photo:nth-child(n+2){grid-column:span 6;margin:0}
 .lab-gallery>.lab-photo:nth-child(n+2) img{aspect-ratio:1.25}
}
@media(max-width:760px){
 .spectral-layout{grid-template-columns:1fr;gap:2rem;min-height:auto;padding-block:calc(var(--header) + 1rem) 3rem}
 .spectral-plate{width:min(100%,25rem);justify-self:start}
 .facilities-plates{grid-template-columns:1fr 1fr}
 .facilities-plates figure:first-child{grid-column:1/-1}
}
@media(max-width:520px){.facilities-plates{grid-template-columns:1fr;gap:1.8rem}}

/* Keep secondary equipment views together without extending the default chapter. */
.instrument-photo{display:block;cursor:zoom-in}
.instrument-photo:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.instrument-details{margin-top:clamp(1.5rem,3vw,3rem)}
.equipment-contact-sheet{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:clamp(.75rem,1.5vw,1.5rem);padding-block:1rem 1.75rem}
.equipment-contact-sheet img{width:100%;height:auto;display:block;aspect-ratio:4/5;object-fit:cover}
@media(max-width:620px){.equipment-contact-sheet{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Carry the mark's current opacity through the existing lens morph and phone dissolve. */
.intro-leaving .arrival-optic .arrival-symbol{display:flex;opacity:var(--exit-mark-opacity,.33)}
/* Stable controls when moving between portrait and landscape photographs. */
.photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:min(86dvh,56rem)}
.photo-viewer figure{display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;margin:clamp(.5rem,2vh,1.25rem) 0;min-height:0;touch-action:pan-y pinch-zoom}
.photo-viewer .viewer-image{min-width:0;min-height:0;display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.equipment-contact-sheet img{aspect-ratio:auto}
@media(max-width:620px){.photo-viewer[open]{height:min(78dvh,44rem)}}
