@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #101212;
  --panel: #171a19;
  --text: #f4f0e9;
  --muted: #b7b9b3;
  --gold: #e7c69a;
  --line: #343934;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 4; background: var(--bg); padding: .75rem; }
.skip:focus { top: 1rem; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(1rem, 5vw, 5rem);
  gap: 1rem;
}
.site-header { min-height: 4.5rem; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: .65rem; font-size: 1.15rem; letter-spacing: .05em; font-weight: 650; }
.brand-mark { width: .85rem; height: .85rem; border: 1px solid var(--gold); transform: rotate(45deg); flex: none; }
.brand-studio, .header-label { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; justify-content: end; gap: clamp(.55rem, 2.3vw, 2.1rem); color: var(--muted); font-size: .82rem; }
.site-header nav a, .signout { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a:hover, .signout:hover { color: var(--gold); }
.signout { padding: 0; border: 0; background: none; color: inherit; }
.hero { min-height: clamp(34rem, 77svh, 57rem); position: relative; display: grid; place-items: center; isolation: isolate; text-align: center; padding: 5rem 1.25rem 6rem; overflow: hidden; background: #222d30; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; object-fit: cover; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(180deg, #0a0e10a0, #0a0e1075 30%, #0b1114a0 74%, #101212 100%); }
.hero-content { width: min(100%, 68rem); }
.eyebrow { margin: 0 0 .65rem; text-transform: uppercase; letter-spacing: .23em; color: var(--gold); font-size: .7rem; font-weight: 650; }
.hero-eyebrow { letter-spacing: .3em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(3.3rem, 8vw, 8.15rem); letter-spacing: -.065em; text-wrap: balance; text-shadow: 0 4px 38px #0008; }
.hero-subtitle { margin: 1.35rem auto 2.15rem; color: #f1efe8; font-size: clamp(1rem, 2vw, 1.25rem); max-width: 36rem; text-wrap: balance; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.2rem; min-height: 3.15rem; padding: .65rem 1.2rem; border: 1px solid #70746a; border-radius: .25rem; background: transparent; color: var(--text); font-size: .85rem; font-weight: 650; transition: background .2s, border-color .2s; }
.button:hover { background: #ffffff12; border-color: var(--text); }
.primary { background: var(--gold); color: #201910; border-color: var(--gold); }
.primary:hover { background: #f2d7b4; border-color: #f2d7b4; }
.hero-index { position: absolute; bottom: 1.25rem; left: clamp(1rem, 5vw, 5rem); right: clamp(1rem, 5vw, 5rem); display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #ece9da42; padding-top: .85rem; text-align: left; color: #deddd3; text-transform: uppercase; letter-spacing: .15em; font-size: .64rem; }
.unlock { max-width: 28rem; margin: auto; text-align: left; }
.unlock label { display: block; font-size: .8rem; margin-bottom: .4rem; }
.unlock-controls { display: flex; gap: .5rem; }
.unlock input { flex: 1; min-width: 0; padding: .7rem; color: var(--text); background: #101618e8; border: 1px solid #a0aaa7; border-radius: .25rem; }
.error { color: #ffcfbf; margin-bottom: 0; }
.collection { width: min(90%, 85rem); margin: 0 auto; padding: 1.5rem 0 5rem; }
.chapter { padding: clamp(2.5rem, 7vw, 6rem) 0 0; scroll-margin-top: 1rem; }
.chapter-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 1.35rem; }
h2 { font-size: clamp(2.45rem, 5.9vw, 5.2rem); letter-spacing: -.055em; }
.count { font-size: .72rem; color: var(--muted); white-space: nowrap; padding-bottom: .2rem; text-transform: uppercase; letter-spacing: .14em; }
.section-copy { color: var(--muted); margin: 0 0 1.3rem; max-width: 33rem; }
.photo-grid, .film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(.9rem, 2vw, 1.6rem); }
.film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: .55rem; overflow: hidden; }
.photo-open, .video-open { width: 100%; display: grid; place-items: center; background: #222926; color: var(--text); border: 0; position: relative; padding: 0; overflow: hidden; }
.photo-open:focus-visible, .video-open:focus-visible { outline-offset: -3px; }
.photo-open img, .video-open img { width: 100%; height: auto; transition: transform .35s ease; }
.photo-open:hover img, .video-open:hover img { transform: scale(1.04); }
.video-open { aspect-ratio: 16 / 9; }
.video-open img { height: 100%; object-fit: cover; position: absolute; inset: 0; }
.play-icon { display: grid; place-items: center; position: relative; width: 3.7rem; height: 3.7rem; border-radius: 50%; background: #0c1115c9; border: 1px solid #eee9dc8a; padding-left: .12rem; }
.media-placeholder { display: grid; place-items: center; min-height: 9rem; padding: 1rem; }
.card-caption { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .4rem .65rem .4rem .95rem; font-size: .85rem; }
.card-caption > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-caption small { color: var(--muted); padding-left: .35rem; }
.icon-link { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; flex: none; color: var(--text); border: 1px solid var(--line); border-radius: .25rem; background: #151918; font-size: 1.15rem; }
.icon-link:hover { border-color: var(--gold); color: var(--gold); }
.empty { background: var(--panel); border: 1px solid var(--line); border-radius: .55rem; display: grid; justify-items: center; padding: 3.2rem 1rem; text-align: center; }
.empty-icon { color: var(--gold); font-size: 1.5rem; margin-bottom: .75rem; }
.empty h3 { font-size: clamp(1.45rem, 3vw, 2rem); }
.empty p { color: var(--muted); font-size: .9rem; margin: .65rem 0 0; }
.download-panel { display: grid; grid-template-columns: 1fr minmax(16rem, .8fr); gap: 1.5rem; margin-top: clamp(3rem, 7vw, 6rem); padding: clamp(1.35rem, 4.5vw, 3.8rem); border: 1px solid var(--line); background: linear-gradient(115deg, #262b25, #171a19 72%); border-radius: .55rem; }
.download-panel .section-copy { margin: .8rem 0 0; }
.download-options { display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.download-options .button span { white-space: nowrap; font-size: .72rem; }
.download-note { color: var(--muted); margin: 0; font-size: .88rem; }
.download-note:empty { display: none; }
.site-footer { min-height: 5.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.site-footer span:first-child { letter-spacing: .14em; }
body:has(dialog[open]) { overflow: hidden; }
dialog { color: var(--text); background: #090b0b; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: clamp(.6rem, 2.5vw, 1.75rem); }
dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: .75rem; }
.viewer-bar { display: flex; align-items: center; gap: .65rem; }
#viewer-counter { flex: 1; color: var(--muted); font-size: .82rem; }
.viewer-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: .5rem; min-height: 0; touch-action: pan-y pinch-zoom; }
.viewer-stage img, .viewer-stage video { width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; grid-column: 2; grid-row: 1; }
#viewer-prev { grid-column: 1; grid-row: 1; }
#viewer-next { grid-column: 3; grid-row: 1; }
#viewer-caption, #viewer-error { margin: 0; text-align: center; color: var(--muted); overflow-wrap: anywhere; }
#viewer-error { color: #ffcfbf; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-studio { display: none; } }
@media (max-width: 580px) {
  .site-header { min-height: 3.8rem; gap: .55rem; }
  .wordmark { font-size: 1rem; gap: .45rem; }
  .site-header nav { font-size: .72rem; gap: .55rem; }
  .hero { padding-bottom: 5rem; min-height: 33rem; }
  .hero-index { letter-spacing: .1em; }
  .photo-grid, .film-grid, .download-panel { grid-template-columns: 1fr; }
  .download-panel { gap: 1.2rem; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; padding-block: 1.2rem; gap: .5rem 1rem; }
  .viewer-stage { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .viewer-stage img, .viewer-stage video { grid-column: 1 / -1; }
  #viewer-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  #viewer-next { grid-column: 2; grid-row: 2; justify-self: start; }
  .unlock-controls .button { gap: .4rem; padding-inline: .6rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
