body[data-route="photos"] {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 18% -18%, rgba(20, 83, 45, 0.14), transparent 54%),
    radial-gradient(circle at 88% 5%, rgba(21, 94, 55, 0.09), transparent 46%),
    #070b11;
}

.photos-page {
  position: relative;
  padding-bottom: 56px;
}

.photos-page::before,
.photos-page::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.2;
}

.photos-page::before {
  width: 300px;
  height: 300px;
  background: rgba(21, 92, 51, 0.36);
  top: 16%;
  left: -80px;
}

.photos-page::after {
  width: 340px;
  height: 340px;
  background: rgba(17, 70, 44, 0.3);
  top: 52%;
  right: -120px;
}

.photos-page .breadcrumbs {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: linear-gradient(180deg, rgba(8, 13, 21, 0.92), rgba(7, 11, 18, 0.9));
}

.photos-page .breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.photos-page .breadcrumbs li {
  margin: 0;
  padding: 0;
  color: rgba(219, 234, 254, 0.93);
  font-size: 0.86rem;
  line-height: 1.2;
}

.photos-page .breadcrumbs li + li::before {
  content: '/';
  color: rgba(148, 163, 184, 0.85);
  margin-right: 8px;
}

.photos-page .breadcrumbs a {
  color: var(--nh48-accent, #22c55e);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.photos-page .breadcrumbs a:hover,
.photos-page .breadcrumbs a:focus-visible {
  border-bottom-color: var(--nh48-accent, #22c55e);
}

.photos-hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(107, 114, 128, 0.45);
  background: linear-gradient(130deg, rgba(7, 15, 24, 0.96), rgba(13, 23, 33, 0.94));
  margin-bottom: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.photos-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(21, 94, 55, 0.2), rgba(21, 94, 55, 0) 48%),
    linear-gradient(220deg, rgba(16, 66, 41, 0.16), rgba(16, 66, 41, 0) 44%),
    radial-gradient(circle at 18% 22%, rgba(22, 101, 52, 0.2), rgba(22, 101, 52, 0) 58%),
    #0b1421;
  opacity: 0.82;
  pointer-events: none;
}

.photos-hero-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.topo-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  mix-blend-mode: screen;
}

.topo-path--2 {
  stroke: rgba(255, 255, 255, 0.18);
}

.topo-path--3 {
  stroke: rgba(255, 255, 255, 0.14);
}

.photos-hero-copy,
.photos-stat-grid {
  position: relative;
  z-index: 1;
}

.photos-hero-copy {
  margin-bottom: 16px;
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--nh48-accent, #22c55e);
  font-weight: 700;
}

.photos-hero-copy h1 {
  margin: 10px 0 8px;
  font-family: 'Bebas Neue', 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #f4f6f8;
}

.photos-hero-copy p:last-child {
  margin: 0;
  max-width: 72ch;
  color: rgba(220, 233, 246, 0.88);
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
}

.photos-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photos-stat-chip {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.92), rgba(7, 13, 21, 0.92));
}

.photos-stat-value {
  margin: 0;
  font-family: 'Bebas Neue', 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4.2vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #f8fafc;
}

.photos-stat-label {
  margin: 2px 0 0;
  color: rgba(186, 203, 223, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.photos-utility-rail {
  position: sticky;
  top: 80px;
  z-index: 26;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.96), rgba(7, 11, 18, 0.96));
  backdrop-filter: blur(8px);
}

.photos-filter-row {
  align-items: end;
  flex-wrap: wrap;
  margin-top: 12px;
  gap: 12px;
}

.photos-filter-row .filter-group {
  min-width: 210px;
}

.photos-filter-row label,
.photos-filter-row .filter-label {
  font-weight: 700;
  font-size: 0.79rem;
  margin: 0 0 7px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(198, 214, 234, 0.9);
}

.photos-filter-row select {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(10, 18, 29, 0.92);
  color: #ecf3fd;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.photos-filter-row select:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.72);
  outline-offset: 2px;
}

.photos-mode-group {
  flex: 1 1 260px;
}

.range-mode-tabs {
  display: inline-flex;
  width: 100%;
  max-width: 360px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(10, 18, 29, 0.92);
  padding: 4px;
  gap: 4px;
}

.range-mode-tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(218, 232, 252, 0.88);
  font-size: 0.79rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  flex: 1 1 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.range-mode-tab:hover,
.range-mode-tab:focus-visible {
  color: #f8fbff;
  background: rgba(29, 78, 216, 0.2);
}

.range-mode-tab.is-active {
  color: #eafff2;
  background: rgba(34, 197, 94, 0.24);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.45);
}

.range-mode-panel {
  margin-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding-top: 14px;
  display: grid;
  gap: 12px;
}

.range-mode-panel[hidden] {
  display: none;
}

.jump-row {
  display: grid;
  gap: 8px;
}

.jump-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  color: rgba(186, 203, 223, 0.86);
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jump-link {
  --range-color: var(--nh48-accent, #22c55e);
  --range-color-soft: rgba(74, 222, 128, 0.18);
  --range-color-border: rgba(74, 222, 128, 0.58);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #dbe9f8;
  background: rgba(10, 18, 29, 0.92);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.jump-link:hover,
.jump-link:focus-visible {
  border-color: var(--range-color-border);
  background: var(--range-color-soft);
  transform: translateY(-1px);
}

.jump-link.active {
  border-color: var(--range-color-border);
  background: var(--range-color-soft);
  color: #ebfff1;
}

.jump-link__count {
  color: rgba(144, 196, 255, 0.9);
  font-size: 0.72rem;
}

.subrange-jump-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 8px;
}

.subrange-jump-card {
  --range-color: var(--nh48-accent, #22c55e);
  --range-color-soft: rgba(74, 222, 128, 0.18);
  --range-color-border: rgba(74, 222, 128, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 12px;
  background: rgba(10, 18, 29, 0.88);
  text-decoration: none;
  color: #dbe9f8;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
  min-height: 58px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.subrange-jump-card:hover,
.subrange-jump-card:focus-visible {
  border-color: var(--range-color-border);
  background: var(--range-color-soft);
}

.subrange-jump-card.is-filter-active {
  border-color: var(--range-color-border);
  background: var(--range-color-soft);
}

.subrange-jump-card__label {
  font-size: 0.8rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subrange-jump-card__meta {
  font-size: 0.72rem;
  color: rgba(186, 203, 223, 0.88);
}

.filter-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.filter-chip-grid--subrange {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.filter-chip {
  --range-color: var(--nh48-accent, #22c55e);
  --range-color-soft: rgba(74, 222, 128, 0.18);
  --range-color-border: rgba(74, 222, 128, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 12px;
  background: rgba(10, 18, 29, 0.88);
  color: #e3effe;
  text-align: left;
  cursor: pointer;
  min-height: 54px;
  padding: 8px 10px;
  display: grid;
  gap: 3px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--range-color-border);
  background: var(--range-color-soft);
  transform: translateY(-1px);
}

.filter-chip.is-active {
  border-color: var(--range-color-border);
  background: var(--range-color-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.filter-chip__label {
  font-size: 0.8rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-chip__meta {
  font-size: 0.72rem;
  color: rgba(176, 197, 222, 0.92);
}

.photos-view-status {
  margin: 0 0 14px;
  min-height: 20px;
  color: rgba(186, 203, 223, 0.88);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.photos-container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.range-section {
  --range-color: var(--nh48-accent, #22c55e);
  --range-color-soft: rgba(74, 222, 128, 0.2);
  --range-color-border: rgba(74, 222, 128, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 20, 0.95), rgba(5, 9, 15, 0.95));
  scroll-margin-top: 170px;
}

.range-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--range-color-border);
}

.range-heading__title-wrap {
  display: grid;
  gap: 6px;
}

.range-heading .kicker {
  color: var(--range-color);
}

.range-heading h2 {
  margin: 0;
  color: var(--range-color);
  font-family: 'Bebas Neue', 'Space Grotesk', sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 0.95;
}

.range-heading__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.range-meta-pill {
  margin: 0;
  border: 1px solid var(--range-color-border);
  border-radius: 999px;
  padding: 4px 9px;
  color: rgba(201, 217, 234, 0.95);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subrange-stack {
  display: grid;
  gap: 12px;
}

.subrange-section {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(10, 17, 27, 0.95), rgba(7, 12, 19, 0.95));
  scroll-margin-top: 170px;
}

.subrange-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--range-color-border);
}

.subrange-heading__text {
  display: grid;
  gap: 2px;
}

.subrange-label {
  margin: 0;
  color: var(--range-color);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.subrange-full-name {
  margin: 0;
  color: rgba(180, 200, 225, 0.82);
  font-size: 0.76rem;
}

.subrange-meta {
  margin: 0;
  color: rgba(188, 206, 228, 0.86);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.peak-section {
  --range-color: var(--nh48-accent, #22c55e);
  --range-color-soft: rgba(74, 222, 128, 0.2);
  --range-color-border: rgba(74, 222, 128, 0.62);
  margin: 0 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(10, 17, 27, 0.95), rgba(7, 12, 19, 0.95));
  scroll-margin-top: 170px;
}

.peak-section:last-child {
  margin-bottom: 0;
}

.peak-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.peak-heading {
  margin: 0;
  font-size: 1.03rem;
  color: rgba(236, 247, 255, 0.96);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.peak-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.peak-meta__pill {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(203, 218, 238, 0.95);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.peak-link {
  color: var(--range-color);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--range-color-border);
  border-radius: 999px;
  padding: 4px 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.peak-link:hover,
.peak-link:focus-visible {
  background: var(--range-color-soft);
  transform: translateY(-1px);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.photo-figure {
  margin: 0;
  grid-column: span 3;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  overflow: hidden;
  background: #0b1623;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.photo-grid.layout-1 .photo-figure {
  grid-column: span 12;
}

.photo-grid.layout-2 .photo-figure {
  grid-column: span 6;
}

.photo-grid.layout-3-4 .photo-figure {
  grid-column: span 4;
}

.photo-grid.layout-3-4 .photo-figure.is-feature,
.photo-grid.layout-5-6 .photo-figure.is-feature,
.photo-grid.layout-7plus .photo-figure.is-feature {
  grid-column: span 8;
}

.photo-grid.layout-5-6 .photo-figure {
  grid-column: span 4;
}

.photo-grid.layout-5-6 .photo-figure.is-wide {
  grid-column: span 6;
}

.photo-grid.layout-7plus .photo-figure {
  grid-column: span 3;
}

.photo-grid.layout-7plus .photo-figure.is-wide {
  grid-column: span 4;
}

.photo-tile {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.photo-tile:focus-visible {
  outline: 2px solid var(--nh48-accent, #22c55e);
  outline-offset: -2px;
}

.photo-tile img {
  width: 100%;
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-grid.layout-1 .photo-tile img {
  aspect-ratio: 18 / 7;
}

.photo-grid.layout-2 .photo-tile img {
  aspect-ratio: 16 / 11;
}

.photo-grid.layout-3-4 .photo-tile img {
  aspect-ratio: 4 / 3;
}

.photo-figure.is-feature .photo-tile img {
  aspect-ratio: 16 / 9;
}

.photo-figure.is-wide .photo-tile img {
  aspect-ratio: 16 / 10;
}

.photo-figure.is-tall .photo-tile img {
  aspect-ratio: 3 / 4;
}

.photo-figure:hover .photo-tile img,
.photo-figure:focus-within .photo-tile img {
  transform: scale(1.035);
}

.photo-figure__caption {
  margin: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(7, 12, 20, 0), rgba(7, 12, 20, 0.92));
  color: rgba(226, 238, 251, 0.92);
  font-size: 0.74rem;
  line-height: 1.35;
  min-height: 40px;
}

.reveal-target {
  opacity: 1;
  transform: none;
}

.photos-reveal-enabled .reveal-target {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.photos-reveal-enabled .reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 18px;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.9);
  backdrop-filter: blur(4px);
}

.photo-lightbox__content {
  position: relative;
  width: min(1200px, 96vw);
  max-height: 92vh;
  background: linear-gradient(180deg, rgba(10, 17, 27, 0.97), rgba(7, 11, 18, 0.97));
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.photo-lightbox__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(12, 21, 33, 0.9);
  color: #e5eef9;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(12, 21, 33, 0.9);
  color: #edf4fd;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.photo-lightbox__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.photo-lightbox__nav--prev {
  left: 12px;
}

.photo-lightbox__nav--next {
  right: 12px;
}

.photo-lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.photo-lightbox__figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.photo-lightbox__figure figcaption {
  margin: 0;
  color: rgba(226, 238, 251, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}

.photo-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  padding-top: 10px;
}

.photo-lightbox__meta-text,
.photo-lightbox__counter {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(203, 218, 238, 0.88);
}

.photo-lightbox__peak-link {
  color: var(--nh48-accent, #22c55e);
  text-decoration: none;
  border: 1px solid rgba(74, 222, 128, 0.5);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.photo-lightbox__peak-link:hover,
.photo-lightbox__peak-link:focus-visible {
  background: rgba(20, 41, 37, 0.9);
}

.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .photo-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .photo-figure {
    grid-column: span 4;
  }

  .photo-grid.layout-7plus .photo-figure {
    grid-column: span 4;
  }

  .photo-grid.layout-7plus .photo-figure.is-feature,
  .photo-grid.layout-7plus .photo-figure.is-wide,
  .photo-grid.layout-5-6 .photo-figure.is-feature,
  .photo-grid.layout-5-6 .photo-figure.is-wide,
  .photo-grid.layout-3-4 .photo-figure.is-feature {
    grid-column: span 8;
  }
}

@media (max-width: 860px) {
  .photos-stat-grid {
    grid-template-columns: 1fr;
  }

  .photos-utility-rail {
    top: 70px;
  }

  .photos-filter-row {
    align-items: stretch;
  }

  .range-mode-tabs {
    max-width: none;
  }

  .jump-links {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .jump-link {
    white-space: nowrap;
  }

  .subrange-jump-grid,
  .filter-chip-grid,
  .filter-chip-grid--subrange {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .photo-figure,
  .photo-grid.layout-3-4 .photo-figure,
  .photo-grid.layout-5-6 .photo-figure,
  .photo-grid.layout-7plus .photo-figure {
    grid-column: span 3;
  }

  .photo-grid.layout-1 .photo-figure,
  .photo-grid.layout-2 .photo-figure,
  .photo-grid.layout-3-4 .photo-figure.is-feature,
  .photo-grid.layout-5-6 .photo-figure.is-feature,
  .photo-grid.layout-5-6 .photo-figure.is-wide,
  .photo-grid.layout-7plus .photo-figure.is-feature,
  .photo-grid.layout-7plus .photo-figure.is-wide {
    grid-column: span 6;
  }

  .photo-lightbox__nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .photos-page {
    padding-bottom: 32px;
  }

  .photos-page .breadcrumbs {
    padding: 8px 10px;
  }

  .photos-hero-panel,
  .photos-utility-rail,
  .range-section,
  .subrange-section,
  .peak-section {
    border-radius: 12px;
  }

  .photos-hero-copy h1 {
    font-size: clamp(2rem, 14vw, 3rem);
  }

  .subrange-jump-grid,
  .filter-chip-grid,
  .filter-chip-grid--subrange {
    grid-template-columns: 1fr;
  }

  .subrange-jump-card,
  .filter-chip {
    min-height: 52px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .photo-figure,
  .photo-grid.layout-1 .photo-figure,
  .photo-grid.layout-2 .photo-figure,
  .photo-grid.layout-3-4 .photo-figure,
  .photo-grid.layout-5-6 .photo-figure,
  .photo-grid.layout-7plus .photo-figure,
  .photo-grid.layout-3-4 .photo-figure.is-feature,
  .photo-grid.layout-5-6 .photo-figure.is-feature,
  .photo-grid.layout-5-6 .photo-figure.is-wide,
  .photo-grid.layout-7plus .photo-figure.is-feature,
  .photo-grid.layout-7plus .photo-figure.is-wide {
    grid-column: span 2;
  }

  .photo-lightbox {
    padding: 8px;
  }

  .photo-lightbox__content {
    width: 100%;
    padding: 10px;
  }

  .photo-lightbox__figure img {
    max-height: 62vh;
  }

  .photo-lightbox__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-target,
  .photos-reveal-enabled .reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .jump-link,
  .photo-tile img,
  .peak-link,
  .subrange-jump-card,
  .filter-chip {
    transition: none;
  }

  .topo-path {
    stroke-opacity: 0.14;
  }
}
