﻿.hongshu-homepage {
  color-scheme: dark;
  --bg: #090909;
  --bg-soft: #111111;
  --panel: #171717;
  --panel-2: #202020;
  --text: #f1eee8;
  --muted: #b8b1a6;
  --line: rgba(241, 238, 232, 0.14);
  --accent: #c6a66a;
  --accent-soft: rgba(198, 166, 106, 0.16);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

.hongshu-homepage-html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.hongshu-homepage-body {
  --bg: #090909;
  --bg-soft: #111111;
  --panel: #171717;
  --panel-2: #202020;
  --text: #f1eee8;
  --muted: #b8b1a6;
  --line: rgba(241, 238, 232, 0.14);
  --accent: #c6a66a;
  --accent-soft: rgba(198, 166, 106, 0.16);
  --max: 1440px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.hongshu-homepage-body.is-lightbox-open {
  overflow: hidden;
}

.hongshu-homepage img {
  display: block;
  max-width: 100%;
}

.hongshu-homepage picture {
  display: block;
  max-width: 100%;
}

.hongshu-homepage a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links > a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-link-shop {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(198, 166, 106, 0.24);
}

.nav-links .nav-link-shop:hover {
  border-color: #f1d08f;
  background: #f1d08f;
  color: #090909;
}

.nav-links .lang-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(241, 238, 232, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.nav-links .lang-switch a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: var(--muted);
}

.nav-links .lang-switch a + a {
  border-left: 1px solid rgba(241, 238, 232, 0.14);
}

.nav-links .lang-switch .active {
  color: var(--accent);
  background: rgba(198, 166, 106, 0.12);
}

.nav-links .lang-switch a:hover {
  color: var(--text);
}

.section-band {
  width: min(80vw, var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 64px;
  align-items: center;
  overflow: hidden;
}

.hero-copy,
.hero-product {
  min-width: 0;
}

.hero-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.8);
  z-index: -2;
}

.hero-field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 42%, rgba(198, 166, 106, 0.16), transparent 36%),
    linear-gradient(90deg, rgba(9, 9, 9, 0.96), rgba(9, 9, 9, 0.56) 58%, rgba(9, 9, 9, 0.88));
  z-index: -1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hongshu-homepage h1,
.hongshu-homepage h2,
.hongshu-homepage h3,
.hongshu-homepage p {
  margin-top: 0;
}

.hongshu-homepage h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.hongshu-homepage h2 {
  margin-bottom: 24px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.hongshu-homepage h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hongshu-homepage p {
  color: var(--muted);
  max-width: 100%;
}

.hero-lede {
  max-width: 620px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button:hover {
  border-color: rgba(241, 238, 232, 0.38);
}

.hero-product {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 50% 48%, rgba(198, 166, 106, 0.14), transparent 48%);
  pointer-events: none;
}

.hero-product img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.52));
}

.hero-product picture {
  width: auto;
  height: min(76vh, 720px);
  max-width: 100%;
  margin: 0 auto;
}

.hero-product picture img {
  width: 100%;
  max-height: inherit;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}

.align-center {
  align-items: center;
}

.prose p {
  font-size: 18px;
}

.built-gallery,
.image-stack,
.event-grid {
  display: grid;
  gap: 14px;
}

.built-gallery {
  grid-template-columns: 1.2fr 1fr;
  grid-auto-rows: 168px;
}

.event-grid {
  grid-template-columns: 1fr 1fr;
}

.image-stack {
  grid-template-columns: 1fr 1fr;
}

.media-tile {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
}

.media-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.media-tile img,
.image-stack img,
.event-grid img,
.product-grid img,
.wide-technical img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  object-fit: cover;
}

.media-tile img {
  height: 100%;
  transition: transform 220ms ease, border-color 160ms ease, filter 160ms ease;
}

.media-tile picture {
  width: 100%;
  height: 100%;
}

.media-tile picture img {
  height: 100%;
}

.media-tile:hover img {
  transform: scale(1.035);
  border-color: rgba(241, 238, 232, 0.3);
  filter: brightness(1.06);
}

.built-gallery .large {
  grid-row: span 2;
}

.built-gallery .media-tile img {
  aspect-ratio: auto;
}

.lidar-quality {
  border-top: 1px solid rgba(241, 238, 232, 0.08);
}

.lidar-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.lidar-image {
  align-self: center;
  max-width: 520px;
  justify-self: center;
}

.lidar-image picture,
.lidar-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.lidar-image img {
  height: auto;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 901px) {
  .lidar-layout {
    align-items: stretch;
  }

  .lidar-image {
    align-self: stretch;
    justify-self: stretch;
    max-width: none;
    min-height: 520px;
  }

  .lidar-image picture,
  .lidar-image img {
    height: 100%;
    aspect-ratio: auto;
  }

  .lidar-image img {
    object-position: center 56%;
  }
}

.lidar-copy h2 {
  max-width: 760px;
}

.lidar-copy p {
  font-size: 16px;
}

.lidar-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.lidar-metrics div {
  border: 1px solid rgba(198, 166, 106, 0.34);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(198, 166, 106, 0.1), rgba(255, 255, 255, 0.018));
  padding: 18px;
}

.lidar-metrics span {
  display: block;
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.lidar-metrics small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.image-stack img {
  aspect-ratio: 4 / 3;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.craft-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sound-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: stretch;
}

.sound-layout > * {
  min-width: 0;
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.craft-grid article,
.sound-grid article,
.product-grid article {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  padding: 24px;
}

.craft-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.wide-technical {
  margin: 22px 0 0;
}

.wide-technical img {
  max-height: 420px;
  object-fit: cover;
}

.wide-technical picture {
  width: 100%;
}

.wide-technical picture img {
  width: 100%;
}

.sound-photo img {
  min-height: 100%;
  aspect-ratio: 4 / 5;
}

.sound-photo picture {
  min-height: 100%;
  aspect-ratio: 4 / 5;
}

.product-grid img {
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
}

.product-grid .media-tile {
  margin-bottom: 20px;
}

.product-grid .media-tile img {
  margin-bottom: 0;
}

.event-grid img {
  aspect-ratio: 4 / 3;
}

.kit-gallery {
  border-top: 1px solid rgba(241, 238, 232, 0.08);
}

.kit-gallery-shell {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.kit-gallery-viewport {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.kit-gallery-track {
  display: flex;
  gap: 0;
  transition: transform 260ms ease;
  will-change: transform;
}

.kit-slide {
  flex: 0 0 100%;
  border-radius: 0;
  cursor: zoom-in;
}

.kit-slide picture,
.kit-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: #050505;
}

.kit-gallery-controls {
  display: grid;
  grid-template-columns: 42px minmax(80px, 1fr) 42px;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.kit-gallery-status {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: center;
}

.gallery-control {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(241, 238, 232, 0.2);
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.78);
  color: var(--text);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.gallery-control:hover,
.gallery-control:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.gallery-control-next {
  justify-self: end;
}

.contact {
  padding-bottom: 120px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.contact-note {
  margin-top: 18px;
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 64px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1500px);
  max-height: 84vh;
  border-radius: 6px;
  border: 1px solid var(--line);
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.84);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-shell {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    row-gap: 10px;
    column-gap: 12px;
    gap: 10px;
    padding-bottom: 2px;
    font-size: 12px;
  }

  .nav-links .nav-link-shop {
    min-height: 30px;
    padding: 0 12px;
  }

  .nav-links .lang-switch a {
    min-height: 30px;
    padding: 0 9px;
  }

  .hero,
  .two-column,
  .sound-layout,
  .lidar-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lidar-image {
    min-height: 0;
  }

  .lidar-image picture,
  .lidar-image img {
    aspect-ratio: 4 / 3;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hongshu-homepage .hero h1,
  .hongshu-homepage h1 {
    font-size: 52px;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
  }

  .hongshu-homepage h2 {
    font-size: 34px;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
  }

  .craft-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .built-gallery {
    grid-auto-rows: 150px;
  }
}

@media (max-width: 620px) {
  .section-band {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding: 68px 0;
  }

  .nav-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero {
    padding-top: 56px;
    overflow: visible;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .eyebrow,
  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .hongshu-homepage .hero h1,
  .hongshu-homepage h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.2vw, 48px);
    line-height: 1.04;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
  }

  .hongshu-homepage h2 {
    font-size: 26px;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
  }

  html[lang^="zh"] .hongshu-homepage h1,
  html[lang^="zh"] .hongshu-homepage h2,
  html[lang^="zh"] .hongshu-homepage h3,
  html[lang^="zh"] .hongshu-homepage p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-lede,
  .prose p {
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .image-stack,
  .event-grid,
  .built-gallery,
  .craft-grid,
  .sound-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .built-gallery {
    grid-auto-rows: auto;
  }

  .built-gallery .large,
  .built-gallery .tall {
    grid-row: auto;
  }

  .built-gallery .media-tile img,
  .built-gallery .media-tile picture,
  .lidar-image picture,
  .lidar-image img,
  .sound-photo picture,
  .sound-photo img {
    aspect-ratio: 4 / 3;
  }

  .lidar-metrics {
    grid-template-columns: 1fr;
  }

  .kit-gallery-shell {
    display: block;
  }

  .kit-slide picture,
  .kit-slide img {
    aspect-ratio: 4 / 3;
  }

  .kit-gallery-controls {
    grid-template-columns: 1fr minmax(80px, 1fr) 1fr;
    gap: 10px;
  }

  .gallery-control {
    width: 100%;
    border-radius: 4px;
  }

  .hero-product img {
    width: min(92vw, 100%);
    height: auto;
    max-width: 100%;
    max-height: 560px;
    transform: none;
  }

  .hero-product picture {
    width: min(92vw, 100%);
    height: auto;
    max-width: 100%;
    max-height: 560px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .media-tile {
    width: 100%;
    max-width: 100%;
  }

  .lightbox {
    padding: 56px 12px 24px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

