:root {
  color-scheme: light;
  --paper: #d1b794;
  --paper-light: #e3cda9;
  --ink: #1e1412;
  --ink-soft: #34251f;
  --red: #bd2832;
  --cream: #f4ecde;
  --muted: #5d4b3d;
  --line: rgba(30, 20, 18, .24);
  --page-width: 1400px;
  --ease: cubic-bezier(.22, .7, .22, 1);
  font-family: Rajdhani, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 12px 16px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px max(20px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 3px solid var(--red);
  background: rgba(209, 183, 148, .97);
  backdrop-filter: blur(10px);
  animation: header-enter .65s var(--ease) both;
}
.brand-lockup { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; padding-right: 16px; border-right: 1px solid var(--line); line-height: .8; }
.brand-kicker { color: var(--red); font: 700 15px/1 Barlow Condensed, sans-serif; letter-spacing: .12em; }
.brand-title { color: var(--ink); font: 800 34px/.84 Barlow Condensed, sans-serif; letter-spacing: .005em; }
.brand-year { align-self: flex-end; margin-top: 5px; color: var(--ink); font: 700 14px/1 Rajdhani, sans-serif; letter-spacing: .17em; }
.header-copy { display: flex; flex-direction: column; gap: 4px; }
.header-title { color: var(--ink); font: 700 16px/1 Barlow Condensed, sans-serif; letter-spacing: .13em; }
.header-subtitle { color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.album-nav-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; padding: 5px 9px; border-left: 3px solid var(--red); background: var(--ink); color: var(--cream); font: 700 12px/1 Barlow Condensed, sans-serif; letter-spacing: .07em; text-decoration: none; transition: background .2s, color .2s; }
.album-nav-link:hover, .album-nav-link:focus-visible { background: var(--red); color: #fff; outline: none; }
.header-hint { max-width: 330px; margin: 0 0 0 auto; color: var(--ink-soft); font-size: 12px; font-weight: 600; line-height: 1.35; text-align: right; }

.deck { width: min(var(--page-width), 100%); margin: 0 auto; padding: 24px 14px 30px; display: flex; flex-direction: column; gap: 24px; }
.page-frame { position: relative; margin: 0; width: 100%; line-height: 0; background: #100f10; box-shadow: 0 10px 28px rgba(48, 31, 19, .17); }
.page-canvas { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.page-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.hotspot { position: absolute; z-index: 2; display: block; border: 0; background: transparent; color: transparent; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hotspot:hover, .hotspot:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; background: rgba(189, 40, 50, .1); }
.hotspot:focus-visible { outline-width: 3px; }
.reveal { opacity: 0; transform: translateY(14px); filter: blur(2px); transition: opacity .65s var(--ease), transform .65s var(--ease), filter .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.no-script { margin: 24px; color: var(--ink); font-size: 15px; }
.site-footer { max-width: var(--page-width); min-height: 70px; margin: 0 auto; padding: 16px 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--ink-soft); font: 700 12px Rajdhani, sans-serif; letter-spacing: .12em; }

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

@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }
  .site-header { min-height: 100px; padding: 9px 14px 10px; gap: 12px; flex-wrap: wrap; }
  .brand-lockup { padding-right: 11px; }
  .brand-kicker { font-size: 12px; }
  .brand-title { font-size: 27px; }
  .brand-year { margin-top: 4px; font-size: 12px; }
  .header-copy { gap: 3px; }
  .header-title { font-size: 14px; }
  .header-subtitle { max-width: 170px; font-size: 8px; line-height: 1.3; }
  .header-hint { flex: 1 1 100%; max-width: none; margin: -2px 0 0; font-size: 10px; text-align: left; }
  .deck { padding: 12px 0 20px; gap: 12px; }
  .page-canvas { width: 100%; }
  .page-frame { box-shadow: 0 5px 16px rgba(48, 31, 19, .15); }
  .site-footer { min-height: 54px; padding: 13px 12px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
