/* Decant AL: storefront styles
   Palette: white, the gold of the Decant AL logo, and charcoal for text and the footer. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #faf6ec;
  --tint-2: #f1e7cf;
  --deep: #1c2228;
  --deep-2: #2b333b;
  --ink: #22292f;
  --mute: #646a70;
  --line: #ece5d5;
  --gold: #e2b31a;
  --gold-2: #c99a10;
  --gold-deep: #a67c00;
  --gold-ink: #8a6508;
  --gold-soft: #f6e7b4;
  --gold-pale: #fdf8ea;
  --gold-grad: linear-gradient(135deg, #f4d361 0%, #e2b31a 46%, #c99a10 100%);
  --danger: #a33a2a;
  --ok: #2f6b4f;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Newsreader', Georgia, serif;

  --ease-lux: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------- type */

.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--deep);
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--deep);
  margin: 0;
}

.h2 {
  font-stretch: 118%;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 34em;
}

.muted {
  color: var(--mute);
}

/* ---------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 1.4em;
  border-radius: 6px;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: var(--deep);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  border-color: var(--deep);
  color: var(--deep);
}

.btn-ghost:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.btn-dark {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.btn-dark:hover {
  background: var(--deep-2);
  border-color: var(--deep-2);
}

.btn-block {
  width: 100%;
}

/* Charcoal underline; on hover a gold line sweeps across it. */
.link {
  color: var(--deep);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px, 100% 1.5px;
  background-position: left bottom, left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.6s var(--ease-lux);
}

.link:hover {
  background-size: 100% 1.5px, 100% 1.5px;
}

/* ---------------------------------------------------------- header */

.announce {
  background: var(--deep);
  color: var(--gold-soft);
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  text-align: center;
  padding: 7px var(--gutter);
}

/* The wrapper must not create a box, or the sticky header would only stick inside it. */
#site-header {
  display: contents;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: 0.01em;
  color: var(--deep);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark img {
  width: 44px;
  height: auto;
  flex: none;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--deep);
  background: var(--gold-pale);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--deep);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.icon-btn:hover {
  background: var(--gold-pale);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.cart-count[data-empty='true'] {
  background: var(--tint-2);
  color: var(--mute);
}

.menu-btn {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .cart-label {
    display: none;
  }
  .header-row {
    gap: 8px;
  }
  .header-actions {
    gap: 2px;
  }
  .menu-btn {
    margin-left: -10px;
  }
}

@media (max-width: 480px) {
  .site-header .wordmark {
    gap: 8px;
    font-size: 1.08rem;
  }
  .site-header .wordmark img {
    width: 36px;
  }
  .header-actions .icon-btn {
    padding: 0 6px;
    min-width: 40px;
  }
}

@media (max-width: 359px) {
  .site-header .wordmark span {
    display: none;
  }
}

/* mobile menu sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.sheet.is-open {
  display: block;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 34, 40, 0.35);
}

.sheet-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.sheet-panel a {
  padding: 12px 8px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* ---------------------------------------------------------- hero */

.hero {
  padding: clamp(24px, 5vw, 64px) 0 clamp(40px, 6vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
}

.hero .lede {
  margin: 24px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.hero-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--tint);
  aspect-ratio: 4 / 5;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    aspect-ratio: 5 / 4;
    order: -1;
  }
}

/* the vial ladder: the one orchestrated moment on load */
.ladder {
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 30px);
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ladder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ladder-item strong {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  color: var(--deep);
  font-size: 1rem;
  line-height: 1.1;
}

.ladder-item span {
  font-size: 0.78rem;
  color: var(--mute);
  line-height: 1.25;
}

.vial {
  display: block;
  overflow: visible;
}

.vial .glass {
  fill: rgba(255, 255, 255, 0.45);
  stroke: var(--deep);
  stroke-width: 1.4;
}

.vial .cap {
  fill: var(--gold-2);
}

.vial .collar {
  fill: var(--mute);
}

.vial .tube {
  stroke: var(--deep);
  stroke-opacity: 0.25;
  stroke-width: 1;
}

.vial .tick {
  stroke: var(--deep);
  stroke-opacity: 0.3;
  stroke-width: 1;
}

.vial .juice {
  fill: var(--gold);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 0.45s cubic-bezier(0.3, 0.7, 0.2, 1), fill 0.2s;
}

@keyframes fill-up {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .vial .juice {
    transition: none;
  }
}

/* ---------------------------------------------------------- sections */

.section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--mute);
}

.section-head .link {
  white-space: nowrap;
  flex: none;
}

/* category tiles */
.cats {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: minmax(220px, auto) minmax(220px, auto);
  gap: 12px;
}

.cat {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint);
  text-decoration: none;
  min-height: 220px;
}

.cat:first-child {
  grid-row: span 2;
}

.cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--deep);
}

.cat-label b {
  font-family: var(--display);
  font-stretch: 118%;
  font-weight: 600;
  font-size: 1.05rem;
}

.cat-label span {
  font-size: 0.85rem;
  color: var(--mute);
}

.cat:hover .cat-label {
  background: var(--deep);
  color: #fff;
}

.cat:hover .cat-label span {
  color: var(--gold-soft);
}

@media (max-width: 760px) {
  .cats {
    grid-template-columns: 1fr 1fr;
  }
  .cat:first-child {
    grid-row: auto;
    grid-column: span 2;
  }
  .cat {
    min-height: 170px;
  }
  .cat-label {
    flex-direction: column;
    gap: 0;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 12px;
  }
}

/* product grid + card */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px) clamp(12px, 2vw, 24px);
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint);
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media .alt {
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft), scale 1.8s var(--ease-lux);
}

@media (hover: hover) {
  .card:hover .card-media .alt {
    opacity: 1;
  }
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--deep);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-out {
  background: var(--ink);
  color: #fff;
}

.badge-gold {
  background: var(--gold);
  color: var(--deep);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.card-brand {
  font-size: 0.82rem;
  color: var(--mute);
}

.card-name {
  font-weight: 600;
  color: var(--deep);
  line-height: 1.3;
}

.card-price {
  margin-top: 4px;
  font-size: 0.95rem;
}

.card.is-out .card-media img {
  filter: grayscale(0.6);
  opacity: 0.75;
}

.placeholder-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* horizontal shelf on small screens */
@media (max-width: 640px) {
  .shelf {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
  }
  .shelf > * {
    scroll-snap-align: start;
  }
}

/* feature banners */
.banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.banner {
  position: relative;
  min-height: 360px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.banner-body {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  max-width: 30em;
}

.banner h3 {
  color: #fff;
  font-stretch: 122%;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.05;
}

.banner p {
  margin: 10px 0 18px;
  color: #e7e9eb;
}

.banner .btn {
  background: var(--gold);
  color: var(--deep);
  border-color: var(--gold);
}

.banner:hover .btn {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

@media (max-width: 760px) {
  .banners {
    grid-template-columns: 1fr;
  }
  .banner {
    min-height: 280px;
  }
}

/* how it works (a real sequence, so it is numbered) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  border-top: 1.5px solid var(--deep);
  padding-top: 18px;
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-stretch: 125%;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  color: var(--deep);
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--deep);
  border-bottom: 1.5px solid var(--deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-list details p {
  margin: 0 0 18px;
  max-width: 40em;
}

@media (max-width: 760px) {
  .faq {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------- shop page */

.page-head {
  padding: clamp(24px, 4vw, 48px) 0 20px;
}

.page-head h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.page-head p {
  margin: 8px 0 0;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

@media (min-width: 900px) {
  .chips {
    flex-wrap: wrap;
    overflow: visible;
  }
}

.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--gold-2);
}

.chip[aria-pressed='true'],
.chip[aria-current='true'] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
  font-weight: 600;
}

.chip svg {
  width: 16px;
  height: 16px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 8px 0 28px;
}

.field-inline {
  position: relative;
}

.field-inline svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--mute);
  pointer-events: none;
}

.input,
.select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.field-inline .input {
  padding-left: 42px;
}

.input:focus,
.select:focus,
textarea.input:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(226, 179, 26, 0.28);
}

.select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c2228' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

@media (max-width: 720px) {
  .toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .toolbar .field-inline {
    grid-column: span 2;
  }
}

.season-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.season-row .label {
  font-size: 0.88rem;
  color: var(--mute);
  margin-right: 4px;
}

.result-count {
  margin: 0 0 16px;
  color: var(--mute);
  font-size: 0.92rem;
}

.empty {
  padding: 48px 0;
  text-align: center;
}

.empty h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------------------------------------------------------- product page */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 0;
  font-size: 0.88rem;
  color: var(--mute);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--deep);
  text-decoration: underline;
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.gallery-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--tint);
  aspect-ratio: 4 / 5;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main img:not(.is-active) {
  display: none;
}

.gallery-main .placeholder-media {
  position: relative;
  aspect-ratio: 4 / 5;
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.thumb {
  width: 76px;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--tint);
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb[aria-current='true'] {
  border-color: var(--gold);
}

.pdp-info {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.pdp-brand {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--mute);
  text-decoration: none;
  margin-bottom: 6px;
}

.pdp-brand:hover {
  color: var(--deep);
  text-decoration: underline;
}

.pdp h1 {
  font-stretch: 118%;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.pdp-price {
  margin: 16px 0 24px;
  font-family: var(--display);
  font-stretch: 112%;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--deep);
}

.pdp-price small {
  font-family: var(--text);
  font-stretch: 100%;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--mute);
  margin-left: 8px;
}

.size-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 10px;
}

.size-label span {
  font-weight: 400;
  color: var(--mute);
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.size {
  flex: 1 1 0;
  min-width: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 12px 6px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
}

.size:hover {
  border-color: var(--gold-2);
}

.size .vial .juice {
  transform: scaleY(0.12);
  fill: var(--gold-soft);
}

.size[aria-checked='true'] {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.size[aria-checked='true'] .vial .juice {
  transform: scaleY(1);
  fill: var(--gold);
}

.size b {
  font-size: 0.95rem;
  color: var(--deep);
}

.size small {
  font-size: 0.8rem;
  color: var(--mute);
}

.size[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.size[disabled] b {
  text-decoration: line-through;
}

.size-text {
  flex: 0 1 auto;
  min-width: 0;
  padding: 12px 16px;
}

.buy-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  height: 48px;
}

.qty button {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--deep);
}

.qty input {
  width: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.assurances {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.93rem;
}

.assurances li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.assurances svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--deep);
  margin-top: 1px;
}

.perf {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.meter-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.meter-row:has(.seasons) {
  align-items: start;
}

.meter-row:has(.seasons) > span {
  padding-top: 6px;
}

.meter {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}

.meter i {
  height: 8px;
  border-radius: 2px;
  background: var(--tint-2);
}

.meter i.on {
  background: var(--gold);
}

.meter i.half {
  background: linear-gradient(90deg, var(--gold) 50%, var(--tint-2) 50%);
}

.meter-row b {
  text-align: right;
  color: var(--deep);
}

.seasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.season {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--mute);
}

.season svg {
  width: 16px;
  height: 16px;
}

.season.on {
  border-color: var(--gold);
  color: var(--deep);
  background: var(--gold-pale);
  font-weight: 600;
}

.notes {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.68;
  color: var(--ink);
  max-width: 36em;
}

.notes p {
  margin: 0 0 1em;
}

@media (max-width: 860px) {
  .pdp {
    grid-template-columns: 1fr;
  }
  .pdp-info {
    position: static;
  }
  .gallery-main {
    aspect-ratio: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 12px;
  }
  .gallery-main img,
  .gallery-main img:not(.is-active) {
    display: block;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }
  .thumbs {
    display: none;
  }
  .dots {
    display: flex;
  }
}

.dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tint-2);
}

.dots i.on {
  background: var(--gold);
}

/* skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--tint) 0%, var(--tint-2) 50%, var(--tint) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------------------------------------------------------- cart drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
}

.drawer.is-open {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 34, 40, 0.35);
  opacity: 0;
  transition: opacity 0.2s;
}

.drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.drawer.is-open .drawer-panel {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .drawer-panel,
  .drawer-backdrop {
    transition: none;
  }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 1.25rem;
  font-stretch: 118%;
  font-weight: 600;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px;
}

.drawer-foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.line:last-child {
  border-bottom: 0;
}

.line-media {
  width: 64px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: var(--tint);
}

.line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.line-title {
  font-weight: 600;
  color: var(--deep);
  line-height: 1.3;
  text-decoration: none;
}

.line-meta {
  font-size: 0.85rem;
  color: var(--mute);
}

.line-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.line .qty {
  height: 36px;
}

.line .qty button {
  width: 32px;
}

.line .qty input {
  width: 30px;
}

.remove {
  border: 0;
  background: none;
  padding: 0;
  color: var(--mute);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

.line-total {
  font-weight: 600;
  white-space: nowrap;
}

.totals {
  display: grid;
  gap: 6px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals .grand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.small {
  font-size: 0.85rem;
}

.cart-empty {
  padding: 48px 0;
  text-align: center;
}

.cart-empty svg {
  margin: 0 auto 12px;
}

/* ---------------------------------------------------------- checkout */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-bottom: 80px;
}

.panel {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--deep);
  margin-bottom: 6px;
}

.field label span {
  font-weight: 400;
  color: var(--mute);
}

.field .input {
  background: #fff;
}

.field .select {
  background-color: #fff;
}

textarea.input {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.field-error {
  display: none;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.85rem;
}

.field.has-error .input,
.field.has-error .select {
  border-color: var(--danger);
}

.field.has-error .field-error {
  display: block;
}

.pay-method {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--gold);
  background: #fff;
}

.pay-method svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--gold-deep);
}

.form-error {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fbe9e5;
  color: var(--danger);
  font-weight: 500;
}

.form-error.is-visible {
  display: block;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.summary h2 {
  font-size: 1.2rem;
  font-stretch: 118%;
  font-weight: 600;
  margin-bottom: 8px;
}

.honey {
  position: absolute;
  left: -9999px;
}

.success {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) 0;
  text-align: center;
}

.success .vial {
  margin: 0 auto 24px;
}

.success h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 14px;
}

.success .order-no {
  display: inline-block;
  margin: 8px 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  font-weight: 700;
  color: var(--deep);
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .checkout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
    order: -1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------- footer */

.site-footer {
  background: var(--deep);
  color: #c9ced3;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(40px, 6vw, 72px) 0 28px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid .wordmark {
  color: #fff;
  font-size: 1.5rem;
}

.footer-grid .wordmark img {
  width: 56px;
}

.footer-grid h3 {
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-tag {
  margin: 12px 0 0;
  max-width: 24em;
}

.footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #a3a9af;
  display: grid;
  gap: 8px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------- misc */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(28, 34, 40, 0.25);
}

.notice {
  padding: 48px 0;
  text-align: center;
}

/* ================================================================ motion
   Initial (hidden) states only apply when <html> has the "motion" class, which a tiny inline
   script sets before first paint unless the visitor prefers reduced motion. Without it, or
   without JavaScript, everything is simply visible. */

:root {
  interpolate-size: allow-keywords;
}

/* page-to-page transitions */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

::view-transition-old(root) {
  animation: vt-out 0.32s var(--ease-soft) both;
}

::view-transition-new(root) {
  animation: vt-in 0.65s var(--ease-lux) both;
}

@keyframes vt-out {
  to {
    opacity: 0;
    translate: 0 -10px;
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
    translate: 0 16px;
  }
}

/* frosted header that steps aside while scrolling down */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  transition: translate 0.7s var(--ease-lux), border-color 0.3s;
}

.site-header.is-away {
  translate: 0 -100%;
}

.nav a {
  position: relative;
}

.nav a:hover,
.nav a[aria-current='page'] {
  background: transparent;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1.5px;
  background: var(--gold);
  scale: 0 1;
  transition: scale 0.6s var(--ease-lux);
}

.nav a:hover::after,
.nav a[aria-current='page']::after {
  scale: 1 1;
}

/* buttons: a soft light sweeps across on hover */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft), color 0.4s var(--ease-soft), scale 0.25s var(--ease-lux);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  translate: -110% 0;
  transition: translate 1.1s var(--ease-lux);
  pointer-events: none;
}

.btn:hover::after {
  translate: 110% 0;
}

.btn:active {
  scale: 0.97;
}

.btn[disabled]::after {
  display: none;
}

/* ---------------------------------------------------------- reveals */

[data-reveal] {
  transition: opacity 1.1s var(--ease-lux) var(--d, 0ms), translate 1.4s var(--ease-lux) var(--d, 0ms), clip-path 1.6s var(--ease-lux) var(--d, 0ms);
}

.motion [data-reveal]:not(.is-in) {
  opacity: 0;
  translate: 0 34px;
}

.motion [data-reveal='fade']:not(.is-in) {
  translate: none;
}

/* headlines: each word rises from behind a mask */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.02em 0.16em;
  margin: -0.1em -0.02em -0.16em;
}

.w > span {
  display: inline-block;
  transform-origin: 0 100%;
  transition: translate 1.5s cubic-bezier(0.22, 1, 0.36, 1), rotate 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0ms) + var(--wi, 0) * 75ms);
}

.motion [data-split]:not(.is-in) {
  opacity: 1;
  translate: none;
}

.motion [data-split]:not(.is-in) .w > span {
  translate: 0 112%;
  rotate: 5deg;
}

/* images open like a curtain and settle from a slight zoom */
[data-reveal='mask'] {
  --mask-r: 14px;
}

[data-reveal='mask'] img {
  transition: scale 2.8s var(--ease-lux) var(--d, 0ms), opacity 0.6s var(--ease-soft);
}

.motion [data-reveal='mask']:not(.is-in) {
  opacity: 1;
  translate: none;
  clip-path: inset(100% 0 0 0 round var(--mask-r));
}

.motion [data-reveal='mask'].is-in {
  clip-path: inset(0 0 0 0 round var(--mask-r));
}

.motion [data-reveal='mask']:not(.is-in) img {
  scale: 1.22;
}

/* ---------------------------------------------------------- hero */

.hero-frame {
  position: absolute;
  inset: -7% 0;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(28, 34, 40, 0.3), transparent 45%);
  pointer-events: none;
}

.mist {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.motion .hero-media.is-in img {
  animation: breathe 18s ease-in-out 2.9s infinite alternate;
}

@keyframes breathe {
  from {
    scale: 1;
  }
  to {
    scale: 1.07;
  }
}

/* vials: fill, a glint across the glass, a few rising bubbles */
.motion .ladder:not(.is-in) .vial .juice {
  transform: scaleY(0);
}

.motion .ladder.is-in .vial .juice {
  animation: fill-up 1.7s var(--ease-lux) both;
  animation-delay: calc(var(--d, 0ms) + 0.35s + var(--vi, 0) * 0.16s);
}

.vial .bubble {
  fill: rgba(255, 253, 244, 0.9);
}

.vial .glint,
.vial .bubble {
  opacity: 0;
}

.motion .ladder.is-in .vial .glint,
.motion .size[aria-checked='true'] .vial .glint,
.motion .success .vial .glint {
  animation: glint 6s var(--ease-soft) infinite;
  animation-delay: calc(var(--d, 0ms) + 2.2s + var(--vi, 0) * 0.25s);
}

.motion .size[aria-checked='true'] .vial .glint {
  animation-delay: 0.5s;
}

@keyframes glint {
  0% {
    transform: translateX(-24px);
    opacity: 0;
  }
  4% {
    opacity: 0.9;
  }
  20% {
    transform: translateX(26px);
    opacity: 0;
  }
  100% {
    transform: translateX(26px);
    opacity: 0;
  }
}

.motion .ladder.is-in .vial .bubble,
.motion .size[aria-checked='true'] .vial .bubble,
.motion .success .vial .bubble {
  animation: bubble 3.4s ease-in infinite;
  animation-delay: calc(var(--bd, 0s) + 1.8s);
}

.motion .size[aria-checked='true'] .vial .bubble {
  animation-delay: calc(var(--bd, 0s) + 0.4s);
}

@keyframes bubble {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.55;
  }
  100% {
    transform: translate(var(--bx, 0px), var(--rise, -30px));
    opacity: 0;
  }
}

.size {
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, translate 0.5s var(--ease-lux);
}

.size:not([disabled]):hover {
  translate: 0 -3px;
}

.size .vial .juice {
  transition: transform 1s var(--ease-lux), fill 0.5s var(--ease-soft);
}

/* ---------------------------------------------------------- brand marquee */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: clamp(18px, 2.6vw, 28px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

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

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee a {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding-right: clamp(18px, 2.4vw, 32px);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: clamp(1.35rem, 3.1vw, 2.5rem);
  line-height: 1.1;
  color: var(--deep);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.4s var(--ease-soft), -webkit-text-stroke-color 0.4s var(--ease-soft);
}

.marquee a:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--deep);
}

.marquee a:hover {
  color: var(--gold-deep);
  -webkit-text-stroke-color: var(--gold-deep);
}

.marquee a svg {
  flex: none;
  width: 12px;
  height: 18px;
  color: var(--gold);
}

@keyframes marquee {
  to {
    translate: -50% 0;
  }
}

/* ---------------------------------------------------------- cards, tiles, banners */

.card-media img {
  transition: opacity 0.6s var(--ease-soft), scale 1.8s var(--ease-lux);
}

@media (hover: hover) {
  .card:hover .card-media img {
    scale: 1.06;
  }
}

.card[data-reveal] .card-media {
  transition: clip-path 1.5s var(--ease-lux) var(--d, 0ms);
}

.motion .card[data-reveal]:not(.is-in) .card-media {
  clip-path: inset(16% 0 0 0 round var(--radius));
}

.motion .card[data-reveal]:not(.is-in) .card-media img {
  scale: 1.16;
}

.grid.is-settled [data-reveal] {
  transition-duration: 0.55s, 0.7s, 0.7s;
  transition-delay: calc(var(--d, 0ms) * 0.35);
}

.motion .grid.is-settled [data-reveal]:not(.is-in) {
  translate: 0 12px;
}

.card-cta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 11px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--deep);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.45s var(--ease-soft), translate 0.7s var(--ease-lux);
}

@media (hover: hover) {
  .card:hover .card-cta {
    opacity: 1;
    translate: 0 0;
  }
}

@media (hover: none) {
  .card-cta {
    display: none;
  }
}

.cat {
  --mask-r: var(--radius);
}

.cat img {
  transition: scale 1.8s var(--ease-lux);
}

.cat:hover img {
  scale: 1.07;
}

.cat-label {
  transition: background 0.45s var(--ease-soft), color 0.45s var(--ease-soft), translate 0.7s var(--ease-lux);
}

.cat:hover .cat-label {
  translate: 0 -4px;
}

.banner img {
  scale: 1.14;
  transition: scale 2s var(--ease-lux), opacity 0.8s var(--ease-soft);
}

.banner:hover img {
  scale: 1.2;
  opacity: 0.72;
}

/* ---------------------------------------------------------- steps, faq */

.steps li {
  position: relative;
  border-top: 0;
  padding-top: 20px;
}

.steps li::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1.5px;
  background: var(--gold-grad);
  transform-origin: left;
  transition: scale 1.6s var(--ease-lux) var(--d, 0ms);
}

.motion .steps li:not(.is-in)::after {
  scale: 0 1;
}

@supports selector(::details-content) {
  .faq-list details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.6s var(--ease-lux), content-visibility 0.6s allow-discrete;
  }
  .faq-list details[open]::details-content {
    block-size: auto;
  }
}

.faq-list summary {
  transition: color 0.3s;
}

.faq-list summary:hover {
  color: var(--gold-deep);
}

/* ---------------------------------------------------------- product page */

.pdp-price > span {
  display: inline-block;
}

.pdp-price.tick > span {
  animation: tick 0.7s var(--ease-lux);
}

@keyframes tick {
  from {
    opacity: 0;
    translate: 0 0.45em;
  }
}

.meter i {
  transition: background 0.6s var(--ease-soft);
  transition-delay: calc(var(--d, 0ms) + 250ms + var(--si, 0) * 55ms);
}

.motion .perf:not(.is-in) .meter i.on,
.motion .perf:not(.is-in) .meter i.half {
  background: var(--tint-2);
}

.thumb {
  transition: border-color 0.3s, translate 0.5s var(--ease-lux);
}

.thumb:hover {
  translate: 0 -3px;
}

.gallery-main img.is-active {
  animation: swap 0.8s var(--ease-lux);
}

@keyframes swap {
  from {
    opacity: 0.2;
    scale: 1.04;
  }
}

/* add to cart: the vial that flies into the bag */
.fly {
  position: fixed;
  z-index: 100;
  width: 0;
  height: 0;
  pointer-events: none;
}

.fly-inner {
  position: absolute;
  left: -15px;
  top: -30px;
  filter: drop-shadow(0 8px 14px rgba(28, 34, 40, 0.3));
}

/* ---------------------------------------------------------- drawer */

.drawer-backdrop {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: opacity 0.5s var(--ease-soft);
}

.drawer-panel {
  transition: transform 0.8s var(--ease-lux);
}

.drawer-foot {
  --li: 3;
}

.motion .drawer.is-entering .line,
.motion .drawer.is-entering .drawer-foot,
.motion .drawer.is-entering .cart-empty {
  animation: line-in 0.9s var(--ease-lux) both;
  animation-delay: calc(var(--li, 0) * 70ms + 200ms);
}

@keyframes line-in {
  from {
    opacity: 0;
    translate: 28px 0;
  }
}

/* ---------------------------------------------------------- success + footer */

.motion .success .vial .juice {
  animation: fill-up 2s var(--ease-lux) 0.35s both;
}

.footer-mark {
  display: block;
  margin: clamp(36px, 6vw, 64px) 0 -0.1em;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: clamp(3rem, 12.4vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(246, 231, 180, 0.75) 48%, rgba(226, 179, 26, 0.95) 50%, rgba(246, 231, 180, 0.75) 52%, rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0.08) 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  animation: sheen 12s var(--ease-soft) infinite;
}

.site-footer .wrap {
  overflow: hidden;
}

@keyframes sheen {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }
  .marquee-track,
  .footer-mark,
  .motion .hero-media.is-in img {
    animation: none;
  }
  .footer-mark {
    background-position: 50% 0;
  }
  .btn::after {
    display: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
