:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #172625;
  background: #eff5f4;
  line-height: 1.5;
}
body { margin: 0; }
header, main { max-width: 76rem; margin: auto; padding: 0 clamp(1rem, 4vw, 3rem); }
header { padding-top: clamp(1.6rem, 5vw, 3.4rem); padding-bottom: 1.6rem; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.75rem, 4vw, 3rem); letter-spacing: -.025em; line-height: 1.2; }
h2 { font-size: 1.15rem; margin-bottom: .9rem; }
.meta { margin-top: .65rem; color: #44605d; }
.group { color: #24605c; font-weight: 600; margin-bottom: .5rem; }
.top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.6rem; }
a { color: #125950; }
button { font: inherit; cursor: pointer; padding: .45rem .8rem; color: white; background: #185e54; border: none; border-radius: .4rem; }
:focus-visible { outline: 3px solid #15746a; outline-offset: 3px; }
section { border-top: 1px solid #c8d8d5; padding: 1.25rem 0 1.6rem; }
.album-grid, .photo-grid { display: grid; gap: clamp(.65rem, 2vw, 1.2rem); align-items: start; }
.album-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); }
.photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 2rem; }
.card, figure { margin: 0; border: 1px solid #d7e3e1; border-radius: .8rem; overflow: hidden; background: white; }
.card { display: block; text-decoration: none; font-size: .9375rem; font-weight: 600; }
.card:hover { border-color: #62948e; }
.card span { display: block; padding: .55rem .65rem .65rem; }
img { display: block; width: 100%; height: auto; background: #dfeae8; }
.photo { display: block; }
.photo:focus-visible { outline-offset: -4px; }
figcaption { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .65rem .8rem; font-size: .875rem; }
@media (max-width: 48rem) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 25rem) { .photo-grid { grid-template-columns: 1fr; } }
