:root {
  color-scheme: light;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  color: #171918;
  background: #f4f5f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f4f5f1; }

.hero {
  position: relative;
  display: flex;
  min-height: 78vh;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #28322d url("/images/hero.jpg") center 46% / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(10, 14, 12, 0.3);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__label,
.section-heading p {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 4.25rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__content > p:last-child { margin: 20px 0 0; font-size: 1.05rem; }

.gallery {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid #b8beb9;
  padding-bottom: 18px;
}

.section-heading p { margin: 0; color: #526157; }

h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 20px;
}

.gallery__item { margin: 0; }

.gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #d8ddd8;
}

.gallery__item--wide img { aspect-ratio: 3 / 2; }

.gallery__item figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 1px 0;
}

.gallery__item span { font-size: 1rem; font-weight: 650; }
.gallery__item small { color: #677069; font-size: 0.78rem; }

footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #d6dad6;
  padding: 24px max(20px, calc((100% - 1180px) / 2));
  color: #59615c;
  background: #fff;
  font-size: 0.82rem;
}

.filings {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.public-security {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-security img {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

footer a { color: inherit; text-decoration: none; }
footer a:hover { color: #111; text-decoration: underline; }

@media (max-width: 700px) {
  .hero { min-height: 72vh; }
  .hero__content { width: min(100% - 28px, 1180px); padding-bottom: 44px; }
  h1 { max-width: 9em; font-size: 2.65rem; }
  .gallery { width: min(100% - 28px, 1180px); padding: 52px 0 68px; }
  .section-heading { align-items: flex-start; flex-direction: column-reverse; gap: 10px; }
  .gallery__grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery__item img, .gallery__item--wide img { aspect-ratio: 4 / 3; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}
