:root {
  color-scheme: light;
  --black: #050505;
  --ink: #111111;
  --charcoal: #242424;
  --white: #ffffff;
  --smoke: #f5f5f2;
  --line: #d9d9d2;
  --muted: #77776f;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Oswald", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--smoke);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

body.locked {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, #000 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, #000 0 1px, transparent 1px);
  background-size: 16px 16px, 23px 23px;
  mix-blend-mode: multiply;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
  transition: opacity 400ms var(--ease), visibility 400ms var(--ease);
}

.age-gate.hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.age-panel {
  width: min(100%, 440px);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.age-panel h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.age-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.age-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  mix-blend-mode: difference;
}

.brand-mark,
.nav-cta {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark img {
  width: 82px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
}

.site-nav {
  display: flex;
  font-family: var(--display);
  gap: clamp(16px, 4vw, 42px);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-cta {
  justify-self: end;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-light {
  background: var(--smoke);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 24px;
  padding: 120px clamp(18px, 6vw, 90px) 80px;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 108%;
  height: 100%;
  opacity: 0.72;
}

.hero-content,
.hero-product {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 24px 0 22px;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.5));
}

.hero-copy {
  width: min(100%, 640px);
  margin: 0;
  color: #d8d8d2;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  font-family: var(--display);
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  border: 1px solid currentColor;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 240ms var(--ease), background 240ms var(--ease), color 240ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-ghost {
  color: var(--white);
}

.hero-product {
  min-height: 520px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.logo-carousel {
  position: relative;
  width: min(76vw, 500px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: visible;
  transform-style: preserve-3d;
}

.carousel-card {
  position: relative;
  z-index: 2;
  width: min(92%, 450px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.13), transparent 0 34%),
    #f4f4f0;
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.48);
  animation: carouselSpin 9s var(--ease) infinite;
}

.bouncing-logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 65%;
  max-width: none;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.28));
  animation: logoPingPong 9.5s ease-in-out infinite;
}

.carousel-glint {
  position: absolute;
  inset: -20%;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.32) 48%, transparent 62%);
  transform: translateX(-120%) rotate(8deg);
  animation: glintSweep 4.8s ease-in-out infinite;
}

.carousel-orbit {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
}

.carousel-orbit::before,
.carousel-orbit::after {
  content: "";
  position: absolute;
  inset: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.carousel-orbit span {
  position: absolute;
  font-family: var(--display);
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.carousel-orbit span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg) translateX(245px) rotate(0deg);
}

.carousel-orbit span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg) translateX(245px) rotate(-90deg);
}

.carousel-orbit span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(180deg) translateX(245px) rotate(-180deg);
}

.carousel-orbit span:nth-child(4) {
  transform: translate(-50%, -50%) rotate(270deg) translateX(245px) rotate(-270deg);
}

.scroll-cue {
  position: absolute;
  left: clamp(18px, 6vw, 90px);
  bottom: 28px;
  z-index: 2;
  color: #bfbfb8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: 18px 34px;
  font-family: var(--display);
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drops,
.split,
.ritual,
.contact {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 6vw, 90px);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.standard-copy h2,
.ritual-copy h2,
.contact h2 {
  margin: 12px 0 0;
  font-size: clamp(2.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.section-intro {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.6;
}

.drops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.drop-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  background:
    radial-gradient(circle at 82% 14%, rgba(5, 5, 5, 0.1), transparent 0 24%),
    var(--smoke);
  transition: color 280ms var(--ease), background 280ms var(--ease), transform 280ms var(--ease);
}

.drop-card::before {
  content: "";
  position: absolute;
  width: 180px;
  aspect-ratio: 1;
  top: 24px;
  right: 24px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(0, 0, 0, 0.04) 12px 13px);
  opacity: 0.8;
  animation: rotateSlow 24s linear infinite;
}

.drop-card:hover,
.drop-card.featured {
  background: var(--black);
  color: var(--white);
}

.drop-card:hover .product-type,
.drop-card:hover p,
.drop-card.featured .product-type,
.drop-card.featured p {
  color: #d8d8d2;
}

.drop-card h3 {
  position: relative;
  font-family: var(--display);
  text-transform: uppercase;
  z-index: 1;
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.drop-card p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.drop-card .aka {
  margin: -4px 0 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drop-number {
  position: absolute;
  top: 24px;
  left: 24px;
  color: rgba(0, 0, 0, 0.18);
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 0.8;
}

.drop-card.featured .drop-number,
.drop-card:hover .drop-number {
  color: rgba(255, 255, 255, 0.16);
}

.drop-badge {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drop-card.wide {
  grid-column: span 2;
}

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

.product-card {
  display: grid;
  gap: 28px;
  min-height: 520px;
  padding: clamp(18px, 3vw, 34px);
  background: var(--smoke);
  transition: background 280ms var(--ease), transform 280ms var(--ease);
}

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

.packshot {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.12), transparent 0 26%, transparent 27%),
    var(--white);
}

.packshot::before {
  content: "";
  width: min(62%, 190px);
  aspect-ratio: 0.68;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--black) 0 22%, var(--white) 22% 100%);
  transform: rotate(-6deg);
  box-shadow: 20px 30px 50px rgba(0, 0, 0, 0.14);
}

.packshot-rolls::before {
  aspect-ratio: 0.36;
  border-radius: 999px;
}

.packshot-rosin::before {
  aspect-ratio: 1;
}

.packshot span {
  position: absolute;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.08);
}

.product-type {
  margin: 0 0 10px;
  font-family: var(--display);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.product-card p:last-child,
.standard-copy p,
.ritual-copy p,
.fine-print {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: start;
}

.standard-copy {
  position: sticky;
  top: 100px;
}

.standard-copy p {
  max-width: 560px;
  color: #c9c9c2;
}

.standard-list {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.standard-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.standard-row span {
  color: #9d9d97;
  font-weight: 800;
}

.standard-row p {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.ritual {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 8vw, 100px);
  align-items: center;
  overflow: hidden;
}

.ritual-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.ring {
  width: min(78vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--black);
  border-radius: 50%;
  animation: rotateSlow 18s linear infinite;
}

.ring img {
  width: 84%;
  max-width: 84%;
  height: auto;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 18px 20px rgba(0, 0, 0, 0.14));
  animation: counterRotate 18s linear infinite;
}

.ring-red img {
  width: 74%;
  max-width: 74%;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.16));
}

.ritual-copy {
  max-width: 760px;
}

.contact {
  min-height: 76svh;
  display: grid;
  place-items: center;
}

.contact-inner {
  width: min(100%, 900px);
}

.instagram-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  margin: 34px 0 16px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  color: var(--white);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0;
  transition: background 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease);
}

.instagram-link:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 6vw, 90px);
  background: var(--white);
  color: var(--black);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes carouselSpin {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(355deg) translateY(-14px);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoPingPong {
  0% {
    top: 31%;
    left: 34%;
    transform: translate(-50%, -50%) rotate(-14deg);
  }
  22% {
    top: 28%;
    left: 63%;
    transform: translate(-50%, -50%) rotate(9deg);
  }
  44% {
    top: 58%;
    left: 66%;
    transform: translate(-50%, -50%) rotate(18deg);
  }
  68% {
    top: 69%;
    left: 39%;
    transform: translate(-50%, -50%) rotate(-6deg);
  }
  86% {
    top: 46%;
    left: 29%;
    transform: translate(-50%, -50%) rotate(-18deg);
  }
  100% {
    top: 31%;
    left: 34%;
    transform: translate(-50%, -50%) rotate(-14deg);
  }
}

@keyframes glintSweep {
  0%,
  35% {
    transform: translateX(-120%) rotate(8deg);
  }
  62%,
  100% {
    transform: translateX(120%) rotate(8deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes counterRotate {
  to {
    transform: rotate(-360deg);
  }
}

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

  .site-nav {
    display: none;
  }

  .hero,
  .split,
  .ritual {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-product {
    min-height: 360px;
  }

  .logo-carousel {
    width: min(88vw, 440px);
  }

  .carousel-orbit span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translateX(210px) rotate(0deg);
  }

  .carousel-orbit span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(90deg) translateX(210px) rotate(-90deg);
  }

  .carousel-orbit span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(180deg) translateX(210px) rotate(-180deg);
  }

  .carousel-orbit span:nth-child(4) {
    transform: translate(-50%, -50%) rotate(270deg) translateX(210px) rotate(-270deg);
  }

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

  .drop-card.wide {
    grid-column: auto;
  }

  .product-card {
    min-height: auto;
  }

  .standard-copy {
    position: static;
  }

  .ritual-visual {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .brand-mark,
  .nav-cta {
    font-size: 0.68rem;
  }

  .hero-actions,
  .age-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .brand-mark img {
    width: 58px;
  }

  .brand-mark {
    max-width: 210px;
  }

  .hero-logo {
    width: min(100%, 520px);
    margin: 20px 0;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 44px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    display: contents;
  }

  .hero-content .eyebrow {
    order: 1;
  }

  .hero-logo {
    order: 2;
  }

  .hero-product {
    order: 3;
    position: relative;
    right: auto;
    top: auto;
    min-height: 0;
    margin: -18px 0 2px;
  }

  .hero-copy {
    order: 4;
    width: min(100%, 330px);
  }

  .hero-actions {
    order: 5;
  }

  .logo-carousel {
    width: min(68vw, 244px);
    margin-inline: auto;
  }

  .carousel-orbit span {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.52rem;
  }

  .carousel-orbit span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translateX(92px) rotate(0deg);
  }

  .carousel-orbit span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(90deg) translateX(92px) rotate(-90deg);
  }

  .carousel-orbit span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(180deg) translateX(92px) rotate(-180deg);
  }

  .carousel-orbit span:nth-child(4) {
    transform: translate(-50%, -50%) rotate(270deg) translateX(92px) rotate(-270deg);
  }

  .standard-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

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