:root {
  --ink: #0c0d0f;
  --muted: #666b61;
  --paper: #f7f7f1;
  --white: #ffffff;
  --line: #deded4;
  --field: #1d2b23;
  --green: #79a83b;
  --yellow: #d7b900;
  --red: #a73b30;
  --shadow: 0 20px 60px rgba(12, 13, 15, 0.18);
  --header-height: 85px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

img,
video {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 14px 32px;
  color: var(--white);
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--white);
  background: #050505;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 56px;
  padding: 5px;
  border-radius: 6px;
  background: #050505;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.nav-admin {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: transparent;
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  height: calc(100svh - var(--header-height));
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

main {
  padding-top: var(--header-height);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.button-primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.hero-carousel.is-dragging {
  cursor: grabbing;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 520ms ease;
}

.hero-carousel.is-dragging .hero-track {
  transition: none;
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  background: var(--ink);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: var(--white);
  background: rgba(12, 13, 15, 0.34);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-control:hover,
.hero-control:focus-visible {
  background: rgba(12, 13, 15, 0.58);
  outline: none;
}

.hero-control-prev {
  left: 24px;
}

.hero-control-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.hero-dot.is-active {
  background: var(--white);
}

.section {
  padding: 88px 32px;
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 32px;
}

.section-heading.wide {
  width: min(1280px, 100%);
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.split-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.story-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.story-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-content .lead {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 850;
}

.story-content p {
  color: #3d413b;
  font-size: 17px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

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

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tone-band {
  background: #111411;
  color: var(--white);
}

.tone-band .section-heading h2 {
  color: var(--white);
}

.collection-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #252922;
}

.collection-card:first-child {
  grid-row: span 2;
}

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 15, 0.02), rgba(12, 13, 15, 0.78));
}

.collection-copy {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.collection-copy span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.collection-copy h3 {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1.08;
}

.collection-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.product-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-media {
  position: relative;
  background: #f1f1ea;
}

.product-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.product-body {
  padding: 16px;
}

.product-body h3 {
  min-height: 52px;
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.18;
}

.product-price {
  display: block;
  color: var(--red);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.film-section {
  background: #e8eadf;
}

.film-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.video-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.film-shell video,
.film-shell img {
  width: 100%;
  max-height: 72svh;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ink);
}

.video-card video,
.video-card img {
  border-radius: 0;
  box-shadow: none;
}

.video-card figcaption {
  min-height: 76px;
  padding: 15px 16px;
}

.video-card span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.video-card strong {
  display: block;
  margin-top: 4px;
  line-height: 1.2;
}

.media-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.media-card img,
.media-card video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #10120f;
}

.media-card figcaption {
  min-height: 78px;
  padding: 14px;
}

.media-card span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.media-card strong {
  display: block;
  margin-top: 4px;
  line-height: 1.2;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 40px;
  padding: 88px 32px;
  color: var(--white);
  background: var(--field);
}

.contact-copy,
.contact-list {
  width: min(100%, 640px);
}

.contact-copy {
  justify-self: end;
}

.contact-copy p:last-child {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-list {
  display: grid;
  align-content: center;
  gap: 10px;
}

.contact-list a,
.contact-list span {
  display: block;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 18px;
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer img {
  width: 88px;
  height: 60px;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .product-grid,
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 75px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    color: var(--white);
    background: #050505;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .brand-mark {
    width: 76px;
    height: 50px;
  }

  .hero-control {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .hero-control-prev {
    left: 14px;
  }

  .hero-control-next {
    right: 14px;
  }

  .section,
  .contact-section {
    padding: 62px 18px;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 36px;
  }

  .split-heading {
    display: block;
  }

  .split-heading > p {
    margin-top: 12px;
  }

  .story-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    justify-self: start;
  }

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

  .collection-card,
  .collection-card:first-child {
    grid-row: auto;
    min-height: 360px;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: 520px;
  }

  .hero-control {
    display: none;
  }

  .hero-dots {
    bottom: 18px;
  }

  .story-content .lead {
    font-size: 23px;
  }

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

  .product-body h3 {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}
