:root {
  color-scheme: dark;
  --background: #16141b;
  --foreground: #f6eee3;
  --muted: #c3b7bd;
  --gold: #efc692;
  --line: #473945;
  --width: 73rem;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 76% 16%, #2a202a 0%, transparent 38rem),
    var(--background);
  color: var(--foreground);
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.shell {
  width: min(var(--width), calc(100% - 6rem));
  margin-inline: auto;
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 5.25rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 650;
  letter-spacing: .09em;
  white-space: nowrap;
}

.mark {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  border-radius: 50%;
  box-shadow: inset .27rem -.09rem 0 var(--gold);
  transform: rotate(-27deg);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  color: var(--muted);
  font-size: .9rem;
}

nav a:hover, .text-link:hover { color: var(--foreground); }
nav span, .text-link span { color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 34rem;
  padding-block: 3rem;
}

.hero-copy { position: relative; z-index: 1; }

h1 {
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(3.15rem, 7.4vw, 7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.065em;
}

.hero-message {
  margin-top: 1.65rem;
  color: var(--gold);
  font-size: clamp(1.15rem, 2.35vw, 1.65rem);
  letter-spacing: .06em;
  line-height: 1.5;
}

.hero-description {
  max-width: 30rem;
  margin-top: .85rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.8rem;
  padding: .75rem 1rem;
  border: 1px solid #896957;
  border-radius: .25rem;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 650;
}

.primary-link:hover { background: var(--gold); color: var(--background); }

.moon-art {
  position: relative;
  width: min(100%, 30rem);
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
  background: radial-gradient(circle, #ad795720 0%, #dcae7b0c 42%, transparent 68%);
}

.orbit, .moon, .star, .orbit-axis { position: absolute; }

.orbit {
  border-radius: 50%;
  border: 1px solid #d5a27c35;
}

.orbit-outer { inset: 4%; }
.orbit-inner { inset: 11%; border-style: dashed; opacity: .58; }

.orbit-axis {
  inset: 48% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c98f6b52, transparent);
  transform: rotate(-25deg);
}

.moon {
  inset: 19%;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 24% 69%, #edb27c 5%, transparent 57%),
    linear-gradient(141deg, #f8dfb5 14%, #dda171 54%, #91605a 82%);
  box-shadow: -1rem .8rem 4rem #c6865c30;
}

.moon::after {
  position: absolute;
  inset: -12% -9% 11% 19%;
  border-radius: 50%;
  background: radial-gradient(circle at 15% 84%, #392831, #241c26 61%, #231b23);
  box-shadow: 0 0 1.5rem #4b2f2d90;
  content: "";
}

.star {
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 1rem var(--gold);
}

.star-top { top: 19%; right: 15%; }
.star-bottom { bottom: 20%; left: 15%; width: .2rem; height: .2rem; }

.business {
  padding-block: 3.1rem 3.7rem;
  border-top: 1px solid var(--line);
}

.business-intro {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); letter-spacing: .025em; }
.business-intro p, .products li > p:last-child { color: var(--muted); line-height: 1.85; }

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.products li { padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 1.7rem; }
.products li:first-child { padding-left: 0; }
.products li + li { border-left: 1px solid var(--line); }
.product-name { color: var(--gold); font-size: .9rem; font-weight: 650; }
.products h3 { margin-top: .55rem; font-size: 1.1rem; }
.products li > p:last-child { margin-top: .45rem; font-size: .9rem; }

.text-link {
  display: inline-flex;
  gap: .5rem;
  margin-top: 1.4rem;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 650;
}

.site-footer {
  min-height: 5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.footer-domain { letter-spacing: .06em; }

@media (max-width: 47rem) {
  .shell { width: calc(100% - 3rem); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-block: 3.4rem 2rem; }
  .moon-art { width: min(75%, 21rem); justify-self: center; }
  .business-intro, .products { grid-template-columns: minmax(0, 1fr); }
  .products li { padding-inline: 0; }
  .products li + li { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 25rem) {
  .shell { width: calc(100% - 2rem); }
  .site-header { min-height: 4.5rem; }
  .site-header .wordmark { font-size: .92rem; }
  nav { gap: .75rem; font-size: .82rem; }
}
