:root {
  color-scheme: dark;
  --charcoal: #111a19;
  --deep: #0e1514;
  --surface: #192321;
  --paper: #fff5e3;
  --ink: #f0e7d7;
  --muted: #c9c2b4;
  --brass: #e0c68d;
  --rule: #574e3b;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(1.125rem, 5.3vw, 5.125rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--charcoal); color: var(--ink); font: 1rem/1.65 Arial, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--brass); }
a:focus-visible { outline: 3px solid #fff0bd; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { color: var(--paper); font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.2; }
[id] { scroll-margin-top: 1.5rem; }
.frame { width: min(100% - 2 * var(--gutter), 80rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 4;
  top: .75rem;
  left: .75rem;
  transform: translateY(-150%);
  background: var(--brass);
  color: var(--deep);
  padding: .75rem 1rem;
}
.skip-link:focus { transform: none; }

.site-header { background: var(--deep); border-bottom: 1px solid var(--rule); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 2rem;
  min-height: 4.75rem;
  padding-block: .55rem;
}
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.wordmark-name { color: var(--paper); font: 400 clamp(1.25rem, 2.15vw, 1.6rem)/1.12 var(--serif); text-decoration: none; }
.seal {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #927e57;
  color: var(--brass);
  font: 1.35rem/1 var(--serif);
}
.primary-nav, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(.75rem, 2.6vw, 2.5rem); }
.primary-nav a, .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}
.primary-nav a:hover, .footer-links a:hover { color: var(--paper); text-decoration: underline; }

.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  min-height: clamp(37rem, 76vh, 47rem);
  background: #201e18;
  border-bottom: 1px solid var(--rule);
}
.hero-art, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: 65% center; z-index: -2; }
.hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, #101614eb 0%, #101614bc 32%, #1016144a 65%, #10161405 100%),
    linear-gradient(0deg, #0e1514e8 0%, transparent 24%);
}
.hero-inner { display: grid; grid-template-rows: 1fr auto; min-height: inherit; }
.hero-copy { align-self: center; padding-block: clamp(2.5rem, 7vh, 5rem) 2rem; max-width: 47rem; }
.kicker { color: var(--brass); font-size: .75rem; font-weight: 700; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.3rem; }
.hero-kicker::before { content: ""; display: block; width: 2rem; flex: 0 0 2rem; border-top: 1px solid var(--brass); }
.hero h1 { font-size: clamp(3.4rem, 6.15vw, 6.05rem); line-height: .99; letter-spacing: -.055em; overflow-wrap: break-word; }
.title-line { display: block; }
.hero h1 em {
  display: block;
  margin-top: .18em;
  color: var(--brass);
  font-size: .66em;
  line-height: 1.09;
  letter-spacing: -.035em;
}
.hero-description { max-width: 31rem; margin-top: 1.65rem; color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  min-height: 3.2rem;
  padding: .75rem 1.05rem;
  border: 1px solid var(--brass);
  font-weight: 700;
  font-size: .91rem;
  line-height: 1.35;
  text-decoration: none;
}
.button-primary { background: var(--brass); color: #17180f; }
.button-primary:hover { background: #f4dfa9; color: #17180f; }
.button-secondary { background: #0e1514d9; color: var(--paper); }
.button-secondary:hover { background: #242a22; color: var(--paper); }
.hero-caption { justify-self: end; padding-block: 0 1rem; color: var(--ink); font-size: .82rem; text-align: right; }

.welcome {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 3fr;
  gap: 1.2rem 2rem;
  padding-block: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--rule);
}
.section-kicker { display: flex; align-items: center; gap: .85rem; }
.section-kicker span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.welcome .section-kicker { align-self: start; margin-top: .5rem; }
.section-lede { max-width: 43rem; margin-top: 1rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.27rem); }
.collection-index { padding-block: clamp(2.7rem, 6vw, 5.2rem); }
.collection-index h2 { margin-top: .65rem; }
.index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 1.65rem 0 0;
  padding: 1px;
  gap: 1px;
  background: var(--rule);
  list-style: none;
}
.index-grid li { display: flex; }
.index-entry {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-height: 11rem;
  padding: clamp(.85rem, 1.8vw, 1.5rem);
  background: var(--charcoal);
  text-decoration: none;
}
.index-entry:hover { background: var(--surface); }
.index-entry:focus-visible { outline-offset: -4px; }
.entry-number { display: flex; justify-content: space-between; color: var(--brass); font-size: .77rem; letter-spacing: .1em; }
.entry-name { margin-top: .9rem; color: var(--paper); font: 1.2rem/1.2 var(--serif); }
.entry-description { margin-top: .55rem; color: var(--muted); font-size: .88rem; line-height: 1.45; }

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  background: var(--surface);
  border: 1px solid var(--rule);
}
.featured-photo { display: grid; grid-template-rows: 1fr auto; border-right: 1px solid var(--rule); }
.featured-photo img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; }
.featured-photo figcaption { display: grid; gap: .15rem; padding: .8rem 1rem; border-top: 1px solid var(--rule); }
.photo-location { color: var(--paper); font: 1.03rem/1.35 var(--serif); }
.photo-credit { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.featured-copy { align-self: center; padding: clamp(1.25rem, 4vw, 3.75rem); }
.featured-copy h2 { margin-block: .7rem 1rem; font-size: clamp(2rem, 3.3vw, 3.3rem); }
.featured-copy h2 span { display: block; }
.featured-copy > p:not(.kicker) { max-width: 34rem; color: var(--muted); }
.featured-copy .feature-count { margin-block: 1rem .5rem; }
.feature-count strong { margin-right: .24rem; color: var(--brass); font: 2rem/1 var(--serif); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; color: var(--brass); font-weight: 700; }
.text-link:hover { color: var(--paper); }

.section-notes { padding-block: clamp(3.1rem, 7vw, 6rem); }
.section-notes h2 { margin-bottom: 1.55rem; }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 4vw, 3rem); }
.notes-grid article { border-top: 1px solid var(--rule); padding-top: 1rem; }
.notes-grid h3 { margin-block: .55rem .65rem; }
.notes-grid p:not(.kicker) { color: var(--muted); }
.notes-grid .text-link { margin-top: .3rem; font-size: .89rem; }

.legacy {
  background: radial-gradient(ellipse at 50% 0%, #283027 0%, var(--deep) 68%);
  border-block: 1px solid var(--rule);
  text-align: center;
}
.legacy-inner { padding-block: clamp(2.8rem, 7vw, 5rem); }
.legacy-ornament { display: flex; align-items: center; justify-content: center; gap: .85rem; color: var(--brass); font: 1.75rem/1 var(--serif); }
.legacy-ornament::before, .legacy-ornament::after { content: ""; width: 3rem; border-top: 1px solid #927e57; }
.legacy .kicker { margin-block: .95rem .65rem; }
.legacy p:not(.kicker) { max-width: 43rem; margin: 1rem auto 0; color: var(--muted); font-size: 1.08rem; }
.site-footer { background: var(--deep); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem 2rem; padding-block: 1.4rem; }
.footer-inner p { margin-top: .3rem; color: var(--muted); font-size: .83rem; }
.footer-inner .preview-label { color: var(--brass); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 64rem) {
  .index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index-entry { min-height: 9.6rem; }
}

@media (max-width: 48rem) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .wordmark { min-height: 2.75rem; }
  .hero h1 { font-size: clamp(2.85rem, 7.8vw, 4.5rem); }
  .welcome { grid-template-columns: 1fr; gap: .65rem; }
  .welcome .section-kicker { margin-top: 0; }
  .featured { grid-template-columns: 1fr; }
  .featured-photo { border-right: 0; border-bottom: 1px solid var(--rule); }
  .featured-copy h2 span { display: inline; }
  .notes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 38rem) {
  .primary-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hero { min-height: auto; background: var(--deep); }
  .hero-art { height: clamp(18rem, 75vw, 25rem); object-position: 81% center; }
  .hero::after {
    height: clamp(18rem, 75vw, 25rem);
    background: linear-gradient(0deg, var(--deep) 0%, #0e1514be 27%, #0e15143b 60%, #0e151410 100%);
  }
  .hero-copy { padding-top: clamp(9rem, 39vw, 14rem); }
  .hero-kicker { gap: .55rem; margin-bottom: .8rem; font-size: .7rem; letter-spacing: .13em; }
  .hero-kicker::before { width: 1rem; flex-basis: 1rem; }
  .hero h1 { font-size: clamp(2.45rem, 9.2vw, 3.55rem); }
  .hero h1 em { font-size: .71em; text-wrap: balance; }
  .hero-description { margin-top: 1.25rem; }
  .hero-actions { margin-top: 1.25rem; }
  .button { justify-content: space-between; width: 100%; }
  .hero-caption { justify-self: start; text-align: left; }
  .index-grid { grid-template-columns: 1fr; }
  .index-entry { min-height: auto; padding: .9rem 1rem; }
  .entry-name { margin-top: .45rem; }
  .entry-description { margin-top: .35rem; }
}
