:root {
  color-scheme: light;
  --paper: #f1eee7;
  --ink: #17211d;
  --muted: #5f6963;
  --line: rgba(23, 33, 29, 0.2);
  --accent: #b55732;
  --panel: rgba(255, 255, 255, 0.46);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(23, 33, 29, 0.045) 74% 74.1%, transparent 74.1%),
    linear-gradient(0deg, transparent 0 74%, rgba(23, 33, 29, 0.045) 74% 74.1%, transparent 74.1%),
    var(--paper);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 28px clamp(24px, 5vw, 76px) 24px;
}

.site-shell::before,
.site-shell::after {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line);
  content: "";
  pointer-events: none;
}

.site-shell::before {
  top: 13%;
  right: -7%;
  width: min(42vw, 520px);
  aspect-ratio: 0.72;
  transform: rotate(8deg);
}

.site-shell::after {
  right: 10%;
  bottom: 13%;
  width: min(22vw, 270px);
  aspect-ratio: 1;
  border-color: rgba(181, 87, 50, 0.4);
  transform: rotate(45deg);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  background: currentColor;
  content: "";
}

.brand-mark::before {
  top: 7px;
  right: 4px;
  left: 4px;
  height: 1px;
  box-shadow: 0 7px 0 currentColor;
}

.brand-mark::after {
  top: 4px;
  bottom: 4px;
  left: 11px;
  width: 1px;
}

.district {
  color: var(--muted);
  white-space: nowrap;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  padding: clamp(70px, 10vh, 132px) 0;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 26px 0 34px;
  font-family: "Songti SC", STSong, "SimSun", serif;
  font-size: clamp(86px, 11.2vw, 164px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.introduction {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.75;
}

.location-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  min-height: 430px;
  padding: 38px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.card-index {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 12px;
}

.location-list {
  margin: 54px 0 0;
}

.location-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.location-item dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.location-item dd {
  margin: 0;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.7;
}

.card-line {
  position: absolute;
  right: -14%;
  bottom: -34%;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid rgba(181, 87, 50, 0.34);
  border-radius: 50%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-footer a {
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.site-footer a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  body {
    background:
      linear-gradient(90deg, transparent 0 86%, rgba(23, 33, 29, 0.045) 86% 86.2%, transparent 86.2%),
      var(--paper);
  }

  .site-shell {
    padding: 22px 20px 20px;
  }

  .site-shell::before {
    top: 17%;
    right: -32%;
    width: 82vw;
  }

  .site-shell::after {
    display: none;
  }

  .masthead {
    padding-bottom: 18px;
    letter-spacing: 0.1em;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
    padding: 64px 0 72px;
  }

  h1 {
    margin: 22px 0 28px;
    font-size: clamp(82px, 30vw, 126px);
  }

  .location-card {
    min-height: 390px;
    padding: 30px 24px;
  }

  .location-list {
    margin-top: 44px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .district {
    font-size: 11px;
  }

  .brand {
    gap: 8px;
  }

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

  .brand-mark::after {
    left: 9px;
  }

  h1 {
    font-size: clamp(76px, 28vw, 108px);
  }

  .location-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-index {
    position: absolute;
    top: 31px;
    right: 24px;
  }

  .location-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
