:root {
  --ink: #17202b;
  --ink-soft: #243140;
  --paper: #f3eee6;
  --paper-deep: #e7e0d4;
  --card: #faf7f2;
  --text: #1e2630;
  --muted: #5c564c;
  --line: rgba(23, 32, 43, 0.12);
  --gold: #a67c45;
  --gold-bright: #e6d3b0;
  --header-h: 72px;
  --wrap: 1080px;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold);
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

::selection {
  background: #e7d3b0;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: var(--ink);
  color: #f6f1e8;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f6f1e8;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--gold-bright);
}

.mark {
  height: 36px;
  width: auto;
  flex: none;
  filter: brightness(0) invert(1);
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  color: #f6f1e8;
  font: inherit;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px 26px;
}

.nav a {
  color: rgba(246, 241, 232, 0.82);
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.hero,
.page-intro {
  background:
    radial-gradient(ellipse at 88% 40%, rgba(166, 124, 69, 0.22), transparent 46%),
    var(--ink);
  color: #f6f1e8;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero h1 {
  margin: 0;
  line-height: 0;
}

.hero-logo {
  display: block;
  height: clamp(92px, 16vw, 148px);
  width: auto;
  max-width: min(100%, 560px);
  filter: brightness(0) invert(1);
}

.hero-legal {
  margin-top: 22px;
  color: var(--gold-bright);
  font-size: 1.0625rem;
  letter-spacing: 0.14em;
}

.hero-lead {
  margin-top: 16px;
  color: rgba(246, 241, 232, 0.88);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.hero-rule {
  width: 48px;
  height: 2px;
  margin-top: 28px;
  background: var(--gold);
}

.hero-mark {
  position: absolute;
  right: 6%;
  top: 50%;
  width: min(220px, 26vw);
  height: auto;
  transform: translateY(-52%);
  filter: brightness(0) invert(1);
  opacity: 0.14;
  pointer-events: none;
}

.page-intro {
  padding: 36px 0 42px;
}

.crumb {
  margin-bottom: 12px;
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.crumb a {
  color: inherit;
  text-decoration: none;
}

.crumb a:hover {
  color: var(--gold-bright);
}

.page-intro h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.12em;
}

.page-intro p {
  margin-top: 10px;
  max-width: 36em;
  color: rgba(246, 241, 232, 0.78);
}

.block {
  padding: 72px 0;
}

.block-alt {
  background: var(--paper-deep);
}

.index-no {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
}

.block h2,
.prose h2,
.panel h2 {
  font-size: 1.75rem;
  letter-spacing: 0.08em;
}

.lead-text {
  margin-top: 16px;
  max-width: 40em;
  color: var(--text);
}

.more {
  display: inline-block;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.more:hover {
  color: #7d5a2e;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.95fr);
  gap: 48px;
  align-items: start;
}

.mini-facts,
.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.mini-facts div,
.facts div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mini-facts dd,
.facts dd {
  text-wrap: pretty;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(28rem, 1.2fr);
}

.mini-facts dt,
.facts dt {
  color: var(--muted);
}

.biz-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.card,
.project,
.address-card,
.note {
  background: var(--card);
  border: 1px solid var(--line);
}

.card {
  padding: 22px 22px 20px;
}

.card h3,
.project h3,
.address-card h3 {
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}

.card p,
.project p,
.address-card p {
  margin-top: 8px;
  color: var(--muted);
}

.project {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  padding: 28px;
}

.project-label {
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
}

.project h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.12em;
}

.news-list {
  margin-top: 8px;
}

.news-item {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--muted);
  letter-spacing: 0.04em;
}

.news-item h3 {
  font-size: 1.125rem;
}

.news-item h3 a {
  text-decoration: none;
}

.news-item p {
  margin-top: 6px;
  color: var(--muted);
}

.address-card {
  padding: 28px;
}

.address-card .place {
  margin-top: 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.content {
  padding: 64px 0 88px;
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.prose h2 + p,
.prose p + p,
.prose h2 {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 36px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  max-width: 40em;
}

.panel h2 + .facts,
.panel h2 + p {
  margin-top: 8px;
}

.note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
}

.note strong {
  letter-spacing: 0.06em;
}

.note p {
  margin-top: 6px;
  color: var(--muted);
}

.article + .article {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.article time {
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.article h2 {
  margin-top: 8px;
  font-size: 1.5rem;
}

.article p {
  margin-top: 12px;
  max-width: 40em;
}

.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 232, 0.82);
  padding: 40px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-name {
  color: #f6f1e8;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-top p + p {
  margin-top: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 18px;
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.beian,
.footer-nav a {
  color: rgba(246, 241, 232, 0.72);
  text-decoration: none;
  white-space: nowrap;
}

.beian:hover,
.footer-nav a:hover {
  color: var(--gold-bright);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .hero h1,
  .hero-lead {
    white-space: normal;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 14px;
    background: #121922;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-check:checked ~ .nav {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .split,
  .prose-layout,
  .contact-grid,
  .biz-grid,
  .card-grid,
  .project,
  .news-item,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-mark {
    width: 220px;
    right: -30px;
    opacity: 0.1;
  }

  .project {
    display: block;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 32px));
  }

  .mini-facts div,
  .facts div,
  .news-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .block {
    padding: 52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
