:root {
  color-scheme: light;
  --forest: #366c42;
  --forest-dark: #254c2e;
  --sage: #a6c2a8;
  --orange: #f4560f;
  --ink: #333;
  --muted: #5d675d;
  --line: #d4dfd0;
  --paper: #fff;
}

* { box-sizing: border-box; }
html { background: #eef1e9; }
body {
  margin: 0;
  color: var(--ink);
  font: 15px/1.65 Verdana, Arial, Helvetica, sans-serif;
}
a { color: var(--forest); text-underline-offset: .2em; }
a:hover { color: var(--orange); }
a:focus-visible, button:focus-visible {
  outline: 3px solid #a33809;
  outline-offset: 4px;
}
.site-shell img { max-width: 100%; }
h1, h2, h3 {
  color: var(--forest);
  font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
  line-height: 1.2;
}
.site-shell {
  width: min(100%, 1120px);
  margin: 28px auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px #254c2e12;
}
.site-banner { display: block; background: var(--forest-dark); }
.site-banner img { display: block; width: 100%; height: auto; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 12px 32px;
  background: var(--forest-dark);
  border-bottom: 4px solid var(--sage);
}
.site-nav a {
  padding: 6px 0;
  color: #e3efdf;
  font-size: .8rem;
  font-weight: bold;
  text-decoration: none;
}
.site-nav a:hover { color: #ffd5b3; text-decoration: underline; }
.site-nav a:focus-visible { outline-color: #ffd5b3; }
.site-main { padding: 24px 36px 40px; }
.breadcrumbs { color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.breadcrumbs a { font-weight: bold; text-decoration: none; }
.breadcrumbs ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.breadcrumbs li { display: inline; }
.breadcrumbs h2 { display: inline; margin: 0; font: inherit; color: inherit; }
.page-heading { margin: 24px 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: bold;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow span { margin: 0 .5em; color: var(--forest); }
h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.6rem); overflow-wrap: anywhere; }
.archive-notice { margin: 0; color: var(--muted); font-size: .78rem; }
.album-description { max-width: 80ch; margin: 0 0 32px; overflow-wrap: anywhere; }
.album-description p { margin: 0 0 1rem; }
.archive-albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}
.album-section {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  padding: 10px 16px;
  background: var(--sage);
  color: var(--forest-dark);
  border-left: 4px solid var(--forest);
  font-size: 1.05rem;
}
.album-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fcfdf9;
  box-shadow: 3px 3px 0 #e6ecdf;
}
.album-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}
.album-cover {
  display: grid;
  place-items: center;
  height: 128px;
  margin-bottom: 16px;
  background: #f0f3eb;
  border-bottom: 2px solid var(--sage);
}
.album-cover img {
  max-width: calc(100% - 16px);
  max-height: 108px;
  width: auto;
  height: auto;
  box-shadow: 0 2px 6px #254c2e20;
}
.album-placeholder { font: 2.5rem "Trebuchet MS", sans-serif; color: var(--forest); }
.album-card h2 { margin: 0 0 8px; font-size: 1.06rem; overflow-wrap: anywhere; }
.album-card p { margin: 0 0 16px; color: var(--muted); font-size: .78rem; }
.album-card-action { margin-top: auto; color: var(--forest); font-size: .72rem; font-weight: bold; }
.album-card:hover { border-color: var(--forest); }
.album-card-link:hover h2, .album-card-link:hover .album-card-action { color: #a33809; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px 18px;
}
.gallery:empty { display: none; }
.gallery figure { margin: 0; min-width: 0; scroll-margin-top: 24px; }
.gallery figure > a { display: block; padding: 5px; border: 1px solid var(--line); background: #fafbf7; }
.gallery figure > a:hover { border-color: var(--forest); }
.gallery figure:target { outline: 3px solid #a33809; outline-offset: 5px; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { margin: 8px 0 0; color: var(--forest-dark); font-size: .75rem; overflow-wrap: anywhere; }
.pswp-caption-content { display: none; }
.pswp__button--download-button { width: auto; padding: 0 12px; color: white; font: bold 14px/60px Verdana, sans-serif; }
.pswp__dynamic-caption { position: absolute; top: 0; left: 0; width: 100%; color: white; transition: opacity 120ms linear; }
.pswp__dynamic-caption a { color: #ccffcc; }
.pswp__dynamic-caption--faded { opacity: 0 !important; }
.pswp__dynamic-caption--aside { width: auto; max-width: 300px; margin-top: 70px; padding: 20px; }
.pswp__dynamic-caption--below { width: auto; max-width: 700px; padding-top: 15px; }
.pswp__dynamic-caption--on-hor-edge { padding-left: 15px; padding-right: 15px; }
.pswp__dynamic-caption--mobile { top: auto !important; bottom: 0; left: 0 !important; right: 0; padding: 12px 15px; background: #000a; }
.site-main video { max-width: 100%; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 10px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }

@media (max-width: 600px) {
  .site-shell { margin: 0; border: 0; box-shadow: none; }
  .site-nav { gap: 2px 18px; padding: 10px 18px; }
  .site-nav a { font-size: .72rem; }
  .site-main { padding: 20px 18px 32px; }
  .page-heading { margin-top: 20px; }
  .archive-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .album-card-link { padding: 12px; }
  .album-card h2 { font-size: .98rem; }
  .album-cover { height: 112px; }
  .album-cover img { max-height: 96px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}

@media (max-width: 350px) {
  .archive-albums, .gallery { grid-template-columns: minmax(0, 1fr); }
}
