:root {
  --ink: #111315;
  --ink-soft: #24272a;
  --paper: #f1f0ec;
  --white: #fff;
  --muted: #777b7d;
  --line: #d3d2cd;
  --orange: #ef5b23;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif; letter-spacing: 0; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; height: 94px; padding: 0 max(32px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 38px; height: 38px; position: relative; display: inline-flex; align-items: center; justify-content: center; }
.brand-mark i { position: absolute; width: 24px; height: 4px; background: var(--orange); transform-origin: left center; }
.brand-mark i:nth-child(1) { transform: translate(-8px,-8px) rotate(45deg); }
.brand-mark i:nth-child(2) { transform: translate(2px,0) rotate(135deg); }
.brand-mark i:nth-child(3) { transform: translate(-8px,8px) rotate(45deg); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 20px; line-height: 1; }
.brand-copy small { font-size: 8px; letter-spacing: 1.7px; color: #bcbfc1; }
.site-nav { display: flex; align-items: center; gap: 38px; margin-left: auto; margin-right: 58px; font-size: 14px; }
.site-nav a { position: relative; padding: 38px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 27px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.site-nav a:hover::after { width: 100%; }
.header-phone { display: grid; line-height: 1.25; font-weight: 700; font-size: 15px; }
.header-phone span { color: #aaaeb0; font-size: 10px; font-weight: 400; }
.nav-toggle { display: none; }

.hero { position: relative; min-height: 720px; height: min(880px, 100vh); color: var(--white); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(8,10,11,.94) 0%, rgba(8,10,11,.76) 38%, rgba(8,10,11,.2) 72%, rgba(8,10,11,.14) 100%); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 64px)); height: 100%; margin: auto; padding-top: clamp(185px, 24vh, 245px); }
.eyebrow, .kicker { margin: 0 0 22px; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 25px; max-width: 700px; font-size: clamp(58px, 7vw, 104px); line-height: .98; letter-spacing: 0; font-weight: 750; }
.hero-lead { max-width: 530px; color: #c5c8c9; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 35px; margin-top: 38px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; font-size: 14px; font-weight: 700; }
.button-primary { background: var(--orange); color: var(--white); min-width: 174px; }
.text-link { padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 13px; }
.hero-index { position: absolute; z-index: 1; right: max(32px, calc((100vw - var(--max)) / 2)); top: 50%; display: flex; align-items: center; gap: 12px; transform: rotate(90deg) translateX(50%); transform-origin: right; font-size: 11px; }
.hero-index b { color: var(--orange); }
.hero-index span { width: 78px; height: 1px; background: rgba(255,255,255,.45); }
.hero-scroll { position: absolute; z-index: 1; bottom: 0; left: max(32px, calc((100vw - var(--max)) / 2)); height: 76px; display: flex; align-items: center; gap: 13px; color: #bfc1c2; font-size: 10px; }
.hero-scroll span { width: 1px; height: 76px; background: var(--orange); }

.section { width: min(var(--max), calc(100% - 64px)); margin: auto; }
.intro { padding: 120px 0 130px; display: grid; grid-template-columns: 180px 1.6fr .8fr; gap: 40px; align-items: start; }
.section-label { display: flex; align-items: center; gap: 12px; color: #65696a; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.section-label span { color: var(--orange); }
.section-label::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .5; }
.section-label.light { color: #a6a9aa; }
.intro h2, .capability h2, .contact h2 { margin: 0; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.15; letter-spacing: 0; }
.intro-copy { margin-top: 42px; color: #606465; font-size: 15px; line-height: 2; }

.products { width: 100%; max-width: none; padding: 100px max(32px, calc((100vw - var(--max)) / 2)) 110px; color: var(--white); background: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 58px; }
.section-head h2 { margin: 24px 0 0; font-size: clamp(45px, 5vw, 70px); }
.section-head > p { max-width: 440px; margin: 0 0 7px; color: #9fa2a4; line-height: 1.8; font-size: 14px; }
.product-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: #34383a; }
.gallery-item { position: relative; min-height: 310px; padding: 0; overflow: hidden; border: 0; background: #1a1d1f; cursor: zoom-in; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; background: #202325; transition: transform .4s ease, opacity .4s ease; }
.gallery-item:hover img { transform: scale(1.02); opacity: .82; }
.gallery-item > span { position: absolute; inset: auto 0 0; padding: 42px 20px 18px; display: flex; align-items: center; gap: 12px; color: var(--white); background: linear-gradient(transparent, rgba(5,6,7,.9)); text-align: left; font-size: 13px; }
.gallery-item > span::after { content: "+"; margin-left: auto; color: var(--orange); font-size: 21px; }
.gallery-item b { color: var(--orange); font-size: 10px; font-weight: 700; }

.connected { padding: 130px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.connected-heading .kicker { margin-top: 70px; }
.connected-heading h2 { margin-bottom: 28px; font-size: clamp(42px, 4.6vw, 66px); line-height: 1.12; }
.connected-heading > p:last-child { max-width: 520px; color: #626667; font-size: 14px; line-height: 1.9; }
.connected-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.connected-grid article { min-height: 245px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.connected-grid span { color: var(--orange); font-size: 11px; }
.connected-grid h3 { margin: 62px 0 12px; font-size: 20px; }
.connected-grid p { margin: 0; color: #686c6d; font-size: 13px; line-height: 1.8; }

.capability { padding: 130px 0; display: grid; grid-template-columns: 180px 1fr 1fr; gap: 40px; }
.capability-title .kicker { margin-bottom: 20px; }
.process-list { border-top: 1px solid var(--line); }
.process-list article { padding: 25px 0; display: grid; grid-template-columns: 50px 1fr; border-bottom: 1px solid var(--line); }
.process-list b { color: var(--orange); font-size: 11px; }
.process-list h3 { margin-bottom: 8px; font-size: 17px; }
.process-list p { margin: 0; color: #6c7071; font-size: 13px; line-height: 1.7; }

.about { min-height: 690px; display: grid; grid-template-columns: 1.06fr .94fr; background: var(--ink-soft); color: var(--white); }
.about-image { min-height: 560px; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; filter: saturate(.7); }
.about-content { padding: 90px max(40px, calc((100vw - var(--max)) / 2)) 80px 7vw; }
.about-content .kicker { margin-top: 90px; }
.about-content h2 { margin-bottom: 28px; font-size: clamp(42px, 4.6vw, 67px); line-height: 1.08; }
.about-content > p:not(.kicker) { max-width: 530px; color: #b4b7b8; line-height: 1.9; font-size: 14px; }
.light-link { display: inline-block; margin-top: 18px; color: var(--white); }

.contact { padding: 130px 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; }
.contact .kicker { margin-top: 70px; }
.contact-card { padding: 38px; background: var(--white); border-top: 4px solid var(--orange); box-shadow: 0 20px 50px rgba(17,19,21,.08); }
.contact-card small { color: var(--muted); font-size: 11px; }
.contact-card > a:not(.button) { display: block; margin: 14px 0 28px; font-size: clamp(28px, 3vw, 42px); font-weight: 750; }
.contact-card p { padding-top: 22px; border-top: 1px solid var(--line); color: #575b5d; font-size: 13px; }
.button-dark { margin-top: 22px; width: 100%; color: var(--white); background: var(--ink); }

footer { min-height: 160px; padding: 45px max(32px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 45px; color: #999c9e; background: #0b0d0e; }
.footer-brand { color: var(--white); margin-right: auto; }
footer p, footer > small { margin: 0; font-size: 11px; }

.lightbox { width: min(1100px, calc(100% - 32px)); padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox button { position: fixed; top: 20px; right: 25px; width: 45px; height: 45px; border: 1px solid #777; color: white; background: #111; cursor: pointer; font-size: 25px; }

@media (max-width: 900px) {
  .site-header { height: 76px; padding: 0 22px; }
  .header-phone { display: none; }
  .nav-toggle { z-index: 12; width: 42px; height: 42px; margin-left: auto; padding: 11px 8px; display: grid; align-content: center; gap: 7px; border: 0; background: transparent; }
  .nav-toggle span { width: 100%; height: 1px; background: white; transition: transform .2s; }
  .nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; margin: 0; padding: 110px 28px 40px; display: none; flex-direction: column; align-items: flex-start; gap: 0; background: #111315; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { width: 100%; padding: 21px 0; border-bottom: 1px solid #333; font-size: 24px; }
  .site-nav a::after { display: none; }
  .hero { height: 780px; min-height: 90vh; max-height: 880px; }
  .hero-content { width: calc(100% - 44px); padding-top: 190px; }
  .hero-shade { background: linear-gradient(90deg,rgba(8,10,11,.88),rgba(8,10,11,.25)); }
  .hero-index { display: none; }
  .intro, .capability { grid-template-columns: 1fr; }
  .intro { padding: 90px 0; }
  .intro-copy { max-width: 620px; margin-top: 0; }
  .product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; min-height: 560px; }
  .connected { grid-template-columns: 1fr; gap: 55px; }
  .section-head { align-items: start; gap: 50px; }
  .capability { padding: 100px 0; }
  .process-list { margin-top: 30px; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: auto; aspect-ratio: 16/9; }
  .about-content { padding: 70px 32px 85px; }
  .about-content .kicker { margin-top: 60px; }
  .contact { gap: 50px; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  .brand-copy strong { font-size: 18px; }
  .section { width: calc(100% - 40px); }
  .hero { min-height: 720px; height: 92vh; }
  .hero-image { object-position: 60% center; }
  .hero-content { width: calc(100% - 40px); padding-top: 170px; }
  h1 { font-size: 52px; line-height: 1.03; }
  .hero-lead { font-size: 15px; line-height: 1.8; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-scroll { left: 20px; }
  .intro { padding: 80px 0; gap: 30px; }
  .intro h2, .capability h2, .contact h2 { font-size: 38px; }
  .products { padding: 80px 20px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 25px; }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:first-child { grid-column: auto; min-height: 0; aspect-ratio: 4/5; }
  .gallery-item:nth-child(n+8) { aspect-ratio: 1/1; }
  .connected { padding: 85px 0; gap: 42px; }
  .connected-heading .kicker { margin-top: 55px; }
  .connected-heading h2 { font-size: 38px; }
  .connected-grid { grid-template-columns: 1fr; }
  .connected-grid article { min-height: 210px; padding: 26px; }
  .connected-grid h3 { margin-top: 48px; }
  .capability { padding: 85px 0; gap: 26px; }
  .about-image { aspect-ratio: 4/3; }
  .about-content { padding: 62px 20px 75px; }
  .about-content .kicker { margin-top: 55px; }
  .about-content h2 { font-size: 40px; }
  .contact { padding: 85px 0; grid-template-columns: 1fr; gap: 45px; }
  .contact .kicker { margin-top: 55px; }
  .contact-card { padding: 28px 22px; }
  footer { padding: 45px 20px; display: grid; gap: 22px; }
  .footer-brand { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
