/* The opening view gives the photographs their own uninterrupted space. */
.home-editorial { --hero-expanded-side: calc(var(--side) * 2); }
.home-editorial .rail { transition: width .85s cubic-bezier(.22,.68,.25,1); }
.home-editorial:not(.hero-compact) .rail { width: var(--hero-expanded-side); }
.home-editorial .rail-interlude { flex: 1 0 190px; position: relative; display: flex; align-items: center; min-height: 190px; }
.home-editorial .rail-interlude .reading-journal { margin: 0; padding: 18px 0 0; transition: opacity .35s ease .35s, visibility .35s; }
.home-editorial:not(.hero-compact) .reading-journal { opacity: 0; visibility: hidden; pointer-events: none; transition-delay: 0s; }
.home-editorial .rail-v7 .rail-bottom { margin-top: 0; flex-shrink: 0; }
.rail-hero-copy { position: absolute; width: calc(var(--hero-expanded-side) - 52px); opacity: 1; visibility: visible; transition: opacity .3s ease .22s, transform .55s cubic-bezier(.22,.68,.25,1), visibility .3s; }
.rail-hero-copy h1 { font-size: clamp(38px, 3.1vw, 60px); line-height: 1.02; font-weight: 400; letter-spacing: -.055em; }
.rail-hero-copy h1 br { display: block; }
.rail-hero-copy p { font-size: clamp(15px, 1.05vw, 19px); color: #d3d8c9; line-height: 1.5; margin-top: 29px; letter-spacing: -.015em; }
.rail-hero-copy p > span { display: block; }
.home-editorial.hero-compact .rail-hero-copy { opacity: 0; visibility: hidden; transform: translateX(-12px); pointer-events: none; transition-delay: 0s; }
.hero-mobile-intro { display: none; }
.home-editorial .hero-showcase { height: 100svh; max-height: 1120px; min-height: 620px; margin-left: calc(var(--hero-expanded-side) - var(--side)); transition: margin-left .85s cubic-bezier(.22,.68,.25,1); border-radius: 0 0 24px 24px; background: #363e34; }
.home-editorial.hero-compact .hero-showcase { margin-left: 0; }
.home-editorial:not(.showcase-ready) .rail, .home-editorial:not(.showcase-ready) .hero-showcase { transition: none; }
.home-editorial .hero-showcase::after { inset: auto 0 0; height: 28%; background: linear-gradient(180deg, transparent, #11180c2b 25%, #10160e9c 100%); z-index: 1; pointer-events: none; }
.hero-interiors, .hero-interior { position: absolute; inset: 0; }
.hero-interior { opacity: 0; transition: opacity 1.2s ease; overflow: hidden; }
.hero-interior.is-active { opacity: 1; }
.hero-interior img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.015); transition: transform 8.5s cubic-bezier(.2,.55,.3,1); }
.hero-interior.is-active img { transform: scale(1); }
.hero-showcase-footer { position: absolute; z-index: 2; left: clamp(26px, 3vw, 48px); right: clamp(26px, 3vw, 48px); bottom: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 24px; color: #fff; }
.hero-showcase-footer .hero-explore { padding: 18px 22px; min-height: 56px; font-size: 13px; align-self: end; white-space: nowrap; }
.hero-showcase-footer .hero-explore > span { margin-left: 22px; }
.hero-project-caption { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 5px; min-width: 175px; margin: 0; line-height: 1.4; text-shadow: 0 1px 12px #10160e55; }
.hero-project-caption > span:first-child { font-size: 9px; letter-spacing: .04em; color: #ffffffc4; }
.hero-project-caption strong { font-size: 19px; font-weight: 400; letter-spacing: -.025em; }
.hero-project-caption > span:last-child { font-size: 12px; color: #f3f1e8; }
.hero-showcase-controls { justify-self: center; display: flex; align-items: center; gap: 6px; padding-bottom: 0; }
.hero-slide-picker { display: flex; gap: 0; }
.hero-slide-picker button { display: grid; place-items: center; width: 29px; height: 44px; padding: 0 4px; background: none; border: 0; color: #fff; }
.hero-slide-picker button > span { display: block; width: 100%; height: 2px; border-radius: 2px; background: #ffffff59; transition: background .4s, height .25s; }
.hero-slide-picker button[aria-pressed=true] > span { background: #fff; height: 3px; }
.hero-slide-picker button:hover > span { background: #ffffffbe; }
.hero-playback { display: grid; place-items: center; width: 36px; height: 44px; color: #fff; background: transparent; border: 0; padding: 8px; }
.hero-playback svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.hero-playback .hero-icon-play { display: none; }
.hero-playback[aria-pressed=true] .hero-icon-pause { display: none; }
.hero-playback[aria-pressed=true] .hero-icon-play { display: block; }
.hero-showcase-controls button:focus-visible { outline: 1px solid #fff; outline-offset: 0; border-radius: 4px; }
.hero-gallery-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 761px) and (max-width: 1100px) {
  .rail-hero-copy { width: calc(var(--hero-expanded-side) - 38px); }
  .rail-hero-copy h1 { font-size: 39px; }
  .rail-hero-copy p { font-size: 15px; }
  .hero-showcase-footer { grid-template-columns: 1fr auto; column-gap: 15px; }
  .hero-showcase-controls { grid-row: 1; grid-column: 1 / -1; justify-self: end; margin-bottom: -15px; }
  .hero-showcase-footer .hero-explore { font-size: 11px; padding: 16px 18px; min-height: 50px; }
  .hero-project-caption { min-width: 145px; }
  .hero-project-caption strong { font-size: 16px; }
}
@media (min-width: 761px) and (max-height: 800px) {
  .home-editorial .rail-v7 { padding-top: 25px; padding-bottom: 22px; }
  .home-editorial .brand-caption { margin-top: 15px; }
  .home-editorial .rail-v7 .menu-primary { margin-top: 32px; gap: 17px; }
  .home-editorial .rail-v7 .menu-primary > .nav-contact { padding-top: 18px; }
  .home-editorial .rail-interlude { flex-basis: 160px; min-height: 160px; }
  .home-editorial .rail-v7 .rail-bottom { padding-top: 16px; }
  .rail-hero-copy h1 { font-size: clamp(34px, 2.8vw, 48px); }
  .rail-hero-copy p { font-size: 15px; margin-top: 23px; line-height: 1.5; }
}
@media (min-width: 761px) and (max-height: 660px) {
  .home-editorial .rail-v7 .menu-primary { margin-top: 22px; gap: 13px; }
  .home-editorial .rail-interlude { flex-basis: 138px; min-height: 138px; }
  .rail-hero-copy h1 { font-size: 32px; }
  .rail-hero-copy p { font-size: 13px; margin-top: 17px; }
  .home-editorial .rail-v7 .rail-socials { margin-top: 10px; }
}
@media (max-width: 760px) {
  .home-editorial .rail, .home-editorial:not(.hero-compact) .rail { width: 100%; transition: none; }
  .home-editorial .rail-interlude { display: none; }
  .hero-mobile-intro:not(:empty) { display: block; padding: 110px 22px 30px; }
  .home-editorial .hero-mobile-intro .rail-hero-copy { position: static; width: auto; opacity: 1; visibility: visible; transform: none; transition: none; }
  .hero-mobile-intro .rail-hero-copy h1 { font-size: clamp(38px, 10vw, 58px); line-height: 1.02; }
  .hero-mobile-intro .rail-hero-copy p { font-size: 15px; line-height: 1.4; margin-top: 21px; }
  .home-editorial .hero-showcase { margin-left: 0; height: calc(100svh - var(--opening-copy-height, 300px)); max-height: 740px; min-height: 400px; border-radius: 0 0 22px 22px; transition: none; }
  .home-editorial .hero-showcase::after { height: 36%; }
  .hero-showcase-footer { left: 20px; right: 20px; bottom: 24px; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; }
  .hero-showcase-controls { grid-column: 1 / -1; grid-row: 1; justify-self: end; }
  .hero-slide-picker button { width: 25px; }
  .hero-showcase-footer .hero-explore { padding: 14px 16px; min-height: 48px; font-size: 10px; justify-self: start; }
  .hero-showcase-footer .hero-explore > span { margin-left: 12px; font-size: 16px; }
  .hero-project-caption { min-width: 0; gap: 3px; }
  .hero-project-caption > span:first-child { font-size: 8px; }
  .hero-project-caption strong { font-size: 14px; }
  .hero-project-caption > span:last-child { font-size: 10px; }
}
@media (max-width: 360px) {
  .hero-showcase-footer { left: 15px; right: 15px; gap: 10px; }
  .hero-showcase-footer .hero-explore { padding: 13px 12px; font-size: 9px; }
  .hero-project-caption strong { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-playback { display: none; }
  .home-editorial .rail, .home-editorial .hero-showcase, .home-editorial .rail-hero-copy,
  .home-editorial .reading-journal, .hero-interior, .hero-interior img { transition: none !important; transform: none !important; }
}
