:root {
  color-scheme: dark;
  --ink: #060706;
  --ink-soft: #0d1014;
  --ink-blue: #071322;
  --ivory: #f2eee4;
  --muted: #aaa79f;
  --gold: #ddb95f;
  --gold-bright: #f5d988;
  --line: rgba(221, 185, 95, .27);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--ink); color: var(--ivory); font: 16px/1.6 var(--sans); }
body::selection { background: var(--gold); color: #111; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-180%); padding: 9px 16px; border-radius: 999px; background: var(--gold-bright); color: #111; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; min-height: 86px;
  padding: 18px clamp(20px, 5vw, 82px); display: flex; align-items: center; justify-content: space-between;
  gap: 24px; border-bottom: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(rgba(0,0,0,.56),rgba(0,0,0,.05));
}
.brand, .dialog-brand, .footer-brand { display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; font: 18px var(--serif); letter-spacing: .07em; }
.brand span, .dialog-brand span, .footer-brand span { color: var(--gold); font-size: 22px; }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 42px); color: #e4dfd3; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.site-header nav a:hover, .site-footer a:hover { color: var(--gold-bright); }
.eyebrow { margin: 0 0 16px; color: var(--gold-bright); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .22em; }
.hero {
  min-height: min(940px, 95svh); position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 120px clamp(24px, 8vw, 150px) 110px;
  background: radial-gradient(circle at 72% 36%,#303025,#131a22 40%,#060706 85%);
}
.hero-art, .hero-art img, .hero-veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: center 43%; opacity: 0; transition: opacity .5s ease; }
.hero-art img.is-ready { opacity: 1; }
.hero-veil {
  pointer-events: none; background:
    linear-gradient(90deg, rgba(3,5,8,.94) 0%, rgba(4,6,9,.79) 25%, rgba(5,6,8,.25) 56%, rgba(4,5,8,.05) 76%),
    linear-gradient(0deg, rgba(4,5,7,.89) 0%, transparent 27%, transparent 68%, rgba(4,5,7,.28) 100%);
}
.hero::after {
  content: ""; pointer-events: none; position: absolute; inset: 0;
  box-shadow: inset 0 0 140px rgba(0,0,0,.26);
}
.hero-content { position: relative; z-index: 2; max-width: 740px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(54px, 6.5vw, 112px); letter-spacing: -.055em; line-height: .98; text-shadow: 0 4px 30px rgba(0,0,0,.45); }
h1 em { display: block; color: var(--gold-bright); font-style: italic; font-weight: 400; }
.hero-intro { max-width: 570px; margin: 29px 0 0; color: #f6f2e9; font: clamp(19px, 1.55vw, 27px)/1.45 var(--serif); text-shadow: 0 3px 20px #000; }
.hero-secondary { max-width: 560px; margin: 18px 0 0; color: #dfdcd4; font-size: 15px; line-height: 1.65; text-shadow: 0 2px 12px #000; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 48px; padding: 11px 19px; border-radius: 999px; border: 1px solid transparent; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-gold { color: #171208; background: var(--gold-bright); }
.button-gold:hover { background: #ffe9ae; }
.button-ghost { color: var(--ivory); background: rgba(9,10,12,.3); border-color: rgba(255,255,255,.5); }
.button-ghost:hover:not(:disabled) { background: rgba(255,255,255,.1); border-color: var(--gold-bright); }
.hero-bottom {
  position: absolute; z-index: 3; left: clamp(24px, 8vw, 150px); right: clamp(24px, 8vw, 150px); bottom: 25px;
  display: flex; justify-content: space-between; align-items: end; gap: 25px;
  color: #e1dacb; font-size: 11px; text-transform: uppercase; letter-spacing: .16em;
}
.hero-counts { display: flex; gap: 26px; }
.hero-counts strong { color: var(--gold-bright); font-size: 19px; font-family: var(--serif); letter-spacing: 0; }
.intro-band {
  min-height: 200px; display: flex; align-items: center; justify-content: center; gap: 30px;
  padding: 50px 24px; background: #080b0d; border-block: 1px solid var(--line); text-align: center;
}
.intro-mark { color: var(--gold); font-size: 35px; }
.intro-band p { max-width: 790px; margin: 0; font: clamp(21px, 2.4vw, 32px)/1.4 var(--serif); }
.intro-rule { width: 55px; height: 1px; background: var(--gold); }
.gallery-section { max-width: 1600px; margin: 0 auto; padding: clamp(80px, 9vw, 150px) clamp(20px, 5vw, 72px) 100px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 35px; }
.section-head h2, .history-heading h2 { font-size: clamp(46px, 5vw, 76px); letter-spacing: -.045em; line-height: 1.05; }
.section-lede { max-width: 360px; margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.filters { border-top: 1px solid var(--line); padding-top: 22px; }
.filter-label-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: #c9c5bc; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.filter-label-row span:last-child { color: var(--gold); }
.collection-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.collection-button {
  min-height: 82px; display: flex; align-items: center; gap: 15px; padding: 14px 17px;
  border: 1px solid rgba(221,185,95,.19); background: #0d1014; color: var(--ivory); text-align: left;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.collection-button:hover { transform: translateY(-2px); border-color: var(--gold); background: #171b1d; }
.collection-button[aria-pressed="true"] { border-color: var(--gold-bright); background: linear-gradient(130deg,#2a2518,#141719); box-shadow: inset 0 0 0 1px rgba(245,217,136,.18); }
.collection-index { color: var(--gold); font: 21px var(--serif); min-width: 27px; }
.collection-copy { min-width: 0; display: block; }
.collection-copy strong { display: block; font: 19px/1.15 var(--serif); }
.collection-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filter-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.search-control, .select-control { display: flex; flex-direction: column; gap: 6px; color: #c9c5bc; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.search-control { flex: 1 1 300px; }
.select-control { flex: 0 1 195px; }
.filter-controls input, .filter-controls select { width: 100%; min-height: 47px; padding: 10px 14px; border: 1px solid rgba(221,185,95,.25); border-radius: 0; background: #0d1014; color: var(--ivory); outline-offset: 3px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.filter-controls input::placeholder { color: #8e8c85; }
.reset-button { min-height: 47px; padding: 10px 7px; border: 0; background: transparent; color: var(--gold-bright); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.result-line { display: flex; justify-content: space-between; gap: 20px; margin: 24px 0 18px; color: var(--muted); font-size: 12px; }
.result-line p { margin: 0; color: var(--gold-bright); }
.art-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 18px; }
.art-card { min-width: 0; overflow: hidden; border: 1px solid rgba(221,185,95,.18); background: #0d1014; transition: transform .2s ease, border-color .2s ease; }
.art-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.art-card-media { position: relative; aspect-ratio: 16/11; background: linear-gradient(135deg,#273344,#141719); overflow: hidden; }
.art-card-media.is-tall { background: radial-gradient(circle at 50% 48%,#2a3441,#101417 70%); }
.card-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ivory); overflow: hidden; }
.card-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.art-card-media.is-tall .card-open img { object-fit: contain; }
.art-card:hover .card-open img { transform: scale(1.03); }
.card-open::after { content: ""; pointer-events: none; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.49)); }
.card-view { position: absolute; z-index: 1; bottom: 12px; right: 14px; color: #fff; font-size: 11px; letter-spacing: .1em; text-shadow: 0 2px 10px #000; }
.card-version { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 9px; border: 1px solid rgba(245,217,136,.6); background: rgba(6,7,6,.82); color: var(--gold-bright); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.card-body { padding: 19px 21px 20px; }
.card-collection { margin: 0 0 5px; color: var(--gold); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.card-title { font-size: clamp(22px, 2vw, 29px); line-height: 1.15; }
.card-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 43px; margin: 12px 0 18px; color: #c9c5bc; font-size: 13px; line-height: 1.55; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 13px; border-top: 1px solid rgba(221,185,95,.16); color: var(--muted); font-size: 11px; }
.card-download { color: var(--gold-bright); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.card-download:hover { color: #fff1c4; }
.empty-state { padding: 80px 24px; border: 1px solid var(--line); text-align: center; }
.empty-state > span { color: var(--gold); font-size: 44px; }
.empty-state h3 { margin: 10px 0; font-size: 32px; }
.empty-state p { color: var(--muted); margin: 0 0 24px; }
.history-section { border-top: 1px solid var(--line); padding: clamp(80px, 8vw, 125px) clamp(20px, 5vw, 72px); background: radial-gradient(circle at 80% 0,#12202a,#090c0e 55%); }
.history-heading { max-width: 1600px; margin: 0 auto 35px; }
.history-heading p:last-child { max-width: 610px; margin: 19px 0 0; color: #c9c5bc; }
.version-filters { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.version-button { min-height: 150px; padding: 20px; border: 1px solid var(--line); background: rgba(7,11,13,.65); color: var(--ivory); text-align: left; transition: transform .2s ease, border-color .2s ease; }
.version-button:hover { transform: translateY(-3px); border-color: var(--gold); }
.version-button[aria-pressed="true"] { border-color: var(--gold-bright); background: #272519; }
.version-name { display: block; color: var(--gold-bright); font: clamp(26px,3vw,42px) var(--serif); }
.version-label { display: block; margin-top: 12px; color: #c9c5bc; font-size: 12px; letter-spacing: .06em; }
.version-count { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 46px clamp(20px, 5vw, 82px); border-top: 1px solid var(--line); background: #050606; }
.site-footer p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; color: #d4d0c7; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.art-dialog { inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ivory); background: #050608; }
.art-dialog::backdrop { background: #050608; }
.dialog-shell { height: 100%; display: flex; flex-direction: column; }
.dialog-topbar { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px clamp(15px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.dialog-brand { font-size: 16px; }
.dialog-position { color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.dialog-close { min-height: 42px; display: inline-flex; align-items: center; gap: 11px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--ivory); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dialog-close span { font-size: 22px; line-height: 1; }
.dialog-content { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0,2fr) minmax(320px,.85fr); }
.dialog-stage { min-width: 0; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #070a0c; touch-action: pan-y; }
.dialog-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dialog-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 57px; height: 65px; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.72); color: white; font: 46px/1 var(--serif); }
.dialog-arrow:hover:not(:disabled) { border-color: var(--gold-bright); background: rgba(23,20,13,.94); }
.dialog-prev { left: 15px; }.dialog-next { right: 15px; }
.dialog-copy { min-height: 0; overflow: auto; border-left: 1px solid var(--line); padding: clamp(25px,3vw,52px); background: #0d1014; }
.dialog-copy h2 { font-size: clamp(34px,3vw,52px); line-height: 1.07; }
.story-label { margin: 31px 0 8px; color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.dialog-story { margin: 0; color: #e0dacc; font: clamp(17px,1.4vw,21px)/1.6 var(--serif); }
.dialog-meta { display: flex; flex-wrap: wrap; gap: 15px 23px; margin: 32px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); color: #c9c5bc; font-size: 12px; }
.download-button { width: 100%; max-width: 330px; }
.download-note, .dialog-help { max-width: 340px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.download-note { margin: 9px 0 0; }
.dialog-help { margin: 30px 0 0; }
@media (max-width: 1100px) {
  .art-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dialog-content { grid-template-columns: minmax(0,1.5fr) minmax(290px,.9fr); }
}
@media (max-width: 780px) {
  .site-header { min-height: 72px; }
  .site-header nav { gap: 17px; font-size: 10px; }
  .hero { min-height: 790px; padding-top: 130px; align-items: end; padding-bottom: 130px; }
  .hero-art img { object-position: 60% center; }
  .hero-veil { background: linear-gradient(0deg,rgba(3,5,8,.98),rgba(3,5,8,.68) 54%,rgba(3,5,8,.1) 90%); }
  .hero-content { max-width: 630px; }
  .collection-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-head { display: block; }
  .section-lede { margin-top: 20px; }
  .dialog-content { display: block; overflow-y: auto; }
  .dialog-stage { height: 58vh; min-height: 330px; }
  .dialog-copy { overflow: visible; border-left: 0; border-top: 1px solid var(--line); }
  .art-dialog { overflow: hidden; }
  .version-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .site-header { padding-inline: 17px; }
  .brand { font-size: 15px; }
  .site-header nav a:first-child { display: none; }
  .site-header nav { gap: 12px; font-size: 9px; }
  .hero { min-height: 740px; padding-inline: 21px; padding-bottom: 126px; }
  .hero-bottom { left: 21px; right: 21px; display: block; }
  .hero-counts { margin-top: 6px; gap: 16px; }
  .intro-band { min-height: 170px; gap: 12px; }
  .intro-rule { display: none; }
  .intro-mark { font-size: 26px; }
  .collection-button { min-height: 75px; padding: 11px; gap: 8px; }
  .collection-index { font-size: 17px; min-width: 22px; }
  .collection-copy strong { font-size: 15px; }
  .collection-copy small { font-size: 10px; }
  .filter-controls { display: block; }
  .filter-controls > * { margin: 0 0 13px; }
  .result-line span { display: none; }
  .art-grid { grid-template-columns: 1fr; }
  .art-card-media { aspect-ratio: 16/10; }
  .version-button { min-height: 125px; padding: 15px; }
  .site-footer { display: block; }
  .site-footer nav { margin-top: 22px; }
  .dialog-topbar { min-height: 59px; }
  .dialog-brand { font-size: 14px; }
  .dialog-position { display: none; }
  .dialog-stage { height: 49vh; min-height: 280px; }
  .dialog-arrow { width: 48px; height: 58px; font-size: 40px; }
  .dialog-copy { padding: 25px 20px 35px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
