:root {
  --bg: #ffffff;
  --text: #080808;
  --muted: #606060;
  --line: #e8e8e8;
  --soft: #f7f7f5;
  --soft-2: #f0f0ec;
  --dark: #080808;
  --radius: 26px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.site-shell { min-height: 100vh; overflow: hidden; }
.section-pad { padding: 100px 6vw; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
  padding: 14px 6vw;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.brand img { width: 136px; height: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; color: #171717; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { position: relative; padding: 12px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: #080808; transition: right .25s ease; }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.text-link { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cart-button, .menu-button, .icon-button {
  border: 1px solid #0a0a0a;
  background: #fff;
  color: #080808;
}
.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 11px 14px 11px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cart-button strong { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: #080808; color: #fff; font-size: 12px; }
.menu-button { display: none; width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-button span { width: 17px; height: 1px; background: #080808; }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
  padding-top: 70px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: #111; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.045em; line-height: .92; }
h1 { margin: 22px 0 28px; font-size: clamp(60px, 9vw, 142px); max-width: 760px; }
h2 { margin: 16px 0 18px; font-size: clamp(40px, 6vw, 86px); }
h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.78; }
.hero-copy p { max-width: 650px; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 38px; }
.btn {
  border: 1px solid #080808;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.primary { background: #080808; color: #fff; }
.btn.secondary { background: #fff; color: #080808; }
.btn.full { width: 100%; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 650px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hero-stats div { padding: 22px; background: #fff; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; line-height: 1; }
.hero-stats span { display: block; margin-top: 8px; color: #686868; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-media { position: relative; padding: 18px; border: 1px solid #101010; border-radius: 36px; background: #fff; box-shadow: var(--shadow); }
.hero-media::before { content: ""; position: absolute; inset: -18px 44px auto auto; width: 120px; height: 120px; border: 1px solid #080808; border-radius: 999px; z-index: -1; }
.hero-media img { width: 100%; border-radius: 26px; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-note { position: absolute; left: 36px; right: 36px; bottom: 36px; padding: 18px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(8, 8, 8, .16); border-radius: 20px; backdrop-filter: blur(18px); }
.hero-note span { display: block; margin-bottom: 6px; font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.hero-note strong { display: block; font-size: 17px; line-height: 1.45; }

.marquee { border-top: 1px solid #080808; border-bottom: 1px solid #080808; overflow: hidden; white-space: nowrap; }
.marquee div { display: flex; width: max-content; align-items: center; gap: 22px; padding: 18px 6vw; animation: marquee 24s linear infinite; }
.marquee span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; letter-spacing: .01em; }
.marquee i { width: 6px; height: 6px; border-radius: 999px; background: #080808; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section-heading { max-width: 1000px; }
.section-heading.centered { text-align: center; margin: 0 auto 42px; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading p { max-width: 720px; margin-left: auto; margin-right: auto; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr); gap: 60px; align-items: end; border-bottom: 1px solid var(--line); }
.intro-grid p { font-size: 17px; }
.promise-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.promise-list span { border: 1px solid #080808; border-radius: 999px; padding: 10px 14px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.products-section { background: var(--soft); }
.filter-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-chip { border: 1px solid #080808; background: #fff; color: #080808; border-radius: 999px; padding: 10px 16px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.filter-chip.active, .filter-chip:hover { background: #080808; color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1320px; margin: 0 auto; }
.product-card { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid #080808; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.04); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { position: relative; background: #f1f1ef; border-bottom: 1px solid #080808; overflow: hidden; }
.product-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badge-row { position: absolute; left: 14px; right: 14px; top: 14px; z-index: 2; display: flex; justify-content: space-between; gap: 10px; }
.badge { border: 1px solid rgba(8,8,8,.2); background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-radius: 999px; padding: 8px 10px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-body { padding: 22px; }
.product-body h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; line-height: 1; margin-bottom: 10px; }
.product-desc { min-height: 84px; font-size: 14px; color: #5f5f5f; }
.product-notes { margin-top: 16px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #111; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px 22px; }
.product-price { font-size: 22px; font-weight: 900; letter-spacing: -.04em; }
.product-size { color: #757575; font-size: 12px; margin-top: 5px; }
.add-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #080808; background: #080808; color: #fff; font-size: 26px; line-height: 1; transition: transform .2s ease; }
.add-btn:hover { transform: rotate(90deg); }
.product-links { display: flex; gap: 10px; padding: 0 22px 22px; }
.product-links a { flex: 1; display: inline-flex; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 10px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-links a:hover { border-color: #080808; }

.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; gap: 20px; }
.gallery-item { position: relative; overflow: hidden; border: 1px solid #080808; border-radius: 28px; background: #f8f8f8; }
.gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(n+3) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); border: 1px solid rgba(8,8,8,.14); }
.gallery-caption strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; line-height: 1; }
.gallery-caption span { display: block; margin-top: 6px; color: #5e5e5e; font-size: 12px; line-height: 1.45; }

.discovery-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discovery-media { padding: 16px; border: 1px solid #080808; border-radius: 34px; background: #fff; box-shadow: var(--shadow); }
.discovery-media img { border-radius: 24px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.discovery-copy p { max-width: 760px; font-size: 17px; }

.video-section { background: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.video-card { border: 1px solid #080808; border-radius: 28px; background: #fff; overflow: hidden; min-height: 420px; }
.video-card-header { padding: 18px 18px 0; }
.video-card-header strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; }
.instagram-media { min-width: 0 !important; max-width: 100% !important; width: 100% !important; margin: 0 !important; border: 0 !important; }
.embed-wrap { padding: 12px; }
.shopee-video-panel { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; border: 1px solid #080808; border-radius: 28px; background: var(--soft); }
.shopee-video-panel h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 36px; margin-top: 12px; }
.shopee-video-panel p { max-width: 760px; margin-bottom: 0; }

.ritual { background: var(--soft); }
.ritual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ritual-card { border: 1px solid #080808; border-radius: 28px; background: #fff; padding: 30px; min-height: 260px; }
.ritual-card span { display: block; margin-bottom: 42px; font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.ritual-card h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 38px; line-height: 1; }
.contact { background: #080808; color: #fff; }
.contact .eyebrow, .contact p { color: #fff; }
.contact .eyebrow::before { background: #fff; }
.contact-card { max-width: 1180px; margin: 0 auto; text-align: center; border: 1px solid rgba(255,255,255,.2); border-radius: 40px; padding: 70px 5vw; background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.contact-card p { max-width: 650px; margin: 0 auto 32px; opacity: .82; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.contact .btn.primary { background: #fff; color: #080808; border-color: #fff; }
.contact .btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px 6vw; border-top: 1px solid var(--line); background: #fff; }
.footer img { width: 118px; }
.footer p { margin: 10px 0 0; font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.cart-drawer { position: fixed; inset: 0; z-index: 80; display: none; background: rgba(0,0,0,.42); }
.cart-drawer.open { display: block; }
.cart-panel { position: absolute; top: 0; right: 0; width: min(520px, 100%); height: 100%; padding: 28px; background: #fff; color: #080808; overflow: auto; box-shadow: -22px 0 80px rgba(0,0,0,.16); }
.cart-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cart-header h2 { font-size: 42px; margin-bottom: 0; }
.icon-button { width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; }
.cart-items { display: grid; gap: 14px; padding: 24px 0; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid #080808; border-radius: 22px; }
.cart-thumb { width: 82px; height: 82px; border-radius: 18px; overflow: hidden; background: #f3f3f1; border: 1px solid var(--line); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { margin: 0 0 4px; font-size: 18px; }
.cart-item p { margin: 0 0 10px; font-size: 13px; line-height: 1.4; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid #080808; border-radius: 999px; overflow: hidden; }
.qty-control button { width: 34px; height: 30px; border: 0; background: #fff; color: #080808; font-weight: 900; }
.qty-control span { width: 34px; text-align: center; font-size: 13px; font-weight: 900; }
.item-total { text-align: right; }
.item-total strong { display: block; margin-bottom: 8px; }
.remove-btn { border: 0; background: transparent; text-decoration: underline; font-size: 12px; color: #606060; }
.cart-empty { padding: 34px 0; }
.cart-summary { border-top: 1px solid var(--line); padding-top: 22px; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; font-size: 18px; }
.summary-row strong { font-size: 24px; }
.summary-note { margin: 8px 0 22px; color: #666; font-size: 13px; }
.checkout-form { display: grid; gap: 14px; }
.checkout-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.checkout-form input, .checkout-form textarea { width: 100%; border: 1px solid #080808; border-radius: 18px; padding: 14px 16px; background: #fff; color: #080808; outline: none; resize: vertical; }
.checkout-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.checkout-links a { text-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 12px; font-size: 12px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #080808; color: #fff; border-radius: 999px; padding: 12px 18px; font-size: 13px; font-weight: 800; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: 1fr; }
  .video-card { min-height: 0; }
}
@media (max-width: 920px) {
  .section-pad { padding: 72px 22px; }
  .navbar { padding: 14px 22px; }
  .menu-button { display: inline-flex; }
  .text-link { display: none; }
  .nav-links { position: fixed; top: 84px; left: 0; right: 0; display: grid; padding: 24px 22px; background: #fff; border-bottom: 1px solid #080808; transform: translateY(-130%); transition: transform .25s ease; }
  body.menu-open .nav-links { transform: translateY(0); }
  .hero, .intro, .discovery-panel { grid-template-columns: 1fr; gap: 38px; }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats div:last-child { border-bottom: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(2), .gallery-item:nth-child(n+3) { grid-column: span 1; grid-row: span 1; }
  .ritual-grid { grid-template-columns: 1fr; }
  .shopee-video-panel { flex-direction: column; align-items: flex-start; }
  .footer { flex-direction: column; }
}
@media (max-width: 640px) {
  .brand img { width: 112px; }
  .cart-button span { display: none; }
  h1 { font-size: 58px; }
  h2 { font-size: 44px; }
  .hero-note { position: static; margin-top: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-desc { min-height: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cart-panel { padding: 20px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-thumb { width: 70px; height: 70px; }
  .item-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .checkout-links { grid-template-columns: 1fr; }
}


/* =========================================================
   ETUIX FUTURE / 3D SCROLL EXPERIENCE
   Vanilla CSS + JS, no additional framework required.
   ========================================================= */
:root {
  --accent: #765cff;
  --accent-cyan: #42d8ff;
  --accent-soft: rgba(118, 92, 255, .13);
  --page-scroll: 0;
  --section-focus: 0;
}

html { background: #f4f3f8; }
body {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 14% 8%, rgba(118,92,255,.10), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(66,216,255,.08), transparent 30rem),
    #fbfbfd;
}

::selection { background: var(--accent); color: #fff; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  pointer-events: none;
  background: rgba(8,8,8,.05);
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan), #080808);
  box-shadow: 0 0 20px rgba(118,92,255,.45);
  will-change: transform;
}

.ambient-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.ambient-orb {
  position: absolute;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .22;
  will-change: transform;
}
.orb-one {
  top: -18vw;
  right: -10vw;
  background: var(--accent);
  transform: translate3d(0, var(--orb-one-y, 0vh), 0);
}
.orb-two {
  top: 42vh;
  left: -22vw;
  background: var(--accent-cyan);
  transform: translate3d(0, var(--orb-two-y, 0vh), 0);
}
.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image:
    linear-gradient(rgba(8,8,8,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,8,8,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 38%, transparent 70%, #000 100%);
  transform: perspective(600px) rotateX(62deg) scale(1.8) translateY(23%);
  transform-origin: top center;
}

.site-shell { position: relative; isolation: isolate; }
.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.96%, rgba(8,8,8,.028) 50%, transparent 50.04%);
}

.navbar {
  margin: 12px max(12px, 2vw) 0;
  min-height: 72px;
  border: 1px solid rgba(8,8,8,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 45px rgba(39,31,80,.08);
  transition: box-shadow .3s ease, background .3s ease;
}
.navbar:hover { background: rgba(255,255,255,.9); box-shadow: 0 18px 55px rgba(39,31,80,.12); }
.brand img { filter: drop-shadow(0 5px 12px rgba(0,0,0,.08)); }
.cart-button, .menu-button, .icon-button { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.cart-button strong { background: linear-gradient(135deg, #080808, var(--accent)); }

.depth-section {
  position: relative;
  isolation: isolate;
  perspective: 1400px;
}
.depth-section::before {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  top: 0;
  height: 1px;
  opacity: var(--section-line-opacity, .12);
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-cyan), transparent);
  transform: scaleX(var(--section-line-scale, .5));
  transition: opacity .25s ease;
  pointer-events: none;
}

.hero {
  min-height: calc(100svh - 84px);
  padding-top: 92px;
  overflow: hidden;
}
.hero::after {
  content: "ETUIX";
  position: absolute;
  right: -1.5vw;
  bottom: -2.5vw;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(8,8,8,.075);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(130px, 24vw, 410px);
  line-height: .7;
  letter-spacing: -.08em;
  transform: translate3d(var(--hero-word-x, 0vw), 0, 0);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  transform: translate3d(0, var(--scroll-y, 0px), 0) rotateX(var(--scroll-rx, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-copy::after {
  content: "01 / SIGNATURE";
  position: absolute;
  left: 0;
  bottom: -54px;
  color: #6d6d76;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}
h1 {
  text-wrap: balance;
  background: linear-gradient(135deg, #080808 22%, #4f476d 58%, #080808 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow::before { background: linear-gradient(90deg, var(--accent), var(--accent-cyan)); height: 2px; }

.hero-media,
.discovery-media,
.contact-card,
.product-card,
.gallery-item,
.video-card,
.ritual-card {
  --tilt-rx: 0deg;
  --tilt-ry: 0deg;
  --pointer-x: 50%;
  --pointer-y: 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.hero-media {
  border-color: rgba(8,8,8,.55);
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(243,241,252,.78));
  box-shadow: 0 38px 110px rgba(35,25,84,.16), inset 0 0 0 1px rgba(255,255,255,.9);
  transform: perspective(1500px) translate3d(0, var(--scroll-y, 0px), 0)
    rotateX(calc(var(--scroll-rx, 0deg) + var(--tilt-rx))) rotateY(var(--tilt-ry));
  transition: transform .16s ease-out, box-shadow .3s ease;
}
.hero-media::before {
  z-index: 0;
  border-color: rgba(118,92,255,.55);
  box-shadow: 0 0 80px rgba(118,92,255,.18);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border-radius: 26px;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255,255,255,.34), transparent 26%),
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.19) 47%, transparent 62%);
  mix-blend-mode: screen;
}
.hero-media img { position: relative; z-index: 0; transform: translateZ(26px); }
.hero-note { z-index: 3; transform: translateZ(70px); box-shadow: 0 20px 55px rgba(20,15,44,.15); }
.hero-hud {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateZ(88px);
}
.hero-hud span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  background: rgba(8,8,8,.55);
  color: #fff;
  backdrop-filter: blur(16px);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}
.hero-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(118,92,255,.45);
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}
.orbit-a { width: 160px; height: 160px; top: -52px; right: -28px; animation: orbitFloat 8s ease-in-out infinite; }
.orbit-b { width: 78px; height: 78px; left: -36px; bottom: 23%; border-color: rgba(66,216,255,.55); animation: orbitFloat 6s ease-in-out infinite reverse; }
@keyframes orbitFloat { 0%, 100% { transform: translate3d(0,0,35px) rotateX(66deg); } 50% { transform: translate3d(0,16px,65px) rotateX(66deg) rotateZ(14deg); } }

.scroll-cue {
  position: absolute;
  left: 6vw;
  bottom: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5a5961;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-cue span {
  width: 24px;
  height: 38px;
  border: 1px solid rgba(8,8,8,.36);
  border-radius: 999px;
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,14px); } }

.marquee {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(18px);
}
.marquee i { background: linear-gradient(135deg, var(--accent), var(--accent-cyan)); box-shadow: 0 0 12px rgba(118,92,255,.45); }

.products-section,
.ritual,
.discovery-panel {
  background:
    radial-gradient(circle at 85% 10%, rgba(118,92,255,.075), transparent 23rem),
    linear-gradient(180deg, #f6f5f9, #f1f1f4);
}

.section-heading h2 { text-wrap: balance; }
.section-heading.centered { position: relative; z-index: 2; }
.section-heading.centered::after {
  content: "";
  display: block;
  width: 90px;
  height: 1px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.product-grid { perspective: 1600px; }
.product-card {
  position: relative;
  border-color: rgba(8,8,8,.65);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  transform: perspective(1200px) translate3d(0, 0, 0) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry));
  transition: transform .16s ease-out, box-shadow .3s ease, border-color .3s ease;
}
.product-card::after,
.gallery-item::after,
.video-card::after,
.ritual-card::after,
.discovery-media::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(118,92,255,.16), transparent 35%);
  transition: opacity .25s ease;
}
.product-card:hover,
.gallery-item:hover,
.video-card:hover,
.ritual-card:hover { box-shadow: 0 28px 72px rgba(33,25,71,.15); border-color: rgba(118,92,255,.55); }
.product-card:hover::after,
.gallery-item:hover::after,
.video-card:hover::after,
.ritual-card:hover::after,
.discovery-media:hover::after,
.contact-card:hover::after { opacity: 1; }
.product-card:hover { transform: perspective(1200px) translate3d(0,-8px,28px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry)); }
.product-media { transform: translateZ(22px); }
.product-media img { transform: scale(1.015) translateZ(18px); }
.product-card:hover .product-media img { transform: scale(1.055) translateZ(35px); }
.product-body, .product-meta, .product-links { position: relative; z-index: 6; transform: translateZ(20px); }
.add-btn { background: linear-gradient(145deg, #080808, #40356f); box-shadow: 0 10px 24px rgba(48,37,99,.24); }
.filter-chip { backdrop-filter: blur(14px); transition: transform .2s ease, background .2s ease, color .2s ease; }
.filter-chip:hover { transform: translateY(-2px); }
.filter-chip.active { background: linear-gradient(120deg, #080808, #41376b); box-shadow: 0 9px 24px rgba(54,42,104,.19); }

.gallery-grid { perspective: 1500px; }
.gallery-item {
  transform: perspective(1200px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry));
  transition: transform .16s ease-out, box-shadow .3s ease, border-color .3s ease;
}
.gallery-item img { transform: scale(1.02) translateZ(18px); }
.gallery-item:hover img { transform: scale(1.075) translateZ(35px); }
.gallery-caption { z-index: 6; transform: translateZ(55px); box-shadow: 0 14px 38px rgba(0,0,0,.12); }

.discovery-media {
  position: relative;
  transform: perspective(1400px) translate3d(0, var(--scroll-y, 0px), 0)
    rotateX(calc(var(--scroll-rx, 0deg) + var(--tilt-rx))) rotateY(var(--tilt-ry));
  transition: transform .16s ease-out, box-shadow .3s ease;
  box-shadow: 0 35px 90px rgba(43,31,91,.14);
}
.discovery-media img { transform: translateZ(30px); }
.discovery-copy { transform: translateZ(20px); }

.video-grid { perspective: 1500px; }
.video-card {
  position: relative;
  transform: perspective(1200px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry));
  transition: transform .16s ease-out, box-shadow .3s ease, border-color .3s ease;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
}
.video-card-header, .embed-wrap { position: relative; z-index: 6; transform: translateZ(16px); }
.shopee-video-panel { background: linear-gradient(120deg, rgba(248,248,252,.9), rgba(236,233,248,.82)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.75); }

.ritual-grid { perspective: 1500px; }
.ritual-card {
  position: relative;
  overflow: hidden;
  transform: perspective(1200px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry));
  transition: transform .16s ease-out, box-shadow .3s ease, border-color .3s ease;
}
.ritual-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -85px;
  bottom: -85px;
  border-radius: 50%;
  border: 1px solid rgba(118,92,255,.22);
  box-shadow: 0 0 0 28px rgba(118,92,255,.04), 0 0 0 58px rgba(66,216,255,.025);
  transform: translateZ(18px);
}
.ritual-card > * { position: relative; z-index: 6; transform: translateZ(20px); }

.contact {
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 15%, rgba(118,92,255,.34), transparent 27rem),
    radial-gradient(circle at 84% 90%, rgba(66,216,255,.19), transparent 30rem),
    #070709;
}
.contact::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.035) 0deg 1deg, transparent 1deg 12deg);
  animation: contactSpin 40s linear infinite;
}
@keyframes contactSpin { to { transform: rotate(360deg); } }
.contact-card {
  position: relative;
  transform: perspective(1500px) translate3d(0, var(--scroll-y, 0px), 0)
    rotateX(calc(var(--scroll-rx, 0deg) + var(--tilt-rx))) rotateY(var(--tilt-ry));
  transition: transform .16s ease-out;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
  backdrop-filter: blur(22px);
  box-shadow: 0 38px 120px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.08);
}
.contact-card > * { position: relative; z-index: 6; transform: translateZ(26px); }

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  inset: -120% 45%;
  z-index: -1;
  background: rgba(255,255,255,.45);
  transform: rotate(24deg) translateX(-260%);
  transition: transform .65s ease;
}
.btn:hover::after { transform: rotate(24deg) translateX(260%); }
.btn.primary { background: linear-gradient(120deg, #080808, #2d274a); }
.contact .btn.primary { background: linear-gradient(120deg, #fff, #e7e1ff); }

.footer { background: rgba(255,255,255,.76); backdrop-filter: blur(18px); }
.cart-panel { background: rgba(255,255,255,.94); backdrop-filter: blur(26px); }

/* Reveal animation uses the independent translate property so 3D transforms remain intact. */
.reveal {
  opacity: 0;
  translate: 0 26px;
  transform-origin: center;
  transition: opacity .65s ease, translate .65s cubic-bezier(.2,.75,.2,1), transform .16s ease-out;
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

@media (max-width: 920px) {
  .navbar { margin: 8px 8px 0; border-radius: 28px; }
  .nav-links { top: 88px; left: 8px; right: 8px; border: 1px solid rgba(8,8,8,.15); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
  .hero { padding-top: 64px; padding-bottom: 110px; overflow: visible; }
  .hero::after { bottom: -2vw; }
  .scroll-cue { bottom: 32px; }
  .hero-copy::after { display: none; }
  .ambient-grid { background-size: 42px 42px; }
}

@media (max-width: 640px) {
  .ambient-orb { width: 86vw; opacity: .16; }
  .hero { min-height: auto; }
  .hero-media { border-radius: 28px; padding: 12px; }
  .hero-hud { top: 22px; left: 22px; }
  .hero-hud span { padding: 6px 8px; font-size: 8px; }
  .hero-orbit { display: none; }
  .scroll-cue { left: 22px; }
  .section-pad { overflow: hidden; }
}

@media (pointer: coarse) {
  .hero-media,
  .discovery-media,
  .contact-card,
  .product-card,
  .gallery-item,
  .video-card,
  .ritual-card { transition: box-shadow .3s ease, border-color .3s ease; }
  .product-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .ambient-orb, .hero::after, [data-scroll-depth], .interactive-3d { transform: none !important; }
  .reveal { opacity: 1; translate: none; }
  .scroll-progress span { transition: none; }
}


/* =========================================================
   ETUIX ULTRA HD PRODUCT GALLERY UPDATE
   - Uniform frame size for all product gallery photos
   - Cleaner, consistent visual rhythm
   ========================================================= */
.gallery-section .section-heading p::after {
  content: "All frames are now aligned in a uniform premium grid.";
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .02em;
  color: #7a7a7a;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 22px;
  align-items: stretch;
}
.gallery-item,
.gallery-item:nth-child(1),
.gallery-item:nth-child(2),
.gallery-item:nth-child(n+3) {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.gallery-item {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,246,251,.94));
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.gallery-caption {
  left: 14px;
  right: 14px;
  bottom: 14px;
}

.product-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.cart-thumb img,
.discovery-media img,
.hero-media img {
  image-rendering: auto;
}

@media (max-width: 1180px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(n+3) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(n+3) {
    aspect-ratio: 1 / 1;
  }
}
