@font-face {
  font-family: "Noto Sans SC Local";
  src: url("assets/NotoSansSC.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --charcoal: #111;
  --ink: #222;
  --muted: #a0a0a0;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans SC Local", "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 1000; height: 80px; background: var(--black); color: var(--white); }
.header-inner { width: min(1500px, 100%); height: 80px; margin: 0 auto; display: flex; align-items: center; padding: 0 5px; }
.brand { width: 230px; flex: 0 0 230px; }
.brand img { width: 228px; height: 62px; object-fit: contain; }
.main-nav { height: 100%; margin-left: auto; display: flex; align-items: stretch; }
.main-nav > a, .nav-group > a { min-width: 100px; height: 80px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 15px; }
.main-nav > a::after, .nav-group > a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 15px; height: 1px; background: var(--white); transition: left .25s ease, right .25s ease; }
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-group:hover > a::after { left: 28%; right: 28%; }
.nav-group { position: relative; }
.subnav { position: absolute; top: 80px; left: 0; width: 100px; display: none; background: var(--charcoal); color: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.nav-group:hover .subnav, .nav-group:focus-within .subnav { display: block; }
.subnav a { display: block; height: 36px; line-height: 36px; text-align: center; font-size: 14px; }
.subnav a:hover { background: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.hero { position: relative; height: 800px; overflow: hidden; background: var(--black); color: var(--white); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { position: absolute; top: 165px; left: max(24px, calc(50% - 540px)); width: 700px; text-align: center; }
.hero-copy p { margin: 0; font-size: 24px; line-height: 1.75; }
.hero-copy h1 { margin: 3px 0 0; font-size: 42px; line-height: 1.2; }
.hero-copy .hero-en { font-size: 22px; line-height: 1.2; }
.hero-copy .outline-button { margin-top: 45px; }

.product-section, .accessories { max-width: 1460px; margin: 0 auto; padding-top: 90px; }
.product-section { min-height: 1100px; }
.section-heading { height: 190px; text-align: center; }
.section-heading h2 { margin: 0; font-size: 42px; line-height: 1.5; font-weight: 700; }
.section-heading p { margin: 0; font-size: 22px; line-height: 1.5; }
.outline-button { width: 155px; height: 42px; margin: 10px auto 0; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: transparent; font-size: 15px; transition: color .25s ease, background .25s ease; }
.outline-button:hover { color: var(--white); background: var(--ink); }
.outline-button.light { color: var(--white); border-color: var(--white); }
.outline-button.light:hover { color: var(--ink); background: var(--white); }
.slider { position: relative; height: 800px; overflow: hidden; background: var(--black); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity 1s ease, transform 1s ease; }
.slide.active { opacity: 1; transform: scale(1); }

.accessories { min-height: 700px; padding-bottom: 30px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { overflow: hidden; text-align: center; }
.product-card img { width: 100%; height: 360px; object-fit: cover; transition: transform .45s ease, opacity .45s ease; }
.product-card:hover img { transform: scale(1.025); opacity: .9; }
.product-card h3 { margin: 14px 0 0; font-size: 18px; font-weight: 400; }

.experience { min-height: 640px; display: flex; align-items: center; justify-content: center; position: relative; background: var(--charcoal) url("../images/40828168.jpg") center / cover no-repeat; color: var(--white); }
.experience::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.22); }
.experience-copy { position: relative; z-index: 1; width: min(800px, calc(100% - 40px)); margin-top: -10px; text-align: center; }
.experience-copy h2 { margin: 0; font-size: 42px; line-height: 1.5; }
.experience-copy p { margin: 0; font-size: 22px; line-height: 1.5; }
.experience-actions { display: flex; justify-content: center; gap: 45px; margin-top: 30px; }

.site-footer { height: 146px; padding-top: 45px; background: #101010; color: #d8d8d8; }
.footer-nav { height: 35px; display: flex; align-items: center; justify-content: center; }
.footer-nav a { min-width: 132px; height: 32px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 16px; line-height: 1; }
.footer-nav a + a::before { content: ""; width: 1px; height: 32px; position: absolute; left: 0; top: 0; background: #5a5a5a; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--white); }
.footer-records { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 13px; font-size: 14px; line-height: 20px; white-space: nowrap; }
.police-record { display: inline-flex; align-items: center; gap: 8px; }
.police-badge { width: 24px; height: 24px; flex: 0 0 24px; display: inline-block; background: url("../images/footer-reference.png") -685px -138px / 2580px 184px no-repeat; }
.record-divider { width: 1px; height: 20px; background: #b0b0b0; }

@media (max-width: 1100px) {
  .header-inner { padding: 0 20px; }
  .brand { width: 200px; flex-basis: 200px; }
  .brand img { width: 200px; height: auto; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; top: 80px; left: 0; width: 100%; height: auto; display: none; flex-direction: column; background: var(--charcoal); }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-group > a { width: 100%; height: 48px; }
  .subnav { top: 0; left: auto; right: 0; }
  .hero-copy { left: 4%; width: 55%; }
}

@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }
  .site-header, .header-inner { height: 72px; }
  .site-header { border-top: 4px solid #303030; }
  .header-inner { padding: 0 13px; }
  .brand { width: 188px; flex: 0 0 188px; }
  .brand img { width: 188px; height: 58px; object-fit: contain; object-position: left center; }
  .menu-toggle { width: 58px; height: 44px; margin-left: auto; padding: 8px 14px; border-radius: 8px; background: #242424; cursor: pointer; }
  .menu-toggle span { height: 3px; margin: 5px 0; border-radius: 2px; }
  .main-nav { top: 68px; bottom: 0; height: calc(100vh - 68px); padding: 13px 32px 92px; overflow-y: auto; background: #000; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-group > a { width: 100%; min-width: 0; height: 76px; padding: 0; border-bottom: 1px dashed #bdbdbd; justify-content: flex-start; color: #fff; font-size: 16px; }
  .main-nav > a::after, .nav-group > a::after { display: none; }
  .nav-group { width: 100%; }
  .nav-group > a::before { content: ""; width: 12px; height: 12px; position: absolute; right: 20px; top: 33px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); transition: transform .2s ease; }
  .nav-group.expanded > a::before { transform: rotate(225deg); }
  .subnav { position: static; width: 100%; display: none; background: #151515; box-shadow: none; }
  .nav-group:hover .subnav, .nav-group:focus-within .subnav { display: none; }
  .nav-group.expanded .subnav { display: block; }
  .subnav a { height: 44px; padding-left: 24px; line-height: 44px; text-align: left; font-size: 14px; }
  .hero { height: 580px; }
  .hero-image { object-position: 61% center; opacity: .72; }
  .hero-copy { top: 125px; left: 5%; width: 90%; }
  .hero-copy h1, .section-heading h2, .experience-copy h2 { font-size: 30px; }
  .hero-copy p, .hero-copy .hero-en, .section-heading p, .experience-copy p { font-size: 17px; }
  .product-section, .accessories { padding-top: 55px; }
  .product-section { min-height: 620px; }
  .section-heading { height: 160px; padding: 0 18px; }
  .slider { height: 405px; }
  .product-grid { grid-template-columns: 1fr; gap: 35px; padding: 0 20px 35px; }
  .product-card img { height: 310px; }
  .experience { min-height: 500px; }
  .experience-actions { gap: 14px; }
  .experience-actions .outline-button { width: 140px; }
  .site-footer { height: auto; min-height: 170px; padding: 28px 18px; }
  .footer-nav { height: auto; flex-wrap: wrap; row-gap: 18px; }
  .footer-nav a { min-width: 33.333%; height: 24px; font-size: 15px; }
  .footer-nav a + a::before { height: 22px; }
  .footer-nav a:nth-child(4)::before { display: none; }
  .footer-records { margin-top: 25px; flex-wrap: wrap; gap: 8px 10px; font-size: 14px; white-space: normal; }
}
