/* Album cover and motion layer. The photographs remain the visual identity. */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/hanken-grotesk-400.ttf') format('truetype'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/hanken-grotesk-500.ttf') format('truetype'); }
:root { font-family: 'Hanken Grotesk',Arial,sans-serif; --muted: #a0a1a7; --ease-drawer: cubic-bezier(.32,.72,0,1); --text-ui: .8125rem; --text-meta: .75rem; }
::selection { background: #aac0c8; color: #12171a; }
html { scrollbar-color: #515960 #111214; }
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,8vw,112px); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; grid-row: auto; overflow-wrap: anywhere; }
.title-period { color: #7e9298; }
.album-season { margin: 16px 0 22px; font-size: 22px; font-weight: 400; letter-spacing: -.01em; color: #dbdcdf; }
.album-meta { display: flex; flex-wrap: wrap; font-size: var(--text-meta); line-height: 1.5; color: #a4a9b1; 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: 44px; font-size: var(--text-ui); font-weight: 500; }
.gallery-toolbar .select-mode { font-size: var(--text-ui); }
.gallery-toolbar>span { font-size: var(--text-meta); }
.topbar-note { font-size: var(--text-meta); }
.viewer-hint { font-size: 11px; letter-spacing: 0; color: #a0a5ae; }
.selection-bar,.selection-bar button,.lightbox figcaption,.lightbox figcaption a { font-size: var(--text-ui); }
.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; }
.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: #a0a5ae; font-size: var(--text-meta); line-height: 1.5; }
.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(58px,20vw,104px); letter-spacing: -.04em; }
  .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; font-size: var(--text-ui); }
  .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: var(--text-meta); }
  .album-end { padding: 72px 10px 54px; }
  body:has(.selection-bar:not([hidden])) .toast { bottom: 160px; }
}
@media(prefers-reduced-transparency:reduce) {
  .gallery-toolbar,.selection-bar { background: #292e33; backdrop-filter: none; }
  .photo-actions button { background: #20272e; backdrop-filter: none; }
  .photo-actions button[aria-pressed=true] { background: #ededee; }
}
@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; }
}
/* Clear separation: viewing controls, downloading actions, and photo content. */
.share-button { background: linear-gradient(145deg,#414348c9,#232529d6); border: 1px solid #ffffff20; box-shadow: inset 0 1px 0 #ffffff25,0 6px 24px #0003; backdrop-filter: blur(24px) saturate(1.5); padding: 5px; min-width: 140px; justify-content: center; gap: 9px; min-height: 54px; font-size: var(--text-ui); font-weight: 500; transition: background 180ms ease,box-shadow 180ms ease,transform 140ms var(--ease); }
.share-button svg,.download-mode svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.share-button span { font-size: var(--text-ui); }
.share-button.is-copied { box-shadow: inset 0 1px 0 #ffffff40,0 6px 24px #0003; color: #d0e1e4; }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; color: #a4a9b1; font-size: var(--text-meta); }
.download-mode { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; background: transparent; border: 1px solid #ffffff29; border-radius: 100px; padding: 10px 16px; color: #dedfe2; font-size: var(--text-ui); transition: background 180ms ease,border-color 180ms ease,transform 140ms var(--ease); }
.download-mode[aria-pressed=true] { background: #e4e8eb; color: #191c20; border-color: #e4e8eb; }
.download-mode:disabled { opacity: .45; cursor: default; }
.selection-help { color: #c1c8ce; margin: -8px 0 22px; font-size: var(--text-ui); line-height: 1.5; }
.gallery-toolbar { padding: 5px; gap: 0; }
.view-switch { background: transparent; }
.view-switch button { min-width: 84px; }
.photo-actions { opacity: 0; pointer-events: none; }
.photo-actions .photo-select { display: grid; }
.selecting .photo-actions,.photo-card.selected .photo-actions { opacity: 1; pointer-events: auto; transform: none; }
body:not(.selecting) .photo-card:not(.selected) .photo-actions { visibility: hidden; }
.photo-card.selected>.photo { outline: 2px solid #dce7eb; outline-offset: -4px; }
.photo-card .photo { transition: outline-offset 180ms var(--ease),box-shadow 180ms ease; }
.selecting .photo-number { opacity: 1; }
.gallery[data-view=feed] { max-width: 720px; gap: 56px; }
.gallery[data-view=feed] .photo { background: transparent; border-radius: 6px; height: auto; }
.gallery[data-view=feed] .photo img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; background: transparent; }
.gallery[data-view=feed] .image-surface { animation: none; }
.gallery[data-view=feed] .photo::before { display: none; }
.gallery[data-view=feed] .feed-details { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0 0; min-height: 44px; }
.feed-caption { color: #e0e1e4; font-size: 16px; letter-spacing: -.01em; }
.feed-position { color: #a4a9b1; font-size: var(--text-meta); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery[data-view=feed] .photo-actions { bottom: 64px; right: 12px; }
.selection-bar { gap: 8px; padding: 8px 10px 8px 20px; }
.selection-bar #finishSelection { color: #eceef0; }
.selecting .album-end { padding-bottom: 130px; }
@media(hover:hover) and (pointer:fine) {
  .download-mode:hover { background: #ffffff0d; border-color: #ffffff50; }
  .download-mode[aria-pressed=true]:hover { background: #fff; }
  .share-button:hover { background: linear-gradient(145deg,#55585ed9,#2d3036e8); }
  .gallery[data-view=feed] .photo-card:hover .photo img { transform: none; }
}
.share-button:active,.download-mode:active { transform: scale(.97); }
@media(max-width:760px) {
  .share-button { min-width: 130px; min-height: 48px; }
  .collection-heading { gap: 12px; margin-bottom: 18px; }
  .download-mode { padding-inline: 12px; font-size: 12px; gap: 7px; }
  .collection-heading>span { white-space: nowrap; }
  .gallery-toolbar { top: 10px; }
  .view-switch button { min-width: 78px; }
  .selection-help { max-width: 30ch; }
  .gallery[data-view=feed] { gap: 34px; }
  .gallery[data-view=feed] .feed-details { padding: 14px 2px 0; min-height: 42px; }
  .feed-caption { font-size: 15px; }
  .selection-bar { display: grid; grid-template-columns: 1fr auto auto auto; gap: 2px; padding: 10px; }
  .selection-bar[hidden] { display: none; }
  .selection-bar #downloadSelected { grid-row: 2; grid-column: 1/-1; width: 100%; margin-top: 6px; }
  .selection-bar button { padding-inline: 9px; }
}
@media(prefers-reduced-motion:reduce) { .share-button:active,.download-mode:active { transform: none; } }
@media(prefers-reduced-transparency:reduce) { .share-button { background: #292e33; backdrop-filter: none; } }
.photo-select svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
