:root {
  color-scheme: dark;
  --bg: #050507;
  --bg-soft: #101114;
  --bg-strong: #17181d;
  --text: #f5efe8;
  --muted: rgba(245, 239, 232, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --red: #ed1b24;
  --red-deep: #97131a;
  --cream: #f1ebe3;
  --cream-shadow: #ddd4ca;
  --ink: #121317;
  --ink-muted: rgba(18, 19, 23, 0.7);
  --shell: 1200px;
  --radius: 8px;
  --header-height: 80px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.progress-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #ffffff 0%, var(--red) 45%, #ff8187 100%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding: 0.85rem 0;
  transition: background-color 180ms ease, box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

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

.brand-mark img {
  width: 150px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease,
    background-color 160ms ease, color 160ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
}

.button--small {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

.button--solid {
  background: #ffffff;
  color: #090909;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
}

.button--dark {
  background: #0d0e10;
  color: #ffffff;
}

.button--ghost-dark {
  border-color: rgba(18, 19, 23, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: rgba(18, 19, 23, 0.58);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 6rem;
  background:
    linear-gradient(120deg, #bf121a 0%, var(--red) 39%, #09090b 39%, #040405 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.08) 0 2px,
      transparent 2px 34px
    );
  opacity: 0.33;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.65));
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100svh - var(--header-height) - 4rem);
}

.hero__copy {
  max-width: 620px;
}

.hero h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 5.2rem;
  line-height: 0.95;
}

.hero__lede,
.ritual p,
.format-item p,
.site-footer__note,
.credits-list {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2.2rem 0 0;
  list-style: none;
}

.hero__stats li {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__stats strong,
.metric strong {
  display: block;
  font-family: "Oswald", sans-serif;
  line-height: 1;
}

.hero__stats strong {
  font-size: 2.5rem;
}

.hero__stats span {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero__media {
  display: grid;
}

.hero-stage {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.hero-stage__frame {
  position: absolute;
  inset: 1.5rem 0 0 3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stage__can {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.hero-stage__tag {
  position: absolute;
  z-index: 3;
  top: 5.5rem;
  right: -0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #121317;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.hero__preview {
  position: relative;
  z-index: 2;
  margin-top: 0.75rem;
}

.hero__preview a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(241, 235, 227, 0.96);
  color: var(--ink);
}

.hero__preview span {
  color: rgba(18, 19, 23, 0.58);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__preview strong {
  font-size: 1.05rem;
}

.hero__preview svg {
  width: 18px;
  height: 18px;
}

.section {
  padding: 6rem 0;
}

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

.section--dark {
  background: var(--bg-soft);
}

.section-copy h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 3.35rem;
  line-height: 1;
  color: inherit;
}

.section-copy p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.section--dark .section-copy p {
  color: var(--muted);
}

.section--light .section-copy p,
.section-copy--dark p {
  color: var(--ink-muted);
}

.section-copy--dark h2 {
  color: var(--ink);
}

.section-copy--narrow {
  max-width: 680px;
}

.flavor {
  position: relative;
  margin-top: -2.4rem;
  padding-top: 6.5rem;
}

.flavor__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}

.product-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
  background:
    linear-gradient(180deg, #faf7f2 0%, #ece4db 100%),
    repeating-linear-gradient(
      90deg,
      rgba(18, 19, 23, 0.04) 0 1px,
      transparent 1px 30px
    );
  box-shadow: inset 0 0 0 1px rgba(18, 19, 23, 0.06);
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(18, 19, 23, 0.08);
}

.product-stage__bottle {
  position: relative;
  z-index: 1;
  width: auto;
  height: 540px;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.24));
}

.flavor-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.flavor-notes article {
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 19, 23, 0.14);
}

.flavor-notes h3,
.ritual h3,
.format-item h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.flavor-notes p,
.format-item p {
  margin: 0;
  color: var(--ink-muted);
}

.numbers {
  background:
    linear-gradient(180deg, #141519 0%, #08090b 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 24px
    );
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.metric {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.metric strong {
  font-size: 4.4rem;
  color: var(--red);
}

.metric span {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
}

.rituals {
  background:
    linear-gradient(180deg, #180a0c 0%, #0a0b0d 100%);
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.3rem;
}

.ritual {
  min-height: 260px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
}

.ritual__icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.ritual__icon svg {
  width: 22px;
  height: 22px;
}

.ritual p {
  margin: 0;
}

.formats {
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 47%, #090a0c 47%, #090a0c 100%);
}

.formats__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.format-list {
  margin-top: 2rem;
}

.format-item {
  color: var(--ink);
  padding: 1rem 0;
  border-top: 1px solid rgba(18, 19, 23, 0.14);
}

.formats__stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.formats__frame {
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.formats__stage img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 470px;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.32));
}

.explore {
  background:
    linear-gradient(135deg, #ef1b24 0%, #d0171f 42%, #97131a 100%);
}

.explore__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2rem;
  align-items: end;
}

.explore__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.site-footer {
  padding: 2.4rem 0 3rem;
  background: #070708;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 2rem;
}

.site-footer__note {
  margin: 0.4rem 0 0;
}

.credits-list {
  margin: 0;
  padding-left: 1.1rem;
}

.credits-list a {
  color: #ffffff;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 4.4rem;
  }

  .section-copy h2 {
    font-size: 3rem;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero {
    padding-top: calc(var(--header-height) + 4.5rem);
  }

  .hero__layout,
  .flavor__layout,
  .formats__layout,
  .explore__layout,
  .site-footer__layout {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-stage__tag {
    right: 0;
    top: 1rem;
  }

  .flavor-notes,
  .metrics,
  .ritual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .formats {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 54%, #090a0c 54%, #090a0c 100%);
  }

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

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

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

  .site-nav {
    gap: 0.6rem 1rem;
  }

  .hero {
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .section-copy h2 {
    font-size: 2.5rem;
  }

  .hero__stats,
  .flavor-notes,
  .metrics,
  .ritual-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-stage__can {
    width: min(100%, 360px);
  }

  .product-stage {
    min-height: 440px;
  }

  .product-stage__bottle,
  .formats__stage img {
    height: 360px;
  }

  .formats__stage {
    min-height: 430px;
  }

  .hero__preview a {
    grid-template-columns: 1fr auto;
  }

  .hero__preview span {
    grid-column: 1 / -1;
  }
}

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

  .button,
  [data-reveal],
  .site-header,
  .progress-bar span {
    transition: none;
  }
}
