/* ============ TOKENS ============ */
:root {
  --bg: #F5F7FA;
  --paper: #FFFFFF;
  --tint: #EEF2F7;
  --ink: #1B2330;
  --ink-soft: #475364;
  --muted: #7A8698;
  --line: #DDE4EC;
  --accent: #1B64B4;
  --accent-deep: #114781;
  --brand-blue: #1668C4;
  --dark: #14203A;
  --cream: #EDF2F8;
  --serif: "Cormorant Garamond", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { width: min(calc(100% - 80px), var(--wrap)); margin: 0 auto; }
.section { padding: 130px 0; }
.section-tint { background: var(--tint); }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 22px; }
.eyebrow.light { color: #A9C8EC; }
.section-title { font-size: clamp(36px, 4.4vw, 62px); margin-bottom: 24px; }
.section-title.light { color: #F7FAFF; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.body-text { font-size: 15.5px; color: var(--ink-soft); line-height: 1.95; margin: 0 0 18px; }
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.section-heading .section-sub { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: var(--accent-deep); border-bottom: 1px solid var(--accent); padding-bottom: 5px; margin-top: 12px; transition: gap .3s; }
.text-link:hover { gap: 18px; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 30px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; transition: all .3s ease; border: 1px solid transparent; white-space: nowrap; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 11px; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-light { background: #F4F8FE; color: var(--ink); border-color: #F4F8FE; }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ============ HEADER ============ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 84px; transition: all .4s ease; }
.site-header.scrolled { height: 68px; background: rgba(245,247,250,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 80px), var(--wrap)); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; height: 40px; width: auto; transition: opacity .35s; }
.brand-logo.logo-dark { display: none; }
.site-header.scrolled .brand-logo.logo-light { display: none; }
.site-header.scrolled .brand-logo.logo-dark { display: block; }
.site-footer .brand-logo { height: 44px; }
.desktop-nav { display: flex; gap: 34px; margin-left: auto; }
.desktop-nav a { font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.88); position: relative; padding: 6px 0; transition: color .3s; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .3s; }
.desktop-nav a:hover::after { width: 100%; }
.site-header.scrolled .desktop-nav a { color: var(--ink-soft); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-wrap { position: relative; }
.lang-toggle { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: inherit; font-size: 11px; letter-spacing: .08em; cursor: pointer; padding: 8px 4px; }
.lang-toggle .caret { margin-left: 1px; opacity: .7; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 150px; margin: 0; padding: 8px; list-style: none; background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.12); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .25s; }
.lang-menu.open { opacity: 1; visibility: visible; transform: none; }
.lang-menu li button { width: 100%; text-align: left; border: 0; background: none; padding: 9px 11px; font-size: 12px; color: var(--ink-soft); cursor: pointer; transition: background .2s; }
.lang-menu li button:hover, .lang-menu li button.active { background: var(--tint); color: var(--accent-deep); }
.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 30px; position: relative; color: inherit; }
.mobile-toggle span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: .3s; }
.mobile-toggle span:first-child { top: 11px; }
.mobile-toggle span:last-child { top: 18px; }
.mobile-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mobile-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; transform: scaleX(-1); }
.hero-video { position: absolute; left: -9%; top: -4%; width: 118%; height: 108%; object-fit: cover; object-position: center 42%; animation: heroReveal 1.6s ease-out both; }
@keyframes heroReveal { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,44,.82) 0%, rgba(12,24,44,.54) 46%, rgba(12,24,44,.12) 100%), linear-gradient(0deg, rgba(12,24,44,.64) 0%, transparent 38%); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 140px; }
.hero-title { font-size: clamp(56px, 8vw, 110px); line-height: .98; color: #fff; max-width: 900px; margin-bottom: 26px; }
.hero-title em { font-style: italic; font-weight: 400; color: #D8E8FF; }
.hero-sub { max-width: 530px; font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.82); margin-bottom: 38px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-foot { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; }
.hero-foot-inner { display: flex; align-items: flex-end; gap: 50px; padding: 26px 0 34px; border-top: 1px solid rgba(255,255,255,.24); }
.hero-stat { display: flex; align-items: baseline; gap: 12px; }
.hero-stat strong { font-family: var(--serif); font-size: 26px; font-weight: 500; color: #BFD6F5; }
.hero-stat span { font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.8); max-width: 170px; }
.scroll-cue { margin-left: auto; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; display: grid; place-items: start center; padding-top: 8px; }
.scroll-cue span { width: 2px; height: 8px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ============ INTRO ============ */
.intro-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; align-items: center; }
.intro-copy .section-title { max-width: 540px; }
.image-frame { position: relative; overflow: hidden; }
.image-frame::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--line); z-index: 0; }
.image-frame img { position: relative; z-index: 1; aspect-ratio: 4/4.5; object-fit: cover; filter: saturate(.92); transition: transform .8s; }
.image-frame:hover img { transform: scale(1.03); }
.visual-caption { display: flex; align-items: baseline; gap: 18px; margin-top: 20px; }
.visual-caption span { font-family: var(--serif); font-size: 15px; color: var(--accent); }
.visual-caption p { margin: 0; font-size: 12px; letter-spacing: .05em; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 110px; padding-top: 44px; border-top: 1px solid var(--line); }
.metric { text-align: center; }
.metric-line { display: block; width: 32px; height: 1px; margin: 0 auto 18px; background: var(--accent); }
.metric p { font-size: 12.5px; color: var(--ink-soft); margin: 0; letter-spacing: .03em; line-height: 1.6; }

/* ============ CAPABILITIES ============ */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap-card { background: var(--tint); padding: 48px 40px 44px; position: relative; transition: background .4s, transform .4s; min-height: 300px; }
.cap-card:hover { background: var(--paper); }
.cap-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 46px; }
.cap-icon svg { width: 100%; height: 100%; }
.cap-index { position: absolute; top: 40px; right: 40px; font-family: var(--serif); font-size: 14px; color: var(--accent); opacity: .6; }
.cap-card h3 { font-size: 25px; margin-bottom: 14px; }
.cap-card p { font-size: 13.5px; color: var(--muted); line-height: 1.85; margin: 0; }

/* ============ CRAFT ============ */
.craft-grid { display: grid; grid-template-columns: .95fr 1fr; gap: 110px; align-items: center; }
.craft-visual { position: relative; }
.craft-img { overflow: hidden; }
.craft-img img { aspect-ratio: 3/3.6; object-fit: cover; object-position: center; transition: transform 1s; }
.craft-visual:hover .craft-img img { transform: scale(1.04); }
.craft-note { position: absolute; right: -36px; bottom: 36px; width: 280px; background: var(--paper); padding: 26px 28px; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.craft-note span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.craft-note p { font-family: var(--serif); font-size: 18px; line-height: 1.45; margin: 10px 0 0; }
.craft-copy .section-title { max-width: 480px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.tag-list span { font-size: 11px; letter-spacing: .05em; border: 1px solid var(--line); padding: 8px 14px; color: var(--ink-soft); background: var(--paper); }

/* ============ PROCESS ============ */
.process-list { display: flex; flex-direction: column; gap: 90px; }
.process-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.process-row.reverse .process-img { order: 2; }
.process-img { overflow: hidden; }
.process-img.chart { box-shadow: 0 22px 56px rgba(20,44,80,.10); }
.process-img img { aspect-ratio: 4/3; object-fit: cover; transition: transform .8s; }
.process-row:hover .process-img img { transform: scale(1.03); }
.step-num { font-family: var(--serif); font-size: 46px; color: var(--accent); line-height: 1; display: block; margin-bottom: 16px; }
.process-text h3 { font-size: 34px; margin-bottom: 16px; }
.process-text p { font-size: 14px; color: var(--muted); max-width: 440px; line-height: 1.9; margin: 0; }

/* ============ MATERIALS ============ */
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.material-card { background: var(--paper); border: 1px solid var(--line); }
.material-card img { aspect-ratio: 4/3.4; object-fit: cover; transition: transform .7s; }
.material-card:hover img { transform: scale(1.04); }
.material-card img { clip-path: inset(0 0 0 0); }
.material-card { overflow: hidden; }
.material-body { padding: 30px 28px 34px; }
.material-no { font-family: var(--serif); font-size: 13px; color: var(--accent); }
.material-body h3 { font-size: 27px; margin: 8px 0 12px; }
.material-body p { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 0; }

/* ============ OEM ============ */
.oem { background: var(--paper); }
.oem-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.oem-intro { position: sticky; top: 110px; }
.oem-intro .section-title { font-size: clamp(36px, 4vw, 54px); }
.oem-cards { display: grid; gap: 24px; }
.oem-card { border: 1px solid var(--line); padding: 42px 44px; background: var(--bg); position: relative; }
.oem-tag { font-size: 10px; letter-spacing: .24em; color: var(--accent); display: block; margin-bottom: 18px; }
.oem-card h3 { font-size: 32px; margin-bottom: 14px; }
.oem-card p { font-size: 13.5px; color: var(--muted); line-height: 1.9; max-width: 580px; }
.oem-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.oem-card li { font-size: 12px; color: var(--ink-soft); position: relative; padding-left: 16px; }
.oem-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ============ QUALITY ============ */
.quality { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 660px; }
.quality-media { overflow: hidden; }
.quality-media img { width: 100%; height: 100%; object-fit: cover; min-height: 660px; }
.quality-content { background: var(--dark); display: flex; align-items: center; padding: 90px 0; }
.quality-inner { max-width: none; }
.quality-inner > p:not(.eyebrow) { color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.9; max-width: 540px; margin: 0 0 40px; }
.quality-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.quality-list div { display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.quality-list span { font-family: var(--serif); font-size: 14px; color: #9FC2EC; }
.quality-list p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.84); }

/* ============ GALLERY ============ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; cursor: zoom-in; background: var(--tint); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-item:nth-child(3) { grid-column: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .4s; filter: saturate(.9); }
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; background: linear-gradient(0deg, rgba(16,28,50,.68), transparent); color: #fff; font-size: 11px; letter-spacing: .1em; opacity: 0; transform: translateY(8px); transition: .3s; }
.gallery-item:hover figcaption { opacity: 1; transform: none; }

/* ============ CTA ============ */
.cta { position: relative; min-height: 520px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(16,28,50,.68); }
.cta-inner { position: relative; z-index: 2; padding: 90px 0; }
.cta-inner h2 { font-size: clamp(42px, 6vw, 78px); color: #fff; margin-bottom: 20px; }
.cta-inner > p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 34px; font-size: 14.5px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer { background: var(--paper); padding: 80px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1fr; gap: 60px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); max-width: 300px; line-height: 1.85; margin-top: 22px; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; font-weight: 500; }
.footer-col p, .footer-col a { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.85; margin: 0 0 9px; }
.footer-col a:hover { color: var(--accent-deep); }
.footer-cta { color: var(--accent-deep) !important; margin-top: 18px !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 66px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,22,42,.94); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 50px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 78vh; width: auto; object-fit: contain; }
.lightbox p { color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .1em; margin-top: 18px; }
.lightbox-close { position: absolute; top: 26px; right: 34px; background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; }
  .intro-grid, .craft-grid, .oem-grid { gap: 60px; }
  .process-row { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}
@media (max-width: 900px) {
  .wrap, .header-inner { width: min(calc(100% - 44px), var(--wrap)); }
  .section { padding: 90px 0; }
  .desktop-nav, .header-actions .btn { display: none; }
  .mobile-toggle { display: block; color: #fff; }
  .site-header.scrolled .mobile-toggle { color: var(--ink); }
  .mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 22px 26px; flex-direction: column; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
  .intro-grid, .craft-grid, .oem-grid, .process-row, .quality { grid-template-columns: 1fr; }
  .process-row.reverse .process-img { order: 0; }
  .process-list { gap: 60px; }
  .oem-intro { position: static; }
  .cap-grid, .material-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 36px; }
  .craft-note { right: 0; }
  .quality-media img { min-height: 420px; height: 420px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-row: span 2; }
  .hero-foot-inner { gap: 24px; flex-wrap: wrap; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 760px; }
  .hero-content { padding-top: 60px; padding-bottom: 170px; }
  .hero-title { font-size: 54px; }
  .hero-foot-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 24px; }
  .hero-stat { display: block; }
  .hero-stat strong { display: block; font-size: 22px; }
  .hero-stat span { font-size: 10px; }
  .cap-grid, .material-grid { grid-template-columns: 1fr; }
  .cap-card { min-height: 0; padding: 38px 30px; }
  .section-title { font-size: 38px; }
  .craft-note { position: static; width: 100%; margin-top: 18px; box-shadow: none; border: 1px solid var(--line); }
  .quality-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
}
