:root {
  color-scheme: dark;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #faf9f1;
  background: #1c201a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
}
main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.hero {
  position: relative;
  flex: 1 0 auto;
  min-height: min(76svh, 780px);
  overflow: hidden;
  isolation: isolate;
  background: #26291e;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-image {
  background: url("hero.webp") center 43% / cover no-repeat;
}
.hero-shade {
  background: linear-gradient(90deg, rgba(15, 18, 14, .46) 0%, rgba(15, 18, 14, .12) 42%, transparent 69%);
}
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - 96px, 1500px);
  margin: 0 auto;
  padding-top: 26px;
}
.site-name { font-size: 27px; font-weight: 900; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 44px; font-size: 16px; font-weight: 700; }
.site-header nav a, .contact-menu summary { display: block; padding: 13px 0; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a:focus-visible, .contact-menu summary:hover, .contact-menu summary:focus-visible, .contact-menu[open] summary { color: #ffd148; }
.contact-menu { position: relative; }
.contact-menu summary { list-style: none; cursor: pointer; }
.contact-menu summary::-webkit-details-marker { display: none; }
.contact-menu summary:focus-visible { outline: 2px solid #ffd148; outline-offset: 3px; }
.contact-popover { position: absolute; top: 100%; right: 0; z-index: 3; width: 242px; padding-top: 9px; }
.contact-card {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 16px 14px 13px;
  border: 1px solid #dde2d8;
  border-radius: 6px;
  background: #f8f8f2;
  color: #27312a;
  box-shadow: 0 15px 36px rgba(0, 0, 0, .26);
}
.contact-kicker { color: #5b6a5c; font-size: 12px; }
.contact-card strong { font-size: 18px; line-height: 1.4; }
.contact-caption { color: #5b6a5c; font-size: 12px; }
.nav-home { position: relative; }
.nav-home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 3px; background: #ffd148; }
.hero-content {
  width: min(100% - 96px, 1500px);
  margin: 0 auto;
  padding-top: clamp(70px, 10vh, 140px);
  padding-bottom: 100px;
}
.sparkle { display: block; width: 1em; margin-left: 7px; color: #ffd148; font-size: 56px; line-height: 1; transform: rotate(-16deg); }
.hero h1 {
  margin: 16px 0 12px;
  max-width: 650px;
  font-size: clamp(74px, 8.5rem, 132px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 3px 15px rgba(0,0,0,.13);
}
.period { color: #ffce3a; }
.hero-content p { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: 0; }

.about { background: #20262a; border-top: 1px solid #68706a; }
.about-inner {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: start;
  gap: 36px;
  width: min(100% - 96px, 1500px);
  margin: 0 auto;
  padding: 40px 0 45px;
}
.about-label { display: inline-flex; align-items: center; gap: 14px; padding-top: 11px; font-size: 17px; font-weight: 700; white-space: nowrap; }
.about-label span { width: 23px; height: 3px; background: #ffce3a; }
.about h2 { margin: 0 0 13px; font-size: 33px; line-height: 1.35; letter-spacing: 0; }
.about p { max-width: 650px; margin: 0; color: #c0c8c5; font-size: 16px; line-height: 1.8; }
.qr-frame {
  position: relative;
  width: 190px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 3px;
  background: #fff;
}
.qr-frame img { position: absolute; top: -13%; left: -13%; display: block; width: 355%; max-width: none; height: auto; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 10px max(48px, calc((100vw - 1500px) / 2));
  background: #1d2327;
  border-top: 1px solid #3b4446;
  color: #aeb7b7;
  font-size: 13px;
}
.filing { display: grid; justify-items: center; gap: 4px; text-align: center; }
.filing a { color: #c6cfcc; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: #ffce3a; }

@media (min-width: 761px) and (max-width: 1199px) {
  .hero h1 { font-size: 90px; }
}

@media (max-width: 760px) {
  .hero { min-height: clamp(530px, 80svh, 660px); }
  .hero-image { background-size: auto 68%; background-position: 58% top; }
  .hero-shade { background: linear-gradient(0deg, #20241c 0%, rgba(32,36,28,.95) 22%, rgba(32,36,28,0) 60%); }
  .site-header { width: calc(100% - 36px); padding-top: 18px; gap: 12px; }
  .site-name { font-size: 20px; }
  .site-header nav { gap: 13px; font-size: 13px; }
  .site-header nav a, .contact-menu summary { padding: 10px 0; }
  .nav-home { display: none; }
  .hero-content { position: absolute; right: 18px; bottom: 60px; left: 18px; width: auto; padding: 0; }
  .sparkle { font-size: 30px; }
  .hero h1 { margin-top: 8px; font-size: 64px; line-height: 1.04; }
  .hero-content p { font-size: 16px; }
  .about-inner { display: block; width: calc(100% - 40px); padding: 30px 0 34px; }
  .about-label { padding: 0 0 21px; font-size: 14px; }
  .about h2 { font-size: 26px; }
  .about p { font-size: 15px; }
  .contact-popover { width: min(242px, calc(100vw - 36px)); }
  .site-footer { min-height: 72px; padding: 10px 20px; font-size: 12px; }
  .footer-name { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
