:root {
  --red: #d70f2f;
  --red-deep: #a90d22;
  --cream: #f6f1e8;
  --warm-gray: #d9d1c5;
  --ink: #151311;
  --muted: #6e675f;
  --gold: #b89557;
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 76px; display: flex; align-items: center; gap: 34px; padding: 0 42px; background: rgba(21, 19, 17, .9); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 45px; height: 45px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 18px; font-weight: 800; }
.brand-copy small { margin-top: 6px; color: #d9cbc0; font-size: 9px; letter-spacing: .12em; }
nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-left: auto; }
nav a { position: relative; padding: 29px 0 25px; font-size: 13px; color: #eee7de; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--red); transition: right .25s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.header-action { padding: 11px 18px; background: var(--red); font-size: 13px; font-weight: 700; }
.mobile-menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 86svh; display: flex; align-items: center; background-size: cover; background-position: center; color: white; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: rgba(12, 10, 8, .48); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero-content.page-enter { animation: heroEnter .85s cubic-bezier(.22,.72,.22,1) both; }
.eyebrow, .section-label { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.hero .eyebrow { color: #f1c0c7; }
.hero h1 { max-width: 760px; margin: 22px 0 24px; white-space: pre-line; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.08; font-weight: 850; }
.hero-text { max-width: 620px; margin: 0; color: #eee8e1; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.primary-button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--red); color: white; font-size: 14px; font-weight: 750; }
.primary-button:hover { background: #ef1538; }
.text-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.48); font-size: 14px; }
.text-link span { margin-left: 10px; }
.hero-index { position: absolute; z-index: 3; right: 42px; bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .12em; color: #eaded4; }
.hero-index i { width: 54px; height: 1px; background: rgba(255,255,255,.55); }
.hero-image-edit { display: none; position: absolute; z-index: 5; right: 30px; top: 98px; border: 1px solid white; background: rgba(0,0,0,.55); color: white; padding: 9px 14px; cursor: pointer; }
.editing .hero-image-edit { display: block; }

.cream-pattern { background-color: var(--cream); background-image: url('/assets/pattern-cream.png'); background-size: 720px auto; }
.story-section { padding: 112px 0 86px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
h2 { margin: 18px 0 0; white-space: pre-line; font-size: clamp(34px, 4vw, 58px); line-height: 1.12; font-weight: 820; }
.story-copy > p, .feature-copy > p, .origin-copy > p, .space-intro > p, .model-grid p, .contact-content > p { margin: 42px 0 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; padding-top: 26px; border-top: 1px solid #cfc4b5; }
.story-stats strong { display: block; color: var(--red); font-size: 30px; }
.story-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 9px; height: 1px; background: #cdbb9d; }
.timeline div { position: relative; padding-top: 34px; }
.timeline div::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--red); border: 4px solid var(--cream); box-shadow: 0 0 0 1px var(--red); }
.timeline b { display: block; color: var(--red); font-size: 18px; }
.timeline span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

.split-feature { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 650px; }
.dark-section { background: var(--ink); color: var(--white); }
.feature-media, .feature-media img { height: 100%; min-height: 650px; }
.feature-media img { width: 100%; object-fit: cover; }
.feature-copy { padding: 92px clamp(42px, 6vw, 100px); align-self: center; }
.section-label.gold { color: var(--gold); }
.feature-copy > p { color: #bdb4aa; }
.process-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 42px 0 0; padding: 0; list-style: none; }
.process-list li { padding: 15px 0; border-bottom: 1px solid #39342f; color: #eee7de; font-size: 13px; }
.process-list span { margin-right: 14px; color: var(--red); font-size: 11px; font-weight: 800; }

.products-section { padding: 112px 0; background: #fffdf8; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.product-grid article { min-height: 230px; padding: 28px; background: var(--ink); color: var(--white); border-top: 3px solid var(--red); }
.product-grid article span { color: var(--gold); font-size: 11px; font-weight: 800; }
.product-grid h3 { margin: 56px 0 14px; font-size: 25px; }
.product-grid p { margin: 0; color: #bdb4aa; font-size: 13px; line-height: 1.7; }

.origin-section { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 610px; background: var(--cream); }
.origin-media, .origin-media img { height: 100%; min-height: 610px; }
.origin-media img { width: 100%; object-fit: cover; }
.origin-copy { padding: 100px clamp(42px, 6vw, 96px); align-self: center; }
.supply-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.supply-flow span { padding: 15px; border: 1px solid #cbbfb0; color: #4f4942; font-size: 13px; }

.red-pattern { background-color: var(--red); background-image: url('/assets/pattern-red.png'); background-size: 680px auto; }
.space-section { padding: 108px 0 90px; color: white; }
.space-intro { display: grid; grid-template-columns: .75fr 1.25fr; column-gap: 70px; align-items: start; }
.space-intro .section-label { grid-column: 1; }
.space-intro h2 { grid-column: 1; }
.space-intro > p { grid-column: 2; grid-row: 1 / span 2; margin-top: 26px; color: #f4d8dc; }
.section-label.light { color: #ffd6dc; }
.space-gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; gap: 12px; margin-top: 64px; }
.space-gallery .editable-image { min-height: 260px; }
.space-gallery img { width: 100%; height: 100%; object-fit: cover; }
.space-gallery .gallery-large { grid-row: 1 / span 2; min-height: 532px; }

.model-section { padding: 112px 0 92px; background: var(--ink); color: white; }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.model-grid p { color: #bdb4aa; }
.model-numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #474139; border-left: 1px solid #474139; }
.model-numbers div { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 26px; border-right: 1px solid #474139; border-bottom: 1px solid #474139; }
.model-numbers strong { color: var(--red); font-size: 34px; }
.model-numbers span { margin-top: 9px; color: #c4bbb1; font-size: 12px; }
.support-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 70px; background: #3b3631; border: 1px solid #3b3631; }
.support-strip span { display: flex; min-height: 84px; flex-direction: column; justify-content: center; padding: 17px; background: #211e1b; font-size: 12px; }
.support-strip b { margin-bottom: 10px; color: var(--gold); font-size: 10px; }

.mission-section { overflow: hidden; }
.mission-grid { min-height: 560px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.mission-grid img { width: min(460px, 100%); align-self: end; }

.contact-section { position: relative; overflow: hidden; padding: 120px 0; background: var(--red); color: white; }
.contact-pattern { position: absolute; inset: 0; background: url('/assets/pattern-red.png') center / 650px auto; opacity: .56; }
.contact-content { position: relative; z-index: 1; }
.contact-content h2 { max-width: 800px; }
.contact-content > p { max-width: 680px; color: #f2d5d9; }
.contact-actions { display: flex; align-items: baseline; gap: 18px; margin-top: 38px; }
.contact-actions a { font-size: clamp(32px, 5vw, 58px); font-weight: 820; }
.contact-actions span { font-size: 13px; color: #ffdce1; }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 34px 42px; background: #0c0b0a; color: #aaa199; }
.footer-brand { color: white; }
footer p { margin: 0; font-size: 11px; }
footer p:nth-of-type(1) { text-align: center; }

.editable-image { position: relative; overflow: hidden; }
.editable-image img { transition: transform .65s cubic-bezier(.22,.72,.22,1); }
.space-gallery .editable-image:hover img { transform: scale(1.018); }
.image-replace { display: none; position: absolute; top: 14px; right: 14px; border: 1px solid white; background: rgba(10,10,10,.72); color: white; padding: 9px 12px; cursor: pointer; }
.editing .image-replace { display: block; }
.is-editable { outline: 1px dashed rgba(215,15,47,.78); outline-offset: 5px; cursor: text; }
.dark-section .is-editable, .red-pattern .is-editable, .model-section .is-editable, .contact-section .is-editable, .hero .is-editable { outline-color: rgba(255,255,255,.7); }
.editor-trigger { position: fixed; z-index: 90; right: 8px; bottom: 8px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(215,15,47,.08); cursor: pointer; opacity: .28; transition: opacity .2s, transform .2s; }
.editor-trigger:hover, .editor-trigger:focus-visible { opacity: 1; transform: scale(1.7); outline: 2px solid white; }
.editor-panel { position: fixed; z-index: 80; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(820px, calc(100% - 36px)); display: flex; align-items: center; gap: 8px; padding: 12px; background: #171513; color: white; border: 1px solid #3e3933; box-shadow: 0 18px 54px rgba(0,0,0,.38); }
.editor-panel > div { display: grid; margin-right: auto; padding: 0 10px; }
.editor-panel strong { font-size: 13px; }
.editor-panel span { margin-top: 3px; color: #aaa199; font-size: 10px; }
.editor-panel button { min-height: 38px; padding: 0 13px; border: 1px solid #4c463f; background: transparent; color: white; font-size: 12px; cursor: pointer; }
.editor-panel .done-button { border-color: var(--red); background: var(--red); }
.editor-panel[hidden] { display: none; }

.motion-ready .reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.72,.22,1); }
.motion-ready .reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .site-header { padding: 0 22px; }
  nav { display: none; }
  .header-action { margin-left: auto; }
  .story-grid, .model-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-feature, .origin-section { grid-template-columns: 1fr; }
  .feature-media, .feature-media img, .origin-media, .origin-media img { min-height: 480px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .space-intro { grid-template-columns: 1fr; }
  .space-intro > p { grid-column: 1; grid-row: auto; }
  .support-strip { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p:nth-of-type(1) { text-align: left; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 68px; padding: 0 14px; }
  .brand img { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 16px; }
  .header-action { display: none; }
  .mobile-menu-toggle { position: relative; z-index: 62; display: flex; width: 42px; height: 42px; margin-left: auto; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.18); background: #1d1a18; cursor: pointer; }
  .mobile-menu-toggle span { width: 19px; height: 2px; background: var(--white); transition: transform .3s ease, opacity .2s ease; }
  .mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 60; display: grid; top: 68px; left: 0; right: 0; padding: 14px 18px 22px; background: rgba(21,19,17,.98); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 3px solid var(--red); opacity: 0; visibility: hidden; transform: translateY(-14px); pointer-events: none; transition: opacity .28s ease, transform .35s cubic-bezier(.22,.72,.22,1), visibility .28s; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .mobile-menu a { padding: 14px 4px; color: #eee7de; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 14px; }
  .mobile-menu .mobile-contact { margin-top: 10px; padding: 13px 16px; text-align: center; background: var(--red); border-bottom: 0; color: white; font-weight: 700; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 84svh; background-position: 64% center; }
  .hero-content { padding-top: 72px; }
  .hero h1 { font-size: 42px; }
  .hero-text { font-size: 14px; line-height: 1.7; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-index { display: none; }
  .story-section, .products-section, .space-section, .model-section, .contact-section { padding: 78px 0; }
  .story-grid { gap: 28px; }
  .story-copy > p { margin-top: 8px; }
  .story-stats { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 6px; width: 1px; height: auto; }
  .timeline div { padding: 0 0 0 32px; }
  .timeline div::before { top: 3px; }
  .feature-media, .feature-media img, .origin-media, .origin-media img { min-height: 360px; }
  .feature-copy, .origin-copy { padding: 68px 22px; }
  .process-list { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid article { min-height: 190px; }
  .product-grid h3 { margin-top: 34px; }
  .space-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .space-gallery .gallery-large { grid-row: auto; min-height: 320px; }
  .space-gallery .editable-image { min-height: 240px; }
  .model-numbers { grid-template-columns: 1fr; }
  .support-strip { grid-template-columns: 1fr 1fr; }
  .mission-grid { min-height: 650px; grid-template-columns: 1fr; gap: 20px; padding-top: 74px; }
  .mission-grid img { width: 320px; margin: 0 auto; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  footer { padding: 30px 18px; }
  .editor-panel { align-items: stretch; flex-wrap: wrap; bottom: 14px; }
  .editor-panel > div { width: 100%; margin-bottom: 4px; }
  .editor-panel button { flex: 1 1 42%; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } .motion-ready .reveal-on-scroll { opacity: 1; transform: none; } }
