/* SIGHNIL — Home. Built from Figma "Main Design / Home Page" (node 3320:4929). */

@font-face {
  font-family: "Revans";
  src: url("assets/fonts/Revans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Figma variables */
  --text-600: #0f0f0f;
  --text-500: rgba(15, 15, 15, 0.7);
  --text-400: rgba(15, 15, 15, 0.45);
  --white: #fff;
  --black: #000;
  --stroke-100: #ededed;
  --stroke-200: #e0e0e0;
  --fill-300: #f5f5f5;
  --banner: #242424;

  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Revans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: 12px;
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text-600);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 14px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, ul, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: var(--font-display); font-weight: 500; }

/* "#CRAFTEDSCENT FOR TRUE PRESENCE" style: Revans word + Helvetica words, 32px uppercase */
.mixed-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
  text-transform: uppercase;
}
.mixed-title .display { line-height: 32px; }

.lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
}
.lead--narrow { max-width: 596px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 8px 32px;
  border: 1px solid var(--black);
  border-radius: 100px;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn--dark { background: var(--text-600); color: var(--white); }
.btn--dark:hover { background: #333; }
.btn--light { background: var(--white); color: var(--text-600); }
.btn--light:hover { background: var(--text-600); color: var(--white); }
.btn--lg { height: 56px; padding: 8px 60px; }
.btn--sm { height: 36px; padding: 8px 60px; width: 100%; }

/* Header banner */
.banner { height: 24px; overflow: hidden; background: var(--banner); color: var(--white); }
.banner--black { background: var(--black); }
/* Marquee: track holds the 5 items twice; moving it -50% loops seamlessly. */
.banner__track {
  display: flex;
  width: max-content;
  padding-top: 6px;
  white-space: nowrap;
  animation: banner-marquee 30s linear infinite;
}
.banner__track span { padding-right: 240px; }
.banner--black .banner__track { animation-direction: reverse; }
@keyframes banner-marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .banner__track { animation: none; }
}

/* ---------- Hero ---------- */
.hero-wrap { container-type: inline-size; }
.hero {
  position: relative;
  overflow: hidden;
  /* Full first screen minus the 24px banner, so the GET 25% OFF badge is in view. */
  height: calc(100vh - 24px);
  height: calc(100svh - 24px);
  min-height: 480px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Photo already contains the bottle shadows, so it must scale with the art (cqw), not "cover".
   Figma: 1440 × 1800 at top -523.8. Below the photo, its bottom tone continues. */
.hero { background: #9a9ea1; }
.hero__art { position: absolute; inset: 0; pointer-events: none; }
.hero__bg {
  position: absolute;
  left: 0;
  top: -36.375cqw;
  width: 100cqw;
  height: 125cqw;
  max-width: none;
}
/* Art positions are design px / 14.4 = cqw, so the composition scales with width. */
.hero__wordmark {
  position: absolute;
  left: 1.3889cqw;     /* 20 */
  top: 5.8333cqw;      /* 84 */
  width: 97.2222cqw;   /* 1400 */
  height: 27.5cqw;     /* 396 */
}
.hero__bottles {
  position: absolute;
  left: 8.5242cqw;     /* 122.75 */
  top: 15.0694cqw;     /* 217 */
  width: 82.5869cqw;   /* 1189.25 */
  height: 22.7778cqw;  /* 328 */
  overflow: hidden;
}
.hero__bottles img {
  position: absolute;
  max-width: none;
  left: -10.66%;
  top: -228.22%;
  width: 121.83%;
  height: 552.15%;
}

/* Sticky over the hero (negative margin pulls hero up under it). Glass state after scroll. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: -52px;
  height: 52px;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px;
  font-weight: 500;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: rgba(15, 15, 15, 0.06);
}
.nav__links { display: flex; gap: 20px; }
.nav__logo img { width: 98px; height: 28px; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.nav a:hover, .footer a:hover { opacity: .6; }

.currency { position: relative; }
.currency__toggle { display: flex; align-items: center; font-weight: 500; }
/* Chevron points right when closed (Figma), turns down when open */
.currency__toggle img { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.currency.is-open .currency__toggle img { transform: rotate(90deg); }
.currency__menu {
  position: absolute;
  top: calc(100% + 5px);
  left: -17px;
  min-width: 65px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 0 1px rgba(0,0,0,.08);
  /* closed */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity .2s ease,
    transform .35s cubic-bezier(.16, 1, .3, 1),
    clip-path .35s cubic-bezier(.16, 1, .3, 1),
    visibility 0s linear .35s;
}
.currency.is-open .currency__menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}
.promo-badge[hidden] { display: none; }
.currency__menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-weight: 500;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1), color .2s;
}
.currency.is-open .currency__menu li { opacity: 1; transform: none; }
.currency.is-open .currency__menu li:nth-child(2) { transition-delay: .03s; }
.currency.is-open .currency__menu li:nth-child(3) { transition-delay: .06s; }
.currency.is-open .currency__menu li:nth-child(4) { transition-delay: .09s; }
.currency.is-open .currency__menu li:nth-child(5) { transition-delay: .12s; }
.currency.is-open .currency__menu li:nth-child(6) { transition-delay: .15s; }
.currency.is-open .currency__menu li:nth-child(7) { transition-delay: .18s; }
.currency.is-open .currency__menu li:nth-child(8) { transition-delay: .21s; }
.currency__menu li img { transition: opacity .2s; }
.currency__menu li:hover, .currency__menu li[aria-selected="true"] { color: var(--text-400); }
.currency__menu li[aria-selected="true"] img { opacity: .6; }

.hero__content {
  position: relative;
  z-index: 2;
  /* Figma 604px from top; moves up on short screens so it never hits the badge. */
  margin-top: min(41.9444cqw, calc(100svh - 24px - 162px - 72px));
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.hero__content h1 { width: 370px; max-width: calc(100vw - 32px); }

.promo-badge {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 0;
  padding: 12px 20px;
  background: var(--white);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}
.promo {
  position: absolute;
  z-index: 6;
  right: 12px;
  bottom: 12px;
  width: 324px;
  max-width: calc(100% - 24px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.promo[hidden] { display: none; }
.promo__close { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; }
.promo__form-state { display: flex; flex-direction: column; gap: 8px; }
.promo__title { font-size: 24px; line-height: 28px; }
.promo__text { font-size: 12px; line-height: 16px; color: var(--text-500); }
.promo__form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.promo__done-state { display: flex; flex-direction: column; gap: 16px; }
.promo__done-state[hidden] { display: none; }
.promo__done-text p { font-size: 12px; line-height: 16px; }

.field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--stroke-200);
}
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 16px;
  color: var(--text-600);
}
.field input::placeholder { color: var(--text-400); }
.field:focus-within { border-color: var(--text-600); }

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--stroke-100);
}
.benefits li {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}
.benefits li + li { border-left: 1px solid var(--stroke-100); }

/* ---------- Featured products ---------- */
.featured {
  padding: 80px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.card { display: flex; flex-direction: column; border-radius: 2px; overflow: hidden; }
.card__media { position: relative; display: block; aspect-ratio: 348 / 412; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.card__dots i { width: 6px; height: 6px; border-radius: 10px; background: rgba(0,0,0,.32); }
.card__dots i.is-active { background: var(--black); }
.card__body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  text-align: center;
  color: var(--black);
}
.card__info { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 94px; }
.card__type { font-family: var(--font-display); font-weight: 500; line-height: 12px; }
.card__name { font-weight: 400; font-size: 20px; line-height: 24px; }
.card__price { display: flex; align-items: center; gap: 6px; }
.card__price strong { font-weight: 500; font-size: 14px; line-height: 16px; }
.card__price s { color: var(--text-500); }
.card__rating { display: flex; align-items: center; gap: 4px; margin-top: -2px; }
.card__actions { display: flex; gap: 8px; }
.card__actions .btn { flex: 1; min-width: 0; padding: 8px 12px; }

/* ---------- Video ---------- */
.video {
  position: relative;
  height: 760px;
  overflow: hidden;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.video__text h2 { width: 333px; }
.video__text p { width: 276px; }
.video__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke-100);
  border-radius: 32px;
  display: grid;
  place-items: center;
}

/* ---------- Story ---------- */
.story {
  padding: 80px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.story__card {
  position: relative;
  height: 648px;
  overflow: hidden;
  border-radius: 2px;
  background: #d9d9d9;
  color: var(--white);
  text-align: center;
}
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__img--1 { object-position: 50% 40.4%; }
.story__img--2 { object-position: 50% 50%; }
.story__card h3 {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 333px;
}
.story__tags {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 317px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  white-space: nowrap;
}
.story__desc {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 340px;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  gap: 8px;
  padding: 40px var(--gutter) 80px;
}
.faq__title { flex: 1; max-width: 50%; }
.faq__title span { display: inline; }
.faq__title { width: 410px; }
.faq__list { flex: 1; }
.faq details { border-bottom: 1px solid var(--stroke-100); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 12px;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--text-500); }
/* Icon: plus and minus stacked; plus turns and fades into minus */
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon img {
  position: absolute;
  inset: 0;
  transition: opacity .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
}
.faq__icon .is-minus { opacity: 0; transform: rotate(-90deg); }
.faq details.is-open .faq__icon .is-plus { opacity: 0; transform: rotate(90deg); }
.faq details.is-open .faq__icon .is-minus { opacity: 1; transform: none; }

/* Answer: height animated in main.js; text eases in */
.faq__body { overflow: hidden; transition: margin-top .5s cubic-bezier(.16, 1, .3, 1); }
.faq details.is-open .faq__body { margin-top: -8px; } /* 12px gap under the question (Figma) */
.faq details p {
  padding: 0 12px 20px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-500);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
}
.faq details.is-open p { opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- Reviews ---------- */
.reviews {
  background: var(--fill-300);
  padding: 80px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reviews__title { width: 443px; max-width: 100%; font-weight: 400; font-size: 32px; line-height: 36px; }
.reviews__title .display { line-height: 32px; }
.chips {
  width: 704px;
  max-width: 50%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.chip { width: 152px; display: flex; align-items: center; gap: 12px; text-align: left; }
.chip__img {
  position: relative;
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 100px;
  overflow: hidden;
  background: #efefef;
  border: 1px solid transparent;
}
.chip__img img { position: absolute; width: 62px; height: 77.5px; max-width: none; object-fit: cover; left: 0; }
.chip__img--center img { top: 50%; transform: translateY(-50%); }
.chip__img--top6 img { top: -6px; }
.chip__img--top7 img { top: -7px; }
.chip__img--owpm img { top: -6.1px; }
/* Selected chip: black ring + 54px inner circle (Figma 3320:5012) */
.chip.is-active .chip__img { border-color: var(--black); background: transparent; }
.chip.is-active .chip__img::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #efefef;
}
.chip.is-active .chip__img img {
  width: 54px;
  height: 67.5px;
  left: 3px;
  top: -3.1px;
  transform: none;
  clip-path: circle(27px at 27px 33.1px);
}

.testimonials {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 500px;
  max-width: calc(100vw - 24px);
  display: flex;
  background: var(--white);
  scroll-snap-align: start;
}
.tcard__media {
  position: relative;
  flex: 0 0 210px;
  height: 232px;
  overflow: hidden;
  background: #fcf5f5;
}
.tcard__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* Figma: rotate 180 + flipY */
}
.tcard__photo--top { object-position: 50% 0; }
.tcard__tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.tcard__bottle { position: relative; flex: none; width: 40px; height: 80px; }
/* 33.8 × 72 crop of the bottle shot, rotated 1.68deg, centred in 40 × 80 (Figma 3320:3951) */
.tcard__bottle-crop {
  position: absolute;
  left: calc(50% - 0.1px);
  top: calc(50% - 2px);
  width: 33.796px;
  height: 72px;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(1.68deg);
}
.tcard__bottle-crop img {
  position: absolute;
  max-width: none;
  left: -129.1%;
  top: -66.82%;
  width: 361.2%;
  height: 211.93%;
}
.tcard__product {
  width: 135px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--white);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}
.tcard__product small {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}
.tcard__body {
  flex: 1;
  height: 232px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.tcard__body blockquote { font-size: 16px; line-height: 20px; color: var(--black); }
.stars { display: flex; margin-bottom: 8px; }
.stars img { width: 16px; height: 16px; margin-right: -1px; }
.tcard__name { font-size: 14px; line-height: 16px; color: var(--black); margin-bottom: 2px; }
.tcard__handle { color: #6b6a6a; }

.progress { position: relative; height: 2px; background: #d9d9d9; }
.progress span {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 120px;
  background: var(--black);
  transition: transform .1s linear;
}

/* ---------- Top footer CTA ---------- */
.cta { position: relative; height: 480px; overflow: hidden; border-radius: 2px; background: #d9d9d9; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42.2%; }
.cta h2 { position: absolute; left: 12px; top: 12px; width: 333px; color: var(--white); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid #e4e4e4;
  padding: 28px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__left { display: flex; gap: 32px; }
/* Figma: 189px PNG masked to 117 × 126 at (22.5, 31.5); grid track is 166.5 × 157.5 */
.footer__logo { position: relative; flex: none; width: 166.5px; height: 157.5px; }
.footer__logo {
  -webkit-mask: url("assets/icons/footer-logo-mask.svg") 0 0 / 117px 126px no-repeat;
  mask: url("assets/icons/footer-logo-mask.svg") 0 0 / 117px 126px no-repeat;
}
.footer__logo img { position: absolute; left: -22.5px; top: -31.5px; width: 189px; height: 189px; max-width: none; object-fit: cover; }
.footer__cols { display: flex; gap: 40px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 16px; }
.footer__cols .display, .footer__news .display { line-height: 12px; }
.footer__cols ul { display: flex; flex-direction: column; gap: 8px; }
.footer__news { width: 467px; display: flex; flex-direction: column; gap: 8px; }
.footer__news .display { margin-bottom: 8px; }
.footer__muted { color: var(--text-400); }
.field--footer button { flex: none; display: grid; place-items: center; }

.footer__bottom { display: flex; flex-direction: column; gap: 32px; }
.footer__legal {
  padding: 32px 0;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-400);
}
.footer__legal p + p { line-height: 16px; }
.footer__pay { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pay { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pay > img { height: auto; object-fit: cover; }
.pay > img[width="36"] { width: 36px; height: 12px; }
.pay > img[width="26"] { width: 26px; height: 16px; }
.pay > img[width="42"] { width: 42px; height: 16px; }
.pay > img[width="54"] { width: 54px; height: 16px; }
.pay > img[width="53"] { width: 53px; height: 14px; }
.pay__crop { position: relative; width: 63px; height: 16px; overflow: hidden; }
.pay__crop img { position: absolute; max-width: none; left: -3.75%; top: -28.08%; width: 107.11%; height: 153.85%; }

/* Bank Mandiri logo: 48 × 14, pieces positioned with Figma insets (top right bottom left) */
.mandiri { position: relative; width: 48px; height: 14px; overflow: hidden; flex: none; }
.mandiri img { position: absolute; max-width: none; }
.mandiri .flip { transform: scaleY(-1); }
.mandiri .m1 { top: 54.81%; right: 81.22%; bottom: 1.72%; left: 0.23%; width: 18.55%; height: 43.47%; }
.mandiri .m2 { top: 54.8%;  right: 69.03%; bottom: 0.77%; left: 20.2%; width: 10.77%; height: 44.43%; }
.mandiri .m3 { top: 54.81%; right: 55.7%;  bottom: 1.72%; left: 32.87%; width: 11.43%; height: 43.47%; }
.mandiri .m4 { top: 38.72%; right: 41.9%;  bottom: 0.75%; left: 45.67%; width: 12.43%; height: 60.53%; }
.mandiri .m5 { top: 55.78%; right: 36.58%; bottom: 1.72%; left: 60.24%; width: 3.18%;  height: 42.5%; }
.mandiri .m6 { top: 55.7%;  right: 27.33%; bottom: 1.72%; left: 65.56%; width: 7.11%;  height: 42.58%; }
.mandiri .m7 { top: 55.78%; right: 22.68%; bottom: 1.72%; left: 74.14%; width: 3.18%;  height: 42.5%; }
.mandiri .m8 { top: 0.76%;  right: 0.21%;  bottom: 56.14%; left: 38.7%; width: 61.09%; height: 43.1%; }

.footer__currency { display: flex; align-items: center; font-weight: 500; color: var(--text-600); }
.footer__currency img { transform: rotate(90deg); }

/* ---------- Mobile-only bits (hidden on desktop) ---------- */
.only-mobile, .nav__burger { display: none; }

/* ---------- Mobile menu overlay (Figma 3320:13652 / 3320:13669) ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.mmenu.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.mmenu__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px;
  font-weight: 500;
}
.mmenu__close { width: 24px; height: 24px; }
.mmenu__cart { justify-self: end; }
.mmenu__main { display: flex; flex-direction: column; }
.mmenu__main a, .mmenu__sub > a, .mmenu__cur-toggle {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}
.mmenu.is-open .mmenu__main a, .mmenu.is-open .mmenu__sub > a, .mmenu.is-open .mmenu__cur-toggle { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__main a:nth-child(1) { transition-delay: .08s; }
.mmenu.is-open .mmenu__main a:nth-child(2) { transition-delay: .14s; }
.mmenu.is-open .mmenu__sub > a:nth-child(1) { transition-delay: .2s; }
.mmenu.is-open .mmenu__sub > a:nth-child(2) { transition-delay: .24s; }
.mmenu.is-open .mmenu__cur-toggle { transition-delay: .28s; }
.mmenu__main a {
  padding: 10px;
  font-weight: 500;
  font-size: 54px;
  line-height: 60px;
  letter-spacing: -1px;
}
.mmenu__sub { display: flex; flex-direction: column; padding: 24px 0; }
.mmenu__sub > a, .mmenu__cur-toggle {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
}
.mmenu__currency { position: relative; }
.mmenu__cur-toggle img { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.mmenu__currency.is-open .mmenu__cur-toggle img { transform: rotate(-90deg); }
.mmenu__cur-list {
  position: absolute;
  left: 12px;
  bottom: calc(100% + 4px);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  box-shadow: 0 0 1px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.07), 0 2px 4px -1.25px rgba(0,0,0,.07);
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .35s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .35s;
}
.mmenu__currency.is-open .mmenu__cur-list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mmenu__cur-list li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-weight: 500; cursor: pointer; }
.mmenu__cur-list li[aria-selected="true"] { color: var(--text-400); }

/* ---------- Tablet (not in Figma: between the desktop and mobile designs) ---------- */
@media (max-width: 1100px) and (min-width: 768px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits li:nth-child(3) { border-left: 0; }
  .benefits li:nth-child(n+3) { border-top: 1px solid var(--stroke-100); }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .chips { max-width: 100%; width: 100%; }
  .footer__top { flex-direction: column; }
  .footer__news { width: 100%; max-width: 467px; }
}

/* ---------- Mobile (Figma: Main Page - Mobile / Home, 3320:13392, 375px) ---------- */
@media (max-width: 767px) {
  .only-mobile { display: revert; }
  .only-desktop { display: none !important; }

  /* Type scale */
  .lead, .lead--narrow { max-width: none; font-size: 24px; line-height: 28px; }
  .mixed-title { font-size: 24px; line-height: 28px; }
  .mixed-title .display { line-height: 24px; }

  /* Banners */
  .banner__track span { padding-right: 64px; }

  /* Nav: burger · logo · cart */
  .nav__links a, .nav__right .currency, .nav__account { display: none; }
  .nav__burger { display: grid; place-items: center; width: 24px; height: 24px; }
  .nav__right { gap: 0; }

  /* Hero (Figma 3320:13400) */
  .hero {
    min-height: 640px;
    background: linear-gradient(179.94deg, rgb(168,186,206) 0%, rgb(201,192,193) 67.546%);
  }
  .hero__art::before { display: none; }
  .hero__bg {
    left: calc(50% - 221.5px);
    top: 40px;
    width: 450px;
    height: 394px;
    object-fit: cover;
    object-position: 50% 0;
  }
  /* Centred on the screen (Figma has it 9.5px left of centre). max-width:none so it can bleed past the edges. */
  .hero__wordmark { left: calc(50% - 212px); top: 214.54px; width: 424px; height: 119.93px; max-width: none; }
  .hero__bottles { left: calc(50% - 183.83px); top: 272.22px; width: 371.92px; height: 102.58px; }
  .hero__content { margin-top: auto; padding-bottom: 64px; width: min(355px, calc(100% - 20px)); }
  .hero__content h1 { width: 285px; }
  /* Vertical badge on the right edge */
  .promo-badge {
    right: 0;
    bottom: 24px;
    width: 36px;
    height: 112px;
    padding: 0;
    display: grid;
    place-items: center;
    writing-mode: vertical-rl;
    rotate: 180deg;
    font-size: 12px;
    line-height: 14px;
  }
  .promo-badge[hidden] { display: none; }
  /* Popup becomes a centred modal on a dark backdrop (Figma 3320:13736) */
  .promo {
    position: fixed;
    z-index: 150;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: min(343px, calc(100% - 32px));
    max-width: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .75);
  }

  /* Benefits 2 × 2 (Figma 3320:13416) */
  .benefits { grid-template-columns: 1fr 1fr; border: 0; }
  .benefits li {
    height: auto;
    flex-direction: column;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--stroke-100);
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    white-space: normal;
  }
  .benefits li + li { border-left: 0; }
  .benefits li:nth-child(odd) { border-right: 1px solid var(--stroke-100); }
  .benefits li { text-wrap: balance; }

  /* Featured products (Figma 3320:13437) */
  .featured { padding: 60px var(--gutter); gap: 60px; }
  .products { grid-template-columns: 1fr 1fr; gap: 32px 7px; }
  .card__media { aspect-ratio: 174 / 224; }
  .card__dots { display: none; }
  .card__body { padding: 20px 0 0; }
  .card__info { min-height: 104px; }
  .card__name { font-size: 16px; line-height: 20px; }
  .card__actions { flex-direction: column; }
  .card__actions .btn { width: 100%; flex: none; padding: 8px 12px; }

  /* Video (Figma Video section, 628px) */
  .video { height: 628px; padding: 12px; }
  .video__text h2 { width: 285px; }
  .video__play { width: 44px; height: 44px; border-width: 1.1px; border-radius: 35.2px; }
  .video__play img { width: 26.4px; height: 26.4px; }

  /* Story (Figma 3320:13445) */
  .story { padding: 60px var(--gutter) 0; gap: 60px; }
  .story__grid { grid-template-columns: 1fr; }
  .story__card { height: 448px; }
  .story__img--1 { object-position: 50% 39.4%; }
  .story__img--2 { object-position: 58.6% 50%; }
  .story__card h3 { top: 20px; width: 285px; }
  .story__tags {
    left: 50%;
    right: auto;
    top: calc(50% + 11px);
    width: min(339px, calc(100% - 24px));
    transform: translate(-50%, -50%);
    font-size: 10px;
    line-height: 12px;
  }
  .story__desc { bottom: 54px; width: min(340px, calc(100% - 24px)); transform: translate(-50%, 100%); }

  /* FAQ (Figma 3320:13464) */
  .faq { flex-direction: column; gap: 32px; padding: 60px var(--gutter); }
  .faq__title { width: auto; max-width: none; }
  .faq__icon { width: 24px; height: 24px; }

  /* Reviews (Figma 3320:13497) */
  .reviews { padding: 60px var(--gutter); gap: 32px; }
  .reviews__head { flex-direction: column; align-items: stretch; gap: 32px; }
  .reviews__title { width: auto; font-size: 24px; line-height: 28px; }
  .reviews__title .display { line-height: 24px; }
  .chips { width: auto; max-width: none; justify-content: flex-start; gap: 20px; }
  .chip { width: auto; flex-direction: column; gap: 12px; text-align: center; }
  .chip > span:last-child { max-width: 72px; }
  .chip__img { width: 48px; height: 48px; }
  .chip__img img { width: 48px; height: 60px; }
  .chip__img--top6 img { top: -4.65px; }
  .chip__img--top7 img { top: -5.42px; }
  .chip.is-active .chip__img { border-width: .774px; }
  .chip.is-active .chip__img::before { inset: 2.3px; }
  .chip.is-active .chip__img img {
    width: 41.81px;
    height: 52.26px;
    left: 2.3px;
    top: -2.42px;
    clip-path: circle(20.9px at 20.9px 25.6px);
  }
  .tcard { flex: 0 0 210px; max-width: none; flex-direction: column; }
  .tcard__media { flex: none; width: 210px; height: 232px; }
  .tcard__tag { display: block; }
  .tcard__bottle { position: absolute; left: 12px; top: -30px; }
  .tcard__bottle-crop { top: 50%; }
  .tcard__product { position: absolute; left: 58px; top: 12px; }
  .tcard__body { flex: none; width: 210px; height: 232px; padding: 24px 12px; }

  /* Bottom CTA (Figma Video section 3320:13643) */
  .cta { height: 628px; }
  .cta h2 { width: 285px; }

  /* Footer (Figma Footer - Mobile) */
  .footer { border-top-color: #e0e0e0; padding: 24px var(--gutter); gap: 40px; }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__left { display: contents; }
  .footer__logo {
    order: 1;
    width: 131.27px;
    height: 124.65px;
    -webkit-mask-image: url("assets/icons/footer-logo-mask-mobile.svg");
    mask-image: url("assets/icons/footer-logo-mask-mobile.svg");
    -webkit-mask-size: 92px 100px;
    mask-size: 92px 100px;
  }
  .footer__logo img { left: -18.04px; top: -24.65px; width: 149.31px; height: 149.31px; }
  .footer__news { order: 2; width: 100%; }
  .footer__cols { order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__cols > div:nth-child(1) { order: 1; }
  .footer__cols > div:nth-child(4) { order: 2; }
  .footer__cols > div:nth-child(2) { order: 3; }
  .footer__cols > div:nth-child(3) { order: 4; }
  .footer__pay { display: block; }
  .pay { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .pay__crop, .footer__currency { display: none; }
}

/* ---------- Hero intro (first load) ----------
   1. Big SIGHNIL wordmark comes in alone.
   2. Bottles (transparent cut-out) slide up out of the shelf line, over the wordmark.
   3. Real photo fades in under them (adds shadows/reflections), then headline, button, nav, badge.
   The photo already contains the bottles, so during the intro a gradient "plate" sampled from
   that photo stands in for it. */
.hero__art::before {
  content: "";
  position: absolute;
  left: 0;
  top: -36.375cqw;
  width: 100cqw;
  height: 125cqw;
  background: linear-gradient(180deg,
    rgb(169,186,206) 0%, rgb(186,197,209) 20%, rgb(196,203,211) 29%,
    rgb(209,210,214) 41%, rgb(216,214,215) 49%, rgb(224,220,217) 57.5%,
    rgb(216,208,206) 58.6%, rgb(206,197,198) 65%, rgb(189,185,186) 77%,
    rgb(154,158,161) 100%);
}

.intro-pending .hero__wordmark,
.intro-pending .hero__bg,
.intro-pending .hero__content > *,
.intro-pending .nav,
.intro-pending .promo-badge { opacity: 0; }
.intro-pending .hero__bottles img { transform: translateY(24cqw); }

.intro-play .hero__wordmark { animation: intro-wordmark 1.5s cubic-bezier(.16, 1, .3, 1) .15s both; }
.intro-play .hero__bottles img { animation: intro-bottles 1s cubic-bezier(.22, 1, .36, 1) .7s both; }
.intro-play .hero__bg { animation: intro-fade .8s ease 1.4s both; }
.intro-play .hero__content h1 { animation: intro-rise .9s cubic-bezier(.16, 1, .3, 1) 1.45s both; }
.intro-play .hero__content .btn { animation: intro-rise .9s cubic-bezier(.16, 1, .3, 1) 1.58s both; }
.intro-play .nav { animation: intro-fade .7s ease 1.75s both; }
.intro-play .promo-badge { animation: intro-rise .8s cubic-bezier(.16, 1, .3, 1) 1.9s both; }

@keyframes intro-wordmark {
  from { opacity: 0; transform: translateY(2.5cqw) scale(1.06); filter: blur(16px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes intro-bottles {
  from { transform: translateY(24cqw); }
  to   { transform: none; }
}
@keyframes intro-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes intro-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Scroll reveal (once per element, see main.js) ---------- */
[data-reveal] { transition-delay: calc(var(--d, 0) * 90ms) !important; }
[data-reveal="up"] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal="side"] {
  opacity: 0;
  transform: translateX(64px);
  transition: opacity .9s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal="zoom"] { clip-path: inset(6% 4% 6% 4%); transition: clip-path 1.2s cubic-bezier(.16, 1, .3, 1); }
[data-reveal="zoom"] > img:first-child { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
[data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
[data-reveal="zoom"].is-in > img:first-child { transform: none; }

/* Reveal transforms (e.g. testimonials sliding in) must never widen the page */
html, body { overflow-x: clip; }
.reviews { overflow-x: clip; }

/* Footer currency: its own dropdown, opening upwards from the bottom of the page */
.currency--up .currency__menu {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
  transform: translateY(6px);
  clip-path: inset(100% 0 0 0);
}
.currency--up.is-open .currency__menu { transform: none; clip-path: inset(0 0 0 0); }
.currency--up .currency__menu li { transform: translateY(4px); }
.currency--up.is-open .currency__menu li { transform: none; }
.currency--up.is-open .currency__toggle img { transform: rotate(-90deg); } /* caret: down → up */
