:root {
  color-scheme: light;
  --ink: #231f1a;
  --paper: #fbf8f2;
  --gold: #e8c994;
  --line: #dfd7c9;
  --muted: #5d554a;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #93661d; outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h1 { font-size: clamp(3.2rem, 8.6vw, 7.5rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2.4rem, 5.3vw, 4.2rem); letter-spacing: -.055em; }
.wrap { width: min(90%, 1200px); margin-inline: auto; }
.header { background: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { display: block; width: clamp(115px, 17vw, 175px); height: 49px; object-fit: contain; object-position: left; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem clamp(.7rem, 3vw, 2rem); }
nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(430px, 66svh, 690px); background: #211b17; color: #fff; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 51%; z-index: -2; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #15100cf0, #15100cbf 40%, #15100c30 100%); }
.hero-copy { padding-block: 3rem; }
.eyebrow { color: #f1d49d; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin-bottom: .8rem; }
.hero em { color: #f1d49d; }
.hero h1 + p { max-width: 28rem; font-size: clamp(1rem, 2vw, 1.2rem); margin: 1.15rem 0 1.45rem; }
button, input { font: inherit; }
.button { display: inline-block; border: 0; border-radius: .2rem; padding: .7rem 1.1rem; background: var(--gold); color: #251b0f; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: #f4dba9; }
.gallery-section { padding-block: clamp(2.8rem, 6vw, 5rem); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; }
.gallery-heading p { margin-top: .65rem; color: var(--muted); }
#jump { position: relative; align-self: flex-end; }
#jump label { display: block; font-weight: 650; margin-bottom: .35rem; }
.input-row { display: flex; gap: .45rem; }
#stage-number { width: 7rem; min-width: 0; border: 1px solid #9b8d79; border-radius: .2rem; padding: .55rem .6rem; background: #fffdf9; color: var(--ink); }
.form-message { position: absolute; top: 100%; left: 0; font-size: .875rem; color: #784b1e; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 2vw, 1.5rem); }
.stage { display: block; padding: .55rem; border: 1px solid var(--line); border-radius: .2rem; background: #fffdf9; text-decoration: none; }
.stage:hover { border-color: #98692d; }
.stage-image { display: grid; place-items: center; aspect-ratio: 1.63; background: #f2ece2; }
.stage-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.stage-label { display: block; padding: .55rem .35rem .15rem; font-weight: 700; }
.contact { background: #241e19; color: #fff8ec; text-align: center; padding: clamp(3rem, 7vw, 5rem) 0; }
.contact p { margin: 1rem auto 1.45rem; max-width: 34rem; }
.actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.footer { display: flex; flex-wrap: wrap; gap: .35rem 1rem; justify-content: space-between; padding-block: 1.2rem; color: var(--muted); font-size: .9rem; }
dialog { width: min(96vw, 1000px); max-height: 94dvh; padding: 0; border: 1px solid #756b5c; border-radius: .35rem; background: #241e19; color: #fff8ec; }
dialog::backdrop { background: #100d0bdc; }
.viewer-header, .viewer-actions { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .65rem clamp(.6rem, 2vw, 1.2rem); }
.viewer-header h2 { font-size: clamp(1.55rem, 4vw, 2.4rem); }
.viewer-image { background: #15100c; }
.viewer-image img { display: block; width: 100%; height: min(63dvh, 650px); object-fit: contain; }
.viewer-button { cursor: pointer; color: #fff8ec; background: transparent; border: 1px solid #a78f71; border-radius: .2rem; padding: .55rem .65rem; }
.viewer-button:disabled { opacity: .45; cursor: default; }
.viewer-actions .button, .viewer-button { font-size: .875rem; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-heading { flex-direction: column; align-items: start; gap: 1rem; }
  #jump { align-self: start; }
  .hero::after { background: linear-gradient(90deg, #15100cf0, #15100c7f); }
}
@media (max-width: 385px) {
  .viewer-actions .button, .viewer-button { padding-inline: .45rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
