:root {
  --ink: #111820;
  --ink-2: #24303d;
  --paper: #f4f6f8;
  --white: #ffffff;
  --line: rgba(17, 24, 32, .13);
  --muted: #66717d;
  --blue: #1458ff;
  --blue-2: #0c35a3;
  --cyan: #7bdcff;
  --orange: #ff6b2c;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(10, 24, 45, .12);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link { position: fixed; top: -60px; left: 24px; z-index: 200; padding: 12px 18px; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #9ab8ff; }
.display { margin: 0; font-size: clamp(48px, 7vw, 100px); line-height: .96; letter-spacing: -.055em; font-weight: 650; }
.title { margin: 0; font-size: clamp(36px, 5vw, 68px); line-height: 1.04; letter-spacing: -.045em; font-weight: 650; }
.title-sm { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; letter-spacing: -.03em; }
.lede { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.72; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); align-items: end; gap: 64px; margin-bottom: 54px; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.8; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 78px; color: var(--white); transition: background .25s, color .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.light-header { color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(18px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: block; flex: 0 0 34px; border-radius: 9px; overflow: hidden; background: var(--blue); box-shadow: 0 6px 18px rgba(20,88,255,.22); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand small { display: block; margin-top: 2px; font-size: 9px; letter-spacing: .12em; font-weight: 600; opacity: .62; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav a { position: relative; opacity: .84; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-cta { padding: 11px 18px; color: var(--white) !important; background: var(--blue); border-radius: 999px; opacity: 1 !important; }
.nav-cta::after { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; color: inherit; background: transparent; }
.site-header:not(.scrolled):not(.light-header) .nav { padding: 10px 12px 10px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(7,15,27,.38); backdrop-filter: blur(12px); }

.hero { position: relative; min-height: 760px; height: min(900px, 100vh); color: var(--white); background: #09121f; overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 45%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #09121f 0%, rgba(9,18,31,.74) 12%, rgba(9,18,31,.08) 62%), linear-gradient(0deg, rgba(9,18,31,.42), transparent 42%); }
.hero-media img { height: 100%; object-fit: cover; object-position: center; }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, black, transparent 58%); }
.hero .container { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-copy { width: min(760px, 63%); padding-top: 50px; }
.hero-copy .display span { color: #8db1ff; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: 19px; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s, color .2s, border .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--blue); }
.btn-primary:hover { background: #2a6aff; }
.btn-light { color: var(--ink); background: var(--white); }
.btn-outline { color: inherit; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.btn-dark { color: var(--white); background: var(--ink); }
.hero-meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.16); }
.hero-meta .container { display: grid; grid-template-columns: repeat(3, 1fr); height: auto; }
.meta-item { padding: 22px 26px 24px 0; border-right: 1px solid rgba(255,255,255,.16); }
.meta-item + .meta-item { padding-left: 26px; }
.meta-item:last-child { border-right: 0; }
.meta-item strong { display: block; font-size: 17px; }
.meta-item span { display: block; margin-top: 5px; color: rgba(255,255,255,.52); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.value-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value { padding: 38px 34px; border-right: 1px solid var(--line); }
.value:first-child { padding-left: 0; }
.value:last-child { border-right: 0; }
.value b { display: block; font-size: 30px; letter-spacing: -.04em; }
.value span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.cap-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.cap-card { min-height: 290px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, box-shadow .3s, border .3s; }
.cap-card:hover { transform: translateY(-6px); border-color: rgba(20,88,255,.32); box-shadow: var(--shadow); }
.cap-card:nth-child(1), .cap-card:nth-child(4) { grid-column: span 7; }
.cap-card:nth-child(2), .cap-card:nth-child(3) { grid-column: span 5; }
.cap-index { display: flex; justify-content: space-between; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.cap-icon { width: 44px; height: 44px; border-radius: 13px; background: #eaf0ff; display: grid; place-items: center; font-size: 20px; }
.cap-card h3 { margin: 64px 0 12px; font-size: 28px; letter-spacing: -.035em; }
.cap-card p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.72; }
.cap-card ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.cap-card li { padding: 7px 10px; color: var(--ink-2); background: #f1f4f7; border-radius: 999px; font-size: 12px; }
.casting-section { position: relative; overflow: hidden; }
.casting-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: 80px; border: 1px solid rgba(20,88,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(20,88,255,.025), 0 0 0 140px rgba(20,88,255,.018); pointer-events: none; }
.casting-section .container { position: relative; }
.casting-flow { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -8px 0 28px; padding: 16px 20px; color: var(--ink-2); border: 1px solid rgba(20,88,255,.14); border-radius: 16px; background: linear-gradient(90deg, rgba(20,88,255,.08), rgba(123,220,255,.08)); box-shadow: 0 14px 35px rgba(10,24,45,.06); }
.casting-flow span { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.casting-flow b { display: grid; place-items: center; width: 28px; height: 28px; color: var(--white); background: var(--blue); border-radius: 50%; font-size: 10px; }
.casting-flow i { color: rgba(20,88,255,.5); font-style: normal; font-size: 18px; }
.casting-grid .cap-card { position: relative; overflow: hidden; background: linear-gradient(145deg, #fff 12%, #f6f9ff 100%); }
.casting-grid .cap-card::before { content: ""; position: absolute; width: 190px; height: 190px; right: -90px; bottom: -105px; border: 26px solid rgba(20,88,255,.055); border-radius: 50%; transition: transform .45s ease; }
.casting-grid .cap-card:hover::before { transform: scale(1.14) rotate(12deg); }
.casting-grid .cap-icon { transition: transform .35s ease, color .35s, background .35s; }
.casting-grid .cap-card:hover .cap-icon { color: var(--white); background: var(--blue); transform: translateY(-3px) rotate(10deg); }
.casting-grid .cap-card h3 { margin-top: 48px; }
.casting-grid .cap-card ul, .casting-grid .cap-range { position: relative; z-index: 1; }
.cap-range { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(17,24,32,.1); }
.cap-range span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.cap-range strong { color: var(--blue-2); font-size: 13px; }

.dark-section { color: var(--white); background: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card { position: relative; min-height: 540px; border-radius: 22px; overflow: hidden; background: #e8ebef; }
.product-card img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.product-card:hover img { transform: scale(1.035); }
.product-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(4,9,16,.83)); }
.product-card-copy { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; color: var(--white); }
.product-card-copy .tag { font-size: 11px; letter-spacing: .15em; color: #a9c2ff; }
.product-card-copy h3 { margin: 10px 0 8px; font-size: 28px; letter-spacing: -.035em; }
.product-card-copy p { margin: 0; max-width: 500px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.6; }
.card-arrow { position: absolute; z-index: 3; right: 24px; top: 24px; display: grid; place-items: center; width: 46px; height: 46px; color: var(--ink); background: rgba(255,255,255,.9); border-radius: 50%; transition: transform .25s; }
.product-card:hover .card-arrow { transform: rotate(45deg); }
.center-actions { margin-top: 42px; text-align: center; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-step { min-height: 230px; padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.45); }
.process-step i { display: block; color: var(--blue); font-style: normal; font-size: 12px; font-weight: 800; }
.process-step h3 { margin: 60px 0 10px; font-size: 20px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.dark-section .section-head > p { color: rgba(255,255,255,.68); }
.dark-section .process { border-color: rgba(255,255,255,.15); }
.dark-section .process-step { border-color: rgba(255,255,255,.15); color: var(--white); background: rgba(255,255,255,.055); transition: background .3s, transform .3s; }
.dark-section .process-step:hover { z-index: 1; background: rgba(20,88,255,.18); transform: translateY(-3px); }
.dark-section .process-step i { color: #8fb0ff; }
.dark-section .process-step h3 { color: var(--white); }
.dark-section .process-step p { color: rgba(255,255,255,.72); }

.tech-feature { position: relative; min-height: 650px; overflow: hidden; background: #0a1422; }
.tech-feature > img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .44; }
.tech-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #07101d 10%, rgba(7,16,29,.86) 52%, rgba(7,16,29,.25)); }
.tech-feature .container { position: relative; z-index: 2; min-height: 650px; display: flex; align-items: center; }
.tech-copy { width: min(670px, 62%); color: var(--white); }
.tech-copy p { color: rgba(255,255,255,.68); line-height: 1.8; }
.tech-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 0; }
.tech-points span { padding: 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.04); font-size: 13px; }

.cta-band { position: relative; padding: 100px 0; color: var(--white); background: var(--blue); overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 460px; height: 460px; right: -80px; top: -210px; border: 100px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta-row { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.cta-row h2 { max-width: 800px; }

.site-footer { color: rgba(255,255,255,.76); background: #080d13; }
.footer-main { padding: 72px 0; display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 60px; }
.footer-intro p { max-width: 390px; color: rgba(255,255,255,.46); line-height: 1.75; }
.footer-col h4 { margin: 0 0 18px; color: var(--white); font-size: 13px; }
.footer-col a, .footer-col span { display: block; margin: 11px 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.5; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: rgba(255,255,255,.38); font-size: 12px; }

.page-hero { padding: 170px 0 92px; color: var(--white); background: #0b1522; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 10%, rgba(20,88,255,.36), transparent 34%), linear-gradient(120deg, transparent 55%, rgba(123,220,255,.08)); }
.page-hero .container { position: relative; }
.page-hero .lede { color: rgba(255,255,255,.62); }
.crumbs { margin-bottom: 26px; color: rgba(255,255,255,.5); font-size: 12px; }
.crumbs a:hover { color: var(--white); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-btn { border: 1px solid var(--line); padding: 10px 15px; border-radius: 999px; color: var(--muted); background: transparent; }
.filter-btn.active { border-color: var(--ink); color: var(--white); background: var(--ink); }
.product-list .product-card[hidden] { display: none; }

.detail-hero { min-height: 760px; padding: 146px 0 70px; display: grid; align-items: end; color: var(--white); background: #0b131e; position: relative; overflow: hidden; }
.detail-hero img { position: absolute; inset: 0 0 0 44%; width: 56%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b131e 0%, #0b131e 38%, rgba(11,19,30,.38) 66%, rgba(11,19,30,.1)), linear-gradient(0deg, rgba(11,19,30,.55), transparent 40%); }
.detail-hero .container { position: relative; z-index: 2; }
.detail-copy { width: 50%; }
.detail-id { display: inline-flex; gap: 14px; margin-bottom: 22px; color: #9bb8ff; font-size: 12px; letter-spacing: .13em; }
.detail-copy h1 { margin: 0; font-size: clamp(45px, 6vw, 82px); line-height: 1.02; letter-spacing: -.05em; }
.detail-copy h1 small { display: block; margin-top: 14px; color: rgba(255,255,255,.45); font-size: 15px; letter-spacing: .06em; font-weight: 500; }
.detail-copy p { margin: 24px 0 0; max-width: 620px; color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.72; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(255,107,44,.24); border-radius: 12px; color: #8a4a2e; background: #fff2eb; font-size: 13px; line-height: 1.65; }
.notice strong { white-space: nowrap; color: #bd4817; }
.detail-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.sticky-aside { position: sticky; top: 110px; }
.sticky-aside p { color: var(--muted); line-height: 1.8; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--white); font-size: 12px; }
.spec-table { overflow: hidden; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 190px 1fr; gap: 30px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--muted); font-size: 13px; }
.spec-row dd { margin: 0; font-weight: 600; line-height: 1.55; }
.material-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.material-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.material-card b { display: block; margin-bottom: 9px; }
.material-card span { color: var(--muted); font-size: 13px; line-height: 1.65; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery a { position: relative; min-width: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; background: #eef0f2; box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.gallery img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.025); }
.detail-pages { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; width: min(100%, 1080px); margin: 0 auto; }
.detail-pages a { display: block; min-width: 0; width: 100%; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 12px 36px rgba(10,24,45,.09); }
.detail-pages img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }

.cap-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.metric-card { padding: 28px; min-height: 200px; color: var(--white); border-radius: 18px; background: var(--ink); }
.metric-card strong { display: block; color: var(--cyan); font-size: 42px; letter-spacing: -.05em; }
.metric-card span { display: block; margin-top: 45px; color: rgba(255,255,255,.6); line-height: 1.6; }
.matrix { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 18px; overflow: hidden; }
.matrix th, .matrix td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.matrix th { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: #eef1f5; }
.matrix td { color: var(--ink-2); }
.matrix td:first-child { font-weight: 700; }
.matrix tbody tr { transition: background .2s; }
.matrix tbody tr:hover td { background: #f5f8ff; }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: -18px 0 14px; color: var(--white); }
.matrix-label span { padding: 7px 11px; border: 1px solid rgba(143,176,255,.28); border-radius: 999px; color: #b8ccff; background: rgba(20,88,255,.12); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.matrix-label small { color: rgba(255,255,255,.52); }
.matrix-note { margin: 16px 0 0; color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.7; }

.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.about-facts article { min-height: 158px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.about-facts strong { display: block; color: var(--blue); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.08; letter-spacing: -.04em; }
.about-facts span { display: block; margin-top: 28px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.supply-section { position: relative; overflow: hidden; color: var(--white); background: #0b1522; }
.supply-section::after { content: ""; position: absolute; width: 560px; height: 560px; right: -150px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(20,88,255,.28), transparent 68%); pointer-events: none; }
.supply-section .container { position: relative; z-index: 1; }
.supply-section .section-head p { color: rgba(255,255,255,.7); }
.partner-rail { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.045); }
.partner-rail span { flex: 1 1 170px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: rgba(255,255,255,.9); background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); text-align: center; font-size: 14px; font-weight: 700; transition: border-color .25s, transform .25s, background .25s; }
.partner-rail span:hover { border-color: rgba(123,220,255,.45); background: rgba(20,88,255,.14); transform: translateY(-3px); }
.supply-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.supply-grid article { position: relative; min-height: 220px; padding: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.035); }
.supply-grid b { color: #8fb0ff; font-size: 12px; }
.supply-grid h3 { margin: 50px 0 12px; font-size: 22px; }
.supply-grid p { margin: 0; color: rgba(255,255,255,.67); font-size: 14px; line-height: 1.7; }
.claim-note { margin: 18px 0 0; color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.7; }
.magnesium-advantage { background: linear-gradient(180deg, #f4f6f8, #eef3fb); }
.magnesium-loop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.magnesium-loop article { position: relative; min-height: 250px; padding: 30px; overflow: hidden; border: 1px solid rgba(20,88,255,.13); border-radius: 18px; background: rgba(255,255,255,.86); box-shadow: 0 16px 45px rgba(10,24,45,.06); }
.magnesium-loop article::before { content: ""; position: absolute; left: 0; top: 0; width: 34%; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.magnesium-loop article > span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.magnesium-loop h3 { margin: 56px 0 13px; font-size: 24px; letter-spacing: -.025em; }
.magnesium-loop p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.78; }
.magnesium-highlight { display: grid; grid-template-columns: .45fr 1fr auto; align-items: center; gap: 34px; margin-top: 18px; padding: 28px 30px; color: var(--white); border-radius: 18px; background: linear-gradient(105deg, #0c35a3, #1458ff 58%, #2578ff); box-shadow: 0 24px 60px rgba(20,88,255,.22); }
.magnesium-highlight small { display: block; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.magnesium-highlight strong { display: block; margin-top: 3px; font-size: 54px; line-height: 1; letter-spacing: -.06em; }
.magnesium-highlight sup { font-size: 18px; }
.magnesium-highlight p { margin: 0; color: rgba(255,255,255,.83); font-size: 14px; line-height: 1.65; }
.magnesium-highlight p span { color: rgba(255,255,255,.58); font-size: 11px; }
.magnesium-highlight a { padding: 12px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.magnesium-highlight a:hover { color: var(--blue); background: var(--white); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-list { margin-top: 32px; }
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; margin-bottom: 7px; color: var(--muted); }
.contact-item a, .contact-item strong { font-size: 18px; }
.rfq { padding: 34px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; color: var(--ink); background: #f8fafb; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,88,255,.1); }
.form-status { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 34px; background: rgba(3,7,12,.92); }
.lightbox.open { display: grid; }
.lightbox img { width: auto; max-width: min(92vw, 1500px); max-height: 88vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.12); font-size: 24px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .section { padding: 82px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .nav, .site-header:not(.scrolled):not(.light-header) .nav { position: fixed; inset: 78px 0 0; display: none; flex-direction: column; align-items: flex-start; padding: 38px 24px; color: var(--ink); background: var(--white); border: 0; border-radius: 0; font-size: 20px; }
  .menu-open .nav { display: flex; }
  .menu-btn { position: absolute; z-index: 110; top: 18px; right: 24px; display: block !important; width: 58px; min-width: 58px; padding: 0; margin: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: var(--white); background: rgba(7,15,27,.62); font-size: 12px; font-weight: 700; letter-spacing: .08em; backdrop-filter: blur(10px); }
  .light-header .menu-btn, .scrolled .menu-btn { border-color: var(--line); color: var(--ink); background: var(--white); }
  .hero-media { left: 28%; opacity: .72; }
  .hero-copy { width: 85%; }
  .hero-media::after { background: linear-gradient(90deg, #09121f, rgba(9,18,31,.48)); }
  .product-card { min-height: 430px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .detail-hero img { inset: 0; width: 100%; opacity: .42; }
  .detail-hero::after { background: linear-gradient(90deg, #0b131e 0%, rgba(11,19,30,.85) 65%, rgba(11,19,30,.45)); }
  .detail-copy { width: 72%; }
  .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .sticky-aside { position: static; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .magnesium-highlight { grid-template-columns: .4fr 1fr; }
  .magnesium-highlight a { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .site-header { height: 68px; }
  .menu-btn { top: 13px; right: 15px; }
  .nav { inset-top: 68px; }
  .brand small { display: none; }
  .hero { min-height: 700px; height: 100svh; }
  .hero-copy { width: 100%; }
  .hero-copy .display { font-size: clamp(42px, 13vw, 62px); }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-meta .container { grid-template-columns: 1fr; padding: 14px 0; }
  .meta-item { padding: 6px 0 !important; border: 0; }
  .meta-item strong { font-size: 13px; }
  .meta-item span { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .value { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cap-card:nth-child(n) { grid-column: span 12; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 440px; }
  .process { grid-template-columns: 1fr; }
  .tech-copy { width: 100%; }
  .tech-points { grid-template-columns: 1fr; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .page-hero { padding: 130px 0 72px; }
  .detail-hero { min-height: 690px; padding-top: 120px; }
  .detail-copy { width: 100%; }
  .spec-row { grid-template-columns: 1fr; gap: 7px; }
  .material-grid, .gallery, .detail-pages, .cap-hero-grid { grid-template-columns: 1fr; }
  .about-facts, .supply-grid, .magnesium-loop { grid-template-columns: 1fr; }
  .casting-flow { flex-direction: column; align-items: stretch; }
  .casting-flow span { justify-content: center; }
  .casting-flow i { transform: rotate(90deg); text-align: center; }
  .cap-range { align-items: flex-start; flex-direction: column; gap: 8px; }
  .matrix-label { align-items: flex-start; flex-direction: column; }
  .matrix { display: block; overflow-x: auto; }
  .matrix th, .matrix td { min-width: 170px; }
  .capability-matrix { overflow: visible; border-radius: 0; background: transparent; }
  .capability-matrix thead { display: none; }
  .capability-matrix tbody { display: grid; gap: 12px; }
  .capability-matrix tr { display: block; overflow: hidden; border-radius: 14px; background: var(--white); }
  .capability-matrix td { display: grid; grid-template-columns: 88px 1fr; gap: 12px; min-width: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .capability-matrix td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
  .capability-matrix td:first-child { color: var(--blue-2); }
  .capability-matrix td:last-child { border-bottom: 0; }
  .magnesium-highlight { grid-template-columns: 1fr; gap: 20px; }
  .magnesium-highlight a { grid-column: auto; }
  .detail-pages { gap: 16px; }
  .detail-pages a { border-radius: 10px; }
  .form-grid { grid-template-columns: 1fr; }
}

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