:root {
  color-scheme: dark;
  --black: #0f0f0f;
  --white: #f7f3ed;
  --muted: rgba(247, 243, 237, 0.64);
  --line: rgba(247, 243, 237, 0.16);
  --cherry: #ff244f;
  --burgundy: #5c0f1f;
  --silver: #c8c9c7;
  --ink: #151515;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 36, 79, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 46%, rgba(92, 15, 31, 0.32), transparent 30rem),
    var(--black);
  color: var(--white);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__count {
  font-size: clamp(5rem, 18vw, 18rem);
  line-height: 0.8;
}

.preloader__bar {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  height: 1px;
  background: rgba(247, 243, 237, 0.16);
}

.preloader__bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--cherry);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.15rem 1.4rem;
  color: white;
  mix-blend-mode: difference;
}

.nav__brand,
.nav__links a,
.menu__top a {
  font-size: 0.95rem;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav__menu,
.menu__close {
  display: none;
  background: transparent;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  background: var(--white);
  color: var(--black);
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0ms linear 520ms;
}

.menu.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu__top {
  display: flex;
  justify-content: space-between;
}

.menu__links {
  display: grid;
  gap: 0.15rem;
}

.menu__links a {
  font-size: clamp(3.3rem, 15vw, 9rem);
  line-height: 0.86;
}

.menu p {
  max-width: 18rem;
  color: rgba(15, 15, 15, 0.62);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 10% 0 auto auto;
  width: min(34rem, 58vw);
  aspect-ratio: 1;
  background: var(--cherry);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.04;
  filter: saturate(0.88) contrast(1.08);
  animation: hero-drift 10s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.86), rgba(15, 15, 15, 0.2) 52%, rgba(15, 15, 15, 0.66)),
    linear-gradient(0deg, rgba(15, 15, 15, 0.84), transparent 58%);
}

.hero__editorial {
  position: absolute;
  top: 5.2rem;
  right: 1.5rem;
  display: grid;
  gap: 0.35rem;
  color: rgba(247, 243, 237, 0.42);
  font-size: 0.8rem;
  text-align: right;
  text-transform: lowercase;
}

.hero__content {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.1vw, 0.96rem);
  text-transform: lowercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(7rem, 24vw, 25rem);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: 0;
}

.hero__subhead {
  max-width: 12ch;
  margin: 1rem 0 1.25rem;
  color: var(--cherry);
  font-size: clamp(3.4rem, 11vw, 12rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.hero__actions,
.quiz__choices,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.button,
.quiz__choices button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(247, 243, 237, 0.4);
  background: rgba(15, 15, 15, 0.3);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.button--light,
.button:hover,
.quiz__choices button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.statement {
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  padding: 12vh 1.4rem;
  text-align: center;
  background: var(--white);
  color: var(--black);
}

.statement p {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.8rem, 11vw, 13rem);
  line-height: 0.86;
}

.philosophy {
  padding: 14vh 1.4rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 36, 79, 0.18), transparent 24rem),
    var(--black);
}

.philosophy__lines {
  display: grid;
  gap: 0.35rem;
  max-width: 75rem;
}

.philosophy__lines p {
  margin: 0;
  color: rgba(247, 243, 237, 0.9);
  font-size: clamp(2.4rem, 6.3vw, 7.5rem);
  line-height: 0.9;
}

.philosophy__lines p:nth-child(even) {
  color: var(--cherry);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.lifestyle__copy h2,
.crown-egg h2,
.quiz h2,
.request h2,
.footer h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.8rem, 10vw, 12rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0;
}

.collection {
  padding: 12vh 1.4rem;
  background: var(--black);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.product-card {
  min-height: 35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  overflow: hidden;
  background: var(--ink);
}

.product-card span {
  color: var(--muted);
}

.product-card h3 {
  max-width: 8ch;
  margin: auto 0 1rem;
  font-size: clamp(2.7rem, 5vw, 6rem);
  font-weight: 500;
  line-height: 0.86;
}

.product-card p {
  margin: 0;
  color: rgba(247, 243, 237, 0.72);
  font-size: clamp(1.3rem, 2.3vw, 2.4rem);
  line-height: 1.02;
}

.product-card--white {
  background: var(--white);
  color: var(--black);
}

.product-card--white p,
.product-card--white span {
  color: rgba(15, 15, 15, 0.58);
}

.product-card--red {
  background: linear-gradient(160deg, var(--burgundy), #15070a 62%);
}

.lifestyle {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding: 12vh 1.4rem;
  background: var(--white);
  color: var(--black);
}

.lifestyle__media {
  min-height: 76vh;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 36, 79, 0.16), transparent 38%),
    var(--black);
}

.lifestyle__media img {
  width: 100%;
  height: 100%;
  min-height: 76vh;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.08);
}

.lifestyle__copy {
  padding-bottom: 2rem;
}

.lifestyle__copy .kicker {
  color: rgba(15, 15, 15, 0.58);
}

.lifestyle__copy p:last-child {
  max-width: 28rem;
  color: rgba(15, 15, 15, 0.68);
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  line-height: 1.15;
}

.crown-egg {
  position: relative;
  min-height: 85vh;
  display: grid;
  align-content: center;
  gap: 1.2rem;
  padding: 12vh 1.4rem;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 36, 79, 0.2), transparent 24rem),
    #120b0d;
}

.crown-egg p:not(.kicker):not(.crown-egg__message) {
  max-width: 26rem;
  margin-bottom: 0.25rem;
  color: rgba(247, 243, 237, 0.7);
  font-size: clamp(1.4rem, 2.6vw, 3rem);
  line-height: 1;
}

.crown-egg__message {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  max-width: 18rem;
  margin: 0;
  opacity: 0;
  color: var(--cherry);
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  line-height: 1.08;
  transition: opacity 360ms ease, transform 360ms ease;
  transform: translateY(10px);
}

.crown-egg.is-revealed .crown-egg__message {
  opacity: 1;
  transform: translateY(0);
}

.quiz {
  padding: 12vh 1.4rem;
  background: var(--black);
}

.quiz h2 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
}

.quiz__choices button {
  background: transparent;
}

.quiz__result {
  min-height: 1.4em;
  margin: 1.4rem 0 0;
  color: var(--cherry);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
}

.journal {
  padding: 12vh 1.4rem;
  background: var(--white);
  color: var(--black);
}

.journal .kicker {
  color: rgba(15, 15, 15, 0.58);
}

.journal__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(15, 15, 15, 0.16);
}

.journal__grid a {
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: var(--white);
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  line-height: 0.92;
}

.journal__grid a:nth-child(2),
.journal__grid a:nth-child(4) {
  background: #ebe5dd;
}

.request {
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 12vh 1.4rem 1.4rem;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 36, 79, 0.2), transparent 26rem),
    linear-gradient(rgba(15, 15, 15, 0.2), rgba(15, 15, 15, 0.88)),
    url("assets/undo-product.png") center / cover;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer h2 {
  font-size: clamp(4rem, 12vw, 14rem);
}

.footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer__links {
  align-content: flex-end;
  justify-content: flex-end;
  max-width: 20rem;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from {
    transform: translate3d(-1.2%, -1%, 0);
  }
  to {
    transform: translate3d(1.2%, 1%, 0);
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__menu,
  .menu__close {
    display: block;
  }

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

  .product-card {
    min-height: 24rem;
  }

  .lifestyle__media,
  .lifestyle__media img {
    min-height: 54vh;
  }

  .request,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(5rem, 25vw, 7rem);
  }

  .hero__subhead,
  .statement p,
  .section-heading h2,
  .lifestyle__copy h2,
  .crown-egg h2,
  .quiz h2,
  .request h2 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .section-heading {
    display: block;
  }

  .crown-egg__message {
    position: static;
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
