:root {
  --ink: #090806;
  --charcoal: #15120e;
  --lacquer: #22170f;
  --gold: #d7ab53;
  --gold-bright: #f0c55a;
  --silver: #f4f2ec;
  --mist: #cfd4d0;
  --jade: #2d6b5b;
  --cinnabar: #8e3325;
  --paper: #f7f0e2;
  --line: rgba(215, 171, 83, 0.28);
  --glass: rgba(16, 13, 10, 0.72);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(215, 171, 83, 0.12), transparent 28rem),
    linear-gradient(135deg, var(--ink), #130d09 50%, #080706);
  color: var(--silver);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

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

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 7, 5, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(215, 171, 83, 0.24));
}

.brand-name {
  display: grid;
  gap: 2px;
}

.brand-name strong {
  font-size: 20px;
  font-weight: 700;
}

.brand-name span {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.nav-cta {
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid transparent;
  color: rgba(244, 242, 236, 0.82);
  line-height: 1;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-bright);
  border-color: var(--line);
  background: rgba(215, 171, 83, 0.08);
}

.nav-cta {
  border-color: rgba(215, 171, 83, 0.55);
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 10px 26px rgba(215, 171, 83, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px 0 70px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 5, 3, 0.92) 0%, rgba(6, 5, 3, 0.56) 46%, rgba(6, 5, 3, 0.2)),
    linear-gradient(0deg, rgba(6, 5, 3, 0.95), rgba(6, 5, 3, 0.2) 38%, transparent);
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transition: opacity 900ms ease, transform 6000ms ease;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.section-inner,
.hero-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: 56px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.96;
  font-weight: 800;
}

.hero-lede {
  width: min(680px, 100%);
  color: rgba(244, 242, 236, 0.84);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.btn.primary {
  border-color: transparent;
  color: #1a1208;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-panel {
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(7, 6, 5, 0.58);
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-size: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.metric b {
  display: block;
  color: var(--gold-bright);
  font-size: 30px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(244, 242, 236, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.slider-dot {
  width: 34px;
  height: 3px;
  border: 0;
  background: rgba(244, 242, 236, 0.32);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--gold-bright);
}

.page-hero {
  position: relative;
  min-height: 64vh;
  display: grid;
  align-items: end;
  padding: 132px 0 72px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero::before {
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0.6;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(6, 5, 3, 0.92), rgba(6, 5, 3, 0.4)),
    linear-gradient(0deg, var(--ink), transparent 55%);
}

.page-title {
  width: min(780px, 100%);
}

.page-title h1 {
  font-size: clamp(44px, 7vw, 88px);
}

.page-title p {
  color: rgba(244, 242, 236, 0.82);
  font-size: 20px;
  line-height: 1.8;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section.alt {
  background: rgba(247, 240, 226, 0.04);
}

.section.light {
  color: #211810;
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.section-head p {
  width: min(510px, 100%);
  margin-bottom: 0;
  color: rgba(244, 242, 236, 0.7);
  line-height: 1.8;
}

.light .section-head p {
  color: rgba(33, 24, 16, 0.7);
}

.three-grid,
.four-grid,
.two-grid {
  display: grid;
  gap: 18px;
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.feature-card,
.data-card,
.product-card,
.store-card,
.timeline-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.feature-card,
.data-card {
  padding: 24px;
}

.feature-card h3,
.data-card h3 {
  color: var(--gold-bright);
  font-size: 22px;
}

.feature-card p,
.data-card p,
.timeline-item p {
  color: rgba(244, 242, 236, 0.72);
  line-height: 1.8;
}

.light .feature-card,
.light .data-card,
.light .timeline-item {
  border-color: rgba(142, 51, 37, 0.2);
  background: rgba(255, 255, 255, 0.58);
}

.light .feature-card h3,
.light .data-card h3 {
  color: var(--cinnabar);
}

.light .feature-card p,
.light .data-card p,
.light .timeline-item p {
  color: rgba(33, 24, 16, 0.72);
}

.ecosystem {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.ring {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(215, 171, 83, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(45, 107, 91, 0.25), transparent 58%);
  background-size: 22px 22px, auto;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(215, 171, 83, 0.35);
  border-radius: 999px;
  animation: rotateSlow 20s linear infinite;
}

.ring-center {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #130d07;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 40px rgba(215, 171, 83, 0.25);
}

.ring button {
  position: absolute;
  width: 92px;
  min-height: 40px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(8, 7, 5, 0.78);
  cursor: pointer;
}

.ring button.active {
  color: var(--ink);
  background: var(--gold-bright);
}

.ring button:nth-of-type(1) { top: 7%; left: 50%; transform: translateX(-50%); }
.ring button:nth-of-type(2) { top: 34%; right: 4%; }
.ring button:nth-of-type(3) { bottom: 8%; right: 18%; }
.ring button:nth-of-type(4) { bottom: 8%; left: 18%; }
.ring button:nth-of-type(5) { top: 34%; left: 4%; }

.detail-panel {
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  min-height: 320px;
}

.detail-panel h3 {
  color: var(--gold-bright);
  font-size: 32px;
}

.detail-panel p {
  color: rgba(244, 242, 236, 0.76);
  font-size: 18px;
  line-height: 1.85;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.detail-list span {
  padding: 13px 14px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.image-band {
  min-height: 420px;
  background: center / cover no-repeat;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.video-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

.video-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--silver);
  background: center / cover no-repeat;
  cursor: pointer;
}

.video-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.play-label {
  position: relative;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(240, 197, 90, 0.75);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(6, 5, 3, 0.56);
}

.play-label::after {
  content: "";
  margin-left: 6px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid currentColor;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.timeline-item {
  padding: 26px;
  border-top: 0;
}

.timeline-item b {
  color: var(--gold-bright);
  font-size: 34px;
}

.craft-tabs,
.filter-bar,
.model-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-btn,
.filter-btn,
.model-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 16px;
  cursor: pointer;
}

.tab-btn.active,
.filter-btn.active,
.model-btn.active {
  color: var(--ink);
  background: var(--gold-bright);
}

.craft-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.craft-visual {
  min-height: 420px;
  border: 1px solid var(--line);
  background: center / cover no-repeat;
}

.craft-copy {
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.craft-copy h3 {
  color: var(--gold-bright);
  font-size: 36px;
}

.craft-copy p,
.rich-text p {
  color: rgba(244, 242, 236, 0.75);
  line-height: 1.9;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.product-hero-image {
  padding: 28px;
  border: 1px solid var(--line);
  background: radial-gradient(circle, rgba(215, 171, 83, 0.18), rgba(255, 255, 255, 0.03) 58%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 18px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 64%);
}

.product-card .body {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card h3 {
  margin-bottom: 8px;
  color: var(--gold-bright);
  font-size: 18px;
}

.product-card p {
  margin-bottom: 0;
  color: rgba(244, 242, 236, 0.68);
  line-height: 1.7;
  font-size: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery button {
  padding: 0;
  border: 1px solid rgba(215, 171, 83, 0.22);
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery button:hover img {
  transform: scale(1.04);
}

.store-model {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
}

.model-tabs {
  display: grid;
  align-content: start;
}

.model-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.model-panel h3 {
  color: var(--gold-bright);
  font-size: 34px;
}

.model-panel p {
  color: rgba(244, 242, 236, 0.75);
  line-height: 1.85;
}

.model-panel img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.hotspot-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hotspot-map img {
  width: 100%;
}

.hotspot {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-bright);
  border-radius: 999px;
  background: rgba(215, 171, 83, 0.34);
  box-shadow: 0 0 0 8px rgba(215, 171, 83, 0.14);
  cursor: pointer;
}

.hotspot span {
  position: absolute;
  left: 22px;
  top: -10px;
  white-space: nowrap;
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(8, 7, 5, 0.82);
  opacity: 0;
  transform: translateY(4px);
  transition: 180ms ease;
}

.hotspot:hover span {
  opacity: 1;
  transform: translateY(0);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
}

.calc-controls,
.calc-result,
.star-stage {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.calc-controls label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-bright);
}

.calc-controls select,
.calc-controls input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(0, 0, 0, 0.22);
  padding: 0 12px;
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result-cell {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.result-cell b {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.result-cell span {
  display: block;
  margin-top: 10px;
  color: rgba(244, 242, 236, 0.68);
  line-height: 1.5;
}

.star-stage input[type="range"] {
  width: 100%;
  accent-color: var(--gold-bright);
}

.star-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
}

.star-output b {
  color: var(--gold-bright);
  font-size: 34px;
}

.star-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.star-table div {
  padding: 14px;
  border: 1px solid rgba(215, 171, 83, 0.22);
  color: rgba(244, 242, 236, 0.76);
  background: rgba(255, 255, 255, 0.035);
}

.star-table div.active {
  color: #180f07;
  background: var(--gold-bright);
}

.notice {
  margin-top: 18px;
  color: rgba(244, 242, 236, 0.62);
  line-height: 1.75;
  font-size: 13px;
}

.cta-band {
  padding: 64px 0;
  color: #180f07;
  background: linear-gradient(135deg, var(--gold-bright), #c99b45);
}

.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 5vw, 56px);
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(24, 15, 7, 0.72);
}

.cta-band .btn {
  color: var(--silver);
  background: #130d07;
  border-color: #130d07;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #070604;
}

.footer-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(244, 242, 236, 0.62);
  line-height: 1.7;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}

.modal.open {
  display: grid;
}

.modal img {
  max-height: 86vh;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(8, 7, 5, 0.78);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(8, 7, 5, 0.95);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-content,
  .ecosystem,
  .craft-stage,
  .product-showcase,
  .store-model,
  .model-panel,
  .calculator,
  .two-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-band .section-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .three-grid,
  .four-grid,
  .product-grid,
  .gallery,
  .timeline,
  .star-table,
  .calc-result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-tabs {
    display: flex;
  }
}

@media (max-width: 620px) {
  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 116px;
  }

  .brand-name span {
    display: none;
  }

  .metric-grid,
  .three-grid,
  .four-grid,
  .product-grid,
  .gallery,
  .timeline,
  .star-table,
  .calc-result {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .ring button {
    width: 78px;
    font-size: 12px;
  }

  .gallery img,
  .model-panel img {
    height: 220px;
  }
}

/* Light Chinese theme refresh */
:root {
  --ink: #1f2522;
  --charcoal: #39423d;
  --lacquer: #9b3a2f;
  --gold: #b88433;
  --gold-bright: #d9a441;
  --silver: #f8faf8;
  --mist: #d9e2dd;
  --jade: #2f7564;
  --cinnabar: #a64234;
  --paper: #fbf6e9;
  --line: rgba(47, 117, 100, 0.22);
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 22px 58px rgba(73, 89, 80, 0.16);
}

body {
  background:
    linear-gradient(120deg, rgba(47, 117, 100, 0.08), transparent 32rem),
    linear-gradient(0deg, rgba(166, 66, 52, 0.05), transparent 24rem),
    var(--paper);
  color: var(--ink);
}

body::before {
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(47, 117, 100, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 117, 100, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

.site-header {
  border-bottom-color: rgba(47, 117, 100, 0.18);
  background: rgba(251, 246, 233, 0.84);
  box-shadow: 0 10px 34px rgba(54, 66, 58, 0.08);
}

.brand-mark img {
  filter: drop-shadow(0 8px 16px rgba(184, 132, 51, 0.18));
}

.brand-name strong {
  color: var(--ink);
}

.brand-name span,
.eyebrow,
.feature-card h3,
.data-card h3,
.detail-panel h3,
.craft-copy h3,
.model-panel h3,
.product-card h3 {
  color: var(--cinnabar);
}

.main-nav a,
.nav-cta,
.btn,
.tab-btn,
.filter-btn,
.model-btn {
  border-radius: 0;
}

.main-nav a {
  color: rgba(31, 37, 34, 0.76);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cinnabar);
  border-color: rgba(166, 66, 52, 0.24);
  background: rgba(166, 66, 52, 0.06);
}

.nav-cta,
.btn.primary,
.tab-btn.active,
.filter-btn.active,
.model-btn.active {
  color: #fffdf8;
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  box-shadow: 0 10px 28px rgba(166, 66, 52, 0.18);
}

.nav-toggle {
  color: var(--ink);
  border-color: rgba(47, 117, 100, 0.28);
  background: rgba(255, 255, 255, 0.36);
}

.hero {
  min-height: 92vh;
  background:
    linear-gradient(90deg, rgba(251, 246, 233, 0.98), rgba(251, 246, 233, 0.78) 48%, rgba(251, 246, 233, 0.38)),
    radial-gradient(circle at 78% 30%, rgba(217, 164, 65, 0.16), transparent 28rem);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(251, 246, 233, 0.96) 0%, rgba(251, 246, 233, 0.72) 42%, rgba(251, 246, 233, 0.3)),
    linear-gradient(0deg, var(--paper), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-slide {
  opacity: 0;
  filter: saturate(0.72) contrast(0.96);
  mix-blend-mode: multiply;
  transform: scale(1.08) translateX(0);
}

.hero-slide.active {
  opacity: 0.44;
  transform: scale(1.02) translateX(-10px);
}

.hero-ink {
  position: absolute;
  inset: 88px 0 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-ink span {
  position: absolute;
  display: block;
  width: 58vw;
  height: 2px;
  left: -8vw;
  background: linear-gradient(90deg, transparent, rgba(47, 117, 100, 0.34), rgba(166, 66, 52, 0.18), transparent);
  transform-origin: left center;
  animation: inkDrift 9s ease-in-out infinite;
}

.hero-ink span:nth-child(1) {
  top: 18%;
  --r: -8deg;
  transform: rotate(-8deg);
}

.hero-ink span:nth-child(2) {
  top: 42%;
  left: 42vw;
  width: 46vw;
  --r: 12deg;
  animation-delay: -3s;
  transform: rotate(12deg);
}

.hero-ink span:nth-child(3) {
  top: 68%;
  width: 72vw;
  --r: 4deg;
  animation-delay: -6s;
  transform: rotate(4deg);
}

.hero-seal {
  position: absolute;
  right: min(7vw, 92px);
  top: 132px;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(166, 66, 52, 0.62);
  color: var(--cinnabar);
  font-size: 38px;
  font-weight: 800;
  background: rgba(255, 253, 248, 0.58);
  animation: sealFloat 5.6s ease-in-out infinite;
}

h1 {
  color: var(--ink);
  text-shadow: 0 12px 30px rgba(255, 255, 255, 0.5);
}

.hero-lede,
.section-head p,
.feature-card p,
.data-card p,
.timeline-item p,
.detail-panel p,
.craft-copy p,
.rich-text p,
.model-panel p,
.product-card p,
.notice {
  color: rgba(31, 37, 34, 0.72);
}

.hero-panel,
.feature-card,
.data-card,
.product-card,
.store-card,
.timeline-item,
.detail-panel,
.craft-copy,
.calc-controls,
.calc-result,
.star-stage,
.model-panel {
  border-color: rgba(47, 117, 100, 0.22);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel strong,
.metric b,
.timeline-item b,
.result-cell b,
.star-output b,
.ring-center {
  color: var(--cinnabar);
}

.metric,
.result-cell,
.detail-list span,
.star-output,
.star-table div {
  border-color: rgba(47, 117, 100, 0.18);
  background: rgba(255, 255, 255, 0.56);
}

.metric span,
.result-cell span,
.footer-grid {
  color: rgba(31, 37, 34, 0.62);
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(226, 238, 230, 0.5), rgba(255, 253, 248, 0.42)),
    rgba(47, 117, 100, 0.045);
}

.section.light {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(232, 240, 235, 0.72)),
    #f6fbf7;
}

.btn,
.tab-btn,
.filter-btn,
.model-btn {
  color: var(--ink);
  border-color: rgba(47, 117, 100, 0.28);
  background: rgba(255, 253, 248, 0.68);
}

.btn:hover,
.line-card:hover {
  transform: translateY(-2px);
}

.ring {
  border-color: rgba(47, 117, 100, 0.22);
  background:
    radial-gradient(circle, rgba(47, 117, 100, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(217, 164, 65, 0.18), transparent 58%),
    rgba(255, 253, 248, 0.66);
}

.ring::before {
  border-color: rgba(166, 66, 52, 0.28);
}

.ring button {
  color: var(--ink);
  border-color: rgba(47, 117, 100, 0.22);
  background: rgba(255, 253, 248, 0.86);
}

.ring button.active {
  color: #fffdf8;
  background: var(--jade);
}

.image-band {
  opacity: 0.9;
}

.page-hero::before {
  opacity: 0.42;
  filter: saturate(0.82);
  mix-blend-mode: multiply;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(251, 246, 233, 0.97), rgba(251, 246, 233, 0.66)),
    linear-gradient(0deg, var(--paper), transparent 50%);
}

.page-title p {
  color: rgba(31, 37, 34, 0.74);
}

.video-stage,
.gallery button,
.hotspot-map,
.craft-visual,
.product-hero-image {
  border-color: rgba(47, 117, 100, 0.24);
  background: rgba(255, 253, 248, 0.62);
  box-shadow: var(--shadow);
}

.play-label {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.85);
  background: rgba(166, 66, 52, 0.74);
}

.calc-controls select,
.calc-controls input {
  color: var(--ink);
  border-color: rgba(47, 117, 100, 0.28);
  background: rgba(255, 253, 248, 0.84);
}

.star-stage input[type="range"] {
  accent-color: var(--cinnabar);
}

.star-table div {
  color: rgba(31, 37, 34, 0.72);
}

.star-table div.active {
  color: #fffdf8;
  background: var(--jade);
}

.hotspot span,
.modal-close {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
}

.cta-band {
  color: #fffdf8;
  background:
    linear-gradient(135deg, rgba(166, 66, 52, 0.94), rgba(47, 117, 100, 0.92)),
    var(--jade);
}

.cta-band p {
  color: rgba(255, 253, 248, 0.78);
}

.cta-band .btn {
  color: var(--ink);
  background: #fffdf8;
  border-color: #fffdf8;
}

.site-footer {
  border-top-color: rgba(47, 117, 100, 0.18);
  background: #f0f6f1;
}

.culture-lines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.line-card {
  min-height: 170px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(47, 117, 100, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(232, 240, 235, 0.7));
  color: var(--ink);
  box-shadow: var(--shadow);
}

.line-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--cinnabar);
  border: 1px solid rgba(166, 66, 52, 0.28);
}

.line-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.line-card em {
  color: rgba(31, 37, 34, 0.62);
  font-style: normal;
  line-height: 1.6;
}

.line-card.active {
  border-color: rgba(166, 66, 52, 0.36);
  background:
    linear-gradient(135deg, rgba(166, 66, 52, 0.13), rgba(47, 117, 100, 0.08)),
    #fffdf8;
}

.line-card.active span {
  color: #fffdf8;
  background: var(--cinnabar);
}

@keyframes inkDrift {
  0%, 100% {
    opacity: 0.28;
    transform: translateX(0) rotate(var(--r, -8deg));
  }
  50% {
    opacity: 0.8;
    transform: translateX(12vw) rotate(var(--r, -8deg));
  }
}

@keyframes sealFloat {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(12px) rotate(-3deg); }
}

@media (max-width: 980px) {
  .main-nav {
    border-color: rgba(47, 117, 100, 0.24);
    background: rgba(251, 246, 233, 0.97);
  }

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

@media (max-width: 620px) {
  .hero {
    padding-bottom: 54px;
  }

  .hero-seal {
    right: 24px;
    top: 104px;
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .culture-lines {
    grid-template-columns: 1fr;
  }
}
