@font-face {
  font-family: Cinzel;
  src: url("./assets/type/cinzel-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("./assets/type/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("./assets/type/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #10191d;
  --deep: #0a1114;
  --white: #f7f0e0;
  --copy: #cbd0cc;
  --gold: #e0bd79;
  --line: #575349;
  --serif: Cinzel, Georgia, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 5.6vw, 6rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--white); font: 400 1.0625rem/1.55 Barlow, "Segoe UI", sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffe1a4; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100%, 96rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: .5rem; left: .75rem; z-index: 5; padding: .55rem .85rem; background: var(--white); color: var(--deep); transform: translateY(-170%); }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 1; background: #10181c; border-bottom: 1px solid #514d40; }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead-inner { min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 1rem; font: 600 clamp(.96rem, 1.75vw, 1.35rem)/1 var(--serif); white-space: nowrap; }
.brand i, .hero h1 i { font-family: Georgia, serif; font-style: italic; font-weight: 400; color: var(--gold); }
.brand-seal { position: relative; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #a28a5d; transform: rotate(45deg); color: var(--gold); }
.brand-seal::before { content: ""; position: absolute; inset: .17rem; border: 1px solid #6b5d43; }
.brand-seal span { transform: rotate(-45deg); font: 600 1.05rem var(--serif); }
nav { display: flex; align-items: center; gap: clamp(.9rem, 2.6vw, 2.5rem); }
nav a { font-size: .96875rem; font-weight: 600; }
nav a:hover, .text-link:hover { color: #fff0c8; }
.nav-download { padding: .4rem 1.05rem; border: 1px solid #84724e; color: var(--gold); }
.nav-download:hover { border-color: var(--gold); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #293b41; border-bottom: 1px solid #807459; }
.hero-art, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-art { object-fit: cover; object-position: 64% 41%; }
.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgb(7 15 19 / .9) 0%, rgb(9 18 21 / .77) 24%, rgb(12 21 23 / .29) 53%, rgb(14 21 22 / .04) 81%),
    linear-gradient(0deg, rgb(10 18 20 / .68), transparent 34%);
}
.hero-inner { position: relative; min-height: clamp(32rem, 72svh, 44rem); display: flex; align-items: center; padding-block: 3.6rem 4.1rem; }
.hero-copy { max-width: 39rem; }
.kicker, .section-label { font-size: .875rem; font-weight: 600; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; color: var(--gold); }
.kicker { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.3rem; }
.hairline { width: 2.7rem; height: 1px; background: var(--gold); }
.hero h1 { width: fit-content; font: 600 clamp(4.55rem, 7.7vw, 7.25rem)/.91 var(--serif); letter-spacing: -.065em; text-shadow: 0 2px 20px rgb(0 0 0 / .20); }
.hero h1 > span { display: block; }
.hero h1 i { display: inline-block; font-size: .70em; line-height: 1; margin-left: .015em; }
.hero h1 small { display: flex; align-items: center; gap: .48em; margin: .6em 0 .06em .12em; color: var(--gold); font: 600 clamp(1.25rem, 2.05vw, 1.78rem)/1.2 var(--serif); letter-spacing: .31em; text-transform: uppercase; }
.hero h1 small::after { content: ""; width: 1.8em; height: 1px; background: #bca16d; }
.hero-description { max-width: 26rem; margin-top: 1.35rem; color: #ebeae0; font-size: clamp(1.125rem, 1.4vw, 1.35rem); line-height: 1.45; }
.hero-actions, .edition-links { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.hero-actions { margin-top: 1.75rem; }
.button { min-height: 2.9rem; display: inline-flex; align-items: center; justify-content: center; padding: .66rem 1.5rem; border: 1px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2; }
.primary { background: #e5c488; color: #161b1b; border-color: #e5c488; }
.primary:hover { background: #f4dba7; border-color: #f4dba7; }
.quiet { color: #f6f1e6; border-color: #aaa995; background: rgb(9 18 21 / .32); }
.quiet:hover { background: rgb(14 23 25 / .8); border-color: var(--white); }
.location { position: absolute; bottom: 1.8rem; right: var(--gutter); display: flex; align-items: center; gap: .75rem; color: #fff0ce; text-shadow: 0 1px 7px #070d0e; font: 600 1.025rem var(--serif); }
.location-mark { position: relative; width: 1rem; height: 1rem; border: 1px solid currentColor; transform: rotate(45deg); }
.location-mark::after { content: ""; position: absolute; inset: 4px; background: currentColor; }
.location:hover { text-decoration: underline; text-underline-offset: .25em; }

.campaign { padding-block: clamp(3.3rem, 6vw, 5.8rem); }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(1.5rem, 5vw, 5.5rem); }
.section-label { margin-bottom: .75rem; }
h2 { color: var(--white); font: 600 clamp(2.35rem, 4.1vw, 4rem)/1.12 var(--serif); letter-spacing: -.045em; }
.section-intro > p, .download-heading > p:last-child, .edition p { color: var(--copy); }
.section-intro > p { max-width: 38rem; font-size: 1.1rem; line-height: 1.63; }
.gallery { margin-top: clamp(2.3rem, 4vw, 4rem); }
.gallery-heading { display: flex; align-items: center; gap: 1.15rem; margin-bottom: 1rem; }
.gallery-heading h3 { font: 600 1.325rem/1.4 var(--serif); letter-spacing: -.02em; }
.gallery-heading > span { flex: 1; height: 1px; background: #454c48; }
.gallery-grid { display: grid; grid-template-columns: 1.18fr 1.1fr .76fr; gap: clamp(.85rem, 1.75vw, 1.8rem); }
.gallery-grid figure { min-width: 0; }
.gallery-grid a { position: relative; display: block; height: clamp(11rem, 17vw, 17rem); overflow: hidden; border: 1px solid #625c4f; background: #243438; }
.gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
.gallery-grid .portrait img { object-position: 50% 22%; }
.gallery-grid a:hover img { transform: scale(1.035); }
.enlarge { position: absolute; bottom: .65rem; right: .65rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; background: rgb(10 16 19 / .88); color: var(--white); border: 1px solid #afa17f; font-size: 1.25rem; line-height: 1; }
figcaption { margin-top: .6rem; color: #e0dfd2; font-size: 1rem; }
.downloads { background: #182426; border-block: 1px solid #4a5048; }
.download-inner { display: grid; grid-template-columns: minmax(12rem, .75fr) 1.65fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5.25rem); }
.download-heading > p:last-child { max-width: 18rem; margin-top: .8rem; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.edition { border-top: 2px solid #857754; padding-top: 1.1rem; }
.edition h3 { font: 600 clamp(1.38rem, 2vw, 1.75rem)/1.3 var(--serif); letter-spacing: -.035em; }
.edition p { margin-block: .7rem 1.1rem; }
.edition-links { gap: .75rem 1.35rem; }
.text-link { color: var(--gold); text-decoration: underline; text-underline-offset: .24em; text-decoration-color: #8c7d61; font-weight: 600; }
footer { background: var(--deep); }
.footer-inner { min-height: 5.5rem; }
.footer-name { font: 600 1rem/1.3 var(--serif); color: #d6ceba; }
footer nav a { color: #d5d5ca; }

#viewer { width: min(66rem, calc(100% - 2rem)); max-height: 92svh; padding: 0; color: var(--white); border: 1px solid #837958; background: #111b1f; }
#viewer::backdrop { background: rgb(3 8 10 / .92); }
.viewer-panel { padding: clamp(.9rem, 2.1vw, 1.5rem); }
.viewer-heading, .viewer-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.viewer-heading h2 { font-size: clamp(1.25rem, 2.25vw, 1.9rem); }
.viewer-panel button { border: 1px solid #787463; background: #1b282c; min-height: 2.65rem; padding: .35rem .9rem; }
.viewer-panel button:hover { border-color: var(--gold); background: #293638; }
#viewer-image { display: block; width: 100%; height: min(63svh, 42rem); margin-block: 1rem; object-fit: contain; background: #090f12; }
@media (max-width: 53rem) {
  .download-inner { grid-template-columns: 1fr; }
  .download-heading > p:last-child { max-width: none; }
  .section-intro { align-items: start; gap: 1.5rem; }
}
@media (max-width: 42rem) {
  .masthead-inner { min-height: 3.85rem; }
  .brand { gap: .6rem; }
  .brand-seal { display: none; }
  nav { gap: .8rem; }
  nav a { font-size: .875rem; }
  .nav-download { padding: .32rem .52rem; }
  .hero-inner { min-height: 33rem; padding-block: 3rem 4.7rem; align-items: end; }
  .hero-art { object-position: 66% 35%; }
  .hero::after { background: linear-gradient(90deg, rgb(8 17 21 / .70), rgb(8 17 21 / .34) 60%, rgb(8 17 21 / .1)), linear-gradient(0deg, rgb(8 17 21 / .92), transparent 87%); }
  .hero h1 { font-size: clamp(3.6rem, 12vw, 5rem); }
  .kicker { font-size: .875rem; letter-spacing: .095em; gap: .65rem; }
  .hairline { width: 1.55rem; }
  .hero-description { max-width: 21rem; }
  .location { bottom: 1rem; font-size: .875rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem .85rem; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .gallery-grid a { height: auto; aspect-ratio: 1.25; }
  .gallery-grid figure:first-child a { aspect-ratio: 2.1; }
  .editions { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 1.15rem; min-height: 4.5rem; }
}
@media (max-width: 29rem) {
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: .6rem; padding-block: .75rem; }
  .masthead nav { width: 100%; justify-content: space-between; }
}
@media (max-width: 23rem) {
  .hero-actions { gap: .5rem; }
  .button { padding-inline: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid img { transition: none; }
}
