/* V5: loading, an opening shutter, and stories that stay in the page. */
.site-loader { display: none; }
.js.is-loading body { overflow: hidden; }
.js .site-loader {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5svh, 62px);
  padding: 40px 4vw;
  background: var(--paper);
  color: var(--ink);
  opacity: 1;
  transition: opacity .35s ease, visibility .35s ease;
}
.js .site-loader[hidden] { display: none; }
.js .site-loader.loader-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand { display: flex; width: 100%; flex-direction: column; align-items: center; }
.loader-name {
  position: relative;
  display: block;
  max-width: 100%;
  font: 800 clamp(54px, 17.2vw, 330px)/.91 Display, 'Arial Narrow', Arial, sans-serif;
  letter-spacing: -.026em;
  white-space: nowrap;
}
.loader-base { display: block; opacity: .17; }
.loader-ink {
  position: absolute;
  inset: 0;
  display: block;
  clip-path: inset(0 calc((1 - var(--load-progress, 0)) * 100%) 0 0);
  will-change: clip-path;
}
.loader-status { display: flex; width: min(92vw, 540px); flex-direction: column; align-items: center; gap: 16px; }
#loader-phrase { min-height: 2.9em; max-width: 38ch; margin-top: clamp(32px, 5svh, 62px); text-align: center; color: var(--muted); font-size: 13px; line-height: 1.45; }
#loader-percent { color: var(--muted); font-size: 11px; line-height: 1.4; font-variant-numeric: tabular-nums; letter-spacing: .07em; }
#loader-progress { width: min(190px, 38vw); height: 1px; overflow: hidden; background: var(--rule); }
#loader-progress > span, #loader-progress > i { display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(var(--load-progress, 0)); transform-origin: left center; }
#loader-progress::before { content: ''; display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(var(--load-progress, 0)); transform-origin: left center; }
#loader-enter { margin-top: 28px; }
#loader-enter[hidden] { display: none !important; }

/* The headline moves with the document as its two lines arrive. */
.motion .hero-scene { height: 108svh; }
.motion .hero-stage { position: relative; top: auto; height: calc(100svh - var(--header-height)); min-height: calc(100svh - var(--header-height)); }
.hero-line { display: block; }
.hero-word { display: inline-block; }
.js:not(.is-ready) .hero-word { opacity: 0; transform: translateX(-42px); filter: blur(9px); }
.js.is-ready .hero-word { animation: hero-word-arrive .5s cubic-bezier(.16, .65, .25, 1) both; }
.js.is-ready .hero-line + .hero-line .hero-word { animation-delay: .5s; }
@keyframes hero-word-arrive {
  from { opacity: 0; transform: translateX(-42px); filter: blur(9px); }
  to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

/* A monochrome portrait is revealed by the iris rather than by a letter. */
.real-portal { background: var(--paper); }
.portal-photo { object-position: 50% 50%; filter: grayscale(1); }
.real-portal figcaption { background: var(--paper); color: var(--ink); border-top-color: var(--rule); }
.portal-media.real-portal { width: min(74vw, 800px); aspect-ratio: 1; }
.motion .portal-media.real-portal { width: min(74vw, 72svh, 800px); max-height: calc(100svh - var(--header-height) - 164px); }
.iris-cover { color: var(--ink); }
.iris-blade-line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; opacity: .35; vector-effect: non-scaling-stroke; }
.iris-rim { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .2; vector-effect: non-scaling-stroke; }
.approach-reveal-actions { padding: 32px var(--gutter) 72px; display: flex; justify-content: center; }
.approach-reveal-actions .pill-link { min-width: 248px; }

/* The entire detail is part of the native vertical flow. */
.story-inline { position: relative; color: var(--ink); background: var(--paper); border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-height) + 24px); }
.story-inline[hidden] { display: none !important; }
.story-inner { width: min(1100px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.inline-story-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.inline-story-top .micro { min-width: 0; }
.story-collapse { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 10px 17px; border: 1px solid var(--rule); border-radius: 50px; background: transparent; color: var(--ink); font-size: 12px; line-height: 1.4; cursor: pointer; transition: background .2s, color .2s; }
.story-collapse > span[aria-hidden] { font-size: 19px; line-height: 1; }
.story-collapse:hover { background: var(--ink); color: var(--paper); }
.story-inline .story-body { padding: 46px 0 40px; }
.inline-story-bottom { display: flex; justify-content: center; margin-top: 0; padding-top: 28px; padding-bottom: 50px; border-top: 1px solid var(--rule); }
.story-inline.is-open { animation: inline-story-arrive .32s ease both; }
@keyframes inline-story-arrive { from { opacity: 0; } to { opacity: 1; } }
.story-inline .story-body > h2 { max-width: 900px; }
.story-inline .story-lead { max-width: 780px; }
.story-inline .approach-portrait { max-width: 870px; }
.story-inline .story-media { max-width: 100%; }
.story-inline .story-text, .story-inline .approach-context { max-width: 800px; }
.story-inline .gallery-grid { gap: 40px; }
.story-inline .film-grid { gap: 44px; }
.story-inline .film-grid .story-video { margin-top: 0; }
.story-inline .film-grid .film-card + .film-card { border-top: 1px solid var(--rule); padding-top: 38px; }
.story-inline .story-sequence { gap: 24px; }
.story-inline .pill-link { color: var(--ink); border-color: var(--rule); }
.story-inline .pill-link:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.gallery-grid figure.is-enlarged { grid-column: 1 / -1; }
.story-media.is-enlarged img, .gallery-grid figure.is-enlarged img { width: 100%; height: auto; object-fit: contain; transform: none; }
.is-enlarged .image-open { cursor: zoom-out; }
.is-enlarged .image-open::after { content: '−'; }
.image-collapse { display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; min-height: 44px; padding: 9px 16px; margin-top: 15px; border: 1px solid var(--rule); border-radius: 40px; background: transparent; color: var(--ink); font-size: 12px; cursor: pointer; }
.image-collapse:hover { background: var(--ink); color: var(--paper); }

/* Opening a story releases its parent from the pinned scene. */
.motion .work-scene.is-expanded { height: auto; }
.motion .work-scene.is-expanded .work-stage { position: relative; top: auto; height: auto; min-height: 0; display: block; padding-top: 38px; padding-bottom: 42px; }
.motion .work-scene.is-expanded .work-selector { display: flex; margin-bottom: 30px; }
.motion .work-scene.is-expanded .work-panels { height: auto; max-height: none; min-height: 0; }
.motion .work-scene.is-expanded .work-panel { position: relative; inset: auto; margin: 0; opacity: 1; transform: none; pointer-events: auto; }
.motion .work-scene.is-expanded .work-panel[aria-hidden='true'] { display: none; }
.motion .work-scene.is-expanded .work-panel .work-visual { height: auto; min-height: 0; aspect-ratio: 16 / 10; transform: none; will-change: auto; }
.motion .work-scene.is-expanded .work-panel.has-video .work-visual { aspect-ratio: 16 / 9; }
.motion .work-scene.is-expanded .work-copy { opacity: 1; }
.motion .work-scene.is-expanded .work-stage .section-intro { margin-bottom: 24px; }
.motion .work-scene.is-expanded .work-stage .work-note { margin-top: 28px; }
.motion .newsletter-scene.is-expanded { height: auto; }
.motion .newsletter-scene.is-expanded .newsletter-stage { position: relative; top: auto; height: auto; min-height: calc(90svh - var(--header-height)); }
.motion .newsletter-scene.is-expanded .newsletter h2 { transform: none; filter: none; will-change: auto; }
.newsletter-scene .story-inline { border-top-color: transparent; }

/* Only the monitor and the handset frame the real recordings. */
.device-stage { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, .8fr); gap: clamp(26px, 5vw, 64px); align-items: end; margin-top: 56px; }
.device-stage figure { min-width: 0; width: 100%; margin: 0; }
.mac-screen { position: relative; padding: clamp(10px, 1.15vw, 18px); border: 1px solid #5f6367; border-radius: 21px; background: linear-gradient(145deg, #42474b, #131516 27%, #101112 74%, #35393c); box-shadow: 0 15px 38px #0002; }
.mac-screen::before { content: ''; position: absolute; top: 5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #050607; box-shadow: inset 0 0 0 1px #ffffff1c; }
.device-screen { position: relative; overflow: hidden; background: #101112; isolation: isolate; }
.mac-screen .device-screen { border: 1px solid #050607; border-radius: 7px; aspect-ratio: 16 / 9; }
.device-screen video { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; background: #101112; }
.iphone { position: relative; width: 100%; padding: 9px; border: 1px solid #60676c; border-radius: clamp(30px, 3.5vw, 42px); background: linear-gradient(135deg, #3b4147, #090b0d 20%, #131517 74%, #555c63); box-shadow: 0 17px 35px #0002; }
.iphone::before { content: ''; position: absolute; z-index: -1; left: -3px; top: 25%; width: 3px; height: 42px; border-radius: 2px 0 0 2px; background: #535a60; }
.iphone::after { content: ''; position: absolute; z-index: 3; left: 36%; right: 36%; bottom: 13px; height: 3px; border-radius: 5px; background: #f2f1ec99; pointer-events: none; }
.iphone .device-screen { border-radius: clamp(23px, 2.7vw, 33px); aspect-ratio: 9 / 16; border: 1px solid #050607; }
.iphone-island { position: absolute; z-index: 3; top: 17px; left: 35%; right: 35%; height: 18px; background: #050607; border-radius: 15px; pointer-events: none; box-shadow: inset 0 1px 1px #ffffff12; }
.iphone-island::after { content: ''; position: absolute; right: 7px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #101a24; box-shadow: inset 0 0 0 1px #202d36; }
.device-stage .device-label { position: static; padding-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.45; letter-spacing: .04em; }
.footer-copyright, .copyright { margin-top: 26px; color: var(--muted); font-size: 11px; line-height: 1.5; }

@media (max-width: 1000px) {
  .story-inner { width: calc(100% - 2 * var(--gutter)); }
  .device-stage { grid-template-columns: minmax(0, 2.1fr) minmax(0, .9fr); gap: 28px; }
  .story-inline .gallery-grid { gap: 28px; }
}
@media (max-width: 700px) {
  .js .site-loader { gap: 35px; padding: 28px 4vw; }
  .loader-name { font-size: 17vw; }
  #loader-phrase { font-size: 12px; }
  .motion .hero-scene { height: 105svh; }
  .motion .hero-stage { min-height: calc(100svh - var(--header-height)); }
  .portal-media.real-portal, .motion .portal-media.real-portal { width: calc(100vw - 2 * var(--gutter)); aspect-ratio: 1; }
  .approach-reveal-actions { padding-top: 26px; padding-bottom: 50px; }
  .approach-reveal-actions .pill-link { min-width: 0; }
  .inline-story-top { align-items: flex-start; gap: 17px; padding: 22px 0; min-height: 0; }
  .inline-story-top .micro { font-size: 9px; padding-top: 7px; }
  .story-collapse { font-size: 11px; padding: 10px 14px; gap: 16px; }
  .story-inline .story-body { padding: 34px 0 30px; }
  .story-inline .story-body > h2 { font-size: clamp(47px, 13.3vw, 75px); }
  .story-inline .story-lead { font-size: 20px; }
  .story-inline .gallery-grid { gap: 28px; }
  .story-inline .film-grid { gap: 31px; }
  .story-inline .film-grid .film-card + .film-card { padding-top: 27px; }
  .inline-story-bottom { margin-top: 0; padding-top: 25px; padding-bottom: 40px; }
  .motion .work-scene.is-expanded .work-stage { padding-top: 26px; padding-bottom: 30px; }
  .motion .work-scene.is-expanded .work-panel { grid-template-rows: auto auto; gap: 23px; }
  .motion .work-scene.is-expanded .work-copy { padding-bottom: 31px; }
  .motion .work-scene.is-expanded .work-copy .pill-link { max-width: none; }
  .motion .work-scene.is-expanded .work-count { left: 0; right: auto; bottom: 0; }
  .motion .work-scene.is-expanded .work-selector { gap: 23px; margin-bottom: 24px; }
  .motion .newsletter-scene.is-expanded .newsletter-stage { min-height: calc(90svh - var(--header-height)); padding-top: 27px; padding-bottom: 30px; }
  .device-stage { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; margin-top: 38px; }
  .device-stage .editorial-preview-tall { width: min(72%, 250px); margin: 0 auto; }
  .device-stage .editorial-preview-tall .device-label { text-align: center; }
  .mac-screen { padding: 9px; border-radius: 16px; }
  .mac-screen .device-screen { border-radius: 5px; }
  .mac-screen::before { top: 3px; width: 3px; height: 3px; }
  .iphone { padding: 8px; border-radius: 35px; }
  .iphone .device-screen { border-radius: 27px; }
  .iphone-island { top: 15px; height: 16px; }
  .iphone-island::after { top: 5px; }
}
@media (max-width: 360px) {
  .loader-name { font-size: 16.8vw; }
  .inline-story-top { flex-wrap: wrap; align-items: center; gap: 13px; }
  .inline-story-top .micro { padding-top: 0; }
  .story-inline .story-body > h2 { font-size: 14vw; }
  .story-inline .story-lead { font-size: 19px; }
  .motion .work-scene.is-expanded .work-selector { gap: 20px; }
}
@media (prefers-reduced-motion: reduce), (max-height: 600px) {
  .motion .hero-scene { height: auto; }
  .motion .hero-stage { height: auto; min-height: 0; }
  .motion .hero h1 { transform: none; opacity: 1; will-change: auto; }
  .portal-media.real-portal, .motion .portal-media.real-portal { width: min(100%, 650px); max-height: none; }
  .motion .newsletter-scene.is-expanded .newsletter-stage { min-height: 0; }
  .motion .work-scene.is-expanded .work-selector { display: none; }
  .motion .work-scene.is-expanded .work-panel[aria-hidden='true'] { display: grid; }
  .motion .work-scene.is-expanded .work-panel { margin-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .js:not(.is-ready) .hero-word, .js.is-ready .hero-word { opacity: 1; transform: none; filter: none; animation: none; }
  .js .site-loader { transition: none; }
  .story-inline.is-open { animation: none; }
}

.image-collapse[hidden] { display: none !important; }

.story-inline .story-media { max-width: 820px; margin-left: auto; margin-right: auto; }
.story-inline .story-media.is-enlarged { max-width: 100%; }
