:root {
  --bg: #f4f4f1;
  --ink: #0b0d0e;
  --muted: #65696b;
  --line: rgba(11, 13, 14, 0.15);
  --lime: #d7ff43;
  --header-height: 76px;
  --shell: min(1440px, calc(100vw - 96px));
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: #fff;
  background: #000;
}
.skip-link:focus { transform: none; }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 36px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 244, 241, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { justify-self: start; width: 116px; overflow: hidden; border-radius: 4px; }
.brand img, .footer-brand img { aspect-ratio: 405 / 104; object-fit: cover; }
.site-nav { display: flex; gap: 34px; font-size: 14px; }
.site-nav a { position: relative; padding: 28px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta {
  justify-self: end;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 13px;
  transition: color 0.25s ease, background 0.25s ease;
}
.header-cta:hover { color: #000; background: #fff; }
.site-header.is-scrolled .header-cta:hover { color: #fff; background: #000; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 720px; height: 100svh; overflow: hidden; color: #fff; background: #111; }
.hero-track, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 0.9s ease, visibility 0.9s ease, transform 7s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide img { height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.04) 42%, rgba(0,0,0,.52)); }
.hero-shade-left { background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.08) 70%); }
.hero-shade-right { background: linear-gradient(270deg, rgba(0,0,0,.56), rgba(0,0,0,.04) 68%); }
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 15%;
  width: min(760px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
}
.hero-copy-left { left: 7%; bottom: 18%; transform: none; text-align: left; }
.hero-copy-right { right: 7%; left: auto; bottom: 18%; transform: none; text-align: right; }
.eyebrow, .section-index { margin: 0 0 20px; font-size: 12px; letter-spacing: 0.18em; }
.hero-copy h1, .hero-copy h2 { margin: 0; font-size: clamp(64px, 8vw, 132px); font-weight: 520; line-height: 0.9; letter-spacing: -0.065em; }
.hero-copy p:not(.eyebrow) { margin: 28px 0 30px; font-size: clamp(15px, 1.3vw, 19px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 158px; padding: 14px 23px; border: 1px solid currentColor; border-radius: 100px; font-size: 14px; }
.button-light { transition: color 0.25s, background 0.25s; }
.button-light:hover { color: #000; background: #fff; }
.hero-controls { position: absolute; z-index: 4; bottom: 34px; left: 50%; display: flex; align-items: center; gap: 18px; transform: translateX(-50%); }
.slider-arrow { width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(0,0,0,.12); cursor: pointer; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { position: relative; width: 48px; padding: 0 0 8px; color: rgba(255,255,255,.55); border: 0; border-bottom: 1px solid rgba(255,255,255,.3); background: none; cursor: pointer; text-align: left; }
.slider-dots button::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: #fff; }
.slider-dots button.is-active { color: #fff; }
.slider-dots button.is-active::after { width: 100%; animation: slide-progress 6s linear; }
.hero-scroll { position: absolute; z-index: 4; right: 40px; bottom: 34px; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .18em; writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 58px; background: rgba(255,255,255,.7); }

.intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 100px; padding-block: 160px; }
.intro h2, .section-heading h2, .tech-intro h2, .vision h2, .contact h2 { margin: 0; font-size: clamp(50px, 6.6vw, 104px); font-weight: 520; line-height: 0.95; letter-spacing: -0.06em; }
.intro-copy { align-self: end; max-width: 620px; }
.intro-copy > p { margin: 0 0 40px; color: #2b2e2f; font-size: clamp(19px, 2vw, 28px); line-height: 1.58; }
.text-link { display: inline-flex; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translate(3px, -3px); }

.products { padding-bottom: 170px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.section-heading > p { max-width: 390px; margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: #e8e8e4; overflow: hidden; }
.product-media { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; }
.product-media img { height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-tag { position: absolute; top: 18px; left: 18px; padding: 7px 11px; border-radius: 100px; background: rgba(255,255,255,.82); backdrop-filter: blur(12px); font-size: 11px; }
.product-info { display: grid; grid-template-columns: 1.2fr 1.8fr auto; align-items: end; gap: 20px; padding: 22px; border-top: 1px solid rgba(0,0,0,.09); }
.product-info p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.product-info h3 { margin: 4px 0 0; font-size: 23px; font-weight: 520; letter-spacing: -.03em; }
.product-info > a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(0,0,0,.25); border-radius: 50%; transition: color .25s, background .25s; }
.product-info > a:hover { color: #fff; background: #000; }

.technology { padding-block: 150px 130px; color: #fff; background: radial-gradient(circle at 75% 20%, #28311e 0, #111512 29%, #080a0b 67%); }
.tech-intro { max-width: 980px; margin-inline: auto; text-align: center; }
.section-index-light { color: rgba(255,255,255,.62); }
.tech-intro > p:last-child { max-width: 620px; margin: 34px auto 0; color: rgba(255,255,255,.66); font-size: 18px; line-height: 1.7; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 105px; border-top: 1px solid rgba(255,255,255,.18); }
.metric { padding: 46px 28px 0; border-right: 1px solid rgba(255,255,255,.18); text-align: center; }
.metric:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.metric strong { font-size: clamp(52px, 5.6vw, 88px); font-weight: 470; letter-spacing: -.065em; }
.metric span { margin-left: 6px; color: var(--lime); font-size: 17px; }
.metric p { margin: 15px 0 0; color: rgba(255,255,255,.55); font-size: 13px; }

.details { padding-block: 170px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-card { position: relative; min-height: 560px; overflow: hidden; background: #151718; color: #fff; }
.detail-card img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.detail-card:hover img { transform: scale(1.025); }
.detail-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.74)); }
.detail-card > div { position: absolute; z-index: 2; right: 30px; bottom: 30px; left: 30px; }
.detail-card span { font-size: 12px; opacity: .62; }
.detail-card h3 { margin: 11px 0 7px; font-size: clamp(28px, 3vw, 46px); font-weight: 500; letter-spacing: -.045em; }
.detail-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.detail-wide { grid-column: span 2; min-height: min(72vw, 790px); }

.vision { position: relative; min-height: 880px; height: 100svh; color: #fff; overflow: hidden; }
.vision > img { height: 100%; object-fit: cover; }
.vision-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.1) 75%); }
.vision-copy { position: absolute; left: max(48px, calc((100vw - min(1440px, 100vw - 96px)) / 2)); bottom: 12%; max-width: 930px; }
.vision-copy > p:last-child { max-width: 650px; margin: 36px 0 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.75; }

.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; padding-block: 150px; }
.contact-info { align-self: end; padding-bottom: 6px; }
.contact-info p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.contact-info a { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: clamp(20px, 2.2vw, 32px); }
.contact-info a span { transition: transform .25s; }
.contact-info a:hover span { transform: translate(4px, -4px); }
.contact-info p:last-child { margin: 18px 0 0; }

.site-footer { color: #fff; background: #080a0b; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 85px 100px; }
.footer-brand { width: min(320px, 70%); height: fit-content; overflow: hidden; border-radius: 5px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 13px; }
.footer-links p { margin: 0 0 8px; color: rgba(255,255,255,.42); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { width: fit-content; color: rgba(255,255,255,.78); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 20px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes slide-progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 980px) {
  :root { --shell: calc(100vw - 48px); }
  .site-header { grid-template-columns: 1fr auto; height: 68px; padding: 0 24px; }
  .brand { width: 104px; }
  .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: grid; gap: 7px; width: 42px; height: 42px; padding: 12px 8px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 68px 0 auto; display: flex; flex-direction: column; gap: 0; padding: 20px 24px 36px; color: var(--ink); background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s ease; }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a::after { display: none; }
  .hero-copy-left, .hero-copy-right { right: auto; left: 24px; bottom: 16%; width: calc(100% - 48px); text-align: left; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(58px, 13vw, 92px); }
  .hero-scroll { display: none; }
  .intro, .contact { grid-template-columns: 1fr; gap: 70px; padding-block: 120px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1.38 / 1; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .metric:nth-child(3) { border-left: 1px solid rgba(255,255,255,.18); }
  .detail-card { min-height: 460px; }
  .vision-copy { left: 24px; width: calc(100% - 48px); }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 32px); }
  .hero { min-height: 680px; }
  .hero-copy { bottom: 17%; }
  .hero-copy p:not(.eyebrow) { max-width: 330px; margin-top: 22px; }
  .hero-controls { right: 16px; bottom: 24px; left: 16px; justify-content: center; transform: none; }
  .slider-arrow { display: none; }
  .intro { padding-block: 90px; }
  .intro-copy > p { font-size: 19px; }
  .products { padding-bottom: 100px; }
  .section-heading { margin-bottom: 40px; }
  .product-info { grid-template-columns: 1fr auto; }
  .product-info > p { display: none; }
  .technology { padding-block: 100px 80px; }
  .metric-grid { margin-top: 70px; }
  .metric { padding: 32px 10px; }
  .metric strong { font-size: 48px; }
  .metric span { font-size: 13px; }
  .details { padding-block: 100px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card, .detail-wide { grid-column: auto; min-height: 460px; }
  .detail-wide { min-height: 520px; }
  .detail-card > div { right: 20px; bottom: 22px; left: 20px; }
  .vision { min-height: 720px; }
  .vision-copy { bottom: 10%; }
  .vision-copy > p:last-child { font-size: 15px; }
  .contact { padding-block: 100px; }
  .footer-main { padding-block: 70px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .footer-bottom { gap: 15px; flex-direction: column; }
}

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