.page-space {
  padding-bottom: 75px;
  min-height: 65vh;
}
.album-section {
  margin-top: 25px;
}
.album-section + .album-section {
  margin-top: 65px;
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 26px;
}
.album-card {
  text-decoration: none;
  min-width: 0;
}
.album-cover {
  aspect-ratio: 4/3;
  background: var(--soft);
  overflow: hidden;
}
.album-cover picture,
.album-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.album-card-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 10px;
  color: var(--muted);
}
.album-card-meta .eyebrow {
  margin-bottom: 8px;
}
.album-card h2 {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.album-card h2 > span {
  font-size: 16px;
  color: var(--accent);
}
.album-card p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.album-heading {
  padding: 35px 0;
}
.album-description {
  max-width: 680px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.page-space > .back-link {
  display: inline-block;
  margin-top: 30px;
}
.photo-page {
  padding: 22px 0 60px;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 22px;
}
.photo-figure {
  background: var(--soft);
  min-height: 100px;
  display: flex;
  justify-content: center;
}
.photo-figure picture {
  display: block;
  max-width: 100%;
}
.detail-image {
  width: auto;
  height: auto;
  max-height: 78svh;
  object-fit: contain;
  margin-inline: auto;
}
.photo-pagination {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.photo-pagination a {
  text-decoration: none;
}
.photo-information {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  padding: 45px 0 20px;
}
.photo-information h1 {
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: 0.025em;
}
.photo-description {
  font-size: 14px;
  color: var(--muted);
  margin-top: 18px;
}
.photo-facts dl {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 10px 20px;
  font-size: 12px;
  margin: 0;
}
.photo-facts dt {
  color: var(--muted);
}
.photo-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.map-link {
  font-size: 10px;
  display: block;
  color: var(--accent);
  margin-top: 6px;
}
.album-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.album-tags a {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  text-decoration: none;
}
.share-area {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.share-area [role='status'] {
  font-size: 11px;
  color: var(--muted);
}
.reading {
  max-width: 780px;
  margin-inline: auto;
  padding: 55px 0 90px;
  min-height: 65vh;
}
.reading .eyebrow {
  margin-bottom: 15px;
}
.reading h1 {
  font-size: 32px;
  margin-bottom: 30px;
}
.reading h2 {
  font-size: 18px;
  margin: 34px 0 14px;
}
.reading p {
  font-size: 14px;
  margin-top: 18px;
  line-height: 2.2;
  color: var(--muted);
}
.reading .lead {
  font-size: 20px;
  color: var(--ink);
}
.reading .button {
  margin-top: 25px;
}
.related-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 13px;
  text-decoration: none;
}
.related-link span {
  font-size: 11px;
  color: var(--muted);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 30px;
}
.video-card {
  scroll-margin-top: 110px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.video-section + .video-section {
  margin-top: 60px;
}
.video-grid-shorts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  align-items: start;
}
.video-card h2,
.video-card h3 {
  font-size: 18px;
  margin-top: 16px;
}
.video-card p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.video-card .album-tags {
  margin-top: 14px;
}
.external-video {
  display: block;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  background: var(--soft);
  text-decoration: none;
}
.external-video summary {
  position: relative;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  cursor: pointer;
  list-style: none;
  padding: 0;
  text-align: center;
  font-size: 13px;
}
.external-video summary::-webkit-details-marker {
  display: none;
}
.external-video summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.video-thumbnail,
.video-thumbnail-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumbnail-fallback {
  padding: 18px;
  color: var(--muted);
  font-size: 11px;
  background: linear-gradient(145deg, var(--soft), var(--line));
}
.video-thumbnail[hidden] {
  display: none;
}
.video-position {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000b;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.external-video[open] summary {
  background: var(--line);
}
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 3px;
  border-radius: 50%;
  background: #000b;
  color: #fff;
  font-size: 20px;
}
.video-consent {
  position: relative;
  width: 100%;
  padding: 40px 10px 12px;
  background: linear-gradient(transparent, #000d);
  color: #fff;
  line-height: 1.5;
}
.video-consent small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}
.video-close {
  display: none;
}
.external-video[open] {
  aspect-ratio: auto;
}
.external-video[open] summary {
  height: auto;
  min-height: 48px;
  padding: 10px 16px;
  justify-content: center;
}
.external-video[open] .video-play-icon,
.external-video[open] .video-consent,
.external-video[open] .video-thumbnail,
.external-video[open] .video-thumbnail-fallback,
.external-video[open] .video-position {
  display: none;
}
.external-video[open] .video-close {
  display: inline;
}
.video-player {
  position: relative;
  aspect-ratio: 16/9;
  min-height: 200px;
  background: #000;
}
.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-external {
  display: inline-block;
  margin-top: 12px;
}
.video-card-short .external-video {
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 9/16;
}
.video-card-short .external-video[open] {
  aspect-ratio: auto;
}
.video-card-short .video-player {
  aspect-ratio: 9/16;
}
.video-card-short .external-video:not([open]) summary {
  min-height: 0;
}
.video-info summary {
  cursor: pointer;
  list-style: none;
}
.video-info summary::-webkit-details-marker {
  display: none;
}
.video-card-short h3,
.video-card-short h2 {
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.3em;
}
.video-info[open] h3 {
  display: block;
  -webkit-line-clamp: unset;
}
.video-info-label {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.video-info summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.video-card-short .video-external {
  margin-top: 8px;
  font-size: 11px;
}
.video-card-short .album-tags:empty {
  display: none;
}
.story-list {
  max-width: 900px;
}
.story-card {
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}
.story-card a {
  text-decoration: none;
}
.story-card .eyebrow {
  margin-bottom: 8px;
}
.story-card h2 {
  font-size: 21px;
}
.story-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 900px) {
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .photo-information {
    gap: 35px;
  }
  .reading {
    max-width: 680px;
  }
  .photo-facts dl {
    grid-template-columns: 70px 1fr;
    gap: 8px 10px;
  }
  .video-grid {
    gap: 30px 20px;
  }
  .video-grid-shorts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .album-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .album-heading {
    padding-top: 25px;
  }
  .album-heading h1 {
    font-size: 25px;
  }
  .photo-page {
    padding-top: 18px;
  }
  .photo-information {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 30px;
  }
  .photo-pagination {
    font-size: 10px;
  }
  .detail-image {
    max-height: 70svh;
  }
  .reading {
    padding: 36px 0 60px;
  }
  .reading h1 {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .reading .lead {
    font-size: 18px;
  }
  .reading p {
    font-size: 13px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .video-grid-shorts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .video-card-short:has(.external-video[open]) {
    grid-column: 1 / -1;
  }
  .video-card-short .video-play-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .video-card-short .video-consent {
    font-size: 12px;
  }
  .video-card-short .video-consent small {
    font-size: 10px;
  }
  .related-section {
    margin-top: 45px;
  }
  .page-space {
    padding-bottom: 50px;
  }
}
.photo-figure {
  position: relative;
}
.photo-figure > .image-error {
  position: absolute;
}

.site-ad {
  width: 100%;
  max-width: 1100px;
  margin: 88px auto 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  clear: both;
}
.site-ad-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: center;
}
.site-ad .adsbygoogle {
  display: block;
  width: 100%;
}
.site-ad + .video-section,
.site-ad + .related-section {
  margin-top: 88px;
}
.ad-preview-box {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 110px;
  padding: 20px;
  border: 1px dashed var(--line);
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}
.ad-preview-box strong {
  font-size: 13px;
  font-weight: 500;
}
/* Match www/TOOLS: let responsive reflow settle, and never refresh an ad. */
.site-ad[data-ad-unfilled-ready='true'],
.site-ad[data-ad-blocked='true'] {
  display: none;
}
@media (max-width: 600px) {
  .site-ad {
    margin-top: 72px;
  }
  .site-ad + .video-section,
  .site-ad + .related-section {
    margin-top: 72px;
  }
}



.native-pagination {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 30px;
}
.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-control select {
  min-height: 44px;
  max-width: 65vw;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
}
:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --surface: #fff;
  --ink: #252822;
  --muted: #62665e;
  --line: #dedfd7;
  --accent: #50623d;
  --soft: #ebece5;
  --header: rgba(248, 247, 244, 0.96);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #171a17;
  --surface: #20241f;
  --ink: #eeeee7;
  --muted: #a7afa1;
  --line: #343b32;
  --accent: #b2c395;
  --soft: #2a3027;
  --header: rgba(23, 26, 23, 0.96);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.45;
}
h1 {
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: 0.06em;
}
h2 {
  font-size: 22px;
}
p {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1440px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 100;
  padding: 12px;
  background: var(--surface);
}
.skip-link:focus {
  top: 16px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.preview-note {
  padding: 8px 20px;
  background: var(--soft);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  gap: 36px;
  transition: height 0.2s ease;
}
.is-compact .header-inner {
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex: 1;
}
.brand svg,
.brand img {
  width: 35px;
  height: 35px;
  color: var(--accent);
}
.brand img {
  flex-shrink: 0;
  object-fit: contain;
}
.brand > span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.brand small {
  display: block;
  margin-top: 7px;
  font-family: system-ui, sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.primary-nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.primary-nav a {
  text-decoration: none;
  position: relative;
  padding-block: 8px;
  color: var(--muted);
}
.primary-nav a[aria-current] {
  color: var(--ink);
}
.primary-nav a[aria-current]:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon-button {
  width: 40px;
  height: 40px;
  background: none;
  font-size: 25px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.moon {
  display: none;
}
[data-theme='dark'] .moon {
  display: inline;
}
[data-theme='dark'] .sun {
  display: none;
}
.mobile-menu {
  position: relative;
}
.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  width: 36px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: 55px;
  width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
  box-shadow: 0 12px 30px #0001;
}
.mobile-menu a {
  display: block;
  font-size: 13px;
  padding: 10px;
  text-decoration: none;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0 32px;
}
.compact-heading {
  padding: 30px 0 26px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 10px;
}
.heading-note {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.gallery-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.category-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.category-list button {
  padding: 7px 17px;
  background: none;
  border-radius: 3px;
  font-size: 12px;
  color: var(--muted);
}
.category-list button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
.filter-panel {
  min-width: 86px;
  text-align: right;
  font-size: 12px;
}
.filter-panel > summary {
  padding: 7px 0;
  cursor: pointer;
  list-style: none;
}
.filter-panel > summary::-webkit-details-marker {
  display: none;
}
.filter-panel > summary span {
  margin-left: 10px;
}
.filter-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 18px;
}
.filter-fields label {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
}
.filter-fields select {
  display: block;
  width: 135px;
  padding: 7px 25px 7px 8px;
  margin-top: 5px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
}
.text-button {
  padding: 8px 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  align-self: flex-end;
}
.collection-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  padding: 14px 0;
}
.collection-meta > span {
  letter-spacing: 0.04em;
}
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}
.photo-card {
  position: relative;
  display: block;
  flex-grow: var(--ratio);
  flex-basis: calc(var(--ratio) * 280px);
  aspect-ratio: var(--ratio);
  overflow: hidden;
  background: var(--soft);
  text-decoration: none;
}
.photo-card picture,
.photo-card img {
  width: 100%;
  height: 100%;
}
.photo-card img {
  object-fit: contain;
  animation: image-in 0.35s ease;
}
.photo-grid.is-justified {
  display: block;
}
.photo-grid::after {
  content: '';
  flex-grow: 9999;
}
.photo-grid.is-justified::after {
  display: none;
}
.is-justified .photo-card {
  position: absolute;
}
.photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 35px 16px 14px;
  background: linear-gradient(transparent, #0009);
  color: white;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.photo-caption small {
  font-size: 10px;
  margin-top: 4px;
  color: #eee;
}
.photo-card:hover .photo-caption,
.photo-card:focus-visible .photo-caption {
  opacity: 1;
  transform: none;
}
.image-error {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.image-failed img {
  opacity: 0;
}
.load-more {
  padding: 36px 0 60px;
  text-align: center;
}
.load-more p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 13px 26px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  text-decoration: none;
  font-size: 12px;
  min-height: 44px;
}
.button:hover {
  background: var(--soft);
}
.button-small {
  padding: 10px 17px;
  gap: 17px;
}
.empty-state {
  padding: 90px 20px 110px;
  text-align: center;
  min-height: 48vh;
}
.empty-mark {
  display: block;
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 200;
}
.empty-state h2 {
  font-size: 20px;
  letter-spacing: 0.04em;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}
.empty-state .text-link {
  display: inline-block;
  margin-top: 24px;
}
.text-link,
.back-link {
  font-size: 12px;
  text-decoration: none;
}
.muted {
  color: var(--muted);
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.06em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.related-section {
  margin-top: 70px;
}
.manual-ad {
  text-align: center;
  padding: 30px 0;
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 25px;
}
.footer-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  font-family: Georgia, serif;
  font-size: 23px;
  text-decoration: none;
}
.footer-intro p {
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0 32px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav a {
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer-bottom a {
  text-decoration: none;
}
@keyframes image-in {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 1700px) {
  .photo-card {
    flex-basis: calc(var(--ratio) * 280px);
  }
}
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 48px);
  }
  .header-inner {
    height: 86px;
    gap: 20px;
  }
  .brand > span {
    font-size: 23px;
  }
  .primary-nav {
    gap: 22px;
  }
  .heading-note {
    font-size: 11px;
  }
  .gallery-toolbar {
    flex-wrap: wrap;
  }
  .filter-panel {
    text-align: left;
    flex: 1;
  }
  .filter-fields {
    justify-content: flex-start;
  }
  .filter-panel summary {
    text-align: right;
  }
}
@media (max-width: 600px) {
  .shell {
    width: calc(100% - 28px);
  }
  .header-inner {
    height: 104px;
    flex-wrap: wrap;
    align-content: center;
    gap: 9px 14px;
    padding-block: 12px;
  }
  .is-compact .header-inner {
    height: 88px;
  }
  .brand {
    flex: 1;
  }
  .brand > span {
    font-size: 22px;
  }
  .brand small {
    font-size: 8px;
    margin-top: 5px;
  }
  .brand svg,
  .brand img {
    width: 28px;
    height: 28px;
  }
  .header-actions {
    order: 2;
    gap: 5px;
  }
  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 40px;
    font-size: 12px;
  }
  .primary-nav a {
    padding: 2px 0 5px;
  }
  .page-heading {
    padding-top: 30px;
  }
  .compact-heading {
    padding: 24px 0;
  }
  .heading-note {
    display: none;
  }
  h1 {
    font-size: 27px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .gallery-toolbar {
    gap: 12px;
  }
  .category-list {
    gap: 3px;
  }
  .category-list button {
    padding: 8px 13px;
  }
  .filter-panel {
    flex: none;
    min-width: 100%;
  }
  .filter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .filter-fields select {
    width: 100%;
  }
  .filter-fields button {
    grid-column: 1/-1;
    justify-self: start;
  }
  .photo-grid {
    gap: 6px;
  }
  .photo-card {
    flex-basis: calc(var(--ratio) * 170px);
  }
  .load-more {
    padding-bottom: 45px;
  }
  .empty-state {
    padding: 70px 10px;
    min-height: 45vh;
  }
  .footer-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .site-footer nav {
    gap: 14px 18px;
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 9px;
  }
  .footer-brand {
    font-size: 21px;
  }
}
@media (hover: none) {
  .photo-card:active .photo-caption {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
