/* =========================================================
   Miracle Beauty Store — Redesign preview
   Minimalist · Elegant
   ========================================================= */

:root {
  --bg: #f5f1eb;
  --bg-2: #ece5da;
  --surface: #fbf9f5;
  --ink: #1f1e1b;
  --ink-2: #4a4741;
  --muted: #8a847b;
  --line: rgba(31, 30, 27, 0.12);
  --accent: #6e7d5c;          /* sage — turunan hijau daun logo Miracle */
  --accent-soft: #dfe3d4;
  --dark: #23261f;
  --dark-ink: #efeae1;
  --sale: #a4593d;

  --serif: "Gilda Display", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent-soft); }

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

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.display em { font-style: normal; color: var(--accent); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* split-text helpers (diisi JS) */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; will-change: transform; }
.w { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark::before { background: var(--accent); }
.btn--light { background: var(--dark-ink); color: var(--dark); }
.btn--light::before { background: #fff; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.link-arrow span { transition: transform 0.5s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }
.link-arrow:hover { background-size: 40% 1px; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background 0.3s;
}
.icon-btn:hover { background: rgba(31, 30, 27, 0.06); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--dark);
  color: var(--dark-ink);
  display: grid; place-items: center;
}
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__leaf { width: 34px; height: 34px; color: #a9b897; }
.loader__word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex; overflow: hidden;
}
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__bar { width: 160px; height: 1px; background: rgba(239, 234, 225, 0.15); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--dark-ink); transform: scaleX(0); transform-origin: left; }
.no-js .loader { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.6s var(--ease);
}
.nav.is-scrolled { background: rgba(245, 241, 235, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height 0.5s var(--ease); }
.nav.is-scrolled .nav__inner { height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__leaf { width: 26px; height: 26px; color: var(--accent); }
.logo__text {
  font-family: var(--serif);
  font-size: 22px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  display: grid;
}
.logo__text small { font-family: var(--sans); font-size: 8.5px; letter-spacing: 0.42em; color: var(--muted); margin-top: 4px; }

.nav__links { display: flex; gap: 40px; }
.nav__links a {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 4px; }
.nav__cta {
  height: 40px; padding: 0 20px; display: inline-flex; align-items: center;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--bg); }

.menu-btn { display: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-open .menu-btn span:first-child { transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.mobile-menu nav { display: grid; gap: 8px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.3; }
.mobile-menu__foot { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px 0 90px; display: flex; align-items: center; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.hero__eyebrow { margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.hero__title { font-size: clamp(42px, 5.2vw, 80px); margin-bottom: 28px; }
.hero__lead { max-width: 440px; color: var(--ink-2); font-size: 16px; margin-bottom: 40px; }
.hero__cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: clamp(24px, 4vw, 56px); margin: 64px 0 0; padding-top: 28px; border-top: 1px solid var(--line); max-width: 480px; }
.hero__stats dt { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1; }
.hero__stats dd { margin: 8px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.hero__visual { position: relative; justify-self: end; width: min(100%, 520px); }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--bg-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.arch--main { aspect-ratio: 1 / 1.08; width: 86%; margin-left: auto; }
.hero__float {
  position: absolute; left: 0; bottom: 10%;
  width: 38%; aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(31, 30, 27, 0.35);
  border: 6px solid var(--surface);
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; top: 4%; left: 6%; width: 118px; height: 118px; color: var(--ink); }
.hero__badge-ring { width: 100%; height: 100%; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; fill: currentColor; font-family: var(--sans); font-weight: 500; }
.hero__badge-leaf { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; color: var(--accent); }
.hero__caption { position: absolute; right: 0; bottom: -38px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__caption span { color: var(--ink); margin-right: 10px; }

.hero__scroll { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { position: relative; width: 60px; height: 1px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Jaminan (pengganti marquee) ---------- */
.values { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value {
  position: relative;
  padding: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px);
  display: grid; justify-items: center; text-align: center; gap: 10px;
}
.value + .value::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line);
  transform-origin: top; transform: scaleY(var(--sep, 1));
}
.value__icon {
  width: 38px; height: 38px; margin-bottom: 10px;
  fill: none; stroke: var(--accent); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
}
.value h3 { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); font-weight: 400; line-height: 1.2; }
.value p { font-size: 13px; color: var(--muted); max-width: 220px; line-height: 1.55; }

/* ---------- Intro ---------- */
.intro { padding: clamp(100px, 14vw, 180px) var(--gutter) clamp(80px, 10vw, 140px); }
.intro__text { font-size: clamp(24px, 3vw, 42px); line-height: 1.3; max-width: 1000px; }
.intro__text .w { opacity: 0.16; }
.brands { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.brands li {
  padding: 34px 0 0; cursor: pointer; position: relative;
  display: grid; gap: 4px;
}
.brands li::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.brands li:hover::before { transform: scaleX(1); }
.brands span { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); font-weight: 400; line-height: 1; transition: color 0.4s; }
.brands li:hover span { color: var(--accent); }
.brands small { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(34px, 4.2vw, 60px); margin-top: 14px; }

/* ---------- Shop ---------- */
.shop { padding: clamp(60px, 8vw, 120px) 0 clamp(100px, 12vw, 160px); }
.filters { position: relative; display: flex; gap: 6px; flex-wrap: wrap; }
.filter {
  position: relative; z-index: 1;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.08em; font-weight: 500;
  color: var(--ink-2); transition: color 0.4s;
}
.filter sup { font-size: 9px; color: var(--muted); margin-left: 2px; transition: color 0.4s; }
.filter.is-active { color: var(--bg); }
.filter.is-active sup { color: rgba(245, 241, 235, 0.6); }
.filters__ink { position: absolute; z-index: 0; top: 0; left: 0; height: 40px; border-radius: 999px; background: var(--ink); pointer-events: none; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; }
.card.is-hidden { display: none; }
.card__media {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1;
  background: var(--bg-2); border-radius: var(--radius); cursor: pointer;
}
.card__media { transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease); }
.card__media img { width: 100%; height: 100%; object-fit: contain; }
.card:hover .card__media { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(31, 30, 27, 0.35); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface); color: var(--sale);
  font-size: 10px; letter-spacing: 0.12em; font-weight: 600;
}
.card__actions {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; gap: 8px;
  transform: translateY(calc(100% + 16px)); transition: transform 0.6s var(--ease);
}
.card:hover .card__actions, .card:focus-within .card__actions { transform: translateY(0); }
.card__actions button {
  flex: 1; height: 44px; border-radius: 999px;
  background: rgba(251, 249, 245, 0.94); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.card__actions button:hover { background: var(--ink); color: var(--bg); }

.card__info { padding-top: 18px; display: grid; gap: 6px; }
.card__brand { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.card__name { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.2; cursor: pointer; }
.card__short { font-size: 13px; color: var(--muted); line-height: 1.5; }
.price { display: flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 500; margin-top: 6px; }
.price s { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.price--lg { font-size: 20px; margin: 18px 0 0; }
.price--lg s { font-size: 14px; }

/* ---------- Ritual ---------- */
.ritual { background: var(--dark); color: var(--dark-ink); overflow: hidden; }
.ritual .eyebrow { color: rgba(239, 234, 225, 0.55); }
.ritual .display em { color: #b6c3a3; }
.ritual__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 80px; gap: 56px; }
.ritual__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.ritual__head .eyebrow { grid-column: 1 / -1; }
.ritual__head .section-title { margin-top: 0; }
.ritual__progress { width: 200px; height: 1px; background: rgba(239, 234, 225, 0.18); margin-bottom: 20px; }
.ritual__progress i { display: block; height: 100%; background: var(--dark-ink); transform: scaleX(0); transform-origin: left; }
.ritual__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); width: max-content; }
.step {
  position: relative; width: clamp(300px, 34vw, 480px); flex-shrink: 0;
  display: grid; grid-template-rows: auto 1fr; gap: 26px;
}
.step__num { position: absolute; top: -18px; right: 0; font-family: var(--serif); font-size: 96px; line-height: 1; font-weight: 400; color: rgba(239, 234, 225, 0.08); z-index: 0; }
.step__img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); z-index: 1; background: #fff; }
.step__img img { width: 100%; height: 100%; object-fit: contain; }
.step__body { display: grid; gap: 12px; align-content: start; }
.step__body h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.15; }
.step__body p:not(.eyebrow) { color: rgba(239, 234, 225, 0.65); max-width: 360px; }
.step__body .link-arrow { justify-self: start; margin-top: 10px; }
.step--cta { align-content: center; justify-items: start; gap: 36px; padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid rgba(239, 234, 225, 0.15); grid-template-rows: none; }
.step--cta .display { font-size: clamp(30px, 3vw, 44px); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 140px); align-items: center; padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(100px, 12vw, 170px); }
.arch--tall { aspect-ratio: 3 / 4; }
.arch--tall img { transform: scale(1.15); }
.arch--mono {
  background: radial-gradient(120% 80% at 50% 0%, #e7eadf 0%, var(--accent-soft) 45%, #cfd5c2 100%);
  display: grid; place-items: center; align-content: center; gap: 18px; color: var(--accent);
}
.mono__leaf { width: 46%; height: auto; }
.mono__word { font-size: clamp(32px, 3.6vw, 52px); color: var(--ink); letter-spacing: 0.08em; text-transform: uppercase; }
.mono__meta { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-2); }
.about__copy > p:not(.eyebrow) { color: var(--ink-2); max-width: 520px; margin-top: 28px; font-size: 16px; }
.promise { margin-top: 48px; display: grid; border-top: 1px solid var(--line); }
.promise li { display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.promise li > span { font-family: var(--serif); font-size: 17px; color: var(--accent); }
.promise h4 { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.promise p { color: var(--muted); font-size: 14px; }

/* ---------- Order channels ---------- */
.order { padding: clamp(90px, 11vw, 150px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.channel {
  position: relative; background: var(--surface);
  padding: clamp(32px, 4vw, 56px); display: grid; gap: 16px; align-content: start;
  overflow: hidden; isolation: isolate;
}
.channel::before { content: ""; position: absolute; inset: 0; background: var(--bg); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s var(--ease); }
.channel:hover::before { transform: scaleY(1); }
.channel__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 18px; transition: background 0.5s, color 0.5s, border-color 0.5s; }
.channel__icon svg { width: 24px; height: 24px; }
.channel:hover .channel__icon { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.channel h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; }
.channel p { color: var(--muted); max-width: 320px; }
.channel .link-arrow { justify-self: start; margin-top: 18px; }

/* ---------- Band ---------- */
.band { background: var(--accent); color: #f4f1ea; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.band .display { font-size: clamp(40px, 5.6vw, 88px); }
.band .display em { color: #e6ead9; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--dark-ink); padding: 90px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 70px; }
.logo--light { color: var(--dark-ink); }
.logo--light .logo__leaf { color: #a9b897; }
.logo--light .logo__text small { color: rgba(239, 234, 225, 0.5); }
.footer__tag { margin-top: 22px; font-family: var(--serif); font-size: 19px; color: rgba(239, 234, 225, 0.7); }
.footer h5 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: rgba(239, 234, 225, 0.45); margin-bottom: 18px; }
.footer__grid a { display: block; padding: 4px 0; color: rgba(239, 234, 225, 0.85); transition: color 0.3s, transform 0.4s var(--ease); }
.footer__grid a:hover { color: #fff; transform: translateX(4px); }
.footer__grid p { color: rgba(239, 234, 225, 0.7); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(239, 234, 225, 0.12); font-size: 12px; color: rgba(239, 234, 225, 0.45); letter-spacing: 0.06em; }

/* ---------- Overlay / Modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(23, 22, 20, 0.45); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; }
.modal {
  position: fixed; z-index: 90; inset: 0; margin: auto;
  width: min(1080px, calc(100vw - 32px)); height: min(720px, calc(100vh - 40px));
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  opacity: 0; visibility: hidden;
}
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--surface); }
.modal__media { background: var(--bg-2); overflow: hidden; }
.modal__media { display: grid; place-items: center; }
.modal__media img { width: 100%; height: 100%; object-fit: contain; }
.modal__body { --mpad: clamp(24px, 3.4vw, 44px); padding: var(--mpad); overflow-y: auto; }
.modal__body > * { will-change: transform; }
.modal__body h3 { font-size: clamp(28px, 2.6vw, 38px); margin-top: 12px; }
.modal__meta { margin-top: 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.modal__desc { margin-top: 22px; color: var(--ink-2); font-size: 14px; }
.modal__ing { margin-top: 20px; }
.modal__ing ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.modal__ing li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; }
/* Pilihan toko di detail produk */
.stores { margin-top: 22px; padding: 18px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stores .eyebrow { margin-bottom: 12px; }
.store {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px;
  padding: 8px 20px 8px 8px; margin-top: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.store::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.store:hover { color: var(--bg); border-color: var(--ink); }
.store:hover::before { transform: scaleX(1); }
.store__icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color 0.5s; }
.store:hover .store__icon { border-color: rgba(245, 241, 235, 0.3); }
.store__icon svg { width: 20px; height: 20px; }
.store__text { display: grid; line-height: 1.25; }
.store__text strong { font-weight: 600; font-size: 14px; }
.store__text small { font-size: 12px; color: var(--muted); transition: color 0.5s; }
.store:hover .store__text small { color: rgba(245, 241, 235, 0.65); }
.store__arrow { font-size: 18px; transition: transform 0.5s var(--ease); }
.store:hover .store__arrow { transform: translateX(4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .menu-btn { display: grid; }
  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; width: min(100%, 440px); margin-top: 24px; }
  .hero__scroll { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3)::before { display: none; }
  .value:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .brands { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .channels { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modal { display: block; overflow-y: auto; overscroll-behavior: contain; height: calc(100vh - 32px); height: calc(100svh - 32px); }
  .modal__media { height: min(46vh, 100vw); }
  .modal__body { overflow: visible; }

  /* Ritual: vertikal di layar kecil */
  .ritual__pin { min-height: 0; }
  .ritual__head { grid-template-columns: 1fr; }
  .ritual__progress { display: none; }
  .ritual__track { flex-direction: column; width: 100%; }
  .step { width: 100%; }
  .step--cta { border-left: 0; padding-left: 0; padding-top: 32px; border-top: 1px solid rgba(239, 234, 225, 0.15); }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .nav__inner { height: 68px; }
  .logo__text { font-size: 19px; }
  .hero__stats { gap: 20px; }
  .hero__stats dt { font-size: 25px; }
  .hero__badge { width: 92px; height: 92px; }
  .grid { gap: 32px 12px; }
  .card__name { font-size: 17px; }
  .card__short { display: none; }
  .card__actions { display: none; }
  .nav__cta { display: none; }
  .value { padding: 32px 12px; }
  .value p { font-size: 12px; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; flex-shrink: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .band__inner { align-items: flex-start; }
}
@media (hover: none) {
  .card__actions { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
