:root {
  color-scheme: light;
  --blue: #315e87;
  --deep: #203449;
  --ink: #293642;
  --muted: #596b78;
  --line: #dbe3e8;
  --pale: #edf3f7;
}
* { box-sizing: border-box; }
html { background: #edf0f2; }
body { margin: 0; color: var(--ink); font: 15px/1.65 "Lucida Grande", "Lucida Sans", Arial, sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #173b5b; }
a:focus-visible, button:focus-visible { outline: 3px solid #987223; outline-offset: 4px; }
.site-shell img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; }
.site-shell { width: min(100%, 1160px); margin: 32px auto; background: white; border: 1px solid var(--line); box-shadow: 0 16px 48px #20344910; }
.brand-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 40px; }
.site-brand { display: flex; gap: 20px; align-items: center; text-decoration: none; color: var(--deep); }
.site-brand img { display: block; flex: 0 0 auto; width: 107px; height: 48px; }
.site-brand strong { display: block; font-size: 1.75rem; letter-spacing: -.04em; line-height: 1.15; }
.brand-subtitle { display: block; margin-top: 6px; color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
.archive-label { color: var(--muted); border: 1px solid var(--line); border-radius: 20px; padding: 5px 14px; font-size: .72rem; white-space: nowrap; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 12px 40px; background: var(--deep); border-bottom: 3px solid #83a6c5; }
.site-nav a { padding: 5px 0; color: #f1f5f9; font-size: .8rem; font-weight: bold; text-decoration: none; }
.site-nav a:hover { color: #d6e8f7; text-decoration: underline; }
.site-nav a:focus-visible { outline-color: #f1d394; }
.site-main { padding: 26px 40px 42px; }
.breadcrumbs { color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs h2 { display: inline; margin: 0; font: inherit; color: inherit; }
.page-heading { margin: 30px 0; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .67rem; font-weight: bold; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { margin: 0 .5em; color: #768ca0; }
h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.035em; overflow-wrap: anywhere; color: var(--deep); }
.page-intro { max-width: 64ch; margin: 0 0 16px; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.archive-notice { margin: 0; color: var(--muted); font-size: .75rem; }
.album-description { max-width: 80ch; margin-bottom: 30px; overflow-wrap: anywhere; }
.empty-album { padding: 24px; color: var(--muted); border: 1px solid var(--line); background: var(--pale); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; color: var(--deep); font-size: 1.2rem; font-weight: 600; }
.section-heading > span { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.archive-albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.album-card { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: white; box-shadow: 0 4px 12px #20344908; }
.album-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.album-cover { display: grid; place-items: center; height: 190px; padding: 18px; background: var(--pale); border-bottom: 1px solid var(--line); }
.album-cover img { width: auto; height: auto; max-width: 100%; max-height: 154px; box-shadow: 0 2px 10px #20344918; }
.album-placeholder { color: var(--blue); font-size: 2.5rem; }
.album-card-copy { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.album-meta { color: var(--muted); font-size: .68rem; letter-spacing: .04em; }
.album-card h2 { margin: 7px 0 20px; color: var(--deep); font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }
.album-card-action { margin-top: auto; color: var(--blue); font-size: .73rem; font-weight: bold; }
.album-card:hover { border-color: #83a6c5; box-shadow: 0 5px 16px #20344912; }
.album-card-link:hover h2 { color: var(--blue); }
.photo-collection { margin-top: 30px; }
.gallery, .tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 18px; }
.gallery figure { margin: 0; min-width: 0; scroll-margin-top: 24px; }
.gallery figure > a { display: block; padding: 5px; border: 1px solid var(--line); border-radius: 3px; background: #f8fafb; }
.gallery figure > a:hover { border-color: var(--blue); }
.gallery figure:target { outline: 3px solid #987223; outline-offset: 5px; }
.gallery img, .tag-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption, .tag-card span { display: block; margin-top: 8px; color: var(--muted); font-size: .74rem; overflow-wrap: anywhere; }
.tag-card { text-decoration: none; }
.pswp-caption-content { display: none; }
.pswp__button--download-button { width: auto; padding: 0 12px; color: white; font: bold 14px/60px Arial, sans-serif; }
.pswp__dynamic-caption { position: absolute; top: 0; left: 0; width: 100%; color: white; transition: opacity 120ms linear; }
.pswp__dynamic-caption a { color: #cde5fa; }
.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; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 10px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }
@media (max-width: 760px) {
  .site-shell { margin: 0; border: 0; box-shadow: none; }
  .brand-row { padding: 24px; }
  .archive-label { display: none; }
  .site-main { padding: 24px; }
  .site-nav { padding: 12px 24px; gap: 4px 20px; }
  .archive-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 480px) {
  .brand-row { padding: 22px 18px; }
  .site-brand { gap: 12px; }
  .site-brand img { width: 80px; height: auto; }
  .site-brand strong { font-size: 1.5rem; }
  .brand-subtitle { font-size: .61rem; }
  .site-nav { padding: 10px 18px; gap: 2px 18px; }
  .site-nav a { font-size: .72rem; }
  .site-main { padding: 22px 18px 32px; }
  .page-heading { margin-top: 24px; }
  .archive-albums { gap: 14px; }
  .album-cover { height: 124px; padding: 10px; }
  .album-cover img { max-height: 104px; }
  .album-card-copy { padding: 14px 12px; }
  .album-card h2 { font-size: 1rem; margin-bottom: 15px; }
  .gallery, .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}
@media (max-width: 350px) {
  .site-brand strong { font-size: 1.3rem; }
  .brand-subtitle { letter-spacing: 0; }
  .archive-albums { grid-template-columns: minmax(0, 1fr); }
}
