/* Tokens · colour, type, measure and motion */
:root {
  --ink: #151515;
  --paper: #F4F4F2;
  --accent: #AA2929;
  --line: rgba(21,21,21,.12);
  --muted: #6B6B6B;
  --dark-2: #1D1D1D;
  --stone: #D8D9D3;
  --white: #fff;
  --dark-line: rgba(244,244,242,.2);
  --hero-ground: #1c1c1c;
  --font: -apple-system, "Inter", "Helvetica Neue", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --display: 96px;
  --display-leading: 88px;
  --h1: 72px;
  --h2: 56px;
  --h3: 32px;
  --body: 17px;
  --small: 14px;
  --label: 12px;
  --unit: 8px;
  --gutter: 64px;
  --max: 1320px;
  --header: 76px;
  --section-space: calc(14 * var(--unit));
  --ease: cubic-bezier(.16,1,.3,1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 var(--body)/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.052em; text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -.04em; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: default; }
img { display: block; max-width: 100%; height: auto; }
.icon { display: block; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:lang(zh-CN):is(h1, h2, h3) { letter-spacing: -.045em; line-height: 1.17; }
::selection { background: var(--accent); color: white; }
[hidden] { display: none !important; }

/* Layout */
.shell, .header-inner { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-intro { margin-bottom: 48px; }
.split-intro, .factory-row, .quote-grid, .hero-inner, .footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.split-intro { align-items: end; }
.split-intro > :first-child { grid-column: 1 / 9; }
.split-intro .intro-note { grid-column: 9 / -1; padding-bottom: 4px; color: #565851; }
.product-grid, .case-grid, .tech-grid, .aux-grid { display: grid; gap: 32px 24px; }
.product-grid, .case-grid, .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aux-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Components · navigation, actions, editorial labels */
.site-header { position: sticky; top: 0; z-index: 10; background: #111; border-bottom: 1px solid transparent; color: var(--paper); transition: background-color .25s, border-color .25s; }
.site-header.is-scrolled { background: rgba(17,17,17,.97); border-color: var(--dark-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 150px; }
.primary-nav { margin-inline: auto; }
.nav-list, .header-actions, .languages { display: flex; align-items: center; }
.nav-list { gap: clamp(10px, 1vw, 18px); }
.nav-list > li > a, .nav-toggle { display: flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 13px; font-weight: 550; line-height: 1.2; }
.primary-nav .nav-list > li > a, .primary-nav .nav-toggle { position: relative; padding-block: 16px; }
.primary-nav [aria-current="page"]::after, .primary-nav .current-group::after { content: ""; position: absolute; bottom: 6px; left: 0; width: 16px; height: 2px; background: var(--accent); }
.primary-nav .submenu [aria-current="page"]::after { display: none; }
.nav-list a, .nav-toggle { transition: color .2s; }
.nav-list a:hover, .nav-toggle:hover { color: #d0bbb1; }
.nav-group { position: relative; }
.nav-toggle .icon { transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: -16px; min-width: 228px; padding: 8px; color: var(--paper); background: var(--dark-2); border: 1px solid var(--dark-line); z-index: 2; }
.submenu a { display: block; padding: 9px 12px; font-size: var(--small); }
.submenu a:hover, .submenu a:focus-visible { background: #30312d; }
.submenu li:first-child { border-bottom: 1px solid var(--dark-line); padding-bottom: 4px; margin-bottom: 4px; }
.header-actions { gap: 18px; flex: none; }
.languages { gap: 4px; }
.languages button { min-height: 36px; min-width: 26px; font-size: var(--label); font-weight: 600; color: #abaea5; }
.languages button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-decoration-color: #c97972; text-underline-offset: 5px; }
.languages i { width: 1px; height: 12px; background: #63645f; }
.menu-trigger { display: none; }
.icon-button { width: 44px; height: 44px; align-items: center; justify-content: center; }
.drawer { inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; padding: 0 var(--gutter) 32px; margin: 0; border: 0; background: var(--ink); color: var(--paper); overscroll-behavior: contain; }
.drawer::backdrop { background: var(--ink); }
.drawer-top, .drawer-end { display: flex; justify-content: space-between; align-items: center; }
.drawer-top { min-height: var(--header); border-bottom: 1px solid var(--dark-line); }
.drawer-close { display: inline-flex; }
.drawer-nav .nav-list { display: block; padding-block: 16px; }
.drawer-nav .nav-list > li { border-bottom: 1px solid var(--dark-line); }
.drawer-nav .nav-list > li > a, .drawer-nav .nav-toggle { width: 100%; justify-content: space-between; padding: 16px 0; font-size: clamp(20px, 4vw, 30px); }
.drawer-nav .submenu { padding: 0 0 12px 8px; border: 0; background: transparent; position: static; min-width: 0; }
.drawer-nav .submenu li:first-child { border: 0; margin: 0; }
.drawer-nav .submenu a { padding-block: 10px; }
.drawer-end { padding-block: 8px; }
body.drawer-open { overflow: hidden; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 2px; font-size: var(--small); font-weight: 650; line-height: 1.35; transition: background-color .2s, border-color .2s, color .2s; }
.button-accent { background: var(--accent); color: white; }
.button-accent:hover { background: #912222; }
.button-outline { color: var(--paper); border-color: #7d7e77; }
.button-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.header-quote { min-height: 39px; padding: 9px 15px; font-size: 13px; }
.eyebrow, .contact-label { font-size: var(--label); text-transform: uppercase; letter-spacing: .08em; font-weight: 650; line-height: 1.4; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.eyebrow::before { content: ""; display: block; height: 2px; width: 26px; flex: none; background: var(--accent); }
.dark { background: var(--ink); color: var(--paper); }
.contact-details { display: grid; gap: 3px; align-content: start; font-size: var(--small); }
.contact-label { margin-bottom: 9px; color: #b7b8b0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 4px; font-size: var(--small); font-weight: 650; }
.text-link .icon, .aux-heading .icon { transition: transform .25s var(--ease); }
.skip-link { position: fixed; top: 8px; left: var(--gutter); z-index: 50; background: white; color: var(--ink); padding: 12px 16px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* Sections · home, shared footer and phase-two destinations */
.hero { background: var(--hero-ground); color: var(--paper); overflow: hidden; }
.hero-inner { position: relative; min-height: 92vh; grid-template-rows: 1fr auto; align-items: center; }
.hero-copy { grid-column: 1 / 7; position: relative; z-index: 1; padding: 72px 0 56px; }
.hero .eyebrow { color: #cdcec5; margin-bottom: 32px; }
.hero .eyebrow::before { width: 34px; background: #bf4240; }
.hero h1 { font-size: clamp(72px, 6.9vw, var(--display)); line-height: min(var(--display-leading), .916667em); letter-spacing: -.048em; }
.hero-line { display: block; }
.hero-line > span { display: inline-block; }
.hero.is-entering .hero-line > span { animation: hero-line-in 700ms var(--ease) backwards; }
.hero.is-entering .line-2 > span { animation-delay: 90ms; }
.hero.is-entering .line-3 > span { animation-delay: 180ms; }
html:lang(zh) .hero h1 { line-height: 1.12; font-size: clamp(56px, 5.6vw, 82px); }
html:lang(zh) .hero .line-2, html:lang(zh) .hero .line-3 { display: inline-block; }
html:lang(zh) .hero .line-2 { margin-right: -.24em; }
.hero-sub { margin-top: 24px; color: #cbccc4; font-size: clamp(17px, 1.38vw, 21px); }
.hero .button-row { margin-top: 32px; }
.hero-art { position: absolute; right: -4.6%; top: 46%; width: 67%; transform: translateY(-50%); pointer-events: none; }
.hero-art img { width: 100%; }
.hero.is-entering .hero-art img { animation: hero-image-in 850ms var(--ease) backwards; }
.hero-foot { position: relative; grid-column: 1 / -1; align-self: end; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--dark-line); padding-block: 16px 24px; }
.batch-note { display: flex; gap: 12px; align-items: center; font-size: var(--small); color: #d6d7cf; }
.batch-note .icon { color: #cf7268; }
.scroll-button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 2px; border: 1px solid #62645c; transition: background .2s; }
.scroll-button:hover { background: #353730; }
@keyframes hero-line-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image-in { from { transform: scale(1.045); } to { transform: scale(1); } }
.products, .auxiliary { background: var(--paper); }
.product-card a, .aux-card a { display: block; height: 100%; }
.product-card .product-art, .aux-art { overflow: hidden; background: var(--stone); }
.product-art img, .aux-art img { width: 100%; transition: transform .4s var(--ease); }
.product-heading, .aux-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 20px 0 8px; }
.capacity { font-size: var(--small); font-weight: 600; white-space: nowrap; }
.product-card p, .aux-card p, .tech-item p { color: #54574f; }
.product-card .text-link { margin-top: 16px; }
@media (hover: hover) {
  .product-card a:hover img, .aux-card a:hover img { transform: scale(1.03); }
  .product-card a:hover .icon, .aux-card a:hover .icon { transform: translateX(3px); }
}
.factory .section-intro { max-width: 800px; }
.factory-row { align-items: center; }
.factory-row + .factory-row { margin-top: 48px; }
.factory-art { grid-column: 1 / 8; background: #1c1c1c; }
.factory-art img { width: 100%; }
.factory-copy { grid-column: 9 / -1; border-top: 1px solid var(--dark-line); padding-top: 24px; }
.factory-copy p { color: #c4c5bc; margin-top: 16px; }
.factory-row:nth-of-type(even) .factory-art { grid-column: 6 / -1; grid-row: 1; }
.factory-row:nth-of-type(even) .factory-copy { grid-column: 1 / 5; grid-row: 1; }
.technology { background: #fff; }
.tech-grid { row-gap: 40px; }
.tech-item { border-top: 1px solid var(--line); padding: 24px 0 0; }
.tech-item img { width: 202px; margin-bottom: 20px; }
.tech-item h3, .aux-card h3 { font-size: clamp(21px, 1.9vw, 28px); }
.tech-item p { margin-top: 12px; }
.model-note { display: inline-block; margin-top: 8px; font-size: var(--small); color: var(--accent); }
.spec-note { padding-top: 16px; margin-top: 40px; border-top: 1px solid var(--line); color: #575a51; font-size: var(--small); }
.aux-heading { align-items: center; }
.aux-card p { font-size: var(--small); max-width: 38ch; }
.support { background: var(--dark-2); }
.support-facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: -16px 0 32px; }
.support-facts p { display: flex; align-items: center; gap: 12px; }
.support-facts .icon { color: #d8d9cf; }
.case-grid img { width: 100%; }
.case-grid figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--dark-line); padding: 16px 0; }
.case-grid small { color: #bcbeb4; font-size: var(--label); }
.quote { background: #101110; border-block: 1px solid var(--dark-line); }
.quote-grid { align-items: end; }
.quote-grid > :first-child { grid-column: 1 / 9; }
.quote-grid h2 { max-width: 14ch; font-size: var(--h1); }
.quote-grid > div > p { max-width: 53ch; margin: 24px 0 32px; color: #c5c7be; }
.quote-grid > .contact-details { grid-column: 10 / -1; align-self: end; border-top: 1px solid var(--dark-line); padding-top: 16px; }
.quote-grid .contact-details p { margin: 0 0 9px; font-size: var(--label); }
.catalogue { background: #242523; color: #a9aaa2; border-color: #43453e; }
.site-footer { color: var(--paper); background: var(--ink); padding: 64px 0 24px; }
.footer-grid { padding-bottom: 48px; }
.footer-brand { grid-column: span 5; }
.footer-brand .contact-details { margin-top: 20px; }
.footer-col { grid-column: span 2; }
.footer-col:last-child { grid-column: span 3; }
.footer-col h2 { font-size: var(--label); line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; color: #a8aaa0; margin-bottom: 16px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a, .footer-bottom { font-size: var(--small); }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 16px; border-top: 1px solid var(--dark-line); color: #c6c8bd; }
.footer-bottom small { font-size: var(--label); margin-right: auto; }
.social { display: flex; flex-wrap: wrap; gap: 16px; }
.page-head { padding: 48px 0 80px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; font-size: var(--small); color: #c4c5bc; margin-bottom: 56px; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-description, .phase-description { max-width: 62ch; margin-top: 24px; }
.page-description { color: #c5c7be; }
.phase-content { min-height: 44vh; }
.phase-description { color: #575950; }
.planned-list { margin-top: 32px; max-width: 768px; }
.planned-list li { padding: 16px 8px; border-top: 1px solid var(--line); font-weight: 600; }
.planned-list li:target { border-left: 2px solid var(--accent); padding-left: 16px; background: #e7e7e1; }
.phase-content .contact-details { margin-top: 32px; }
.phase-content .contact-label { color: var(--muted); }
.button-back { margin-top: 32px; border-color: var(--line); flex-direction: row-reverse; }
.button-back:hover { background: var(--stone); }

/* Utilities · content starts visible until observation is available */
.reveal.is-pending { opacity: 0; transform: translateY(16px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: var(--stagger, 0ms); }
[data-order="1"] { --stagger: 60ms; }
[data-order="2"] { --stagger: 120ms; }
[data-order="3"] { --stagger: 180ms; }
[data-order="4"] { --stagger: 240ms; }
[data-order="5"] { --stagger: 300ms; }
[data-order="6"] { --stagger: 360ms; }

/* Responsive */
@media (max-width: 1339px) and (min-width: 1200px) {
  .header-inner { width: calc(100% - 64px); gap: 12px; }
  .header-inner .brand img { width: 125px; }
  .header-actions { gap: 10px; }
  .primary-nav .nav-list { gap: 10px; }
  .primary-nav .nav-list > li > a, .primary-nav .nav-toggle { font-size: 12px; }
}
@media (max-width: 1199px) {
  :root { --gutter: 40px; --section-space: 88px; --h2: 48px; --h3: 28px; --header: 68px; }
  .primary-nav { display: none; }
  .menu-trigger { display: inline-flex; }
  .product-heading { flex-wrap: wrap; }
  .quote-grid > .contact-details { grid-column: 9 / -1; }
}
@media (max-width: 899px) {
  .aux-grid, .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 72px; }
  .split-intro > :first-child { grid-column: 1 / 8; }
  .split-intro .intro-note { grid-column: 8 / -1; }
  .product-grid, .case-grid { gap: 16px; }
  .factory-copy { grid-column: 8 / -1; }
  .factory-row:nth-of-type(even) .factory-copy { grid-column: 1 / 6; }
  .case-grid figcaption { flex-direction: column; gap: 4px; }
  .footer-brand { grid-column: span 4; }
  .footer-col { grid-column: span 3; }
  .footer-col:last-child { grid-column: span 2; }
}
@media (max-width: 699px) {
  :root { --gutter: 24px; --header: 64px; --section-space: 64px; --h1: 44px; --h2: 38px; --h3: 28px; }
  .header-inner, .header-actions { gap: 8px; }
  .header-inner .brand img, .drawer-top .brand img { width: 124px; }
  .header-quote { display: none; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
  .hero-copy { padding: 48px 0 0; }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero h1 { font-size: clamp(44px, 11vw, 70px); line-height: 1; }
  .hero .line-2, .hero .line-3 { display: inline-block; }
  html:lang(zh) .hero h1 { font-size: clamp(40px, 10vw, 62px); }
  .hero-sub { margin-top: 16px; }
  .hero .button-row { margin-top: 24px; }
  .button { min-height: 46px; padding: 10px 16px; gap: 10px; }
  .hero-art { position: static; transform: none; width: min(calc(100% + var(--gutter) * 2), 550px); align-self: center; flex: 1 0 auto; display: grid; align-items: center; }
  .hero-art img { width: 100%; }
  .hero-foot { width: 100%; padding-block: 12px 16px; margin-top: auto; }
  .eyebrow { margin-bottom: 16px; }
  .section-intro { margin-bottom: 32px; }
  .split-intro, .factory-row, .quote-grid { display: block; }
  .split-intro .intro-note { margin-top: 16px; }
  .product-grid, .case-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-heading { padding-top: 16px; }
  .product-card .text-link { margin-top: 8px; }
  .factory-copy { margin-top: 16px; padding-top: 16px; }
  .tech-grid { gap: 24px 16px; }
  .tech-item img { margin-bottom: 14px; }
  .aux-grid { gap: 24px 16px; }
  .aux-heading { padding-top: 12px; }
  .support-facts { margin-top: 0; }
  .case-grid figcaption { flex-direction: row; }
  .quote-grid > .contact-details { margin-top: 32px; }
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; padding-bottom: 32px; }
  .footer-brand, .footer-col, .footer-col:last-child { grid-column: auto; }
  .footer-bottom { justify-content: space-between; }
  .footer-bottom small { width: 100%; }
  .page-head { padding: 24px 0 48px; }
  .breadcrumbs { margin-bottom: 32px; }
}
@media (max-width: 479px) {
  .tech-grid, .aux-grid { grid-template-columns: 1fr; }
  .quote .button-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .product-card a:hover img, .aux-card a:hover img, .product-card a:hover .icon, .aux-card a:hover .icon { transform: none; }
}
