
:root {
  --screen: #0d0b09;
  --screen-raised: #17130f;
  --screen-soft: #231e18;
  --paper: #eee7da;
  --paper-deep: #ded3c1;
  --card: #f7f1e6;
  --ink: #211b15;
  --ink-soft: #493e32;
  --muted: #75695b;
  --muted-light: #aea392;
  --line: rgba(48, 38, 28, 0.18);
  --line-light: rgba(246, 234, 212, 0.16);
  --amber: #b58749;
  --amber-bright: #e2bd7a;
  --red: #8a493e;
  --blue: #829089;
  --display: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --title: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  --utility: var(--font-geist-mono), "SFMono-Regular", Consolas, monospace;
  --masthead: 76px;
  --page-width: 1420px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-film: 0 28px 76px rgba(35, 23, 13, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--screen);
  scroll-behavior: smooth;
}

body {
  --display: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --title: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  --utility: var(--font-geist-mono), "SFMono-Regular", Consolas, monospace;
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
video:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 4px;
}

::selection {
  background: var(--amber);
  color: var(--screen);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 11px 15px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--screen);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.archive-loading {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--screen);
}

.archive-loading::before {
  content: "";
  width: min(70vw, 620px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.07) 50%, transparent 62%),
    #141a20;
  background-size: 260% 100%;
  animation: loading-sweep 1.4s ease-in-out infinite;
}

.archive-shell {
  min-height: 100dvh;
  background: var(--paper);
}

.archive-main-shell {
  min-height: 100dvh;
}

.masthead {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--masthead);
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 clamp(22px, 3.5vw, 58px);
  border-bottom: 1px solid rgba(226, 189, 122, 0.2);
  background: rgba(13, 11, 9, 0.94);
  backdrop-filter: blur(16px) saturate(105%);
  color: #f4ecdd;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.brand-lockup {
  width: max-content;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-lockup > span:last-child {
  display: grid;
  gap: 1px;
}

.brand-lockup strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-lockup small {
  color: var(--muted-light);
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 45px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  background: #211a14;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #fff;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.55) 0 3px, transparent 3px 8px);
}

.brand-mark::before { left: 4px; }
.brand-mark::after { right: 4px; }

.brand-mark i {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.brand-mark i:first-child { transform: translate(-5px, -7px); }
.brand-mark i:nth-child(2) { transform: translate(5px, 7px); }
.brand-mark b {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.desktop-nav a {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  border-radius: 0;
  color: #a79d8e;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}

.desktop-nav a.active {
  background: transparent;
  color: #f3eadb;
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--amber-bright);
}

.masthead-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search-box {
  width: min(280px, 23vw);
  min-height: 42px;
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(246, 234, 212, 0.24);
  border-radius: 0;
  background: transparent;
  color: #a79d8e;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.search-box:focus-within {
  border-color: var(--amber-bright);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.search-box input {
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f3f1ec;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #848c94;
}

.search-box input::-webkit-search-cancel-button {
  display: none;
}

.search-box button,
.icon-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

.mobile-search-button,
.mobile-nav {
  display: none;
}

main {
  min-height: calc(100dvh - var(--masthead));
}

.cinema-hero {
  position: relative;
  min-height: min(850px, calc(100svh - var(--masthead)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.72fr);
  grid-template-rows: 1fr auto;
  gap: 32px;
  overflow: hidden;
  padding: clamp(68px, 8vw, 124px) clamp(28px, 6vw, 96px) 0;
  background: #091019;
  color: #f3f0e9;
}

.hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.88) contrast(1.06);
  transform: scale(1.018);
  animation: hero-settle 1.1s both var(--ease-out);
}

.hero-wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 12, 0.95) 0%, rgba(8, 11, 14, 0.82) 38%, rgba(8, 11, 14, 0.24) 72%, rgba(8, 11, 14, 0.38) 100%),
    linear-gradient(0deg, rgba(8, 11, 14, 0.92) 0%, transparent 42%, rgba(8, 11, 14, 0.18) 100%);
}

.film-grain {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background:
    repeating-radial-gradient(circle at 17% 23%, rgba(255,255,255,.34) 0 0.5px, transparent 0.7px 4px),
    repeating-radial-gradient(circle at 71% 61%, rgba(0,0,0,.4) 0 0.6px, transparent 0.8px 5px);
  background-size: 7px 7px, 9px 9px;
}

.hero-content {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 740px;
  padding-bottom: 50px;
  animation: hero-copy-in 760ms 120ms both var(--ease-out);
}

.hero-content h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(68px, 7.1vw, 116px);
  font-weight: 720;
  letter-spacing: -0.072em;
  line-height: 0.78;
}

.hero-content h1 span,
.hero-content h1 em {
  display: block;
}

.hero-content h1 em {
  margin-left: 0.34em;
  color: #dbe8ff;
  font-style: normal;
  font-weight: 430;
}

.hero-content h1 span:nth-child(2) {
  margin-left: 0.11em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 38px 0 0 0.7em;
}

.hero-rotation-toggle {
  position: absolute;
  z-index: 5;
  top: 28px;
  right: clamp(28px, 4vw, 64px);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 11, 14, 0.58);
  color: #c7cbce;
  cursor: pointer;
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px) saturate(115%);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-rotation-toggle:disabled {
  cursor: default;
  opacity: 0.78;
}

.watch-button,
.ghost-button,
.dark-button,
.outline-button,
.ink-link,
.collection-back,
.play-year {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
  transition: transform 180ms var(--ease-out), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.watch-button {
  padding: 0 18px 0 8px;
  border-radius: 999px;
  background: var(--amber-bright);
  color: var(--screen);
}

.watch-button > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--screen);
  color: white;
}

.ghost-button {
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 14, 18, 0.35);
  color: #f1efe9;
  backdrop-filter: blur(10px);
}

.hero-caption {
  position: relative;
  z-index: 4;
  align-self: end;
  justify-self: end;
  width: min(100%, 450px);
  min-height: 96px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(10, 14, 18, 0.66);
  backdrop-filter: blur(18px) saturate(120%);
  color: #f3f1eb;
  cursor: pointer;
  text-align: left;
  animation: hero-copy-in 760ms 250ms both var(--ease-out);
}

.hero-play {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--screen);
}

.hero-caption > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.hero-caption small {
  color: #aeb4b9;
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-caption strong {
  overflow: hidden;
  font-family: var(--title);
  font-size: 24px;
  font-weight: 520;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-duration,
.duration-chip {
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero-duration {
  color: #b2b8bd;
}

.filmstrip-section {
  position: relative;
  padding: clamp(54px, 6vw, 84px) clamp(24px, 4vw, 64px) clamp(58px, 6vw, 88px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 15% 0%, rgba(240, 174, 87, 0.08), transparent 30%),
    #07101a;
  color: #f1efe8;
}

.filmstrip-heading {
  width: min(var(--page-width), 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.65fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 76px);
  margin-inline: auto;
}

.filmstrip-heading > div:first-child > p {
  margin: 0 0 7px;
  color: var(--amber);
  font-family: var(--utility);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filmstrip-heading h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(40px, 4.8vw, 72px);
  font-style: normal;
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.filmstrip-description {
  max-width: 420px;
  margin: 0;
  color: #aab0b5;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.48;
}

.filmstrip-controls {
  display: flex;
  gap: 7px;
}

.filmstrip-controls button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #e8e5de;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.filmstrip-reel {
  position: relative;
  width: min(var(--page-width), 100%);
  margin: 34px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #070a0d;
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.45), 0 22px 54px rgba(0, 0, 0, 0.18);
}

.filmstrip-reel::before,
.filmstrip-reel::after {
  content: "";
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
  height: 11px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(232, 226, 211, 0.5) 0 3px, transparent 3.5px) 0 0 / 25px 11px repeat-x;
  opacity: 0.44;
}

.filmstrip-reel::before { top: 8px; }
.filmstrip-reel::after { bottom: 8px; }

.filmstrip-track {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 34px 18px 32px;
  scroll-padding-inline: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(240, 174, 87, 0.45) transparent;
  scrollbar-width: thin;
}

.filmstrip-track button {
  width: 206px;
  flex: 0 0 206px;
  display: grid;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aab0b5;
  cursor: pointer;
  font-family: var(--utility);
  scroll-snap-align: start;
  text-align: left;
}

.filmstrip-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: #1c232b;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.filmstrip-frame::before,
.filmstrip-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, #0a0e12 0 7px, transparent 7px 14px);
}

.filmstrip-frame::before { top: 0; }
.filmstrip-frame::after { bottom: 0; }

.filmstrip-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.73) contrast(1.05);
  transition: transform 320ms var(--ease-out), filter 250ms ease;
}

.filmstrip-index {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 10px;
  padding: 4px 5px;
  border-radius: 3px;
  background: rgba(7, 10, 13, 0.68);
  color: #c8c3b8;
  font-family: var(--utility);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.filmstrip-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 1px;
}

.filmstrip-meta strong {
  color: #f2efe8;
  font-family: var(--title);
  font-size: 26px;
  font-weight: 430;
  letter-spacing: -0.025em;
  line-height: 1;
}

.filmstrip-meta small {
  color: #7f888f;
  font-family: var(--utility);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.library-surface {
  position: relative;
  padding: clamp(68px, 7vw, 108px) clamp(24px, 5vw, 76px) 120px;
  background:
    radial-gradient(circle at 12% 8%, rgba(49, 95, 159, 0.08), transparent 28%),
    var(--paper);
}

.section-block,
.collection-feature,
.page {
  width: min(var(--page-width), 100%);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.collection-feature-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(55px, 6vw, 92px);
  font-weight: 480;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.collection-feature-copy h2 em {
  color: var(--red);
  font-weight: 380;
}

.ink-link {
  min-height: 42px;
  justify-content: flex-start;
  padding: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  gap: 22px;
  margin-bottom: 27px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 670;
  letter-spacing: -0.05em;
}

.section-rule {
  min-width: 40px;
  flex: 1;
  height: 1px;
  margin-bottom: 7px;
  background: var(--line);
}

.section-heading .ink-link {
  flex: none;
}

.home-photos {
  margin-top: clamp(82px, 9vw, 138px);
}

.home-photos-grid {
  display: grid;
  grid-template-columns: 1.25fr .82fr 1.06fr .9fr 1.14fr .83fr;
  align-items: end;
  gap: clamp(10px, 1.25vw, 20px);
}

.home-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  padding: 4px;
  border: 1px solid rgba(25, 35, 45, .14);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 14px 28px rgba(25, 36, 46, .12);
  cursor: pointer;
  transform: translateY(var(--photo-offset, 0)) rotate(var(--photo-tilt, 0deg));
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.home-photo:nth-child(2n) {
  --photo-offset: 14px;
  --photo-tilt: -.65deg;
}

.home-photo:nth-child(3n) {
  --photo-offset: -6px;
  --photo-tilt: .55deg;
}

.home-photo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.01);
}

.memory-grid {
  display: grid;
}

.editorial-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(26px, 3.2vw, 48px) clamp(16px, 2.2vw, 34px);
}

.memory-card {
  min-width: 0;
  animation: card-enter 500ms both var(--ease-out);
  animation-delay: var(--card-delay);
}

.editorial-card {
  grid-column: span 4;
}

.editorial-1 { grid-column: span 7; }
.editorial-2 { grid-column: span 5; align-self: end; }
.editorial-3,
.editorial-4,
.editorial-5 { grid-column: span 4; }
.editorial-6 { grid-column: span 5; }
.editorial-7 { grid-column: span 7; }
.editorial-8 { grid-column: 2 / span 4; }
.editorial-9 { grid-column: span 6; }

.card-visual {
  position: relative;
}

.card-art {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: var(--screen-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,.62), 0 14px 34px rgba(18, 34, 48, 0.11);
  cursor: pointer;
}

.editorial-1 .card-art,
.editorial-7 .card-art {
  aspect-ratio: 16 / 10;
}

.editorial-2 .card-art,
.editorial-6 .card-art {
  aspect-ratio: 5 / 4;
}

.card-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms var(--ease-out), filter 260ms ease;
}

.card-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 14, 0.4) 0%, transparent 35%);
  opacity: 0.7;
  transition: opacity 240ms ease;
}

.small-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.94);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(247, 246, 241, 0.9);
  box-shadow: 0 10px 30px rgba(3, 7, 10, 0.26);
  color: var(--screen);
  opacity: 0.82;
  transition: transform 220ms var(--ease-out), opacity 180ms ease, background 180ms ease;
}

.duration-chip {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 10px;
  padding: 6px 7px;
  border-radius: 4px;
  background: rgba(9, 13, 17, 0.76);
  color: white;
  backdrop-filter: blur(8px);
}

.card-copy {
  position: relative;
  padding: 16px 1px 0;
}

.card-copy > span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.card-copy h3 {
  margin: 0;
  font-family: var(--title);
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 490;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.card-copy h3 button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.card-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.collection-feature {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  margin-top: clamp(90px, 10vw, 150px);
  overflow: hidden;
  border-radius: 22px;
  background: var(--screen);
  box-shadow: var(--shadow-film);
  color: #f2f0e9;
}

.collection-feature-art {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #1b2229;
  cursor: pointer;
}

.collection-feature-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 500ms var(--ease-out), filter 250ms ease;
}

.collection-feature-art img:first-child {
  grid-row: 1 / 3;
}

.collection-feature-copy {
  align-self: center;
  padding: clamp(44px, 6vw, 86px);
}

.collection-feature-copy h2 {
  font-size: clamp(49px, 5vw, 76px);
  font-family: var(--sans);
  font-weight: 680;
}

.collection-feature-copy h2 em {
  color: var(--amber-bright);
}

.collection-feature-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 31px 0;
  color: #b7bdc2;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.5;
}

.dark-button {
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: white;
}

.page {
  min-height: calc(100dvh - var(--masthead));
  padding: clamp(68px, 7vw, 110px) clamp(24px, 5vw, 76px) 120px;
}

.page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(68px, 8vw, 124px);
  font-weight: 690;
  letter-spacing: -0.07em;
  line-height: 0.82;
  overflow-wrap: anywhere;
}

.page-header > div > p:last-child {
  max-width: 560px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
}

.simple-page-header {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 42px;
  padding-bottom: 30px;
}

.simple-page-header > div > p:last-child {
  margin-top: 18px;
}

/* Theme browsing and the family photo contact sheet live in the main stylesheet.
   This keeps their layout available immediately on every route. */
.memories-theme-index {
  display: flex;
  gap: 8px;
  margin: -8px 0 clamp(72px, 8vw, 116px);
  overflow-x: auto;
  padding: 8px 2px 14px;
  scrollbar-color: var(--red) transparent;
  scrollbar-width: thin;
}

.memories-theme-index a {
  min-height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .035em;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.memories-theme-index a:hover,
.memories-theme-index a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.memories-theme-shelves {
  display: grid;
  gap: clamp(92px, 10vw, 150px);
}

.memories-theme-shelf {
  scroll-margin-top: calc(var(--masthead) + 28px);
}

.memories-theme-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.memories-theme-heading > div {
  min-width: 0;
}

.memories-theme-heading p {
  margin: 0 0 8px;
  color: var(--red);
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.memories-theme-heading h2 {
  margin: 0;
  font-family: var(--title);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 460;
  letter-spacing: -.045em;
  line-height: .98;
}

.memories-theme-heading span {
  display: block;
  max-width: 640px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.memories-theme-heading button {
  white-space: nowrap;
}

.photos-page {
  max-width: none;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(9px, 1vw, 16px);
}

.photos-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  padding: 4px;
  border: 1px solid rgba(25, 35, 45, .13);
  border-radius: 9px;
  background: #fbfaf7;
  box-shadow: 0 9px 24px rgba(25, 36, 46, .1);
  cursor: pointer;
}

.photos-tile img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 5px;
  object-fit: contain;
  background: #e5e4df;
  transition: transform 240ms var(--ease-out), filter 180ms ease;
}

.photos-scroll-sentinel {
  min-height: 132px;
  display: grid;
  place-items: center;
  margin-top: 12px;
}

.photos-scroll-sentinel button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid rgba(25, 35, 45, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 620;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.photos-viewer-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 7, 10, .92);
  backdrop-filter: blur(16px) saturate(75%);
}

.photos-viewer {
  position: relative;
  width: min(1500px, 100%);
  height: min(940px, calc(100dvh - 36px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: #090e12;
  box-shadow: 0 36px 110px rgba(0, 0, 0, .64);
}

.photos-viewer > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
}

.photos-viewer-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(9, 16, 21, .78);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.photos-viewer-bar {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: #111b23;
  color: #dce2e5;
}

.photos-viewer-bar button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 590;
}

.photos-viewer-bar button:last-child {
  justify-self: end;
}

.photos-viewer-bar > span {
  color: #9eabb4;
  font-family: var(--utility);
  font-size: 9px;
}

@media (hover: hover) and (pointer: fine) {
  .home-photo:hover {
    box-shadow: 0 2px 0 rgba(255, 255, 255, .9), 0 20px 38px rgba(25, 36, 46, .18);
    transform: translateY(calc(var(--photo-offset, 0) - 5px)) rotate(var(--photo-tilt, 0deg));
  }

  .photos-tile:hover img {
    transform: scale(1.018);
    filter: saturate(1.04);
  }

  .photos-scroll-sentinel button:hover {
    border-color: rgba(25, 35, 45, .34);
    background: #fff;
    transform: translateY(-2px);
  }
}

@media (max-width: 900px) {
  .memories-theme-grid,
  .photos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-photos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .photos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-photos {
    margin-top: 70px;
  }

  .home-photo:nth-child(2n) {
    --photo-offset: 7px;
  }

  .memories-theme-index {
    margin-right: -18px;
    margin-bottom: 76px;
    padding-right: 18px;
  }

  .memories-theme-shelves {
    gap: 96px;
  }

  .memories-theme-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .memories-theme-heading h2 {
    font-size: 42px;
  }

  .memories-theme-heading span {
    font-size: 12px;
  }

  .memories-theme-heading button {
    min-width: 44px;
    width: 44px;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
  }

  .memories-theme-heading button svg {
    flex: none;
    color: var(--ink);
  }

  .photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .photos-tile {
    padding: 3px;
    border-radius: 7px;
  }

  .photos-viewer-backdrop {
    padding: 0;
  }

  .photos-viewer {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .photos-viewer-bar {
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 420px) {
  .memories-theme-grid {
    grid-template-columns: 1fr;
  }
}

.outline-button {
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}

.standard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px clamp(16px, 2vw, 30px);
}

.standard-grid .card-copy h3 {
  font-size: clamp(19px, 1.5vw, 24px);
}

.timeline-filter {
  display: flex;
  gap: 7px;
  margin: 0 0 72px;
  overflow-x: auto;
  padding: 2px 2px 11px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--red) transparent;
  scrollbar-width: thin;
}

.timeline-filter button {
  min-width: 58px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 650;
  scroll-snap-align: start;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.timeline-filter button.active {
  border-color: var(--screen);
  background: var(--screen);
  color: white;
}

.timeline-groups {
  display: grid;
  gap: clamp(90px, 10vw, 150px);
}

.timeline-group {
  display: grid;
  grid-template-columns: minmax(150px, 0.18fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 82px);
}

.year-stamp {
  position: sticky;
  top: calc(var(--masthead) + 34px);
  height: max-content;
  display: grid;
  gap: 11px;
}

.year-stamp h2 {
  margin: 0;
  color: var(--red);
  font-family: var(--title);
  font-size: clamp(58px, 6vw, 96px);
  font-style: italic;
  font-weight: 380;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.year-stamp span {
  color: var(--muted);
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.collection-card {
  position: relative;
  min-height: 390px;
  grid-column: span 4;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--screen-soft);
  color: white;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 44px rgba(17, 23, 29, 0.11);
  border-radius: 18px;
}

.collection-stack {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 1fr;
}

.collection-stack::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 9, 12, 0.92) 0%, rgba(6, 9, 12, 0.08) 72%);
}

.collection-stack img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 500ms var(--ease-out), filter 260ms ease;
}

.collection-stack img:first-child {
  grid-row: 1 / 3;
}

.collection-copy {
  position: absolute;
  z-index: 5;
  right: 28px;
  bottom: 27px;
  left: 28px;
  display: grid;
}

.collection-copy small {
  margin-bottom: 9px;
  color: var(--amber-bright);
  font-family: var(--utility);
  font-size: 8px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.collection-copy strong {
  font-family: var(--title);
  font-size: clamp(35px, 3.4vw, 54px);
  font-weight: 440;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.collection-copy em {
  margin-top: 8px;
  color: #c1c5c8;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.collection-arrow {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 25px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translateX(8px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  opacity: 0;
  transition: transform 220ms var(--ease-out), opacity 180ms ease;
}

.collection-card .collection-copy {
  padding-right: 38px;
}

.collections-grid {
  grid-auto-rows: 390px;
}

.collection-card {
  min-height: 0;
}

.collection-1,
.collection-5 {
  grid-column: span 7;
}

.collection-2,
.collection-6 {
  grid-column: span 5;
}

.collection-3,
.collection-4 {
  grid-column: span 6;
}

.collection-back {
  margin-bottom: 36px;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.collection-year-list {
  display: grid;
  gap: 0;
}

.collection-year-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 420px) minmax(90px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.collection-year {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-family: var(--title);
  font-size: 38px;
  font-style: italic;
}

.collection-year i {
  width: 32px;
  height: 1px;
  background: currentColor;
}

.collection-year-row .memory-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.collection-year-row .card-copy {
  padding: 0;
}

.collection-year-row .card-copy h3 {
  font-size: 24px;
}

.play-year {
  justify-self: end;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}

.empty-search {
  min-height: 390px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.empty-search > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
}

.empty-search h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
}

.empty-search p {
  max-width: 470px;
  margin: 12px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.viewer-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 6, 9, 0.88);
  backdrop-filter: blur(18px) saturate(75%);
  animation: viewer-fade 180ms both ease-out;
}

.viewer-panel {
  position: relative;
  width: min(1600px, 100%);
  height: min(900px, calc(100dvh - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.32fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #080b0e;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.66);
  color: #f3f1eb;
  animation: viewer-in 320ms both var(--ease-out);
}

.viewer-close {
  position: absolute;
  z-index: 10;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(8, 11, 14, 0.72);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.viewer-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: #020304;
}

.viewer-video-frame {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.viewer-media video {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 36px);
  display: block;
  object-fit: contain;
  background: #020304;
}

.chapter-dock {
  position: relative;
  z-index: 8;
  min-width: 0;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(90deg, rgba(240,174,87,.055), transparent 42%),
    #0b0f13;
}

.chapter-dock-heading {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--utility);
}

.chapter-dock-heading > span {
  color: var(--amber-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.chapter-dock-heading strong {
  overflow: hidden;
  color: #f1eee7;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-dock-heading time {
  color: #7f888f;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.chapter-scrubber {
  position: relative;
  height: 44px;
  margin: -10px 0 2px;
}

.chapter-scrubber input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 44px;
  margin: 0;
  appearance: none;
  border: 0;
  outline: 0;
  background:
    linear-gradient(var(--amber-bright), var(--amber-bright)) 0 50% / var(--seek-progress) 4px no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) 0 50% / 100% 4px no-repeat;
  cursor: ew-resize;
  touch-action: none;
}

.chapter-scrubber input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.chapter-scrubber input::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5.5px;
  appearance: none;
  border: 2px solid #0b0f13;
  border-radius: 50%;
  background: #fff7e9;
  box-shadow: 0 0 0 1px rgba(255,255,255,.32), 0 3px 10px rgba(0,0,0,.4);
}

.chapter-scrubber input::-moz-range-track {
  height: 4px;
  background: transparent;
}

.chapter-scrubber input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #0b0f13;
  border-radius: 50%;
  background: #fff7e9;
  box-shadow: 0 0 0 1px rgba(255,255,255,.32), 0 3px 10px rgba(0,0,0,.4);
}

.chapter-scrubber:has(input:focus-visible) {
  border-radius: 7px;
  outline: 3px solid var(--amber-bright);
  outline-offset: 1px;
}

.chapter-boundary {
  position: absolute;
  z-index: 1;
  top: 16px;
  bottom: 16px;
  width: 2px;
  transform: translateX(-1px);
  background: #080c10;
  box-shadow: 0 0 0 1px rgba(255,255,255,.3);
  pointer-events: none;
}

.chapter-list {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 1px 2px;
  scrollbar-width: none;
}

.chapter-list::-webkit-scrollbar { display: none; }

.chapter-list button {
  flex: 0 0 auto;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #b1b7bb;
  cursor: pointer;
  font-family: var(--utility);
  font-size: 9px;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.chapter-list button time {
  color: #747e85;
  font-size: 8px;
  font-variant-numeric: tabular-nums;
}

.chapter-list button.active {
  border-color: rgba(240,174,87,.42);
  background: rgba(240,174,87,.1);
  color: #f5f0e6;
}

.chapter-list button.active time { color: var(--amber-bright); }

.viewer-step {
  position: absolute;
  z-index: 7;
  top: 50%;
  width: 48px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 11, 14, 0.66);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
  opacity: 0.7;
  transition: opacity 180ms ease, background 180ms ease;
}

.viewer-step.previous { left: 13px; }
.viewer-step.next { right: 13px; }

.video-loading {
  position: absolute;
  z-index: 6;
  top: 18px;
  left: 18px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(8,11,14,.72);
  color: #d7d9da;
  font-family: var(--utility);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.video-loading svg {
  animation: spin 800ms linear infinite;
}

.video-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.video-error > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(.6);
  transform: scale(1.03);
}

.video-error-shade {
  position: absolute;
  inset: 0;
  background: rgba(5,8,11,.72);
}

.video-error > div {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.video-error > div > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

.video-error strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.video-error small {
  margin: 8px 0 18px;
  color: #abb1b5;
}

.video-error button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: white;
  cursor: pointer;
}

.viewer-details {
  min-width: 0;
  overflow-y: auto;
  padding: clamp(68px, 7vh, 94px) clamp(28px, 3vw, 48px) 28px;
  border-left: 1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(140deg, rgba(255,255,255,.025), transparent 42%),
    #0f1822;
  scrollbar-color: rgba(255,255,255,.22) transparent;
  scrollbar-width: thin;
}

.viewer-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: #aab4bc;
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.viewer-date span:first-child {
  color: var(--amber-bright);
}

.viewer-date i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #66727c;
}

.viewer-heading h2 {
  margin: 0;
  font-family: var(--title);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 450;
  letter-spacing: -.045em;
  line-height: .98;
}

.viewer-description {
  margin: 22px 0 0;
  color: #b9bec2;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.5;
}

.viewer-edit {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #d7dce0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 630;
}

.viewer-editor {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.viewer-editor label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.viewer-editor label > span {
  color: #929da6;
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.viewer-editor input,
.viewer-editor select,
.viewer-editor textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  outline: 0;
  background: rgba(255,255,255,.055);
  color: #f1f3f4;
  font: 400 14px/1.45 var(--sans);
  color-scheme: dark;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.viewer-editor textarea {
  min-height: 90px;
  resize: vertical;
}

.viewer-editor input:focus-visible,
.viewer-editor select:focus-visible,
.viewer-editor textarea:focus-visible {
  border-color: rgba(255,208,131,.7);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(255,208,131,.1);
}

.viewer-editor-row {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) 80px 98px;
  gap: 8px;
}

.viewer-editor-error,
.viewer-saved {
  margin: 0;
  font-size: 11px;
}

.viewer-editor-error { color: #ffb4aa; }
.viewer-saved { margin-top: 16px; color: #b8dbb8; }

.viewer-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.viewer-editor-actions button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: transparent;
  color: #d4d9dc;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.viewer-editor-actions button[type="submit"] {
  border-color: var(--amber-bright);
  background: var(--amber-bright);
  color: #111820;
}

.viewer-editor-actions button:disabled {
  cursor: wait;
  opacity: .55;
}

.viewer-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.viewer-navigation button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.viewer-navigation button:last-child {
  justify-self: end;
}

.viewer-navigation > span {
  color: #747d84;
  font-family: var(--utility);
  font-size: 7px;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover {
    color: white;
  }

  .desktop-nav a.active:hover {
    color: var(--screen);
  }

  .watch-button:hover,
  .ghost-button:hover,
  .dark-button:hover,
  .outline-button:hover,
  .play-year:hover {
    transform: translateY(-2px);
  }

  .watch-button:hover {
    background: #ffd189;
  }

  .hero-caption:hover {
    border-color: rgba(255,255,255,.34);
    background: rgba(10,14,18,.78);
  }

  .hero-rotation-toggle:not(:disabled):hover,
  .filmstrip-controls button:hover {
    border-color: rgba(255,255,255,.34);
    background: rgba(255,255,255,.1);
    color: white;
  }

  .filmstrip-controls button:hover {
    transform: translateY(-2px);
  }

  .filmstrip-track button:hover {
    color: white;
  }

  .filmstrip-track button:hover img {
    transform: scale(1.06);
    filter: saturate(1) contrast(1.02);
  }

  .memory-card:hover .card-art img {
    transform: scale(1.028);
    filter: saturate(1.04);
  }

  .memory-card:hover .card-shade {
    opacity: 1;
  }

  .memory-card:hover .small-play {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    background: white;
  }

  .collection-feature-art:hover img,
  .collection-card:hover img {
    transform: scale(1.025);
    filter: saturate(.92);
  }

  .collection-card:hover .collection-arrow {
    transform: translateX(0);
    opacity: 1;
  }

  .viewer-step:hover {
    opacity: 1;
    background: rgba(8,11,14,.86);
  }
}

@media (max-width: 1180px) {
  .masthead {
    grid-template-columns: minmax(170px, 1fr) auto minmax(220px, 1fr);
    gap: 18px;
  }

  .desktop-nav a {
    padding-inline: 11px;
  }

  .search-box {
    width: min(220px, 22vw);
  }

  .cinema-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  }

  .standard-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .timeline-cards {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .viewer-panel {
    grid-template-columns: minmax(0,1fr) 360px;
  }
}

@media (max-width: 900px) {
  :root {
    --masthead: 68px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .masthead {
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(68px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 7px 8px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255,255,255,.1);
    background: rgba(11,15,19,.95);
    backdrop-filter: blur(18px);
  }

  .mobile-nav a {
    min-height: 54px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border-radius: 9px;
    color: #899199;
    font-size: 10px;
    font-weight: 620;
    text-decoration: none;
  }

  .mobile-nav a.active {
    background: rgba(255,255,255,.08);
    color: var(--amber-bright);
  }

  .masthead-actions {
    grid-column: 2;
  }

  .search-box {
    width: min(330px, 43vw);
  }

  .cinema-hero {
    min-height: 780px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: 80px 26px 0;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(6,9,12,.9), rgba(6,9,12,.22)),
      linear-gradient(0deg, rgba(6,9,12,.95) 0%, rgba(6,9,12,.18) 64%, rgba(6,9,12,.35));
  }

  .hero-content {
    align-self: end;
    padding-bottom: 20px;
  }

  .hero-content h1 {
    font-size: clamp(68px, 13vw, 108px);
  }

  .hero-caption {
    justify-self: stretch;
    width: 100%;
    margin-bottom: 18px;
  }

  .filmstrip-section {
    padding-inline: 26px;
  }

  .filmstrip-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
  }

  .filmstrip-description {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 560px;
  }

  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .editorial-card,
  .editorial-1,
  .editorial-2,
  .editorial-3,
  .editorial-4,
  .editorial-5,
  .editorial-6,
  .editorial-7,
  .editorial-8,
  .editorial-9 {
    grid-column: span 1;
  }

  .editorial-1,
  .editorial-7 {
    grid-column: span 2;
  }

  .collection-feature {
    grid-template-columns: 1fr;
  }

  .collection-feature-art {
    min-height: 430px;
  }

  .page {
    padding-bottom: 104px;
  }

  .collections-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .collection-card,
  .collection-1,
  .collection-2,
  .collection-3,
  .collection-4,
  .collection-5,
  .collection-6 {
    grid-column: span 1;
  }

  .viewer-backdrop {
    padding: 0;
  }

  .viewer-panel {
    width: 100%;
    height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 58dvh) minmax(0,1fr);
    border: 0;
    border-radius: 0;
  }

  .viewer-media video {
    max-height: 46dvh;
  }

  .chapter-dock { padding-inline: 14px; }

  .viewer-details {
    border-top: 1px solid rgba(255,255,255,.09);
    border-left: 0;
    padding: 42px 28px 32px;
  }
}

@media (max-width: 680px) {
  .masthead {
    position: sticky;
    padding-inline: 15px;
  }

  .brand-lockup strong {
    font-size: 16px;
  }

  .brand-lockup small {
    display: block;
    font-size: 7px;
    letter-spacing: 0.15em;
  }

  .brand-mark {
    width: 34px;
    height: 40px;
  }

  .mobile-search-button {
    display: grid;
    width: 42px;
    height: 42px;
    color: white;
  }

  .search-box {
    position: absolute;
    z-index: 4;
    top: 10px;
    right: 60px;
    left: 15px;
    width: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
  }

  .search-box.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    background: #1b2025;
  }

  .search-box.mobile-open + .mobile-search-button {
    opacity: 0;
    pointer-events: none;
  }

  .cinema-hero {
    min-height: 760px;
    padding: 66px 18px 0;
  }

  .hero-rotation-toggle {
    top: 14px;
    right: 18px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content h1 {
    font-size: clamp(65px, 20vw, 94px);
    letter-spacing: -.07em;
  }

  .hero-content h1 em {
    margin-left: .22em;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 30px;
  }

  .watch-button,
  .ghost-button {
    width: 100%;
  }

  .hero-caption {
    min-height: 84px;
    grid-template-columns: 42px minmax(0,1fr) auto;
    gap: 10px;
    padding: 11px;
  }

  .hero-play {
    width: 42px;
    height: 42px;
  }

  .hero-caption strong {
    font-size: 19px;
  }

  .filmstrip-section {
    padding: 42px 18px 46px;
  }

  .filmstrip-heading h2 {
    font-size: 40px;
  }

  .filmstrip-description {
    font-size: 16px;
  }

  .filmstrip-controls button {
    width: 44px;
    height: 44px;
  }

  .filmstrip-reel {
    width: auto;
    margin-top: 28px;
    margin-right: -18px;
    border-right: 0;
  }

  .filmstrip-track {
    padding-right: 22px;
    scroll-padding-inline: 18px;
  }

  .filmstrip-track button {
    width: 178px;
    flex-basis: 178px;
  }

  .filmstrip-meta {
    display: grid;
    gap: 5px;
  }

  .filmstrip-meta strong {
    font-size: 24px;
  }

  .library-surface {
    padding: 72px 18px 92px;
  }

  .collection-feature-copy h2 {
    font-size: 51px;
  }

  .section-heading {
    align-items: center;
  }

  .section-heading .ink-link {
    min-width: 44px;
    width: 44px;
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
  }

  .section-heading .ink-link svg {
    flex: none;
    color: var(--ink);
  }

  .section-rule {
    display: none;
  }

  .editorial-grid,
  .standard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 13px;
  }

  .editorial-1,
  .editorial-7 {
    grid-column: 1 / -1;
  }

  .card-art,
  .editorial-1 .card-art,
  .editorial-2 .card-art,
  .editorial-6 .card-art,
  .editorial-7 .card-art {
    aspect-ratio: 4 / 3;
  }

  .card-copy {
    padding: 12px 2px 0;
  }

  .card-copy > span {
    min-height: 23px;
    margin-bottom: 4px;
    font-size: 7px;
  }

  .card-copy h3,
  .standard-grid .card-copy h3 {
    font-size: 18px;
  }

  .card-copy p {
    font-size: 10px;
  }

  .small-play {
    width: 40px;
    height: 40px;
  }

  .duration-chip {
    right: 6px;
    bottom: 6px;
    font-size: 8px;
  }

  .collection-feature {
    margin-top: 86px;
  }

  .collection-feature-art {
    min-height: 330px;
  }

  .collection-feature-copy {
    padding: 42px 24px 48px;
  }

  .page {
    padding: 64px 18px 100px;
  }

  .page-header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 30px;
  }

  .page-header h1 {
    font-size: 60px;
  }

  .search-page .page-header h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .page-header > div > p:last-child {
    margin-top: 20px;
    font-size: 17px;
  }

  .timeline-filter {
    margin-right: -18px;
    margin-bottom: 60px;
    padding-right: 18px;
  }

  .timeline-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .year-stamp {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .year-stamp h2 {
    font-size: 62px;
  }

  .timeline-cards {
    grid-template-columns: 1fr 1fr;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .collection-card,
  .collection-1,
  .collection-2,
  .collection-3,
  .collection-4,
  .collection-5,
  .collection-6 {
    min-height: 330px;
    grid-column: 1;
  }

  .collection-copy strong {
    font-size: 42px;
  }

  .collection-year-row {
    grid-template-columns: 72px minmax(0,1fr);
    gap: 16px;
  }

  .collection-year-row .memory-card {
    grid-template-columns: 112px minmax(0,1fr);
    gap: 12px;
  }

  .collection-year-row .card-copy h3 {
    font-size: 19px;
  }

  .collection-year {
    font-size: 26px;
  }

  .collection-year i,
  .collection-year-row .play-year {
    display: none;
  }

  .viewer-panel {
    grid-template-rows: minmax(230px, 48dvh) minmax(0,1fr);
  }

  .viewer-media video {
    max-height: 36dvh;
  }

  .chapter-dock {
    padding: 11px 12px 12px;
  }

  .chapter-dock-heading { margin-bottom: 8px; }

  .chapter-list button {
    min-height: 44px;
    padding-inline: 10px;
  }

  .viewer-step {
    width: 44px;
    height: 52px;
  }

  .viewer-details {
    padding: 38px 20px calc(30px + env(safe-area-inset-bottom));
  }

  .viewer-heading h2 {
    font-size: 42px;
  }

  .viewer-editor-row {
    grid-template-columns: minmax(0,1fr) 84px;
  }

  .viewer-editor-row .date-label-field {
    grid-column: 1 / -1;
  }

  .viewer-navigation > span {
    display: none;
  }

  .viewer-navigation {
    grid-template-columns: 1fr 1fr;
  }

  .viewer-navigation button:last-child {
    justify-self: end;
  }

}

@media (max-width: 680px) {
  .search-box.mobile-open {
    min-height: 48px;
  }

  .search-box.mobile-open input {
    height: 46px;
  }

  .search-box.mobile-open button {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .viewer-panel {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 34vw);
    grid-template-rows: 1fr;
  }

  .viewer-media video {
    max-height: 100dvh;
  }

  .viewer-details {
    padding: 54px 20px 20px;
    border-top: 0;
    border-left: 1px solid rgba(255,255,255,.09);
  }

  .viewer-heading h2 {
    font-size: 36px;
  }

  .viewer-description {
    margin-top: 16px;
    font-size: 15px;
  }

  .cinema-hero {
    min-height: 520px;
    grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 22px;
    padding: 34px 24px 0;
  }

  .hero-content {
    align-self: center;
    padding-bottom: 10px;
  }

  .hero-content h1 {
    font-size: 58px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-caption {
    align-self: center;
    margin-bottom: 10px;
  }

  .hero-rotation-toggle {
    top: 10px;
    right: 18px;
  }
}

@media (max-width: 420px) {
  .editorial-grid,
  .standard-grid,
  .timeline-cards {
    grid-template-columns: 1fr;
  }

  .editorial-1,
  .editorial-7 {
    grid-column: 1;
  }

  .card-copy > span {
    min-height: 0;
  }

  .collection-year-row {
    grid-template-columns: 58px minmax(0,1fr);
  }

  .collection-year-row .memory-card {
    grid-template-columns: 1fr;
  }

  .collection-year-row .card-art {
    aspect-ratio: 16 / 9;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .viewer-panel {
    height: calc(100dvh - 24px);
  }

  .viewer-media video {
    max-height: calc(100dvh - 24px);
  }

  .viewer-details {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes loading-sweep {
  from { background-position: 160% 0; }
  to { background-position: -60% 0; }
}

@keyframes hero-settle {
  from { opacity: .35; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1.018); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes viewer-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes viewer-in {
  from { opacity: 0; transform: scale(.985) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes chapter-pulse {
  from { opacity: .2; }
  to { opacity: .7; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/*
 * Kessler Family Memories — 1990s home-video direction.
 * This layer intentionally keeps the footage in natural color and reserves
 * tape/camcorder references for structure rather than decoration.
 */

:root {
  --screen: #101820;
  --screen-raised: #17232e;
  --screen-soft: #22313e;
  --paper: #f2f0eb;
  --paper-deep: #e2e1dc;
  --card: #fbfaf7;
  --ink: #19232d;
  --ink-soft: #3f4d59;
  --muted: #687681;
  --muted-light: #9aa6af;
  --line: rgba(25, 35, 45, 0.15);
  --line-light: rgba(239, 245, 248, 0.14);
  --amber: #d99a3d;
  --amber-bright: #f0c36c;
  --red: #c9544c;
  --blue: #6f9ec4;
  --display: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --title: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  --utility: var(--font-geist-mono), "SFMono-Regular", Consolas, monospace;
  --shadow-film: 0 24px 62px rgba(21, 32, 42, 0.2);
}

body {
  --display: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --title: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Iowan Old Style", Baskerville, Georgia, "Palatino Linotype", "Times New Roman", serif;
  background: var(--paper);
  font-family: var(--sans);
}

::selection {
  background: #bad1e2;
  color: var(--ink);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
video:focus-visible {
  outline-color: #78aeda;
}

.masthead {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 24, 32, 0.94);
  color: #f4f3ef;
  box-shadow: 0 8px 28px rgba(7, 13, 18, 0.18);
}

.brand-lockup strong {
  font-family: var(--title);
  font-size: 23px;
  font-weight: 520;
  letter-spacing: -0.025em;
}

.brand-lockup small,
.desktop-nav a,
.search-box {
  color: #aab4bc;
}

.brand-mark {
  border-radius: 7px;
  background: #1b2a35;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 5px 15px rgba(0,0,0,.16);
}

.brand-mark b {
  font-family: var(--title);
  font-style: normal;
  font-weight: 570;
}

.desktop-nav {
  gap: 7px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.desktop-nav a {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 570;
}

.desktop-nav a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.desktop-nav a.active::after {
  display: none;
}

.search-box {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
}

.search-box:focus-within {
  border-color: rgba(127,177,216,.72);
  background: rgba(255,255,255,.075);
  box-shadow: 0 0 0 3px rgba(111,158,196,.12);
}

.cinema-hero {
  min-height: min(820px, calc(100svh - var(--masthead)));
  gap: 30px;
  padding: clamp(74px, 8vw, 118px) clamp(28px, 6vw, 96px) 0;
  background: #0d151c;
  color: #f7f6f2;
  box-shadow: inset 0 -70px 80px rgba(4,9,13,.2);
}

.cinema-hero::before {
  content: "PLAY  ▸   SP";
  position: absolute;
  z-index: 4;
  top: 28px;
  right: auto;
  bottom: auto;
  left: clamp(28px, 6vw, 96px);
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: rgba(245,248,249,.72);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  opacity: 1;
}

.cinema-hero::after {
  display: none;
}

.hero-image {
  filter: saturate(1.02) contrast(1.025) brightness(.94);
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(8,15,21,.91) 0%, rgba(10,18,25,.68) 38%, rgba(10,18,25,.12) 72%, rgba(8,15,21,.28) 100%),
    linear-gradient(0deg, rgba(7,13,18,.88) 0%, transparent 46%, rgba(7,13,18,.14) 100%);
}

.film-grain {
  opacity: .1;
  mix-blend-mode: soft-light;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 17% 23%, rgba(255,255,255,.28) 0 .45px, transparent .65px 4px);
  background-size: 100% 4px, 8px 8px;
}

.hero-content {
  max-width: 690px;
  padding-bottom: 42px;
}

.hero-content h1 {
  max-width: 660px;
  font-family: var(--title);
  font-size: clamp(64px, 6.8vw, 108px);
  font-weight: 510;
  letter-spacing: -.05em;
  line-height: .82;
  text-shadow: 0 3px 26px rgba(0,0,0,.28);
}

.hero-content h1 span:first-child,
.hero-content h1 span:nth-child(2) {
  display: inline;
  margin: 0;
}

.hero-content h1 span:first-child::after {
  content: " ";
}

.hero-content h1 em {
  display: block;
  margin: .04em 0 0 .08em;
  color: #dceaf4;
  font-style: italic;
  font-weight: 420;
}

.hero-actions {
  margin: 34px 0 0 .35em;
}

.hero-rotation-toggle {
  border-radius: 9px;
  background: rgba(11,20,27,.58);
}

.watch-button,
.ghost-button,
.dark-button,
.outline-button,
.play-year {
  border-radius: 9px;
  font-family: var(--sans);
}

.watch-button {
  background: #f1c66f;
  color: #14202a;
}

.watch-button > span {
  background: #14202a;
}

.ghost-button {
  background: rgba(13,23,31,.46);
}

.hero-caption {
  width: min(100%, 490px);
  border-color: rgba(255,255,255,.19);
  border-radius: 12px;
  background: rgba(12,21,28,.7);
  backdrop-filter: blur(16px) saturate(110%);
}

.hero-caption small {
  color: #b8c4cc;
}

.hero-caption strong {
  font-family: var(--title);
  font-size: 25px;
  font-weight: 500;
}

.filmstrip-section {
  border-color: rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 18% -20%, rgba(78,126,163,.16), transparent 34%),
    #101a23;
  color: #f4f2ec;
}

.filmstrip-heading > div:first-child > p {
  color: #efb451;
}

.filmstrip-heading h2,
.section-heading h2,
.page-header h1,
.collection-feature-copy h2 {
  font-family: var(--title);
  font-weight: 510;
  letter-spacing: -.04em;
}

.filmstrip-heading h2 {
  font-size: clamp(48px, 5vw, 78px);
}

.filmstrip-description {
  color: #aab6be;
  font-family: var(--sans);
}

.filmstrip-reel {
  border-color: rgba(255,255,255,.1);
  border-radius: 12px;
  background: #090e12;
  box-shadow: inset 0 0 48px rgba(0,0,0,.5), 0 24px 58px rgba(0,0,0,.2);
}

.filmstrip-reel::before,
.filmstrip-reel::after {
  background: radial-gradient(ellipse at center, rgba(226,232,234,.52) 0 3px, transparent 3.6px) 0 0 / 25px 11px repeat-x;
  opacity: .38;
}

.filmstrip-frame {
  border-color: rgba(255,255,255,.18);
  border-radius: 5px;
  background: #1a2630;
}

.filmstrip-frame img,
.collection-feature-art img,
.collection-stack img,
.collection-card img,
.card-art img {
  filter: none;
}

.filmstrip-meta strong {
  font-family: var(--title);
  color: #f4f2ed;
  font-size: 29px;
  font-weight: 520;
}

.library-surface,
.page {
  background:
    radial-gradient(circle at 9% 3%, rgba(111,158,196,.11), transparent 24%),
    radial-gradient(circle at 88% 30%, rgba(217,154,61,.07), transparent 22%),
    var(--paper);
}

.section-heading h2 {
  font-size: clamp(40px, 3.6vw, 56px);
}

.ink-link {
  border-bottom-color: var(--ink);
  font-family: var(--sans);
}

.card-art {
  padding: 4px;
  border: 1px solid rgba(27,39,49,.12);
  border-radius: 12px;
  background: #fbfaf7;
  box-shadow: 0 1px 0 rgba(255,255,255,.8), 0 15px 38px rgba(26,38,48,.13);
}

.card-art img {
  border-radius: 7px;
  filter: saturate(1.02) contrast(1.015);
}

.card-shade {
  background: linear-gradient(0deg, rgba(8,15,21,.38), transparent 34%);
}

.duration-chip {
  right: 13px;
  bottom: 13px;
  border-radius: 4px;
  background: rgba(10,18,24,.78);
}

.card-copy h3 {
  font-family: var(--title);
  font-weight: 520;
  letter-spacing: -.025em;
}

.card-copy > span {
  color: #b64d47;
}

.collection-feature {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: #131f29;
}

.collection-feature-art {
  background: #17242e;
}

.collection-feature-copy h2 {
  color: #f6f3ec;
}

.collection-feature-copy > p:not(.eyebrow) {
  color: #b9c2c8;
  font-family: var(--sans);
  font-size: 17px;
}

.dark-button {
  background: rgba(255,255,255,.08);
}

.page-header h1 {
  font-size: clamp(64px, 7vw, 108px);
  line-height: .88;
}

.page-header > div > p:last-child {
  font-family: var(--sans);
}

.timeline-filter button,
.outline-button,
.play-year {
  border-radius: 8px;
}

.timeline-filter button.active {
  border-color: #17242e;
  background: #17242e;
}

.year-stamp h2 {
  color: #af4943;
  font-family: var(--title);
  font-style: normal;
  font-weight: 470;
}

.collection-card {
  border-radius: 14px;
  background: #1a2731;
}

.collection-stack::after {
  background: linear-gradient(0deg, rgba(7,13,18,.9), rgba(7,13,18,.04) 74%);
}

.collection-copy strong,
.collection-year,
.empty-search h2 {
  font-family: var(--title);
}

.viewer-backdrop {
  background: rgba(4,8,11,.9);
  backdrop-filter: blur(16px) saturate(72%);
}

.viewer-panel {
  border-color: rgba(255,255,255,.11);
  border-radius: 14px;
  background: #080d11;
}

.viewer-close,
.viewer-step,
.video-loading {
  background: rgba(9,16,21,.76);
}

.viewer-media,
.viewer-media video {
  background: #030506;
}

.chapter-dock {
  border-top-color: rgba(255,255,255,.09);
  background:
    linear-gradient(90deg, rgba(111,158,196,.08), transparent 42%),
    #101820;
}

.chapter-scrubber input {
  background:
    linear-gradient(#8eb8d9, #8eb8d9) 0 50% / var(--seek-progress) 4px no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) 0 50% / 100% 4px no-repeat;
}

.chapter-list button,
.video-error button,
.viewer-edit,
.viewer-editor-actions button {
  border-radius: 7px;
}

.chapter-list button.active {
  border-color: rgba(111,158,196,.5);
  background: rgba(111,158,196,.14);
}

.viewer-details {
  border-left-color: rgba(255,255,255,.09);
  background:
    linear-gradient(145deg, rgba(111,158,196,.045), transparent 42%),
    #15212b;
}

.viewer-heading h2 {
  font-family: var(--title);
  font-size: clamp(45px, 4.2vw, 70px);
  font-weight: 500;
}

.viewer-description {
  color: #c0c8cd;
  font-family: var(--sans);
  font-size: 16px;
}

.viewer-editor input,
.viewer-editor select,
.viewer-editor textarea {
  border-radius: 7px;
  font-family: var(--sans);
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a.active:hover {
    color: white;
  }

  .watch-button:hover {
    background: #f6d184;
  }

  .hero-caption:hover {
    border-color: rgba(143,187,220,.44);
    background: rgba(12,22,30,.82);
  }

  .filmstrip-track button:hover img,
  .memory-card:hover .card-art img,
  .collection-feature-art:hover img,
  .collection-card:hover img {
    filter: saturate(1.06) contrast(1.02);
  }
}

@media (max-width: 900px) {
  .mobile-nav {
    grid-template-columns: repeat(6, 1fr);
    border-top-color: rgba(255,255,255,.1);
    background: rgba(15,24,32,.96);
  }

  .mobile-nav a {
    border-radius: 8px;
    color: #9da9b1;
    font-family: var(--sans);
  }

  .mobile-nav a.active {
    background: rgba(255,255,255,.085);
    color: #f0c36c;
    box-shadow: none;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(8,15,21,.88), rgba(8,15,21,.16)),
      linear-gradient(0deg, rgba(7,13,18,.94) 0%, rgba(7,13,18,.14) 66%, rgba(7,13,18,.3));
  }
}

@media (max-width: 680px) {
  .brand-lockup strong {
    font-size: 19px;
  }

  .search-box.mobile-open {
    background: #1a2731;
  }

  .cinema-hero {
    min-height: 740px;
  }

  .cinema-hero::before {
    top: 18px;
    left: 18px;
  }

  .hero-content h1 {
    font-size: clamp(62px, 18vw, 88px);
    letter-spacing: -.045em;
    line-height: .84;
  }

  .hero-content h1 span:first-child,
  .hero-content h1 span:nth-child(2) {
    display: block;
  }

  .hero-content h1 span:first-child::after {
    content: "";
  }

  .hero-content h1 em {
    margin-left: .12em;
  }

  .filmstrip-heading h2 {
    font-size: 48px;
  }

  .card-copy h3,
  .standard-grid .card-copy h3 {
    font-size: 22px;
  }

  .page-header h1 {
    font-size: 64px;
  }

  .viewer-heading h2 {
    font-size: 43px;
  }
}

/* Archive polish: comfortable controls and a compact, responsive photo index. */
.desktop-nav a { white-space: nowrap; }
.desktop-nav a svg { flex: none; }
.masthead { gap: clamp(12px, 1.8vw, 28px); }
.search-box input { font-size: 16px; }
.search-box button, .mobile-search-button { min-width: 44px; min-height: 44px; }
.hero-content h1 { line-height: .96; }
.hero-rotation-toggle { font-size: 10px; text-transform: none; letter-spacing: .02em; }
.hero-caption { text-align: left; }
.hero-caption strong { line-height: 1.2; }
.card-copy h3 { line-height: 1.2; text-wrap: pretty; }
.card-copy > span { color: #5b6670; }
.timeline-filter button { min-height: 44px; }
.photos-page .page-header { margin-bottom: 28px; }
.photo-albums { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.photo-albums button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid #c6ccd0; border-radius: 6px; background: #fafaf7; color: #34424d; cursor: pointer; font-size: 15px; transition: background 160ms ease, border-color 160ms ease; }
.photo-albums button span { font-family: var(--utility); font-size: 10px; color: #5d6b75; }
.photo-albums button[aria-pressed="true"] { border-color: #233947; background: #233947; color: #fff; }
.photo-albums button[aria-pressed="true"] span { color: #cedee9; }
.photo-gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 25px 0 16px; }
.photo-gallery-heading h2 { margin: 0; font-family: var(--title); font-weight: 500; font-size: clamp(25px, 3vw, 34px); }
.photo-gallery-heading p { margin: 0; color: #596772; font-size: 14px; }
.photos-tile { box-shadow: 0 3px 10px rgba(25,36,46,.07); content-visibility: auto; }
.photos-tile:focus-visible { outline-offset: 3px; }
.photos-scroll-sentinel { gap: 10px; align-content: center; padding-block: 22px; }
.photos-scroll-sentinel p { margin: 0; font-family: var(--utility); font-size: 11px; color: #596772; }
.photos-scroll-sentinel > span { font-size: 14px; color: #596772; }
.photos-viewer-bar > span { font-size: 12px; }
.photos-viewer-bar button { font-size: 15px; }
@media (hover: hover) { .photo-albums button:hover { border-color: #233947; } }
@media (min-width: 901px) and (max-width: 1280px) {
  .masthead { grid-template-columns: auto minmax(0, 1fr) auto; padding-inline: 22px; gap: 16px; }
  .desktop-nav { gap: 2px; }
  .desktop-nav a { gap: 6px; padding-inline: 9px; }
  .search-box { width: clamp(150px, 17vw, 210px); }
  .brand-lockup strong { font-size: 20px; }
}
@media (min-width: 901px) and (max-width: 1080px) {
  .desktop-nav a { padding-inline: 7px; }
  .desktop-nav a svg { display: none; }
  .brand-mark { display: none; }
}
@media (max-width: 900px) {
  .cinema-hero { min-height: min(690px, calc(100svh - var(--masthead))); }
  .mobile-nav { grid-template-columns: repeat(8, minmax(0, 1fr)); padding-inline: 4px; }
  .mobile-nav a { min-width: 0; font-size: 10px; }
}
@media (max-width: 680px) {
  .cinema-hero { min-height: 570px; min-height: clamp(530px, calc(100svh - 136px), 650px); padding: 80px 20px 0; gap: 22px; }
  .hero-content h1 { font-size: clamp(58px, 17vw, 80px); line-height: .92; }
  .hero-content { padding-bottom: 0; }
  .hero-actions { gap: 10px; margin-top: 28px; margin-left: 0; }
  .hero-actions button { min-height: 46px; font-size: 12px; padding-inline: 12px; }
  .hero-caption { min-height: 88px; padding: 14px; margin-bottom: 20px; }
  .hero-caption strong { font-size: 23px; }
  .hero-rotation-toggle { top: 15px; right: 18px; min-height: 40px; }
  .page-header h1 { font-size: clamp(44px, 12vw, 60px); line-height: 1.05; overflow-wrap: anywhere; }
  .photo-albums { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 18px; scrollbar-width: thin; }
  .photo-albums button { flex: none; }
  .photo-gallery-heading { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image, .hero-content, .memory-card { animation: none; }
  .photo-albums button, .photos-tile img { transition: none; }
}
@media (max-width: 680px) {
  .search-page .page-header h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.15; }
}
/* Allow the available viewport width when a desktop scrollbar is present. */
html, body { min-width: 0; }
