/* A clearer hierarchy for the newspaper, film and final contact scene. */
.site-header{
  --glass-x:50%;
  isolation:isolate;
  background:linear-gradient(105deg,rgba(255,255,255,.23),rgba(255,255,255,.075))!important;
  border-top:1px solid rgba(255,255,255,.82);
  border-bottom:1px solid rgba(255,255,255,.56);
  backdrop-filter:blur(21px) saturate(1.65)!important;
  -webkit-backdrop-filter:blur(21px) saturate(1.65)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 -1px 0 rgba(79,147,177,.14),0 12px 30px rgba(40,85,104,.08)!important
}
.site-header::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  border:1px solid transparent;border-radius:0 0 15px 15px;
  background:linear-gradient(125deg,rgba(255,255,255,.9),rgba(170,226,246,.18) 30%,rgba(255,255,255,.7) 55%,rgba(126,189,216,.25) 80%,rgba(255,255,255,.92)) border-box;
  mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);mask-composite:exclude;
  -webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor
}
.site-header::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 140px 90px at var(--glass-x) -24%,rgba(255,255,255,.72),transparent 90%);
  opacity:.68;transition:opacity .3s ease
}
.site-header:hover::after{opacity:1}
.site-header.on-dark{background:linear-gradient(105deg,rgba(23,38,44,.3),rgba(26,46,56,.12))!important}

/* The right-hand studies borrow the ocean's letters and dot matrix. */
.direction-art{background-image:none!important;filter:none!important;opacity:1!important;right:0;width:61%;overflow:hidden}
.direction-art::before,.direction-art::after{content:none!important}
.direction-art canvas{display:block!important;width:100%;height:100%;opacity:.94;filter:drop-shadow(0 12px 16px rgba(32,93,119,.09))}
.direction-panel::after{background:linear-gradient(90deg,rgba(246,252,253,.98),rgba(246,252,253,.89) 38%,rgba(246,252,253,.13) 75%,transparent 100%)}
.direction-panel.is-current .direction-art{opacity:1!important}

/* The PDF has one cover and one A2 inside spread. Frame each nearly to its edge. */
.newspaper-feature{width:min(680px,calc(100% - 40px))!important;max-width:none;padding:17px!important;transition:width .75s cubic-bezier(.22,.74,.2,1);overflow:hidden}
.newspaper-feature.is-inside{width:min(1080px,calc(100% - 40px))!important}
.newspaper-feature .feature-heading{gap:12px;margin-bottom:14px}
.newspaper-feature .feature-heading h3{font-size:clamp(35px,3.5vw,49px)}
.newspaper-feature .feature-heading p{font-size:15px;line-height:1.36}
.newspaper-feature .feature-heading .inline-link{font-size:16px;white-space:nowrap}
.newspaper-stage{
  width:100%;height:760px;min-height:0!important;display:block;position:relative;
  padding:10px!important;overflow:hidden;
  background:linear-gradient(rgba(239,229,209,.8),rgba(239,229,209,.8)),url('./assets/newspaper-reference.jpg') center/cover!important
}
.newspaper-reader{
  width:1040px!important;max-width:none!important;height:735px!important;min-height:0!important;
  margin:0!important;left:-440px;
  transition:left .75s cubic-bezier(.22,.74,.2,1),width .75s cubic-bezier(.22,.74,.2,1);
  filter:drop-shadow(0 12px 14px rgba(44,36,27,.19))
}
.newspaper-feature.is-inside .newspaper-reader{left:0}
.paper-inside-mobile{display:none}
.newspaper-controls{margin:11px 0 1px}

/* The roll gets a faceted cylindrical sidewall and a visible side exit. */
.film-canister{filter:none!important;isolation:auto!important;transform-style:preserve-3d;perspective:760px;overflow:visible}
.film-cylinder{left:50%;top:30px;width:0;height:213px;z-index:2;transform-style:preserve-3d;pointer-events:none}
.film-facet{left:-12px;top:0;width:24px;height:213px;backface-visibility:hidden;box-shadow:inset 1px 0 rgba(255,255,255,.11),inset -2px 0 rgba(0,0,0,.25)}
.film-shell{display:none!important}
.film-cap,.film-base{z-index:4}
.film-cap{box-shadow:0 6px 0 #262a28,0 14px 8px rgba(0,0,0,.43),inset 0 3px 4px rgba(255,255,255,.32)}
.film-canister::after{z-index:5;left:165px;top:58px;width:12px;height:160px;background:linear-gradient(90deg,#080a09,#383a35 37%,#090b0a);box-shadow:2px 0 0 #090b0a,3px 2px 5px rgba(0,0,0,.54)}
.film-runway{z-index:1;margin-left:-27px}
.film-hint{display:none!important}
.film-roll-meta{flex-wrap:wrap;align-items:center}
.film-roll-meta .film-hint{display:block!important;position:static;margin:0 0 0 auto;text-align:right;font:400 15px/1.3 var(--font-editorial);color:#e0c7ae}
.film-roll-meta .film-back{margin-left:16px}

/* The contact sheet and statement share the same curved, draggable thumb. */
.film-roll-block{position:relative}
.film-contact-sheet:not([hidden]){padding-right:24px}
.sheet-scrollbar{top:70px;right:2px;bottom:5px;width:13px;border-color:rgba(231,198,168,.35);background:rgba(25,17,14,.48)}
.sheet-scrollbar span{width:7px;background:linear-gradient(90deg,#b98561,#edd0a7)}
.film-contact-sheet{scrollbar-width:none}
.film-contact-sheet::-webkit-scrollbar{display:none}
html{scrollbar-color:rgba(70,111,125,.62) transparent}
html::-webkit-scrollbar{width:12px}
html::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:rgba(70,111,125,.62);background-clip:padding-box}
html::-webkit-scrollbar-track{background:transparent}

/* A vertical reveal carries the paper into the dark photographic scene. */
.photo-feature{
  --work-clip:0%;
  --work-offset:0px;
  min-height:100svh;
  clip-path:inset(var(--work-clip) 0 0 0);
  transform:translateY(var(--work-offset));
  will-change:clip-path,transform
}

/* The final address belongs to the film-to-ocean transition, not a separate card. */
.contact-finale{min-height:320px;padding:28px 0;background:linear-gradient(#242023 0%,#295c70 21%,#d9edf3 82%,#eaf7fa 100%)}
.contact-finale-grid{min-height:265px;align-items:center}
.contact-finale-copy p,.contact-finale-copy>span{display:none}
.contact-shadow-mail{color:#f8fcfc;text-shadow:0 2px 18px rgba(11,41,55,.42);font-size:clamp(34px,3.55vw,55px);letter-spacing:-.025em}
.contact-shadow-mail::before{color:#8fd1e8;opacity:.48}
.contact-robot{position:relative;height:285px}
.contact-robot iframe{height:100%;transition:opacity .28s ease,transform .28s ease}
.contact-robot.is-hidden iframe{opacity:0;transform:scale(.83);pointer-events:none}
.robot-toggle{
  position:absolute;z-index:3;right:0;bottom:12px;padding:8px 14px;border:1px solid rgba(255,255,255,.85);border-radius:999px;
  background:rgba(247,253,255,.72);backdrop-filter:blur(10px);color:#183e4e;font:500 14px/1.2 var(--font-editorial)
}
.contact-robot.is-hidden{height:90px}
.contact-robot.is-hidden .robot-toggle{bottom:25px}
.contact-pixels{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
.contact-finale-grid{position:relative;z-index:3}

@media(max-width:750px){
  .newspaper-feature,.newspaper-feature.is-inside{width:min(100% - 26px,620px)!important;padding:11px!important}
  .newspaper-feature .feature-heading{display:flex;flex-wrap:wrap}
  .newspaper-stage{height:min(130vw,570px);padding:7px!important}
  .newspaper-reader,.newspaper-feature.is-inside .newspaper-reader{left:0;width:100%!important;height:100%!important}
  .newspaper-feature.is-inside .newspaper-reader{visibility:hidden}
  .newspaper-feature.is-inside .paper-inside-mobile{display:block;position:absolute;inset:7px;z-index:5;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#8f806a transparent}
  .paper-inside-mobile img{max-width:none;width:auto;height:100%;margin:0}
  .film-roll-meta .film-hint{order:4;width:100%;margin:2px 0 0;text-align:left}
  .film-roll-meta .film-back{margin-left:auto}
  .film-cylinder{display:block}
  .contact-finale{padding:22px 0}
  .contact-finale-grid{grid-template-columns:1fr;gap:4px}
  .contact-robot{height:260px}
  .contact-robot.is-hidden{height:60px}
  .contact-shadow-mail{font-size:clamp(28px,6.7vw,44px)}
}
@media(prefers-reduced-motion:reduce){
  .photo-feature{clip-path:none!important;transform:none!important}
  .contact-pixels{display:none}
  .newspaper-reader{transform:none!important;clip-path:none!important;opacity:1!important}
}
