/* Archive: system typography, neutral surfaces, photography first. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif: var(--sans);
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #f5f5f7;
  --lg-tint: rgba(255,255,255,.8);
  --lg-tint-hover: rgba(255,255,255,.95);
  --lg-text: #1d1d1f;
  --lg-text-dim: #55555b;
  --lg-rim: rgba(255,255,255,.9);
  --lg-rim-base: rgba(255,255,255,.45);
  --lg-edge: rgba(0,0,0,.08);
  --lg-fill-selected: rgba(0,0,0,.06);
  --lg-shadow: 0 4px 18px -12px #0002;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
::selection { background: #d4e8ff; }
.page-width { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
a:focus-visible, button:focus-visible, .nav a:focus-visible, .nav-menu a:focus-visible { outline: 3px solid #0071e3; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 1000; background: var(--ink); color: white; border-radius: 22px; padding: 13px 22px; }
.skip-link:focus { top: 14px; }
.nav { padding: 16px clamp(24px, 4.5vw, 64px); }
.nav-brand { color: var(--ink); text-shadow: none; font-size: 23px; font-weight: 600; letter-spacing: -.055em; }
.nav-brand:hover { color: #424245; }
.nav-links { font-size: 12px; letter-spacing: 0; text-transform: none; }
.nav-links a { min-height: 36px; padding-inline: 19px; }
.nav-auth.glass { font-size: 12px; letter-spacing: 0; text-transform: none; }
.nav::before { background: linear-gradient(#f5f5f7f5, #f5f5f7a6 60%, transparent); }
.nav-hamburger span { background: var(--ink); }
.nav-menu a { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 22px; letter-spacing: -.025em; }
.nav-menu a.nav-auth { font-size: 14px; letter-spacing: 0; text-transform: none; }
.nav-menu a.nav-auth::before { background: #0002; }
.archive-header { padding-top: 154px; padding-bottom: 84px; text-align: center; }
.archive-header h1 { font-size: clamp(64px, 7.5vw, 96px); font-weight: 600; line-height: 1.05; letter-spacing: -.055em; }
.archive-header > p { color: var(--muted); font-size: clamp(21px, 2.3vw, 28px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; margin-top: 20px; }
.archive-main { padding-bottom: 96px; }
.collection-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.collection-heading h2 { font-size: 28px; font-weight: 600; letter-spacing: -.035em; }
.collection-heading > span { font-size: 14px; color: var(--muted); }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.collection-card { display: block; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 4px 18px #00000004; transition: transform .45s cubic-bezier(.2,.65,.3,1), box-shadow .45s ease; }
.collection-copy { padding: 30px 30px 25px; }
.collection-copy p { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.collection-copy h3 { font-size: 42px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.collection-photo { overflow: hidden; aspect-ratio: 1 / 1.12; background: #e8e8ed; }
.collection-photo img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.3,1); }
.collection-card:first-child .collection-photo img { object-position: 43% center; }
.collection-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 86px; padding: 20px 26px 20px 30px; color: #0066cc; font-size: 15px; font-weight: 500; letter-spacing: -.015em; }
.arrow-circle { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #f5f5f7; color: #1d1d1f; font-size: 22px; transition: background .25s, color .25s; }
.collection-card:focus-visible { outline-offset: 6px; }
@media (hover:hover) {
  .collection-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px #0000000c; }
  .collection-card:hover .collection-photo img { transform: scale(1.035); }
  .collection-card:hover .arrow-circle { background: #1d1d1f; color: #f5f5f7; }
  .footer a:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
  .release-button:hover { background: #0077ed; }
}
.footer { border-top: 1px solid #d2d2d7; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px 34px; color: var(--muted); font-size: 12px; }
.footer .footer-brand { font-size: 20px; font-weight: 600; letter-spacing: -.05em; color: var(--ink); }
.footer > a:last-child { color: #424245; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; }
.release-layout { min-height: calc(100svh - 110px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; padding-block: 136px 76px; }
.release-image { overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 5; max-height: 620px; }
.release-image img { height: 100%; object-fit: cover; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #0066cc; min-height: 44px; margin-bottom: 42px; }
.back-link > span { font-size: 24px; }
.release-label { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.release-copy h1 { font-size: clamp(72px, 8vw, 112px); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.release-copy h2 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin-top: 30px; }
.release-description { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 14px; }
.release-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 13px 24px; margin-top: 30px; border-radius: 999px; background: #0071e3; color: #fff; font-size: 15px; transition: background .25s; }
@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .collection-grid { gap: 18px; }
  .collection-copy { padding: 25px 24px 22px; }
  .collection-action { padding: 18px 20px 18px 24px; font-size: 13px; }
}
@media (max-width: 700px) {
  .page-width { width: calc(100% - 40px); }
  .archive-header { padding-block: 126px 62px; }
  .archive-header h1 { font-size: 64px; }
  .archive-header > p { font-size: 21px; margin-top: 16px; }
  .collection-heading h2 { font-size: 24px; }
  .collection-heading > span { font-size: 12px; }
  .collection-heading { margin-bottom: 22px; }
  .collection-grid { grid-template-columns: 1fr; gap: 24px; max-width: 460px; }
  .collection-copy { padding: 28px 28px 24px; }
  .collection-copy h3 { font-size: 40px; }
  .collection-photo { aspect-ratio: 1.12 / 1; }
  .collection-action { padding: 20px 26px 20px 28px; font-size: 15px; }
  .archive-main { padding-bottom: 60px; }
  .footer { flex-wrap: wrap; column-gap: 20px; row-gap: 4px; padding-block: 22px 28px; }
  .footer > p { order: 3; flex-basis: 100%; margin-top: 14px; }
  .release-layout { grid-template-columns: 1fr; padding-block: 112px 56px; gap: 32px; }
  .release-copy { grid-row: 1; }
  .back-link { margin-bottom: 24px; }
  .release-copy h1 { font-size: 80px; }
  .release-copy h2 { margin-top: 24px; font-size: 28px; }
  .release-description { font-size: 16px; }
  .release-image { aspect-ratio: 4 / 3; max-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .collection-card, .collection-photo img, .arrow-circle { transition: none; }
  .collection-card:hover, .collection-card:hover .collection-photo img { transform: none; }
}

/* Liquid Glass edition: clear interactive surfaces over an ambient backdrop. */
.archive-glass {
  --lg-tint: rgba(255,255,255,.28);
  --lg-tint-hover: rgba(255,255,255,.43);
  --lg-rim: rgba(255,255,255,1);
  --lg-rim-base: rgba(255,255,255,.52);
  --lg-edge: rgba(62,84,116,.16);
  --lg-blur: 24px;
  --lg-saturate: 155%;
  --lg-shadow: 0 14px 34px -20px rgba(46,66,107,.24), 0 2px 5px rgba(255,255,255,.25);
  background: #edf1f7;
  isolation: isolate;
}
.archive-glass::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 30%, rgba(115,182,231,.48), transparent 44%),
    radial-gradient(ellipse at 90% 16%, rgba(185,173,226,.40), transparent 42%),
    radial-gradient(ellipse at 76% 84%, rgba(246,186,151,.43), transparent 44%),
    radial-gradient(ellipse at 33% 100%, rgba(156,206,212,.36), transparent 40%),
    linear-gradient(135deg,#f4f7fc,#edf0f6 58%,#f6f0ec);
}
.archive-glass .nav::before { background: linear-gradient(#edf1f799, #edf1f744 65%, transparent); }
.archive-glass .nav-links, .archive-glass .nav-auth.glass, .archive-glass .nav-hamburger { --lg-blur: 28px; }
.archive-glass .nav-menu { --lg-tint: rgba(247,249,253,.82); }
.archive-glass .archive-header h1 { color: #202938; text-shadow: 0 2px 1px #ffffffa6, 0 12px 36px #506c9320; }
.archive-glass .archive-header > p { color: #586579; }
.range-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 18px; border-radius: 999px; color: #4a586c; }
.collection-card.glass {
  --lg-tint: rgba(255,255,255,.22);
  --lg-tint-hover: rgba(255,255,255,.34);
  position: relative; border-radius: 34px;
  background: linear-gradient(145deg,#ffffff5c, #ffffff12 45%, #ffffff38), var(--lg-tint);
  box-shadow: 0 24px 52px -30px #384d7355, 0 2px 4px #ffffff80,
    inset 0 2px 2px #ffffffe6, inset 0 -2px 3px #ffffff80;
  transition: transform .5s var(--lg-spring-smooth), box-shadow .5s ease, scale .4s var(--lg-spring-smooth), translate .4s var(--lg-spring-smooth), --lg-lx .4s ease, --lg-ly .4s ease;
}
.collection-card.glass::before { z-index: 3; padding: 1.5px; }
.collection-card.glass::after { z-index: 2; }
.collection-card.glass .collection-copy { padding: 30px 30px 24px; }
.collection-card.glass .collection-copy p { color: #536175; }
.collection-card.glass .collection-copy h3 { color: #202938; text-shadow: 0 1px 1px #ffffffa6; }
.collection-card.glass .collection-photo { margin-inline: 12px; border-radius: 23px; box-shadow: 0 0 0 1px #ffffff99, 0 5px 16px -8px #26395655; }
.collection-card.glass .collection-action { color: #253b56; padding: 20px 24px 22px 30px; }
.collection-card.glass .arrow-circle {
  width: 44px; height: 44px; color: #263c57;
  background: linear-gradient(145deg,#ffffffb3,#ffffff33);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 2px #ffffffa6, 0 3px 9px #344d6a14;
  border: 1px solid #ffffff80;
}
.collection-card.glass.is-pressed { scale: .985; }
.archive-glass .footer { border-color: #ffffffb3; color: #526176; }
.archive-glass .footer-link { border-radius: 999px; padding: 10px 18px; color: #31445e; }
.archive-glass .release-image { padding: 10px; background: #ffffff4d; border: 1px solid #ffffffcc; border-radius: 34px; box-shadow: 0 24px 60px -36px #2e456459, inset 0 2px 2px #fff; }
.archive-glass .release-image img { border-radius: 24px; }
.archive-glass .back-link.glass { border-radius: 999px; padding: 8px 18px; color: #294c73; }
.archive-glass .release-button.glass { color: #1d3d61; background: linear-gradient(135deg,#ffffffa3,#ffffff40); box-shadow: inset 0 1px 2px #fff, inset 0 -1px 2px #ffffff99, 0 10px 25px -15px #45648a66; }
@media (hover:hover) {
  .collection-card.glass:hover { transform: translateY(-7px); box-shadow: 0 30px 60px -30px #384d7366, inset 0 2px 2px #fff, inset 0 -2px 3px #ffffffb3; }
  .collection-card.glass:hover .arrow-circle { color: #142c48; background: #ffffffb3; }
  .archive-glass .release-button.glass:hover { background: #ffffffad; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .archive-glass .glass { background: #f2f5fb; }
}
@media (max-width:700px) {
  .collection-card.glass { border-radius: 30px; }
  .collection-card.glass .collection-photo { border-radius: 20px; margin-inline: 10px; }
  .range-pill { padding: 8px 14px; min-height: 36px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .archive-glass::before { display: none; }
  .archive-glass .glass { background: #f6f8fc; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .collection-card.glass { border: 1px solid #758398; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-card.glass { transition: none; }
  .collection-card.glass:hover, .collection-card.glass.is-pressed { transform: none; scale: 1; translate: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Liquid Glass, deeper. Glass needs something rich behind it to read as glass,
   so the photographs become the world the glass floats in: the featured year
   tints the whole page, and every photograph carries clear glass on top.
   Behaviour lives in assets/archive.js.
   ───────────────────────────────────────────────────────────────────────────── */

/* Ambient: the featured photograph, dissolved behind everything */
.ambient { position: fixed; inset: -12%; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient-layer {
  /* Blurred small, then scaled up: the same wash of colour at a fraction of
     the GPU cost of blurring a viewport-sized layer */
  position: absolute; left: 30%; top: 30%; width: 40%; height: 40%;
  background-size: cover; background-position: center;
  filter: blur(28px) saturate(1.9) brightness(var(--lift, 1.08));   /* --lift: per photo, set in the markup */
  transform: scale(2.9);
  opacity: 0; transition: opacity 1.4s ease;
}
/* Not fully opaque: the soft base colour underneath keeps muted photographs from greying the page */
.ambient-layer.is-on { opacity: .78; }
.ambient::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(246,248,251,.7) 0%, rgba(246,248,251,.42) 42%, rgba(246,248,251,.56) 100%);
}

/* Cards: the photograph fills the card; a glass bezel holds it */
.collection-card.glass { padding: 10px; }
.collection-media {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 24px; background: #dfe4ec;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 6px 18px -10px rgba(38,57,86,.45);
}
.collection-media img {
  position: absolute; inset: 0; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.65,.3,1);
}
.collection-card:first-child .collection-media img { object-position: 43% center; }

/* Clear glass over photographs: white type, a 35% dimming layer, live refraction */
.media-glass { --lg-text: #fff; --lg-text-dim: rgba(255,255,255,.8); color: #fff; }
.media-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: -.01em;
}
/* Bottom bar sits 10px inside a 24px corner, so its radius is 14px: concentric */
.media-bar {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 12px; align-items: center;
  padding: 15px 14px 15px 18px; border-radius: 14px;
}
.media-year { grid-column: 1; font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.media-cta { grid-column: 1; margin-top: 5px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--lg-text-dim); }
.collection-card .media-bar .arrow-circle {
  grid-column: 2; grid-row: 1 / 3;
  width: 44px; height: 44px; border: 0; color: #fff;
  background: rgba(255,255,255,.2);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.65), inset 0 1px 1px rgba(255,255,255,.7);
  transition: background .3s ease, color .3s ease, rotate .45s var(--lg-spring);
}
@media (hover: hover) {
  .collection-card.glass:hover .collection-media img { transform: scale(1.045); }
  .collection-card.glass:hover .media-bar .arrow-circle { background: #fff; color: #1d1d1f; rotate: 45deg; }
}

/* Year dock: a glass capsule; the selection is a droplet that flows between years */
.year-dock { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; }
.year-dock a {
  position: relative; z-index: 1;
  display: grid; place-items: center; min-width: 68px; height: 36px; padding: 0 14px;
  border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; color: var(--lg-text-dim); transition: color .3s ease;
}
.year-dock a:hover, .year-dock a.is-active { color: var(--lg-text); }
.year-lens {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.62));
  box-shadow: 0 6px 16px -8px rgba(38,58,90,.5), inset 0 0 0 .5px #fff, inset 0 -1px 2px rgba(60,80,110,.14);
  transition: left .62s var(--lg-spring), width .62s var(--lg-spring), scale .32s var(--lg-spring-smooth);
}
.year-lens.is-moving { scale: 1.14 .8; }
@media (pointer: coarse) { .year-dock a { height: 44px; } }

/* Phones: the dock floats at the bottom like a tab bar */
@media (max-width: 700px) {
  .year-dock { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 450; }
  .archive-main { padding-bottom: 116px; }
  .media-year { font-size: 32px; }
}

/* Collection pages: a glass loupe over the photograph */
.release-image { position: relative; }
.release-image.has-loupe { cursor: none; }
.loupe {
  position: absolute; left: 0; top: 0; z-index: 3; width: 156px; height: 156px;
  border-radius: 50%; pointer-events: none; opacity: 0; scale: .6;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  --lg-lx: 32%; --lg-ly: 8%;
  transition: opacity .25s ease, scale .5s var(--lg-spring);
}
.loupe.is-on { opacity: 1; scale: 1; }
.loupe::before, .loupe::after { z-index: 2; }   /* rim and bloom sit over the magnified view */
.loupe-view {
  position: absolute; inset: 0; border-radius: 50%; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 6px 12px rgba(255,255,255,.16), inset 0 -8px 16px rgba(0,0,0,.18);
}

/* Fallbacks: solid, legible surfaces when transparency is reduced or unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .archive-glass .media-glass { background: rgba(20,24,30,.78); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .ambient { display: none; }
  .archive-glass .media-glass { background: rgba(20,24,30,.92); }
  .year-lens { background: #fff; box-shadow: 0 0 0 1px #1d1d1f; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-layer { transition: opacity .01s; }
  .year-lens { transition: none; }
  .collection-media img, .collection-card .media-bar .arrow-circle { transition: none; }
  .collection-card.glass:hover .collection-media img { transform: none; }
}
