.shop-page {
  background: var(--ink);
}

.shop-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid transparent;
  transition: height 240ms ease, background 240ms ease, border-color 240ms ease;
}

.shop-header.is-scrolled {
  height: 68px;
  background: rgba(9, 9, 8, 0.9);
  border-color: var(--line-light);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.shop-header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-meta);
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shop-portal-link {
  color: rgba(232, 223, 204, 0.7);
  transition: color 180ms ease;
}

.shop-portal-link:hover {
  color: var(--bone);
}

.shop-hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.shop-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.9));
  pointer-events: none;
}

.shop-hero-media {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: -2;
  overflow: hidden;
  background: #151513;
}

.shop-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(9, 9, 8, 0.94) 9%, rgba(9, 9, 8, 0.2) 48%, rgba(9, 9, 8, 0.22)),
    linear-gradient(180deg, rgba(9, 9, 8, 0.2), transparent 52%, rgba(9, 9, 8, 0.55));
}

.shop-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  animation: shopImageArrival 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-hero-copy {
  width: var(--content);
  margin: 0 auto;
  padding: 132px 0 90px;
}

.shop-hero-copy .eyebrow {
  margin-bottom: 24px;
  color: var(--paper-dark);
}

.shop-hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(5.4rem, 9vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.shop-hero h1 em {
  color: var(--paper-dark);
  font-weight: 400;
}

.shop-hero-intro {
  max-width: 520px;
  margin-top: 34px;
  color: rgba(232, 223, 204, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.75;
}

.shop-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.shop-hero-actions p {
  max-width: 250px;
  color: rgba(232, 223, 204, 0.48);
  font-family: var(--font-meta);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  text-transform: uppercase;
}

.shop-scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 223, 204, 0.3);
  border-radius: 50%;
  transform: translateX(-50%);
}

.shop-scroll-cue span {
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  transform: translateY(-3px) rotate(45deg);
  animation: shopCue 1.8s ease-in-out infinite;
}

.shop-hero-index {
  position: absolute;
  right: 48px;
  bottom: 32px;
  color: rgba(232, 223, 204, 0.35);
  font-family: var(--font-meta);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.shop-product {
  position: relative;
  background:
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(18, 17, 15, 0.018) 3px 4px),
    var(--paper-light);
  color: var(--ink);
}

.shop-product::after {
  content: "01";
  position: absolute;
  right: 3vw;
  bottom: -0.18em;
  color: rgba(18, 17, 15, 0.035);
  font-family: var(--font-display);
  font-size: clamp(15rem, 30vw, 34rem);
  letter-spacing: -0.1em;
  line-height: 0.8;
  pointer-events: none;
}

.shop-product-copy {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding: clamp(110px, 12vw, 180px) 0;
}

.shop-product-copy .eyebrow {
  margin-bottom: 24px;
}

.shop-product h2 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.shop-product-description {
  max-width: 570px;
  margin-top: 34px;
  color: rgba(18, 17, 15, 0.7);
  font-size: 1.05rem;
  line-height: 1.85;
}

.shop-facts {
  max-width: 620px;
  margin-top: 46px;
  border-top: 1px solid var(--line-dark);
}

.shop-facts div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

.shop-facts dt,
.shop-facts dd {
  font-size: 0.78rem;
}

.shop-facts dt {
  color: var(--blood);
  font-family: var(--font-meta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-campaign {
  padding: clamp(100px, 12vw, 180px) max(48px, calc((100vw - 1240px) / 2));
  background: #0b0b0a;
}

.shop-campaign-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 90px;
}

.shop-campaign-heading .eyebrow {
  margin-bottom: 22px;
}

.shop-campaign-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.shop-campaign-heading h2 em {
  color: var(--paper-dark);
  font-weight: 400;
}

.shop-campaign-heading > p {
  max-width: 420px;
  color: rgba(232, 223, 204, 0.62);
}

.shop-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 70px 28px;
}

.shop-gallery-card {
  margin: 0;
}

.shop-gallery-card:first-child {
  grid-column: 1 / span 7;
  grid-row: 1;
}

.shop-gallery-card:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: 1;
  margin-top: 150px;
}

.shop-gallery-card:nth-child(3) {
  grid-column: 1 / span 7;
  grid-row: 2;
}

.shop-gallery-card:nth-child(4) {
  grid-column: 8 / span 5;
  grid-row: 2;
  margin-top: 110px;
}

.shop-gallery-card img {
  width: 100%;
  height: auto;
  background: #1a1a18;
}

.shop-gallery-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  color: rgba(232, 223, 204, 0.55);
  font-family: var(--font-meta);
  font-size: 0.57rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shop-gallery-card figcaption span:first-child {
  color: var(--blood);
}

.shop-contact {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 80px;
  padding: 100px max(48px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  background: var(--blood-dark);
}

.shop-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(115deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
}

.shop-contact-mark,
.shop-contact-copy {
  position: relative;
  z-index: 1;
}

.shop-contact-mark {
  display: grid;
  place-items: center;
}

.shop-contact-mark img {
  width: min(100%, 390px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.85;
  filter: sepia(0.25);
}

.shop-contact-copy .eyebrow {
  margin-bottom: 22px;
  color: var(--paper-dark);
}

.shop-contact h2 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.shop-contact h2 em {
  color: var(--paper-dark);
  font-weight: 400;
}

.shop-contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 34px;
  color: rgba(238, 231, 214, 0.76);
}

.shop-contact .button {
  margin-top: 38px;
  background: var(--paper-light);
  border-color: var(--paper-light);
  color: var(--ink);
}

.shop-contact .button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

@keyframes shopImageArrival {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shopCue {
  0%,
  100% {
    transform: translateY(-5px) rotate(45deg);
  }
  50% {
    transform: translateY(2px) rotate(45deg);
  }
}

@media (max-width: 1080px) {
  .shop-header {
    padding: 0 32px;
  }

  .shop-product-copy {
    padding: 120px 0;
  }
}

@media (max-width: 820px) {
  .shop-header,
  .shop-header.is-scrolled {
    height: calc(66px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 20px 0;
  }

  .shop-header .wordmark span,
  .shop-portal-link {
    display: none;
  }

  .shop-header-actions {
    gap: 12px;
  }

  .shop-hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
  }

  .shop-hero-media {
    inset: 0;
  }

  .shop-hero-media::after {
    background:
      linear-gradient(180deg, rgba(9, 9, 8, 0.18) 0%, rgba(9, 9, 8, 0.08) 35%, rgba(9, 9, 8, 0.72) 63%, var(--ink) 93%),
      linear-gradient(90deg, rgba(9, 9, 8, 0.28), transparent 60%);
  }

  .shop-hero-media img {
    object-position: center 15%;
  }

  .shop-hero-copy {
    position: relative;
    z-index: 1;
    padding: 150px 0 96px;
  }

  .shop-hero-copy .eyebrow {
    margin-bottom: 15px;
  }

  .shop-hero h1 {
    font-size: clamp(3.8rem, 17vw, 5.5rem);
    line-height: 0.85;
  }

  .shop-hero-intro {
    max-width: 450px;
    margin-top: 22px;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .shop-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: 25px;
  }

  .shop-hero-actions .button {
    width: auto;
    min-height: 48px;
  }

  .shop-hero-actions p {
    max-width: none;
    font-size: 0.54rem;
  }

  .shop-scroll-cue {
    bottom: 22px;
    left: auto;
    right: 20px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .shop-hero-index {
    display: none;
  }

  .shop-product-copy {
    width: auto;
    padding: 78px 20px 90px;
  }

  .shop-product h2 {
    font-size: clamp(3.6rem, 16vw, 5.2rem);
  }

  .shop-product-description {
    margin-top: 26px;
    font-size: 0.95rem;
  }

  .shop-facts {
    margin-top: 36px;
  }

  .shop-facts div {
    grid-template-columns: 96px 1fr;
    gap: 16px;
  }

  .shop-campaign {
    padding: 90px 20px;
  }

  .shop-campaign-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 58px;
  }

  .shop-campaign-heading h2 {
    font-size: clamp(3.6rem, 16vw, 5.2rem);
  }

  .shop-campaign-heading > p {
    font-size: 0.92rem;
  }

  .shop-gallery {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .shop-gallery-card:first-child,
  .shop-gallery-card:nth-child(2),
  .shop-gallery-card:nth-child(3),
  .shop-gallery-card:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
    width: min(86vw, 420px);
    margin: 0 auto;
  }

  .shop-gallery-card img {
    object-fit: contain;
  }

  .shop-contact {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 84px 20px 92px;
  }

  .shop-contact-mark img {
    width: min(42vw, 150px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin: 0;
  }

  .shop-contact-mark {
    justify-items: start;
  }

  .shop-contact h2 {
    font-size: clamp(3.5rem, 15.5vw, 5.1rem);
  }

  .shop-contact-copy > p:not(.eyebrow) {
    margin-top: 26px;
    font-size: 0.94rem;
  }

  .shop-contact .button {
    width: 100%;
  }

}

@media (max-width: 820px) and (max-height: 700px) {
  .shop-hero-copy {
    padding-top: 108px;
    padding-bottom: 70px;
  }

  .shop-hero h1 {
    font-size: clamp(3.3rem, 14vw, 4.5rem);
  }

  .shop-hero-intro {
    display: none;
  }

  .shop-scroll-cue {
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-hero-media img,
  .shop-scroll-cue span {
    animation: none;
  }
}
