:root {
  --ink: #101820;
  --muted: #67717e;
  --white: #ffffff;
  --blue: #4e7dff;
  --blue-soft: #7ea5ff;
  --aqua: #54b7b0;
  --gold: #d9a860;
  --coral: #d97f67;
  --line: rgba(255, 255, 255, 0.24);
  --glass: rgba(255, 255, 255, 0.15);
  --glass-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 22px 60px rgba(28, 38, 52, 0.2);
  --page-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #eef2f6;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ambient {
  position: fixed;
  inset: -12%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-photo {
  position: absolute;
  inset: 0;
  background-image: url("../我的2026国庆游玩照片/IMG20261002074017.jpg");
  background-position: center;
  background-size: cover;
  filter: blur(72px) saturate(1.35);
  opacity: 0.44;
  animation: ambient-breathe 22s ease-in-out infinite alternate;
}

.ambient-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(246, 249, 252, 0.9) 0%, rgba(239, 244, 248, 0.58) 44%, rgba(255, 255, 255, 0.28) 100%),
    linear-gradient(180deg, rgba(242, 247, 249, 0.78), rgba(255, 255, 255, 0.52));
}

.liquid-glass {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 20px 48px rgba(28, 38, 52, 0.18);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
}

.liquid-glass::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.12) 34%, transparent 60%);
  content: "";
  pointer-events: none;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), 1260px);
  min-height: 68px;
  padding: 9px 12px 9px 18px;
  border-radius: 8px;
  color: var(--white);
  transform: translateX(-50%);
  transition:
    color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.topbar.is-scrolled {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 250, 252, 0.52));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 16px 38px rgba(28, 38, 52, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  color: var(--blue-soft);
}

.topbar.is-scrolled .brand-mark {
  color: var(--blue);
  border-color: rgba(70, 100, 135, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 560;
  letter-spacing: 0;
}

.topbar.is-scrolled .brand-copy small {
  color: var(--muted);
}

.filter-tabs {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.topbar.is-scrolled .filter-tabs {
  border-color: rgba(70, 100, 135, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.filter-button {
  min-width: 62px;
  padding: 8px 13px;
  border: 0;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.filter-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.filter-button.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 18px rgba(22, 32, 43, 0.12);
}

.topbar.is-scrolled .filter-button {
  color: #687583;
}

.topbar.is-scrolled .filter-button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.topbar.is-scrolled .filter-button.is-active {
  color: #173a62;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 18px rgba(40, 59, 81, 0.12);
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.topbar-action {
  justify-self: end;
}

.topbar-action svg {
  width: 19px;
  height: 19px;
}

.topbar.is-scrolled .icon-button {
  color: var(--ink);
  border-color: rgba(70, 100, 135, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.topbar.is-scrolled .icon-button:hover {
  background: rgba(255, 255, 255, 0.96);
}

.hero {
  position: relative;
  display: grid;
  min-height: 90svh;
  overflow: hidden;
  align-items: end;
  background: #15202c;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.02);
}

.hero-veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 22, 0.26) 0%, rgba(8, 13, 19, 0) 34%, rgba(8, 13, 19, 0.74) 100%),
    linear-gradient(90deg, rgba(7, 12, 17, 0.28), rgba(7, 12, 17, 0) 52%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(238, 242, 246, 0.96));
  content: "";
  pointer-events: none;
}

.hero-content {
  display: flex;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 150px 42px 58px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.hero-copy {
  width: min(640px, 62%);
  padding: 28px 30px;
  border-radius: 8px;
  color: var(--white);
  overflow: hidden;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 650;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ad0ff;
  box-shadow: 0 0 0 5px rgba(138, 208, 255, 0.13);
}

.hero-copy h1 {
  margin: 0;
  font-size: 58px;
  font-weight: 720;
  line-height: 1.04;
}

.hero-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 480;
}

.hero-meta {
  display: flex;
  margin-top: 26px;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 540;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-item svg {
  width: 15px;
  height: 15px;
  color: #9cc8ff;
}

.meta-separator {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-width: 286px;
  padding: 16px 12px;
  border-radius: 8px;
  color: var(--white);
}

.stat {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 74px;
  padding: 4px 11px;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  font-size: 22px;
  font-weight: 680;
}

.stat span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 560;
}

.scroll-cue {
  position: absolute;
  right: 42px;
  bottom: 34px;
  display: block;
  width: 30px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scroll-cue-line {
  position: absolute;
  top: 8px;
  left: 13px;
  width: 2px;
  height: 9px;
  border-radius: 2px;
  background: var(--white);
  animation: scroll-line 1.9s ease-in-out infinite;
}

.collection {
  position: relative;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 66px 42px 110px;
}

.collection-heading {
  display: flex;
  margin-bottom: 34px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: #4d6f9b;
  font-size: 11px;
  font-weight: 700;
}

.collection-heading h2 {
  margin: 0;
  color: #17212c;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.collection-count {
  display: inline-flex;
  min-width: 108px;
  padding: 11px 15px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  color: #43515f;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.32));
  font-size: 11px;
  font-weight: 560;
}

.collection-count span:first-child {
  color: #173a62;
  font-size: 17px;
  font-weight: 720;
}

.day-groups {
  display: grid;
  gap: 46px;
}

.day-group {
  animation: reveal-group 700ms both;
}

.day-group[hidden] {
  display: none;
}

.day-header {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 15px;
  color: #25313d;
}

.day-header strong {
  font-size: 17px;
  font-weight: 680;
}

.day-header span {
  color: #74808c;
  font-size: 11px;
  font-weight: 540;
}

.day-header::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(93, 118, 149, 0.24), rgba(93, 118, 149, 0));
  content: "";
}

.masonry {
  column-gap: 16px;
  column-width: 258px;
}

.media-card {
  position: relative;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 34px rgba(28, 38, 52, 0.11);
  break-inside: avoid;
  transform: translateZ(0);
  transition:
    transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.media-card:hover {
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 54px rgba(28, 38, 52, 0.2);
  transform: translateY(-5px);
}

.media-card.is-hidden {
  display: none;
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  aspect-ratio: var(--ratio, 4 / 3);
  background: #d9e1e8;
  cursor: zoom-in;
  isolation: isolate;
}

.media-frame::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 13, 18, 0.58));
  content: "";
  pointer-events: none;
  opacity: 0.84;
  transition: opacity 220ms ease;
}

.media-card:hover .media-frame::after {
  opacity: 1;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.02) 20%, rgba(255, 255, 255, 0.35) 42%, rgba(255, 255, 255, 0.02) 64%),
    linear-gradient(145deg, #dce5ec, #f3f6f8);
  background-size: 220% 100%, 100% 100%;
  animation: shimmer 1.8s linear infinite;
}

.media-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 550ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.media-image.is-loaded {
  opacity: 1;
}

.media-card:hover .media-image {
  transform: scale(1.055);
}

.media-caption {
  position: absolute;
  z-index: 3;
  right: 13px;
  bottom: 12px;
  left: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.94);
  pointer-events: none;
}

.media-caption strong {
  font-size: 11px;
  font-weight: 620;
}

.media-caption time {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.media-open {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--white);
  background: rgba(20, 27, 35, 0.2);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background 200ms ease;
}

.media-card:hover .media-open,
.media-open:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.media-open:hover {
  background: rgba(20, 27, 35, 0.42);
}

.media-open svg {
  width: 17px;
  height: 17px;
}

.video-card .media-frame {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(150deg, rgba(49, 67, 88, 0.96), rgba(18, 28, 39, 0.96)),
    #16212d;
  cursor: pointer;
}

.video-poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 22%, rgba(89, 154, 191, 0.46), transparent 30%),
    linear-gradient(145deg, rgba(73, 98, 123, 0.52), rgba(15, 24, 33, 0.75));
}

.video-poster::before,
.video-poster::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.video-poster::before {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.12) 50%, transparent 82%);
}

.video-poster::after {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.video-poster .play-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: rgba(255, 255, 255, 0.96);
}

.video-poster .play-icon svg {
  width: 23px;
  height: 23px;
  margin-left: 3px;
  fill: currentColor;
  stroke: none;
}

.video-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 620;
}

.video-label svg {
  width: 12px;
  height: 12px;
  color: #86c5f0;
}

.footer {
  position: relative;
  padding: 24px 42px 58px;
}

.footer-inner {
  display: flex;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 22px 26px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 8px;
  color: #53616e;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.3));
}

.footer-inner > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-inner strong {
  color: #1d2833;
  font-size: 13px;
  font-weight: 680;
}

.footer-inner span,
.footer-inner p {
  margin: 0;
  font-size: 10px;
  font-weight: 540;
}

.footer-inner p {
  position: relative;
  z-index: 1;
  color: #7a8591;
  font-variant-numeric: tabular-nums;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 64px 82px 84px;
  place-items: center;
  background: rgba(8, 13, 19, 0.88);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 1540px;
  max-height: 100%;
  margin: 0;
  place-items: center;
  transform: translateY(12px) scale(0.985);
  transition: transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.lightbox.is-open .lightbox-stage {
  transform: translateY(0) scale(1);
}

.lightbox-stage img,
.lightbox-stage video {
  display: none;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 174px);
  border-radius: 8px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-stage.is-photo img {
  display: block;
}

.lightbox-stage.is-video video {
  display: block;
  width: min(1180px, 100%);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  min-width: 260px;
  padding: 10px 14px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  font-size: 11px;
  font-weight: 560;
  transform: translateX(-50%);
}

.lightbox-caption time {
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}

.lightbox-index {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.lightbox-button {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.lightbox-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.lightbox-button svg {
  width: 21px;
  height: 21px;
}

.lightbox-close {
  top: 24px;
  right: 26px;
}

.lightbox-prev {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.04);
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.scroll-progress span {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(180deg, #79a7ff, #54b7b0 54%, #e2b470);
  box-shadow: 0 0 14px rgba(90, 170, 210, 0.55);
  transform: scaleY(0);
  transform-origin: top;
}

@keyframes ambient-breathe {
  from {
    transform: scale(1.02) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.11) translate3d(1%, -1%, 0);
  }
}

@keyframes scroll-line {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes shimmer {
  from {
    background-position: 220% 0, 0 0;
  }
  to {
    background-position: -120% 0, 0 0;
  }
}

@keyframes reveal-group {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
    width: min(calc(100% - 24px), 720px);
  }

  .filter-tabs {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .brand-copy {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding: 130px 26px 48px;
  }

  .hero-copy {
    width: min(640px, 78%);
  }

  .hero-stats {
    min-width: 246px;
  }

  .collection {
    padding: 58px 26px 96px;
  }

  .masonry {
    column-gap: 14px;
    column-width: 224px;
  }
}

@media (max-width: 680px) {
  .topbar {
    top: 10px;
    min-height: 58px;
    padding: 7px 8px;
    border-radius: 7px;
  }

  .brand {
    gap: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .filter-tabs {
    gap: 1px;
    padding: 3px;
  }

  .filter-button {
    min-width: 52px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .topbar-action {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    padding: 118px 18px 42px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-copy {
    width: 100%;
    padding: 22px 20px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    margin-top: 9px;
    font-size: 14px;
  }

  .hero-meta {
    margin-top: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .meta-separator {
    display: none;
  }

  .hero-stats {
    width: 100%;
    min-width: 0;
    padding: 13px 5px;
  }

  .scroll-cue {
    display: none;
  }

  .collection {
    padding: 52px 16px 84px;
  }

  .collection-heading {
    margin-bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .collection-heading h2 {
    font-size: 28px;
  }

  .collection-count {
    min-width: 98px;
    padding: 9px 12px;
  }

  .day-groups {
    gap: 38px;
  }

  .masonry {
    column-gap: 10px;
    column-width: 155px;
  }

  .media-card {
    margin-bottom: 10px;
    border-radius: 6px;
  }

  .media-caption {
    right: 10px;
    bottom: 9px;
    left: 10px;
  }

  .media-caption strong {
    font-size: 10px;
  }

  .media-open {
    top: 9px;
    right: 9px;
    width: 34px;
    height: 34px;
    opacity: 1;
    transform: none;
  }

  .video-poster::after,
  .video-poster .play-icon {
    width: 62px;
    height: 62px;
  }

  .footer {
    padding: 18px 16px 46px;
  }

  .footer-inner {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .lightbox {
    padding: 58px 12px 76px;
  }

  .lightbox-stage img,
  .lightbox-stage video {
    max-height: calc(100vh - 156px);
  }

  .lightbox-close {
    top: 14px;
    right: 12px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-button {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
