@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700&family=Rubik:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #172623;
  --teal: #5cc6b0;
  --sand: #d4c4a8;
  --clay: #c67b5c;
  --paper: #f7f0e5;
  --card: #fdfaf3;
  --line: rgba(23, 38, 35, 0.16);
  --soft: 0 22px 46px -30px rgba(23, 38, 35, 0.55);
  --fs: 'Nunito Sans', 'Rubik', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --fh: 'Rubik', 'Nunito Sans', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--fs);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, rgba(212, 196, 168, 0.16) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 12% 4%, rgba(198, 123, 92, 0.16), transparent 46%),
    radial-gradient(circle at 92% 22%, rgba(92, 198, 176, 0.14), transparent 52%);
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--fh);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

a { color: inherit; }

img { max-width: 100%; }

/* 顶栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(23, 38, 35, 0.97);
  border-bottom: 1px solid rgba(212, 196, 168, 0.26);
  box-shadow: 0 14px 30px -26px rgba(0, 0, 0, 0.9);
}

.brand-corner {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(92, 198, 176, 0.55);
  background: #10201c;
  text-decoration: none;
}

.brand-corner img,
.foot-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mark-letter {
  font-family: var(--fh);
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}

.navbar {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.navbar p {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 12px 10px;
  font-size: 16px;
  color: var(--sand);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease-out, border-color 0.2s ease-out, background-color 0.2s ease-out;
}

.nav-link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--clay);
  transform: rotate(45deg);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
  background: rgba(92, 198, 176, 0.14);
  border-bottom-color: var(--teal);
}

.contact {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 16px;
  color: #10201c;
  text-decoration: none;
  background: var(--teal);
  border-bottom: 3px solid #3f9b8a;
}

.contact:hover,
.contact:focus-visible { background: #7ad6c3; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 70vh;
  overflow: hidden;
  background: linear-gradient(150deg, #213c36, #172623 55%, #3a2c24);
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.1);
  will-change: transform;
}

.hero-plate {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at 76% 24%, rgba(92, 198, 176, 0.5), transparent 54%),
    radial-gradient(circle at 18% 74%, rgba(198, 123, 92, 0.55), transparent 58%),
    linear-gradient(140deg, #22403a, #172623 58%, #3a2c24);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgba(23, 38, 35, 0.9) 6%, rgba(23, 38, 35, 0.6) 46%, rgba(198, 123, 92, 0.32) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  padding: 96px 20px 64px;
  text-align: left;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 6.2vw, 3.6rem);
  color: #faf5ec;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.hero-lede {
  margin: 0;
  max-width: 62ch;
  font-size: 17px;
  color: rgba(247, 240, 229, 0.88);
  border-left: 3px solid var(--clay);
  padding-left: 14px;
}

.hero-slant {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 30px;
  z-index: 2;
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* 主体 */
.shell { display: block; }

.page-body {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

.rail {
  position: sticky;
  top: 78px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 4px 0 12px 16px;
  border-left: 3px solid var(--teal);
}

.kicker {
  display: block;
  font-family: var(--fh);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--clay);
}

.rail-title {
  margin: 6px 0 14px;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
}

.rail-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 10px;
  font-size: 16px;
  text-decoration: none;
  color: #2c3b36;
  border-left: 2px solid transparent;
  background: rgba(212, 196, 168, 0.2);
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

.rail-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--clay);
}

.rail-list a:hover,
.rail-list a:focus-visible {
  background: rgba(92, 198, 176, 0.28);
  border-left-color: var(--ink);
  color: var(--ink);
}

/* 正文 */
.prose {
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 17px;
}

.prose > article {
  margin: 0 0 26px;
  padding: 30px 26px;
  background: var(--card);
  border-top: 3px solid var(--sand);
  box-shadow: var(--soft);
  scroll-margin-top: 92px;
}

.prose > article:first-child { border-top-color: var(--teal); }

.prose h2 {
  margin: 0 0 0.6em;
  font-size: clamp(1.32rem, 2.6vw, 1.6rem);
  color: var(--ink);
}

.prose h3 {
  margin: 1.4em 0 0.5em;
  font-size: 1.16rem;
  color: #24352f;
}

.prose h4 {
  margin: 1.2em 0 0.4em;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.prose p { margin: 0 0 1em; }

.prose a {
  color: #2c8271;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--clay); }

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
}

.prose li { margin: 0 0 0.4em; }

.prose li::marker { color: var(--clay); }

.prose strong { color: #16332c; }

.prose blockquote {
  margin: 1.3em 0;
  padding: 0.3em 0 0.3em 18px;
  border-left: 4px solid var(--clay);
  color: #3a4b45;
  font-style: normal;
}

.prose hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 1.8em 0;
}

.prose figure { margin: 1.4em 0; }

.prose img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.prose figcaption {
  margin-top: 8px;
  font-size: 16px;
  color: #5a6a64;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 16px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th { background: rgba(212, 196, 168, 0.4); }

/* 页脚 */
.site-foot {
  margin-top: 24px;
  padding: 52px 20px 22px;
  color: #e9e1d2;
  background:
    radial-gradient(circle at 88% 6%, rgba(92, 198, 176, 0.18), transparent 48%),
    linear-gradient(180deg, #1c302b, #111e1b);
  border-top: 4px solid var(--clay);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 28px 26px;
  background: linear-gradient(120deg, rgba(92, 198, 176, 0.2), rgba(198, 123, 92, 0.2));
  border-left: 6px solid var(--teal);
}

.kicker-light { color: var(--sand); }

.foot-cta h2 {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 3.8vw, 2.2rem);
  color: #fbf7ef;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #10201c;
  text-decoration: none;
  background: var(--teal);
  border-bottom: 3px solid #3f9b8a;
  transition: background-color 0.2s ease-out;
}

.btn:hover,
.btn:focus-visible { background: #7ad6c3; }

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(212, 196, 168, 0.26);
}

.foot-id { display: grid; gap: 12px; justify-items: start; }

.foot-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(92, 198, 176, 0.5);
  background: #10201c;
  text-decoration: none;
}

.foot-id address {
  font-style: normal;
  font-family: var(--fh);
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--sand);
}

.foot-nav,
.bar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  align-content: start;
}

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

.foot-nav a,
.bar-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 6px;
  font-size: 16px;
  color: #ded5c5;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 196, 168, 0.16);
}

.foot-nav a:hover,
.foot-nav a:focus-visible,
.bar-nav a:hover,
.bar-nav a:focus-visible { color: var(--teal); }

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
}

.copy {
  margin: 0;
  font-size: 16px;
  color: #a9b6ac;
}

.bar-nav { grid-auto-flow: column; gap: 14px; }

.bar-nav a { border-bottom-color: transparent; }

/* 动效 */
@media (prefers-reduced-motion: no-preference) {
  .nav-link {
    animation: rise 0.5s ease-out both;
  }
  .nav-link:nth-child(2) { animation-delay: 0.03s; }
  .nav-link:nth-child(3) { animation-delay: 0.06s; }
  .nav-link:nth-child(4) { animation-delay: 0.09s; }
  .nav-link:nth-child(5) { animation-delay: 0.12s; }
  .nav-link:nth-child(6) { animation-delay: 0.15s; }
  .nav-link:nth-child(7) { animation-delay: 0.18s; }
  .prose > article {
    animation: fade 0.55s ease-out both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { transform: none; }
}

/* 断点 */
@media (max-width: 900px) {
  .page-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 34px 16px 56px;
  }

  .rail {
    position: static;
    max-height: none;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 3px solid var(--sand);
  }

  .rail-list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .rail-list a {
    min-height: 44px;
    padding: 11px 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .rail-list a:hover,
  .rail-list a:focus-visible { border-left: 0; border-bottom-color: var(--ink); }

  .prose > article { padding: 24px 18px; }

  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .foot-cta { padding: 22px 18px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }

  .topbar { gap: 6px; padding: 6px 10px; }

  .brand-corner { width: 40px; height: 40px; }

  .nav-link { font-size: 16px; padding: 12px 8px; }

  .contact { padding: 12px 10px; }

  .hero-copy { padding: 84px 16px 52px; }

  .hero-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }

  .foot-nav { grid-template-columns: minmax(0, 1fr); }

  .foot-bar { flex-direction: column; align-items: flex-start; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

button[aria-expanded]{min-width:44px;min-height:44px}
