@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600&display=swap");

@font-face {
  font-family: "Champignon";
  src: url("assets/font/champignon/Champignon.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --paper: #ffffff;
  --ink: rgb(102, 31, 26);
  --muted: rgba(102, 31, 26, 0.72);
  --line: rgb(102, 31, 26);
  --panel: rgba(255, 255, 255, 0.98);
  --ticker-text: #ffffff;
  --button-red: rgb(102, 31, 26);
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.02em;
  position: relative;
  cursor: default;
}

body.landing-page {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.container {
  position: relative;
  text-align: center;
  z-index: 3;
}

.countdown {
  margin-bottom: 0.7rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.18em;
  color: #000000;
}

.logo {
  width: min(760px, 88vw);
  max-width: none;
  margin: 0 auto 0.35rem;
}

.coming-soon {
  font-family:  Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  letter-spacing: 0.05em;
  text-transform: none;
  color: #000000;
}

.kiss-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

body.landing-page .kiss-layer {
  z-index: 0;
}

.kiss {
  position: absolute;
  width: 60px;
  opacity: 0;
  filter: saturate(0.95) contrast(1.05);
  animation: kiss-fade-in 1s forwards;
}

.shop-page .ticker,
.shop-page .storefront-shell,
.shop-page .container {
  position: relative;
  z-index: 2;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  backdrop-filter: blur(10px);
}

.ticker__track {
  width: max-content;
  display: flex;
  gap: 2.5rem;
  padding: 0.8rem 0;
  color: var(--ticker-text);
  font-family: "Champignon", "DM Serif Display", Georgia, serif;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  line-height: 1;
  animation: ticker-scroll 22s linear infinite;
}

.storefront-shell {
  width: min(1080px, calc(100vw - 2.2rem));
  margin: 0 auto;
  padding: 1.15rem 0 4.5rem;
}

.storefront-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 2.8rem;
}

.storefront-header--compact {
  padding-top: 1rem;
}

.storefront-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.79rem;
  letter-spacing: 0.2em;
  text-transform: none;
  color: var(--ink);
}

.storefront-nav--left {
  justify-content: flex-start;
}

.storefront-nav--right {
  justify-content: flex-end;
}

.storefront-nav a {
  position: relative;
}

.storefront-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.storefront-nav a:hover::after,
.storefront-nav a:focus-visible::after {
  transform: scaleX(1);
}

.storefront-logo-link {
  display: inline-flex;
  justify-content: center;
}

.logo-text {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(60px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(255, 0, 100, 0.15);
}

.storefront-logo {
  width: min(360px, 56vw);
}

.editorial-hero {
  margin-bottom: 4rem;
}

.editorial-hero__frame {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: clamp(360px, 62vw, 840px);
  box-shadow: none;
}

.editorial-hero__image {
  width: 100%;
  height: clamp(320px, 58vw, 780px);
  object-fit: cover;
  filter: contrast(1.03) saturate(0.96);
}

.editorial-hero__caption {
  display: none;
}

.product-section {
  padding-top: 0.5rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.5rem;
  border-bottom: 0;
}

.section-heading h1 {
  font-family: "Champignon", "DM Serif Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 0.95;
}

.section-heading p {
  font-family: "Champignon", "DM Serif Display", Georgia, serif;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.product-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.75rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-link {
  display: block;
}

.product-link:hover,
.product-link:focus-visible {
  background: #ffffff;
  color: inherit;
  border-color: var(--ink);
  box-shadow: 0 10px 24px rgba(102, 31, 26, 0.08);
  transform: translateY(-2px);
}

.product-card__image-wrap {
  overflow: hidden;
  aspect-ratio: 0.78;
  background: #ffffff;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}

.product-card:hover .product-card__image,
.product-card:focus-within .product-card__image {
  opacity: 1;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0.2rem 0.15rem;
  flex-wrap: wrap;
}

.product-card__meta h2,
.product-card__meta span {
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
}

.product-card__meta h2 {
  position: relative;
}

.product-card__meta h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.product-card__meta h2,
.product-detail__content h1 {
  font-family: "Champignon", "DM Serif Display", Georgia, serif;
  text-transform: none;
  letter-spacing: 0.04em;
}

.product-card__meta h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 0.96;
}

.product-card__meta p {
  width: 100%;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  transition: none;
}

.product-card__actions {
  display: flex;
  justify-content: stretch;
  padding: 0.55rem 0.2rem 0.2rem;
}

.product-link:hover .product-card__meta h2::after,
.product-link:focus-visible .product-card__meta h2::after {
  transform: scaleX(1);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: 1rem;
}

.product-detail__image-frame,
.product-detail__content,
.contact-card,
.contact-illustration-frame {
  background: #ffffff;
  border: 1px solid var(--line);
}

.product-detail__image-frame {
  padding: 0.85rem;
}

.product-detail__image {
  width: 100%;
  height: min(74vh, 840px);
  object-fit: cover;
}

.product-detail__content {
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.product-detail__eyebrow {
  font-family: "Champignon", "DM Serif Display", Georgia, serif;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.product-detail__content h1,
.contact-card h1 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  margin-bottom: 0.9rem;
}

.product-detail__content h1 {
  font-size: clamp(2.7rem, 5vw, 4.75rem);
  line-height: 0.92;
}

.product-detail__price {
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.product-detail__description,
.contact-email {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: 1.2rem;
}

.product-detail__specs {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.14em;
  font-size: 0.64rem;
}

.button-link {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 1rem 1.15rem 0.95rem;
  text-transform: none;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  background: var(--button-red);
  color: #ffffff;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  text-align: center;
}

.button-link:hover,
.button-link:focus-visible {
  background: #000000;
  border-color: #000000;
  color: var(--paper);
}

.button-link--secondary {
  background: #ffffff;
  color: var(--ink);
}

.product-card__actions .button-link {
  width: 100%;
}

.product-detail__content .button-link {
  width: 100%;
  margin-bottom: 0.65rem;
}

.button-link--secondary:hover,
.button-link--secondary:focus-visible {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.contact-layout {
  min-height: calc(100vh - 14rem);
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  padding-top: 1.3rem;
}

.contact-card {
  padding: 1.6rem;
  align-self: start;
  max-width: 420px;
}

.contact-illustration-frame {
  justify-self: end;
  align-self: end;
  width: min(520px, 100%);
  padding: 0.85rem;
  border: 0;
}

.contact-illustration {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}

.skull-trail {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  pointer-events: none;
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  animation: skull-float 900ms ease-out forwards;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes kiss-fade-in {
  to {
    opacity: 0.4;
  }
}

@keyframes skull-float {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.72);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift-x, 0px)), calc(-50% - var(--drift-y, 18px))) scale(1.05);
  }
}

@media (max-width: 780px) {
  .kiss {
    width: 42px;
  }

  .logo {
    width: min(92vw, 620px);
    margin-bottom: 0.2rem;
  }

  .coming-soon {
    font-size: clamp(1.2rem, 6vw, 2rem);
  }

  .storefront-shell {
    width: min(100vw - 1.25rem, 1120px);
    padding-top: 1rem;
  }

  .storefront-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.2rem;
  }

  .storefront-nav--left,
  .storefront-nav--right {
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

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

  .product-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-detail__content {
    position: static;
  }

  .contact-illustration-frame {
    justify-self: stretch;
  }
}
