:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66615a;
  --paper: #f8f5ef;
  --line: rgba(23, 23, 23, 0.12);
  --accent: #d6472d;
  --accent-dark: #9e2f22;
  --sage: #6d7d65;
  --blue: #315a70;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.58),
    rgba(0, 0, 0, 0)
  );
}

.brand,
.main-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
}

.main-nav {
  gap: clamp(16px, 4vw, 38px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover {
  opacity: 1;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: min(760px, 94vh);
  overflow: hidden;
  background: #111;
}

.hero picture {
  position: absolute;
  inset: 0;
}

.hero img {
  filter: saturate(1.05);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 68%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 44%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(720px, 100%);
  min-height: min(760px, 94vh);
  padding: 140px clamp(22px, 6vw, 76px) 76px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 12vw, 150px);
  line-height: 0.85;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 999px;
}

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

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.ticker span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--line);
}

.ticker span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 30px;
}

.section-heading h2,
.shopbar h2,
.story-band h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.feature-media {
  overflow: hidden;
  aspect-ratio: 1.45;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-copy {
  padding: clamp(10px, 2vw, 20px);
}

.feature-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
}

.feature-copy p,
.story-band p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.specs div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.specs dd {
  margin: 8px 0 0;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 900;
}

.text-link::after {
  content: "→";
}

.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.series {
  background: #fff;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.series-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

.series-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.02));
}

.series-tile img {
  transition: transform 420ms ease;
}

.series-tile:hover img {
  transform: scale(1.05);
}

.series-tile span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.shopbar {
  display: flex;
  max-width: 1180px;
  margin: 0 auto 26px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.tab {
  min-height: 38px;
  padding: 0 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.tab.is-active {
  color: #fff;
  background: var(--blue);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  min-height: 310px;
  background: #ece7de;
}

.favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 50%;
  cursor: pointer;
}

.favorite.is-active {
  color: #fff;
  background: var(--accent);
}

.product-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
}

.product-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-info strong {
  white-space: nowrap;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 90px);
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--sage);
}

.story-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: center;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .feature-grid,
  .story-band {
    grid-template-columns: 1fr;
  }

  .series-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shopbar {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-overlay {
    padding: 116px 18px 48px;
  }

  .hero-actions a {
    width: 100%;
  }

  .ticker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticker span:nth-child(2) {
    border-right: 0;
  }

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

  .feature-media {
    aspect-ratio: 1;
  }

  .series-tile,
  .product-card {
    min-height: 340px;
  }

  .filter-tabs {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
  }

  .tab {
    flex: 1 0 auto;
  }
}
