:root {
  color-scheme: dark;
  --bg: #111311;
  --surface: #181b19;
  --surface-2: #202320;
  --line: #383c38;
  --muted: #a8aca6;
  --text: #f1f2ed;
  --accent: #e45e17;
  --accent-hover: #f06a22;
  --error: #ff8d76;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-header: 20;
  --z-menu: 30;
  --z-dialog: 50;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: .98; overflow-wrap: break-word; hyphens: auto; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h); display: grid; grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr); align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(18px); }
.brand { display: flex; width: fit-content; flex-direction: column; line-height: 1; letter-spacing: -.02em; font-weight: 720; }
.brand small { margin-top: 5px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .16em; }
.desktop-nav { display: flex; gap: 28px; font-size: 13px; }
.desktop-nav a { color: #d4d7d1; transition: color .25s var(--ease); }
.desktop-nav a:hover { color: var(--accent); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.language-wrap { position: relative; }
.language-button, .menu-button, .dialog-close { border: 0; background: transparent; cursor: pointer; font-size: 12px; letter-spacing: .06em; }
.language-button { min-width: 42px; height: 42px; border: 1px solid var(--line); }
.language-menu { position: absolute; z-index: var(--z-menu); right: 0; top: calc(100% + 10px); width: 220px; border: 1px solid var(--line); background: #181b19; box-shadow: 0 24px 60px rgba(6, 8, 6, .45); }
.language-option { display: flex; width: 100%; justify-content: space-between; padding: 13px 14px; border: 0; border-bottom: 1px solid #2c302c; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.language-option:last-child { border-bottom: 0; }
.language-option[disabled] { color: #777c76; cursor: not-allowed; }
.language-option span:last-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.menu-button { display: none; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 auto; padding: 24px var(--pad) 30px; border-bottom: 1px solid var(--line); background: #111311; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid #2b2e2b; font-size: 22px; }
.mobile-menu .button { width: 100%; margin-top: 24px; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 0; white-space: nowrap; font-weight: 650; font-size: 13px; cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.99); }
.button-accent { background: var(--accent); color: #15110e; }
.button-accent:hover { background: var(--accent-hover); }
.button-outline { background: transparent; border-color: #656a64; color: var(--text); }
.button-outline:hover { border-color: var(--accent); }
.button-dark { background: #151715; color: var(--text); }
.text-link { display: inline-flex; gap: 8px; align-items: center; padding: 12px 0; font-size: 13px; border-bottom: 1px solid #696d67; }

.hero { max-width: var(--max); min-height: calc(100dvh - var(--header-h)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vh, 84px) var(--pad); }
.eyebrow { margin-bottom: 28px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .18em; }
.hero h1 { max-width: 620px; margin-bottom: 28px; font-size: clamp(50px, 4.8vw, 78px); font-weight: 560; }
.hero-text { max-width: 390px; margin-bottom: 30px; color: #c6cac3; font-size: clamp(16px, 1.3vw, 20px); }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-media { min-height: 500px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(86px, 10vw, 150px) var(--pad); }
.section-intro { max-width: 760px; }
.section h2 { margin-bottom: 22px; font-size: clamp(42px, 5vw, 76px); font-weight: 520; }
.section-intro p, .process-copy > p, .about-copy > p { max-width: 580px; color: var(--muted); font-size: 18px; }

.product-section { border-top: 1px solid var(--line); }
.filter-row { display: flex; gap: 8px; margin: 52px 0 28px; overflow-x: auto; scrollbar-width: none; }
.filter-button { min-width: max-content; padding: 10px 14px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.filter-button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #17120e; }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.product-card { position: relative; grid-column: span 6; min-height: 610px; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); }
.product-card:nth-child(3), .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 4; min-height: 520px; }
.product-card[hidden] { display: none; }
.product-image { aspect-ratio: 1 / .78; overflow: hidden; background: #0c0e0c; }
.product-card:nth-child(n+3) .product-image { aspect-ratio: 1 / .85; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-body { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 24px; }
.product-kicker { margin-bottom: 12px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .08em; }
.product-body h3 { margin-bottom: 10px; font-size: clamp(26px, 3vw, 42px); font-weight: 540; }
.product-body p { max-width: 460px; margin-bottom: 18px; color: var(--muted); }
.spec-cluster { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-cluster span { padding: 6px 8px; background: #272a27; color: #c8cbc6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.product-quote { align-self: end; width: 44px; height: 44px; border: 1px solid #5b605a; background: transparent; cursor: pointer; font-size: 20px; }
.product-quote:hover { border-color: var(--accent); color: var(--accent); }

.materials-section { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: clamp(50px, 8vw, 120px); align-items: start; border-top: 1px solid var(--line); }
.materials-title { position: sticky; top: calc(var(--header-h) + 50px); }
.materials-title h2 { max-width: 520px; }
.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.material-card { min-height: 300px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: #171917; }
.material-card:nth-child(2) { background: #0d0f0e; }
.material-card:nth-child(3) { background: #472717; border-color: #6f3a1f; }
.material-card:nth-child(4) { background: #272724; }
.material-swatch { width: 74px; height: 74px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, #6f7470, #272a28 55%, #a6aba6); }
.material-card:nth-child(2) .material-swatch { background: radial-gradient(circle at 30% 25%, #3d413d, #0d0f0e 65%); }
.material-card:nth-child(3) .material-swatch { background: repeating-linear-gradient(90deg, #d85416 0 2px, #91330e 2px 4px); }
.material-card:nth-child(4) .material-swatch { background: radial-gradient(circle at 30% 30%, #ebe9df, #8e8c83 48%, #343533 80%); }
.material-code { color: #b0b4ae; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.material-card h3 { margin: 0 0 8px; font-size: 25px; font-weight: 520; }
.material-card p { margin: 0; color: #bbbeb9; }

.process-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); background: #151715; }
.process-copy { align-self: start; }
.process-copy .button { margin-top: 24px; }
.process-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: item; }
.process-item { min-height: 190px; padding: 24px; background: #1d201d; }
.process-item b { display: block; margin-bottom: 34px; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 500; }
.process-item h3 { margin-bottom: 10px; font-size: 28px; font-weight: 520; }
.process-item p { margin: 0; color: var(--muted); font-size: 14px; }

.about-section { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.about-media { min-height: 650px; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { max-width: 600px; }
.capability-list { margin: 46px 0 0; }
.capability-list div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.capability-list dt { color: var(--text); font-weight: 650; }
.capability-list dd { margin: 0; color: var(--muted); }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 8vw, 120px); border-top: 1px solid var(--line); }
.faq-heading h2 { position: sticky; top: calc(var(--header-h) + 50px); font-size: clamp(38px, 4vw, 60px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 25px 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-size: 18px; }
.faq-question span { color: var(--accent); }
.faq-answer { max-width: 680px; padding: 0 42px 26px 0; color: var(--muted); }

.quote-banner { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; background: var(--accent); color: #15110e; }
.quote-banner .eyebrow { color: #392015; }
.quote-banner h2 { max-width: 880px; margin-bottom: 0; }

.site-footer { max-width: var(--max); min-height: 260px; margin: 0 auto; padding: 54px var(--pad); display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: start; border-top: 1px solid var(--line); }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 25px; letter-spacing: -.03em; }
.footer-brand span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .14em; }
.social-links { display: flex; gap: 10px; }
.social-link { min-width: 110px; padding: 10px 12px; border: 1px solid var(--line); background: transparent; color: var(--text); text-align: center; cursor: pointer; font-size: 12px; }
.social-link[aria-disabled="true"] { color: #777c76; }
.footer-meta { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.chinese-mark { color: var(--text); font-size: 20px; letter-spacing: .18em; }

.whatsapp-float { position: fixed; z-index: 15; right: 18px; bottom: 18px; width: 54px; height: 54px; border: 1px solid #6d716b; background: #1b1e1b; color: var(--text); box-shadow: 0 14px 40px rgba(0,0,0,.25); cursor: pointer; font-weight: 800; font-size: 12px; }
.whatsapp-float:hover { border-color: var(--accent); color: var(--accent); }

.quote-dialog { width: min(1240px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #4a4f49; background: #151715; color: var(--text); }
.quote-dialog::backdrop { background: rgba(4, 6, 4, .82); backdrop-filter: blur(8px); }
.dialog-bar { height: 70px; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); }
.dialog-bar > div { display: flex; flex-direction: column; line-height: 1; }
.dialog-bar span { font-weight: 720; }
.dialog-bar small { margin-top: 5px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; letter-spacing: .14em; }
.dialog-close { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); }
.dialog-layout { display: grid; grid-template-columns: .72fr 1.28fr; }
.dialog-intro { padding: 50px 42px; border-right: 1px solid var(--line); background: #111311; }
.dialog-intro h2 { margin-bottom: 22px; font-size: clamp(40px, 4vw, 64px); font-weight: 520; }
.dialog-intro p { color: var(--muted); }
.dialog-intro ol { margin: 42px 0 0; padding-left: 20px; color: #c6c9c4; }
.dialog-intro li { margin-bottom: 12px; padding-left: 8px; }
#quote-form { padding: 38px; overflow-y: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { color: #d7dad5; font-size: 12px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #4b504a; border-radius: 0; background: #1d201d; color: var(--text); padding: 12px 13px; }
.field input, .field select { min-height: 46px; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f948e; opacity: 1; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.field small, .form-note { color: #939890; font-size: 11px; }
.field-error { min-height: 0; color: var(--error); font-size: 11px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: #c4c7c1; font-size: 12px; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.consent .field-error { grid-column: 2; }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 18px; }
.error-summary { margin-bottom: 22px; padding: 14px; border: 1px solid var(--error); color: #ffd2ca; background: #321914; }
.form-success { margin-top: 28px; padding: 24px; border: 1px solid #536052; background: #1a211a; }
.form-success strong { display: block; margin-bottom: 8px; font-size: 22px; }
.form-success p { color: #bec5bc; }
.contact-notice { position: fixed; z-index: 60; right: 20px; bottom: 84px; max-width: 360px; padding: 14px 16px; border: 1px solid #5a5f59; background: #202320; box-shadow: 0 20px 45px rgba(0,0,0,.35); font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: enter .8s var(--ease) both; animation-delay: var(--delay, 0ms); }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-button { display: block; height: 42px; border: 1px solid var(--line); padding: 0 12px; }
  .header-quote { display: none; }
  .hero { grid-template-columns: .9fr 1.1fr; }
  .product-card, .product-card:nth-child(n) { grid-column: span 6; }
  .about-media { min-height: 520px; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; --pad: 20px; }
  .site-header { height: var(--header-h); }
  .brand { font-size: 14px; }
  .brand small { font-size: 7px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 500px; padding-top: 58px; padding-bottom: 58px; }
  .hero h1 { font-size: clamp(49px, 15vw, 72px); }
  .hero-media { min-height: 420px; }
  .hero-media img { object-position: 68% center; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section { padding-top: 86px; padding-bottom: 86px; }
  .section h2 { font-size: clamp(40px, 12vw, 58px); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:nth-child(n) { grid-column: 1; min-height: 0; }
  .product-body { grid-template-columns: 1fr auto; }
  .materials-section, .process-section, .about-section, .faq-section { grid-template-columns: 1fr; gap: 48px; }
  .materials-title, .faq-heading h2 { position: static; }
  .material-grid, .process-list { grid-template-columns: 1fr; }
  .material-card { min-height: 240px; }
  .about-media { min-height: 420px; order: 2; }
  .about-copy { order: 1; }
  .capability-list div { grid-template-columns: 1fr; gap: 5px; }
  .quote-banner { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 34px; }
  .social-links { flex-wrap: wrap; }
  .footer-meta { grid-column: 1; flex-direction: column; gap: 26px; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-intro { padding: 30px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .dialog-intro ol { display: none; }
  #quote-form { padding: 24px 20px 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: 1; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { width: 50px; height: 50px; }
}

@media (max-width: 390px) {
  .language-wrap { display: none; }
  .hero h1 { font-size: 47px; }
  .button { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
