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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #1a1d21;
  background: #f8f6f1;
  line-height: 1.85;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.container,
.frame,
.wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.harbor {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 246, 241, 0.96);
  border-bottom: 1px solid rgba(26, 29, 33, 0.08);
  backdrop-filter: blur(10px);
}

.harbor-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.brandline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-seal {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f7f6f, #cfa86a);
  color: #fff;
  font-weight: 700;
}

.harbor-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.harbor-nav::-webkit-scrollbar {
  display: none;
}

.harbor-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 127, 111, 0.08);
}

.harbor-cta {
  margin-left: auto;
}

.cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: #2f7f6f;
  color: #fff;
  font-weight: 600;
}

.topframe {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 246, 241, 0.96);
  border-bottom: 1px solid rgba(26, 29, 33, 0.08);
  backdrop-filter: blur(10px);
}

.topframe-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.seal-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seal-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2f7f6f, #cfa86a);
  color: #fff;
  font-weight: 700;
}

.seal-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.seal-subtitle {
  font-size: 0.9rem;
  color: #6b6f76;
}

.skyline-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-start;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.skyline-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 127, 111, 0.08);
}

.skyline-nav::-webkit-scrollbar {
  display: none;
}

.cta-slot {
  margin-left: auto;
}

.cta-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: #2f7f6f;
  color: #fff;
  font-weight: 600;
}

.mast {
  padding: 80px 0 64px;
  background: radial-gradient(circle at top left, rgba(47, 127, 111, 0.15), transparent 60%);
}

.mast-grid,
.gate-grid,
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.mast-kicker,
.gate-tag {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: #2f7f6f;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
}

.mast-actions,
.gate-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.btn,
.btn-solid,
.btn-line {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn.solid,
.btn-solid {
  background: #2f7f6f;
  color: #fff;
}

.btn.line,
.btn-line {
  border-color: #2f7f6f;
  color: #2f7f6f;
}

.mast-metrics,
.gate-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  background: #ffffff;
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(47, 127, 111, 0.08);
}

.metric-num,
.stat-num {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.metric-label,
.stat-label {
  font-size: 0.85rem;
  color: #6b6f76;
}

.visual-caption,
.panel-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #6b6f76;
}

.section {
  padding: 64px 0;
}

.atlas {
  background: #f1ede6;
}

.section-head {
  margin-bottom: 24px;
}

.atlas-board,
.atlas-cards,
.room-grid,
.screen-grid,
.screen-wall,
.path-track,
.paths-line,
.community-grid,
.companion-cards,
.signal-grid,
.journey-line,
.catalog-grid,
.position-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.atlas-card,
.room-card,
.position-card,
.catalog-card,
.community-card,
.signal-grid article,
.journey-line article,
.paths-line article {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26, 29, 33, 0.06);
}

.screen,
.screen-zone {
  background: #fbf9f4;
}

.screen-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(26, 29, 33, 0.08);
}

.screen-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f3efe7;
}

.screen-thumb img {
  height: 100%;
  object-fit: cover;
}

.screen-tag,
.screen-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 127, 111, 0.9);
  color: #fff;
  font-size: 0.8rem;
}

.screen-info {
  padding: 16px;
}

.method-grid,
.desk-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: center;
}

.method-cards,
.signal-list,
.path-track,
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.method-cards article,
.signal-list article,
.community-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26, 29, 33, 0.06);
}

.desk-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26, 29, 33, 0.06);
  border-left: 4px solid #cfa86a;
}

.desk-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.contact-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(26, 29, 33, 0.06);
}

.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(26, 29, 33, 0.08);
  background: #f2eee6;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .topframe-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .mast-actions,
  .gate-actions {
    flex-direction: column;
  }
}
