/* Album cover and motion layer. The photographs remain the visual identity. */
:root { --muted: #a0a1a7; --ease-drawer: cubic-bezier(.32,.72,0,1); }
html { scroll-padding-top: 100px; scrollbar-gutter: stable; }
body { -webkit-font-smoothing: antialiased; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 30; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: #dce4e5; transform: scaleX(0); transform-origin: left; }
.topbar { height: 88px; }
.brand { font-weight: 500; letter-spacing: -.025em; }
.brand::before { display: none; }
.share-button { min-height: 44px; }
.intro { min-height: 440px; grid-template-columns: 1fr 1fr; align-items: center; padding: 36px clamp(24px,6vw,96px) 64px; gap: 56px; overflow: clip; }
.intro-copy { min-width: 0; }
.eyebrow { display: flex; gap: 26px; align-items: center; margin: 0 0 30px; color: #adb0b6; font-size: 11px; }
.eyebrow span { font-variant-numeric: tabular-nums; color: #6e727a; }
.title-mask { overflow: hidden; padding: 0 5px 8px 0; }
.intro h1 { font-size: clamp(76px,9.2vw,132px); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; grid-row: auto; }
.title-period { color: #7e9298; }
.album-season { margin: 16px 0 22px; font-size: 20px; font-weight: 400; letter-spacing: -.035em; color: #dbdcdf; }
.album-meta { display: flex; flex-wrap: wrap; font-size: 11px; color: #92969e; gap: 12px; }
.meta-dot { color: #62666f; }
.explore-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 34px; min-height: 44px; font-size: 12px; color: #d7d8dc; }
.explore-link span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff23; border-radius: 50%; transition: transform 220ms var(--ease),background 180ms ease; }
.cover-stage { position: relative; min-width: 0; padding: 16px 0 38px; }
.cover-stack { height: 300px; position: relative; isolation: isolate; }
.cover-card { position: absolute; left: calc(50% - 95px); top: 20px; width: 190px; height: 250px; border: 1px solid #ffffff24; border-radius: 7px; padding: 5px; background: #232529; box-shadow: 0 16px 28px #0006; transition: transform 280ms var(--ease-drawer),filter 220ms ease; transform-origin: 50% 80%; cursor: zoom-in; }
.cover-card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; pointer-events: none; }
.cover-card:nth-child(1) { transform: translate(-95px,10px) rotate(-13deg); z-index: 1; }
.cover-card:nth-child(2) { transform: translate(95px,8px) rotate(12deg); z-index: 2; }
.cover-card:nth-child(3) { transform: translateY(-12px) rotate(-3deg); z-index: 3; }
.cover-card:focus-visible { z-index: 4; }
.cover-note { display: flex; justify-content: center; gap: 22px; color: #8c9098; font-size: 10px; margin-top: 18px; }
.cover-note span { color: #c4c9cf; }
.gallery-wrap { padding-inline: clamp(12px,2.4vw,40px); }
.gallery-toolbar { margin-bottom: 30px; background: linear-gradient(145deg,#414348c9,#232529d6); box-shadow: inset 0 1px 0 #ffffff25,0 6px 30px #0004; transition: box-shadow 200ms ease; }
.gallery-toolbar.is-pinned { box-shadow: inset 0 1px 0 #ffffff30,0 12px 40px #0009; }
.gallery-toolbar button { min-height: 42px; }
.view-switch button { min-width: 75px; justify-content: center; }
.glass-indicator { width: 75px; transition: transform 280ms var(--ease-drawer); }
.gallery { gap: 12px; overflow-anchor: none; }
.photo { border-radius: 8px; }
.photo::after { inset: 35% 0 0; }
.photo-caption { bottom: 23px; max-width: calc(100% - 128px); line-height: 1.4; font-size: 12px; }
.photo img { transition: transform 280ms var(--ease-drawer),filter 220ms ease; }
.image-surface { display: block; width: 100%; height: 100%; }
.gallery[data-view=feed] .image-surface { height: auto; }
.keyboard-nav .glass-indicator,.keyboard-nav .cover-card { transition: none; }
@supports(animation-timeline: view()) {
  @media(prefers-reduced-motion:no-preference) {
    .photo-card { view-timeline: --photo-frame block; }
    .image-surface { animation: frame-settle linear both; animation-timeline: --photo-frame; animation-range: entry 0% cover 50%; }
    .keyboard-nav .image-surface { animation: none; }
    @keyframes frame-settle { from { transform: scale(1.07) translateY(-1%); } to { transform: none; } }
  }
}
.photo-card.selected .photo img { filter: brightness(.78); }
.photo-actions { bottom: 12px; right: 12px; }
.photo-actions button { width: 44px; height: 44px; font-size: 22px; }
.photo-number { border-radius: 4px; letter-spacing: .04em; }
.photo:focus-visible .photo-caption,.photo:focus-visible .photo-number { opacity: 1; transform: none; }
.gallery[data-view=feed] { max-width: 860px; gap: 90px; }
.gallery[data-view=feed] .photo { border-radius: 6px; }
.gallery[data-view=feed] .feed-details { min-height: 70px; font-size: 12px; padding-right: 112px; }
.gallery[data-view=feed] .photo-actions { bottom: 13px; }
.album-end { text-align: center; padding: 110px 20px 66px; }
.end-mark { display: block; font-size: 28px; color: #809196; margin-bottom: 20px; }
.album-end p { font-size: clamp(26px,3vw,42px); font-weight: 400; letter-spacing: -.04em; margin: 0 0 24px; }
.album-end button { min-height: 44px; border: 0; background: transparent; color: #a3a6ac; font-size: 12px; }
.album-end button span { margin-left: 16px; }
.footer { margin-top: 0; color: #90939b; }
.lightbox::backdrop { background: #0b0c0eee; transition: opacity 220ms ease; }
.lightbox.is-closing::backdrop { opacity: 0; }
.lightbox.is-closing .viewer-dock,.lightbox.is-closing figcaption,.lightbox.is-closing .nav-button,.lightbox.is-closing .close-button,.lightbox.is-closing .lightbox-count { opacity: 0; }
.close-button,.nav-button { z-index: 4; }
.lightbox figure img { border-radius: 5px; }
.viewer-dock { gap: 14px; }
.filmstrip { align-items: end; padding: 13px 9px 7px; }
.filmstrip button { transform-origin: bottom center; transition: transform 220ms var(--ease-drawer),opacity 160ms ease; }
.filmstrip button[aria-current=true] { transform: translateY(-3px); }
.selection-bar button { min-height: 44px; }
.toast { max-width: calc(100vw - 32px); text-align: center; }
body:has(.selection-bar:not([hidden])) .toast { bottom: 110px; }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .cover-stack:hover .cover-card:nth-child(1) { transform: translate(-130px,3px) rotate(-17deg); }
  .cover-stack:hover .cover-card:nth-child(2) { transform: translate(130px,2px) rotate(16deg); }
  .cover-stack:hover .cover-card:nth-child(3) { transform: translateY(-23px) rotate(-1deg); }
  .cover-stack .cover-card:hover { filter: brightness(1.08); }
  .explore-link:hover span { transform: translateY(4px); background: #ffffff12; }
  .photo-card:hover .photo img { transform: scale(1.045); }
  .filmstrip button:hover { transform: translateY(-5px) scale(1.13); opacity: 1; }
  .filmstrip button:has(+ button:hover),.filmstrip button:hover + button { transform: translateY(-2px) scale(1.04); opacity: .8; }
}
@media(max-width:960px) {
  .intro { gap: 16px; padding-inline: 34px; }
  .cover-card { width: 150px; height: 210px; left: calc(50% - 75px); }
  .cover-stack { height: 260px; }
  .cover-card:nth-child(1) { transform: translate(-75px,10px) rotate(-13deg); }
  .cover-card:nth-child(2) { transform: translate(75px,8px) rotate(12deg); }
}
@media(max-width:760px) {
  .topbar { height: 72px; }
  .intro { display: block; padding: 32px 24px 34px; min-height: 0; }
  .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .intro h1 { font-size: clamp(78px,20vw,110px); letter-spacing: -.05em; }
  .album-season { font-size: 19px; margin: 8px 0 17px; }
  .explore-link { margin-top: 20px; }
  .cover-stage { padding: 25px 0 0; margin: 8px 0 0; }
  .cover-stack { height: 240px; max-width: 360px; margin: auto; }
  .cover-card { width: 148px; height: 200px; left: calc(50% - 74px); top: 15px; }
  .cover-note { margin-top: 0; font-size: 9px; }
  .gallery-toolbar { gap: 4px; padding: 5px; top: 10px; margin-bottom: 20px; }
  .view-switch button { min-width: 64px; padding: 10px 12px; }
  .glass-indicator { width: 64px; }
  .gallery-toolbar .select-mode { padding-inline: 11px; }
  .gallery { gap: 7px; }
  .photo { border-radius: 6px; }
  .photo-actions { right: 5px; bottom: 5px; gap: 2px; }
  .photo-actions button { width: 44px; height: 44px; font-size: 21px; }
  .photo-caption { display: none; }
  .gallery[data-view=grid] .photo-actions .like-button { display: none; }
  .gallery[data-view=feed] { gap: 42px; }
  .gallery[data-view=feed] .feed-details { min-height: 66px; font-size: 11px; }
  .album-end { padding: 72px 10px 54px; }
  body:has(.selection-bar:not([hidden])) .toast { bottom: 160px; }
}
@media(prefers-reduced-motion:reduce) {
  .photo-card:hover .photo img,.filmstrip button:hover,.filmstrip button:has(+ button:hover),.filmstrip button:hover + button,.filmstrip button[aria-current=true],.explore-link:hover span { transform: none; }
}
