:root {
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --content-max: 1420px;
  --page-x: clamp(22px, 5.5vw, 88px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --display-leading: 1.12;
  --title-leading: 1.16;
  --body-leading: 1.72;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--font-sans);
  line-height: var(--body-leading);
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

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

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

summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  top: var(--space-3);
  left: var(--space-3);
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  clip-path: none;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  width: 100%;
  padding: var(--space-6) var(--page-x);
  color: var(--white);
}

.brand-lockup {
  display: block;
  width: clamp(190px, 15vw, 238px);
}

.brand-lockup img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: clamp(26px, 3vw, 48px);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a,
.header-employee-link {
  position: relative;
  padding: var(--space-2) 0;
}

.desktop-nav a::after,
.header-employee-link::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.header-employee-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-employee-link {
  justify-self: end;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 750;
}

.header-employee-link span {
  margin-left: 6px;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 148px var(--page-x) 84px;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(610px, 47vw);
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--yellow);
}

.eyebrow::before {
  width: 32px;
  height: 3px;
  background: var(--yellow);
  content: "";
}

.hero h1,
.section-heading h2,
.product-copy h2,
.store-copy h2 {
  margin: 0;
  font-weight: 850;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: var(--space-5);
  font-size: clamp(56px, 5.5vw, 88px);
  line-height: var(--display-leading);
}

.hero h1 span,
.section-heading h2 span,
.section-description span,
.product-copy h2 span,
.product-description span,
.store-copy h2 span,
.store-description span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--yellow);
}

.hero-support {
  margin: var(--space-7) 0 0;
  color: rgb(255 253 247 / 0.72);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 550;
  line-height: var(--body-leading);
}

.hero-support span {
  display: block;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.primary-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 164px;
  padding: 15px 18px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

.primary-action span {
  font-size: 20px;
}

.text-action {
  padding: 13px 0 9px;
  border-bottom: 1px solid rgb(255 253 247 / 0.48);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  background: var(--ink);
  pointer-events: none;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.98) contrast(1.04);
  animation: hero-float 8s ease-in-out infinite;
}

@keyframes hero-float {
  50% { transform: scale(1.008) translateY(-4px); }
}

.brand-ticker {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 16px 0 14px;
  color: var(--ink);
  background: var(--yellow);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.brand-ticker div {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: max-content;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 850;
  animation: ticker 20s linear infinite;
  white-space: nowrap;
}

.brand-ticker i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

@keyframes ticker {
  to { transform: translateX(-33.333%); }
}

.campaigns {
  padding: clamp(88px, 9vw, 136px) var(--page-x) clamp(100px, 11vw, 160px);
  background: var(--yellow);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(44px, 8vw, 132px);
  align-items: end;
  max-width: var(--content-max);
  margin: 0 auto clamp(56px, 7vw, 96px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.section-kicker::before {
  width: 28px;
  height: 3px;
  background: currentColor;
  content: "";
}

.section-heading h2,
.product-copy h2,
.store-copy h2 {
  font-size: clamp(50px, 5.8vw, 90px);
  line-height: var(--title-leading);
}

.section-description {
  margin: 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--ink);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 600;
  line-height: var(--body-leading);
}

.campaign-film {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px;
  background: var(--ink);
  box-shadow: 14px 14px 0 var(--red);
}

.campaign-film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  object-fit: cover;
}

.poster-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 38px);
  max-width: var(--content-max);
  margin: clamp(72px, 8vw, 112px) auto 0;
}

.campaign-poster {
  margin: 0;
}

.campaign-poster:nth-child(2) {
  transform: translateY(28px);
}

.campaign-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ink);
  object-fit: cover;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.campaign-poster:hover img {
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.campaign-poster figcaption {
  padding: var(--space-4) 0 0;
}

.campaign-poster figcaption strong {
  font-size: clamp(17px, 1.45vw, 22px);
}

.products {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
  background: var(--paper);
}

.product-photo {
  min-height: 900px;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(76px, 8vw, 128px) clamp(34px, 7vw, 110px);
}

.product-copy .section-kicker {
  color: var(--red);
}

.product-copy h2 {
  margin-top: 0;
}

.product-description {
  margin: var(--space-6) 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 550;
  line-height: var(--body-leading);
}

.product-list {
  margin: clamp(48px, 5vw, 72px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.product-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 12px 8px 12px 30px;
  border-bottom: 1px solid var(--ink);
  transition: padding 160ms ease, background 160ms ease;
}

.product-list li::before {
  position: absolute;
  left: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.product-list li:hover {
  padding-right: 16px;
  padding-left: 38px;
  background: var(--yellow);
}

.product-list strong {
  font-size: clamp(22px, 1.9vw, 30px);
  letter-spacing: 0;
}

.store {
  position: relative;
  min-height: 88svh;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.store::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(8 7 6 / 0.9) 0%, rgb(8 7 6 / 0.5) 46%, transparent 72%);
  content: "";
}

.store > img {
  width: 100%;
  height: 88svh;
  object-fit: cover;
}

.store-copy {
  position: absolute;
  z-index: 1;
  bottom: clamp(48px, 7vw, 104px);
  left: var(--page-x);
  width: min(760px, calc(100% - 44px));
}

.store-copy .section-kicker {
  color: var(--yellow);
}

.store-description {
  margin: var(--space-6) 0 0;
  color: rgb(255 253 247 / 0.74);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: var(--body-leading);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.75fr 1.2fr;
  min-height: 260px;
  padding: 58px var(--page-x);
  color: var(--white);
  background: var(--ink);
}

.site-footer > * {
  margin: 0;
  padding: var(--space-2) clamp(22px, 3vw, 48px);
  border-left: 1px solid rgb(255 253 247 / 0.22);
}

.site-footer > :first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-brand {
  align-self: start;
  width: min(100%, 260px);
}

.footer-company {
  max-width: 270px;
  font-size: 16px;
  font-weight: 700;
  line-height: var(--body-leading);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-size: 14px;
}

.site-footer nav a:hover,
.footer-legal a:hover {
  color: var(--yellow);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-5);
  color: rgb(255 253 247 / 0.6);
  font-size: 13px;
  line-height: var(--body-leading);
}

.footer-legal p {
  margin: 0;
}

.not-found-page {
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
}

.not-found {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  padding: var(--space-6) var(--page-x) var(--space-9);
  background-color: var(--ink);
  background-image: url("/assets/hero-products.png");
  background-repeat: no-repeat;
  background-position: 54% center;
  background-size: cover;
  overflow: hidden;
}

.not-found-brand {
  position: relative;
  z-index: 1;
  width: clamp(190px, 15vw, 238px);
}

.not-found-brand img {
  width: 100%;
  height: auto;
}

.not-found-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(690px, 53vw);
}

.not-found-copy h1 {
  margin: var(--space-5) 0 0;
  font-size: clamp(54px, 5.5vw, 88px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: var(--display-leading);
}

.not-found-copy h1 span,
.not-found-copy > p span {
  display: block;
}

.not-found-copy h1 span:last-child {
  color: var(--yellow);
}

.not-found-copy > p {
  margin: var(--space-7) 0 0;
  color: rgb(255 253 247 / 0.72);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: var(--body-leading);
}

.not-found-copy .primary-action {
  width: 164px;
  margin-top: var(--space-6);
}

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

  .brand-lockup {
    width: 180px;
  }

  .desktop-nav,
  .header-employee-link {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-nav summary {
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 14px 8px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    width: 28px;
    height: 2px;
    background: var(--yellow);
    transition: transform 180ms ease;
  }

  .mobile-nav[open] summary span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .mobile-nav[open] summary span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-nav nav {
    position: absolute;
    top: 54px;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(78vw, 292px);
    padding: 20px;
    color: var(--ink);
    background: var(--yellow);
    box-shadow: 10px 10px 0 var(--red);
  }

  .mobile-nav nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgb(8 7 6 / 0.3);
    font-size: 17px;
    font-weight: 800;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 112px 22px 0;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 12.5vw, 68px);
  }

  .hero-support {
    margin-top: var(--space-6);
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: calc(100% + 44px);
    height: auto;
    aspect-ratio: 0.93;
    margin: var(--space-7) -22px 0;
  }

  .hero-visual > img {
    object-position: 72% center;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .section-heading h2,
  .product-copy h2,
  .store-copy h2 {
    font-size: clamp(46px, 11.8vw, 72px);
  }

  .section-description {
    max-width: 520px;
  }

  .poster-rail {
    grid-template-columns: 1fr;
  }

  .campaign-poster:nth-child(2) {
    transform: none;
  }

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

  .product-photo {
    min-height: 74svh;
  }

  .product-copy {
    padding: 80px 22px 92px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 34px 0;
  }

  .not-found {
    padding: 24px 22px 56px;
    background-image: none;
  }

  .not-found::after {
    position: absolute;
    z-index: 0;
    inset: 52% 0 0;
    background-image: url("/assets/hero-products.png");
    background-repeat: no-repeat;
    background-position: 72% bottom;
    background-size: auto 100%;
    content: "";
    pointer-events: none;
  }

  .not-found-brand {
    width: 180px;
  }

  .not-found-copy {
    align-self: start;
    width: 100%;
    padding-top: 76px;
  }

  .not-found-copy h1 {
    font-size: 42px;
  }

  .not-found-copy > p {
    margin-top: var(--space-6);
  }

  .not-found-copy .primary-action {
    margin-top: var(--space-5);
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(42px, 12vw, 50px);
  }

  .hero-actions {
    gap: var(--space-5);
  }

  .primary-action {
    min-width: 148px;
  }

  .campaigns {
    padding-right: 22px;
    padding-left: 22px;
  }

  .campaign-film {
    width: calc(100% + 12px);
    margin-left: -6px;
    padding: 5px;
    box-shadow: 8px 8px 0 var(--red);
  }

  .product-photo {
    min-height: 68svh;
  }

  .store,
  .store > img {
    min-height: 80svh;
    height: 80svh;
  }

  .store::after {
    background: linear-gradient(0deg, rgb(8 7 6 / 0.94) 0%, rgb(8 7 6 / 0.4) 58%, transparent 82%);
  }

  .store-copy {
    bottom: 38px;
    left: 22px;
    width: calc(100% - 44px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 48px 22px 32px;
  }

  .site-footer > * {
    padding: 24px 0;
    border-top: 1px solid rgb(255 253 247 / 0.22);
    border-left: 0;
  }

  .site-footer > :first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
