:root {
  --bg: #f8f7f5;
  --surface: #ffffff;
  --text: #151515;
  --muted: #666666;
  --line: #ebe6df;
  --soft: #f5f1ec;
  --accent: #d82f2a;
  --accent-dark: #ab211d;
  --radius: 8px;
  --shadow: 0 12px 36px rgba(18, 18, 18, 0.06);
  --card-image-height: 210px;
  --card-image-height-mobile: 220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 15px 34px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 800;
}

.nav li {
  flex: 0 0 auto;
  list-style: none;
}

.nav a {
  position: relative;
  display: block;
  padding: 14px 0;
  white-space: nowrap;
}

.nav a.active::after,
.nav .current-menu-item > a::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

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

.hero {
  display: block;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin: 0;
  max-width: 600px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.12;
  font-weight: 900;
}

.hero-copy p {
  margin: 26px 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 52px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 30px rgba(216, 47, 42, 0.22);
}

.button.secondary {
  border: 1px solid #bfb8b1;
  background: white;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
  max-width: 560px;
}

.hero-points div {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 10px;
  align-items: center;
}

.hero-points span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 7px;
  font-weight: 900;
}

.hero-points strong {
  font-size: 15px;
}

.hero-points small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-collage {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.hero-collage img {
  flex: 0 0 min(760px, 72vw);
  height: clamp(260px, 32vw, 420px);
  object-fit: cover;
  border-radius: var(--radius);
  scroll-snap-align: start;
}

.hero-collage .top {
  object-position: 78% 50%;
}

.panel {
  margin-top: 26px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.section-head h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
}

.section-head h1::after,
.section-head h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 9px;
  background: var(--accent);
}

.section-head a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.feature-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 0 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.article-card,
.district-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.article-card {
  display: block;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.thumb,
.district-image,
.post-thumb {
  background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)), url("./assets/hero-nightlife.png");
  background-size: cover;
  background-position: center;
}

.thumb {
  height: var(--card-image-height);
}

.thumb-a { background-position: 44% 38%; }
.thumb-b { background-position: 78% 35%; }
.thumb-c { background-position: 36% 72%; }
.thumb-d { background-position: 82% 66%; }
.city-a { background-position: 48% 42%; }
.city-b { background-position: 70% 36%; }
.city-c { background-position: 64% 74%; }
.city-d { background-position: 80% 44%; }
.city-e { background-position: 32% 76%; }

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0 0 12px;
  min-height: 50px;
  font-size: 18px;
  line-height: 1.45;
}

.card-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-body footer {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.card-body footer span {
  color: var(--accent);
}

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

.district-image {
  height: var(--card-image-height);
}

.district-grid article {
  padding-bottom: 18px;
}

.district-grid h3 {
  margin: -42px 16px 30px;
  position: relative;
  color: white;
  font-size: 26px;
  font-weight: 900;
}

.district-grid p {
  min-height: 44px;
  margin: 0 16px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.district-grid a {
  margin-left: 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.post-list {
  display: grid;
  gap: 0;
}

.post-list a {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 110px 110px 70px;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.post-thumb {
  display: block;
  height: 112px;
  border-radius: var(--radius);
}

.post-list strong {
  font-size: 17px;
  line-height: 1.45;
}

.post-list em,
.post-list time,
.post-list small {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.contact-panel p {
  margin: -8px 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

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

.contact-grid a {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 18px 78px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.contact-grid b {
  font-size: 16px;
}

.contact-grid span {
  color: var(--muted);
  font-size: 13px;
}

.contact-grid i {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #999;
  font-style: normal;
  font-size: 24px;
}

.archive-panel {
  margin-top: 28px;
}

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

.archive-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.archive-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
}

.archive-card div {
  padding: 18px;
}

.archive-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.42;
}

.archive-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.archive-card footer {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.archive-card span {
  color: var(--accent);
}

.article-detail {
  margin-top: 28px;
  padding: 42px;
}

.article-meta {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.article-detail h1 {
  margin: 0;
  max-width: 900px;
  font-size: 44px;
  line-height: 1.22;
}

.article-summary {
  max-width: 820px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.article-detail img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-content {
  max-width: 860px;
  margin-top: 30px;
  font-size: 17px;
  line-height: 2;
}

.article-content p {
  margin: 0 0 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: 26px 34px;
  background: #141414;
  color: white;
}

.footer-slogan {
  margin: 0;
  text-align: center;
  color: #ddd;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-footer > span {
  color: #bbb;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    gap: 26px;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .header-cta {
    width: fit-content;
  }

  .hero {
    padding: 18px;
  }

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

  .district-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-list a {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .post-list em,
  .post-list time,
  .post-list small {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-slogan {
    text-align: left;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 24px, 1260px);
  }

  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 10px;
    white-space: nowrap;
  }

  .nav {
    gap: 22px;
    font-size: 13px;
  }

  .nav a {
    padding: 10px 0;
  }

  .header-cta {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding: 28px 14px;
    min-height: auto;
  }

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

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-points {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    margin-top: 28px;
  }

  .hero-collage img {
    flex-basis: 86vw;
    height: 240px;
  }

  .panel {
    padding: 18px 14px;
  }

  .archive-grid,
  .district-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .article-detail {
    padding: 22px 14px;
  }

  .article-detail h1 {
    font-size: 32px;
  }

  .post-list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post-thumb {
    height: var(--card-image-height-mobile);
  }

  .thumb,
  .district-image {
    height: var(--card-image-height-mobile);
  }

  .post-list em,
  .post-list time,
  .post-list small {
    grid-column: auto;
  }
}
