:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --ink: #28342e;
  --green: #294439;
  --rule: #d8d7c9;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.65 system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; top: 0; left: 1rem; background: white; padding: .5rem; transform: translateY(-110%); }
.skip:focus { transform: none; }
header, footer {
  padding: 1.1rem max(1.25rem, calc((100% - 72rem) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 2rem;
}
header { border-bottom: 1px solid var(--rule); }
footer { border-top: 1px solid var(--rule); font-size: .9rem; }
.brand { font-family: Georgia, serif; font-weight: bold; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .95rem; }
nav a:not([aria-current]) { text-decoration: none; }
nav a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: Georgia, serif; font-weight: normal; line-height: 1.12; }
h1 { font-size: clamp(2.55rem, 6.5vw, 5.5rem); margin: .2em 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 1.5em 0 .45em; }
h3 { font-size: 1.65rem; margin: 1.5em 0 .5em; }
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(13rem, 37%);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6rem);
  background: var(--green);
  color: var(--paper);
  padding: clamp(2rem, 6vw, 5rem) max(1.25rem, calc((100% - 67rem) / 2));
}
.hero h1 span { display: block; font-size: .48em; margin-top: .3em; }
.hero img { width: 100%; height: auto; display: block; }
.dates { font-size: 1.2rem; }
.prose, .wide { margin: auto; padding: 2.5rem 1.25rem 4.5rem; }
.prose { max-width: 48rem; }
.wide { max-width: 74rem; }
.album {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.15rem;
}
.album a { display: grid; place-items: center; background: #eae5da; aspect-ratio: 4 / 3; }
.album img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
@media (max-width: 37rem) {
  .hero { grid-template-columns: 1fr; }
  .hero img { max-width: 23rem; }
}
dialog {
  max-width: min(94vw, 76rem);
  max-height: 94vh;
  border: 0;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: rgb(16 24 20 / .86); }
dialog form { text-align: right; margin-bottom: .6rem; }
dialog button { font: inherit; cursor: pointer; }
dialog img { display: block; max-width: 100%; max-height: 79vh; object-fit: contain; }
