:root {
  --ink: #24312d;
  --muted: #66736e;
  --paper: #fffaf1;
  --paper-2: #f4efe4;
  --leaf: #6c8b74;
  --berry: #b35b63;
  --sky: #7da7b7;
  --sun: #f1c866;
  --line: rgba(36, 49, 45, 0.15);
  --shadow: 0 22px 70px rgba(49, 57, 45, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(241, 200, 102, 0.25), transparent 28rem),
    linear-gradient(135deg, #fffaf1 0%, #eff4ef 44%, #f7efe9 100%);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

button {
  font: inherit;
}

.hero {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
  background: #28342f;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  filter: saturate(0.94);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 27, 24, 0.28), rgba(18, 27, 24, 0.66)),
    linear-gradient(90deg, rgba(18, 27, 24, 0.72), rgba(18, 27, 24, 0.14) 62%);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(18px, 5vw, 64px);
  color: #fffaf1;
  background: linear-gradient(180deg, rgba(20, 28, 25, 0.55), transparent);
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
}

.nav__links {
  display: flex;
  gap: 18px;
  color: rgba(255, 250, 241, 0.9);
  font-size: 0.95rem;
}

.hero__content {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22vh 0 9vh;
  color: #fffaf1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sun);
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 8em;
  font-size: clamp(3.1rem, 9vw, 8rem);
}

.hero__copy {
  max-width: 36rem;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.8;
  color: rgba(255, 250, 241, 0.88);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__stats span {
  border: 1px solid rgba(255, 250, 241, 0.38);
  background: rgba(255, 250, 241, 0.13);
  backdrop-filter: blur(14px);
  padding: 11px 14px;
  border-radius: 999px;
}

.hero__stats strong {
  font-size: 1.25rem;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 6vw, 90px);
  padding: clamp(56px, 9vw, 112px) 0 44px;
  align-items: end;
}

.intro h2,
.timeline h2,
.gallery-section h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.intro > p,
.gallery-section__title p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.timeline {
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
}

.timeline__header,
.gallery-section__title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 12px;
}

.filter {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.filter:hover {
  transform: translateY(-1px);
}

.filter.is-active {
  background: var(--ink);
  color: #fffaf1;
}

.gallery-section {
  padding: 24px 0 80px;
}

.gallery {
  column-count: 4;
  column-gap: 14px;
}

.photo-card {
  width: 100%;
  display: inline-block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #efe4d8;
  box-shadow: 0 12px 34px rgba(36, 49, 45, 0.12);
  cursor: zoom-in;
  break-inside: avoid;
  position: relative;
}

.photo-card img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform 320ms ease, filter 320ms ease;
}

.photo-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.photo-card span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fffaf1;
  background: rgba(25, 33, 30, 0.58);
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 23, 21, 0.88);
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__figure {
  margin: 0;
  width: min(92vw, 1180px);
  max-height: 88vh;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox figcaption {
  color: #fffaf1;
  text-align: center;
  display: grid;
  gap: 4px;
}

.lightbox small {
  color: rgba(255, 250, 241, 0.68);
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  border: 1px solid rgba(255, 250, 241, 0.28);
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.12);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  border-radius: 8px;
  font-size: 3rem;
  line-height: 0.8;
}

.lightbox__nav--prev {
  left: 18px;
}

.lightbox__nav--next {
  right: 18px;
}

@media (max-width: 980px) {
  .gallery {
    column-count: 3;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 86vh;
  }

  .nav {
    padding: 16px 18px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(18, 27, 24, 0.24), rgba(18, 27, 24, 0.76)),
      linear-gradient(90deg, rgba(18, 27, 24, 0.58), rgba(18, 27, 24, 0.22));
  }

  .intro,
  .timeline__header,
  .gallery-section__title {
    grid-template-columns: 1fr;
    display: grid;
  }

  .gallery {
    column-count: 2;
    column-gap: 10px;
  }

  .photo-card {
    margin-bottom: 10px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox__nav {
    width: 42px;
    height: 54px;
    font-size: 2.5rem;
  }
}

@media (max-width: 430px) {
  .gallery {
    column-count: 1;
  }

  .hero__stats span {
    width: 100%;
  }
}
