/* =========================================================
   Ashirwada — black, gold & araliya
   ========================================================= */
:root {
  --bg: #050403;
  --surface: rgba(16, 12, 8, 0.72);
  --surface-solid: #0e0a07;
  --line: rgba(231, 189, 110, 0.18);
  --line-strong: rgba(231, 189, 110, 0.4);
  --text: #f4ead8;
  --muted: #b9a88d;
  --gold: #e7bd6e;
  --gold-2: #f8dc9c;
  --gold-3: #a8742a;
  --pink: #f2a6c4;
  --ember: #ff8a2a;
  --gold-grad: linear-gradient(100deg, #a8742a 0%, #f8dc9c 28%, #e7bd6e 50%, #fff3cf 62%, #b98432 100%);

  --serif: 'Cormorant Garamond', 'Noto Serif Sinhala', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --si: 'Noto Serif Sinhala', 'Iskoola Pota', serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.si { font-family: var(--si); }
::selection { background: var(--gold); color: #1a1208; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: #1a1208; padding: 10px 16px; border-radius: 8px; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- WebGL canvas & overlays ---------- */
#scene {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; display: block;
}
body.no-webgl #scene { display: none; }
body.no-webgl {
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(168, 116, 42, .35), transparent 70%),
    radial-gradient(40% 40% at 20% 80%, rgba(242, 166, 196, .08), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Ember cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; display: none; }
.cursor span {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: radial-gradient(circle, #fff1c9 0%, var(--ember) 45%, rgba(255, 138, 42, 0) 70%);
  box-shadow: 0 0 18px 6px rgba(255, 138, 42, .45);
  transition: transform .25s var(--ease);
}
.cursor.is-hover span { transform: scale(3.2); opacity: .7; }
@media (pointer: fine) {
  .cursor { display: block; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 900; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__stick {
  position: relative; width: 4px; height: 120px; border-radius: 2px;
  background: linear-gradient(#3a1d0e, #2a140a 70%, #c89b5c 70%);
}
.loader__ember {
  position: absolute; top: -3px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 20px 8px rgba(255, 138, 42, .55);
  animation: ember 1.1s ease-in-out infinite alternate;
}
.loader__stick::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 70px; margin-left: -1px;
  background: linear-gradient(to top, rgba(244, 234, 216, .5), transparent);
  filter: blur(1.5px); transform-origin: bottom; animation: wisp 2.4s ease-in-out infinite;
}
@keyframes ember { from { opacity: .7; transform: scale(.85); } to { opacity: 1; transform: scale(1.15); } }
@keyframes wisp { 0%, 100% { transform: skewX(0) scaleY(1); } 50% { transform: skewX(12deg) scaleY(1.15); } }
.loader__word {
  margin: 10px 0 0; font-size: 30px; font-weight: 700;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader__count { margin: 0; color: var(--muted); letter-spacing: .3em; font-size: 12px; font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
main, .footer, .nav { position: relative; z-index: 2; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: .7; }

.h2 {
  font-family: var(--serif); font-weight: 600; margin: 0 0 24px;
  font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.01em;
}
.h2--xl { font-size: clamp(44px, 8vw, 112px); }
.h2 em, .hero__en em {
  font-weight: 500;
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 56ch; margin: 0 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font: 500 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: #1a1208; background: var(--gold-grad); background-size: 200% 100%;
  box-shadow: 0 10px 40px -10px rgba(231, 189, 110, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .6s var(--ease);
  cursor: pointer; touch-action: manipulation;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(231, 189, 110, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--ghost {
  color: var(--text); background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-strong); box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(231, 189, 110, .1); box-shadow: none; border-color: var(--gold); }
.btn--small { --h: 44px; padding: 0 22px; font-size: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--gold); font-weight: 500; letter-spacing: .06em; font-size: 15px;
}
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(6px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
/* blur lives on a pseudo-element: a backdrop-filter on .nav itself would trap the fixed mobile menu inside the bar */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0; pointer-events: none;
  background: rgba(5, 4, 3, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: opacity .4s var(--ease);
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.nav.is-scrolled::before { opacity: 1; }
.nav__brand { display: flex; align-items: baseline; gap: 12px; margin-right: auto; min-height: 44px; align-items: center; }
.nav__si {
  font-size: 24px; font-weight: 800; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav__en { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-2); background: rgba(231, 189, 110, .08); }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: inline-grid; place-content: center; gap: 7px; width: 48px; height: 48px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--gold-2); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav { gap: 12px; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(5, 4, 3, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a { font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none; color: var(--text); padding: 0 24px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 120px;
}
.hero__inner { width: 100%; max-width: 1200px; margin: 0 auto; }
.hero__title { margin: 0; font-weight: 400; }
.hero__si {
  display: block; font-weight: 800; line-height: 1.25;
  font-size: clamp(56px, 9vw, 136px); letter-spacing: -.01em;
  width: max-content; max-width: 100%; padding: 0 .08em .06em 0;
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
.hero__en {
  display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1; margin-top: 4px;
}
.hero__tag {
  margin: 22px 0 40px; font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__hint {
  position: absolute; left: var(--gutter); bottom: 34px; margin: 0;
  display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__hint svg { color: var(--ember); animation: ember 1.4s ease-in-out infinite alternate; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px;
  border: 1px solid var(--line-strong); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 9px; margin-left: -1.5px; border-radius: 2px;
  background: var(--gold); animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (min-width: 900px) {
  .hero__inner { padding-right: 38%; }
}
@media (max-width: 899px) {
  .hero { align-items: flex-end; padding-bottom: 150px; }
  .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(5, 4, 3, .92) 10%, rgba(5, 4, 3, .35) 55%, transparent 80%);
  }
  .hero__inner { position: relative; }
  .hero__hint { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding: 22px 0;
  border-block: 1px solid var(--line); background: rgba(5, 4, 3, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 36s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); font-style: italic; color: var(--gold-2); white-space: nowrap; }
.marquee__track span.si { font-style: normal; font-weight: 700; font-size: clamp(18px, 2vw, 26px); }
.marquee__track i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); opacity: .6; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story { min-height: 100vh; display: flex; align-items: center; }
.story__text {
  font-family: var(--serif); font-weight: 500; margin: 0;
  font-size: clamp(30px, 4.4vw, 62px); line-height: 1.18; max-width: 1000px;
}
.story__text .w { display: inline-block; opacity: .14; transition: opacity .2s linear; }
.story__si { margin-top: 36px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; color: var(--gold); }

/* sections after the story sit on a veil so text stays readable over the scene */
.ritual, .pack, .collection, .company, .contact { background: linear-gradient(to bottom, rgba(5, 4, 3, 0), rgba(5, 4, 3, .82) 12%, rgba(5, 4, 3, .82) 88%, rgba(5, 4, 3, 0)); }

/* ---------- Cards / ritual ---------- */
.ritual__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 40px 32px 36px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(231, 189, 110, .09), rgba(255, 255, 255, .015) 45%);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform-style: preserve-3d; transition: border-color .3s, transform .5s var(--ease);
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(248, 220, 156, .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { border-color: var(--line-strong); }
.card:hover::after { opacity: 1; }
.card__num {
  position: absolute; right: 22px; top: 10px; font-family: var(--serif); font-size: 84px; font-weight: 600; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(231, 189, 110, .3);
}
.card__icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 26px; transform: translateZ(30px); }
.card h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0 0 10px; transform: translateZ(20px); }
.card p { margin: 0; color: var(--muted); }

/* ---------- 3D pack ---------- */
.pack__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pack__stage {
  --w: 128px; --s: calc(var(--w) / 112); --h: calc(412 * var(--s)); --d: 48px;
  position: relative; height: 640px; display: grid; place-items: center; perspective: 1400px;
  cursor: grab; touch-action: pan-y; user-select: none;
}
.pack__stage:active { cursor: grabbing; }
.box {
  position: relative; width: var(--w); height: var(--h);
  transform-style: preserve-3d; transform: rotateX(-8deg) rotateY(-28deg);
}
.box__face { position: absolute; left: 50%; top: 50%; backface-visibility: hidden; }
.box__front, .box__back {
  width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  background-image: url(../assets/pack-print.png);
  background-size: calc(227 * var(--s)) calc(452 * var(--s));
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(231, 189, 110, .15);
}
.box__front { background-position: 0 calc(-40 * var(--s)); transform: translateZ(calc(var(--d) / 2)); }
.box__back  { background-position: calc(-112 * var(--s)) calc(-40 * var(--s)); transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.box__right, .box__left {
  width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2);
  background:
    radial-gradient(60% 30% at 50% 80%, rgba(231, 189, 110, .35), transparent 70%),
    linear-gradient(90deg, #0a0705, #1b130b 50%, #0a0705);
  display: grid; place-items: center;
}
.box__right::after, .box__left::after {
  content: "Ashirwada"; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px;
  writing-mode: vertical-rl; letter-spacing: .08em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.box__right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.box__left  { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.box__top, .box__bottom {
  width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2);
  background: linear-gradient(#16100a, #0a0705); box-shadow: inset 0 0 0 1px rgba(231, 189, 110, .25);
}
.box__top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.box__bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.pack__shadow {
  position: absolute; left: 50%; bottom: 40px; width: 260px; height: 40px; margin-left: -130px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(231, 189, 110, .28), transparent);
  filter: blur(6px);
}
.pack__drag {
  position: absolute; bottom: 0; left: 0; right: 0; text-align: center; margin: 0;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.facts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 22px; background: var(--surface-solid); }
.facts strong { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold-2); }
.facts span { color: var(--muted); align-self: center; }

/* ---------- Collection ---------- */
.collection__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scent {
  position: relative; padding: 0 30px 30px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); transform-style: preserve-3d;
  transition: border-color .3s, transform .5s var(--ease);
}
.scent:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.scent__art {
  position: relative; height: 260px; margin: 0 -30px 24px;
  background: radial-gradient(70% 60% at 50% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.scent__stick {
  position: absolute; left: 50%; bottom: 18px; width: 4px; height: 150px; margin-left: -2px; border-radius: 2px;
  background: linear-gradient(#2a140a 0 72%, #c89b5c 72%);
  transform: rotate(6deg); transform-origin: bottom;
}
.scent__stick::before {
  content: ""; position: absolute; top: -4px; left: -2px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 16px 6px rgba(255, 138, 42, .5);
  animation: ember 1.2s ease-in-out infinite alternate;
}
.wisp {
  position: absolute; left: calc(50% + 6px); bottom: 165px; width: 26px; height: 90px; border-radius: 50%;
  border-left: 2px solid color-mix(in srgb, var(--accent) 60%, white 20%);
  filter: blur(2px); opacity: 0; transform-origin: bottom center;
  animation: rise 4.5s ease-in infinite;
}
.wisp:nth-child(2) { animation-delay: 1.5s; left: calc(50% + 2px); }
.wisp:nth-child(3) { animation-delay: 3s; left: calc(50% + 10px); }
@keyframes rise {
  0% { opacity: 0; transform: translateY(20px) scale(.4, .5) rotate(0deg); }
  25% { opacity: .8; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.6, 1.4) rotate(-18deg); }
}
.scent__si { margin: 0; color: var(--accent); font-weight: 700; font-size: 18px; }
.scent h3 { font-family: var(--serif); font-size: 36px; font-weight: 600; margin: 0 0 8px; line-height: 1.1; }
.scent p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Company / logo ---------- */
.company__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.company__logo { position: relative; perspective: 1000px; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; }
.logo3d {
  position: relative; width: 78%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
  animation: float 6s ease-in-out infinite;
}
.logo3d img {
  width: 100%; height: auto;
  filter: drop-shadow(0 18px 36px rgba(231, 189, 110, .35));
}
.logo3d__shine {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: plus-lighter;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 245, 210, .55) 48%, transparent 58%);
  background-size: 250% 100%; animation: shine 4.5s var(--ease) infinite;
  -webkit-mask: url(../assets/mp-logo-clean.png) center / 100% 100% no-repeat; mask: url(../assets/mp-logo-clean.png) center / 100% 100% no-repeat;
}
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
@keyframes float { 0%, 100% { translate: 0 -8px; } 50% { translate: 0 8px; } }
.logo3d__ring {
  position: absolute; inset: 4%; border-radius: 50%; border: 1px solid var(--line);
  pointer-events: none;
}
.logo3d__ring::before, .logo3d__ring::after {
  content: ""; position: absolute; border-radius: 50%; inset: -1px;
  border: 1px solid transparent; border-top-color: var(--gold); border-right-color: rgba(231, 189, 110, .3);
  animation: spin 9s linear infinite;
}
.logo3d__ring::after { inset: 8%; animation-duration: 14s; animation-direction: reverse; border-top-color: var(--pink); border-right-color: transparent; opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.values > div { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.values__k { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--gold-2); }
.values__v { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .lead { margin-inline: auto; }
.contact__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 900px; }
.contact__card {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; min-height: 84px; text-align: left;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
a.contact__card:hover { border-color: var(--gold); background: rgba(231, 189, 110, .07); transform: translateY(-3px); }
.contact__card svg { width: 28px; height: 28px; color: var(--gold); flex: none; }
.contact__card small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.contact__card span { font-size: 17px; font-weight: 400; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 36px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 70px; height: auto; }
.footer__brand p { margin: 0; color: var(--muted); font-size: 14px; }
.footer__si.si { font-size: 20px; font-weight: 800; color: var(--gold); }
.footer__copy { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-hero { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ritual__grid, .collection__grid { grid-template-columns: 1fr; max-width: 560px; }
  .pack__grid, .company__grid { grid-template-columns: 1fr; }
  .pack__stage { height: 560px; order: 2; }
  .values { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; max-width: 420px; }
  .company__logo { max-width: 340px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .pack__stage { --w: 104px; height: 480px; }
  .hero__tag { letter-spacing: .2em; }
  .btn { padding: 0 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-hero { opacity: 1; transform: none; }
  .story__text .w { opacity: 1; }
}
