/* ============================================================
   Nala 3D Art — palette taken from the frames themselves:
   white box, sand, sunset apricot, ocean blue, lagoon, starfish coral
   ============================================================ */
:root {
  --sand: #FBF6EE;
  --sand-2: #F3E9DA;
  --paper: #FFFDF9;
  --white: #FFFFFF;
  --ink: #1E2944;
  --ink-2: #566079;
  --line: #E8DFD1;
  --ocean: #2154CF;
  --ocean-2: #3F86EC;
  --lagoon: #34BDD0;
  --foam: #E7F5F7;
  --sun: #EE9142;
  --sun-2: #FFC786;
  --coral: #F0566E;
  --teak: #94603A;
  --night: #2D2645;
  --wa: #1FAF5A;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --hand: 'Caveat', cursive;

  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 0 rgba(30, 41, 68, .04), 0 18px 40px -22px rgba(30, 41, 68, .35);
  --thick: 1px 1px 0 #EFE8DE, 2px 2px 0 #EAE2D6, 3px 3px 0 #E5DCCF, 4px 4px 0 #E0D6C8, 5px 5px 0 #DBD0C1, 6px 6px 0 #D6CAB9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--sun-2); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }

/* bilingual text */
html[data-lang="id"] .t-en, html:not([data-lang="id"]) .t-id { display: none !important; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.6rem); }
h3 { font-size: 1.5rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
.hand { font-family: var(--hand); font-size: 1.5rem; line-height: 1; color: var(--teak); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ocean);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lede { color: var(--ink-2); font-size: 1.125rem; max-width: 34em; }

/* paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .5;
  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%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.5em;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 rgba(30, 41, 68, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(30, 41, 68, .18); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(30, 41, 68, .18); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-wa { --bg: var(--ocean); }
.btn-ghost { --bg: var(--white); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), 0 4px 0 rgba(30, 41, 68, .06); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 6px 0 rgba(30, 41, 68, .08); }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: .92rem; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.lang button {
  border: 0; background: none; cursor: pointer; min-width: 38px; min-height: 32px; border-radius: 999px;
  font: 700 .78rem/1 var(--body); letter-spacing: .06em; color: var(--ink-2);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding-block: 14px; background: color-mix(in srgb, var(--sand) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 36px; }
.brand b { font: 600 1.3rem/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.02em; }
.brand b i { font-style: normal; color: var(--ocean); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav-links, .nav .btn { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 0; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero h1 { font-size: clamp(3rem, 6.2vw + .5rem, 6.4rem); line-height: .92; margin: 18px 0 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--ocean); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; display: flex; align-items: center; gap: 8px; }
.hero-note .hand { font-size: 1.35rem; }

.stage { position: relative; display: grid; place-items: center; padding: 40px 0 70px; perspective: 1200px; }
.stage::before {
  content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #FFE2C2 0 38%, rgba(255, 226, 194, 0) 70%);
  z-index: -1;
}
.deco { position: absolute; pointer-events: none; z-index: 2; }
.deco-star { width: 64px; top: 2%; left: 4%; animation: spin 18s linear infinite; }
.deco-spark { width: 22px; color: var(--sun); animation: twinkle 3.2s ease-in-out infinite; }
.deco-spark.s1 { left: 6%; top: 18%; }
.deco-spark.s2 { right: 2%; bottom: 26%; width: 16px; color: var(--lagoon); animation-delay: 1.1s; }
.deco-spark.s3 { left: 14%; bottom: 14%; width: 14px; color: var(--coral); animation-delay: 2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

/* the shadow box */
.box {
  --mx: 0; --my: 0;
  position: relative; width: min(430px, 82vw); aspect-ratio: 1 / 1.1;
  transform: rotateY(calc(var(--mx) * 12deg)) rotateX(calc(var(--my) * -9deg));
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.frame {
  position: absolute; inset: 0; padding: 7.5% 7.5% 16%;
  background: linear-gradient(160deg, #fff 60%, #F6F1EA);
  border-radius: 14px;
  box-shadow: var(--thick), 26px 36px 50px -18px rgba(45, 38, 69, .38), inset 0 0 0 1px rgba(0, 0, 0, .03);
}
.window { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; background: #EADFD2; }
.window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 10;
  box-shadow: inset 0 16px 22px -10px rgba(60, 40, 30, .45), inset 12px 0 18px -12px rgba(60, 40, 30, .35), inset -6px 0 12px -8px rgba(60, 40, 30, .2), inset 0 0 0 1px rgba(60, 40, 30, .12);
}
.layer {
  --d: 0;
  position: absolute; inset: -7%;
  transform: translate(calc(var(--mx) * var(--d) * -5px), calc(var(--my) * var(--d) * -4px));
  transition: transform .5s var(--ease);
}
.layer svg { width: 100%; height: 100%; display: block; }
.layer + .layer { filter: drop-shadow(0 5px 4px rgba(45, 30, 40, .28)); }
.frame-label { position: absolute; left: 0; right: 0; bottom: 3.6%; text-align: center; font: 600 1.7rem/1 var(--hand); color: var(--teak); }
.frame-switch { position: absolute; right: 7.5%; bottom: 6%; width: 14px; height: 7px; border-radius: 2px; background: var(--night); opacity: .85; }

/* layered paper waves divider */
.waves { position: relative; height: clamp(70px, 9vw, 120px); margin-top: -40px; }
.waves svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.waves path { filter: drop-shadow(0 -3px 4px rgba(30, 41, 68, .12)); }

/* ---------- marquee ---------- */
.marquee { background: var(--ocean); color: #fff; overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: slide 36s linear infinite; }
.marquee span { font: 500 italic 1.35rem/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: "✦"; color: var(--sun-2); font-style: normal; font-size: 1rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.bg-paper { background: var(--paper); }
.bg-foam { background: var(--foam); }

/* collection */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.piece {
  grid-column: span 4; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.piece:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 1px 0 rgba(30, 41, 68, .04), 0 30px 50px -24px rgba(30, 41, 68, .45); }
.piece-img { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand-2); }
.piece-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.piece:hover .piece-img img { transform: scale(1.04); }
.tag {
  position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font: 700 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.piece-body { display: grid; gap: 8px; padding: 18px 8px 8px; flex: 1; align-content: start; }
.piece-body p:not(.hand) { color: var(--ink-2); font-size: .98rem; }
.piece-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 14px 8px 6px; }
.price { font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.piece .btn-sm { --bg: var(--foam); --fg: var(--ocean); box-shadow: none; }
.piece .btn-sm:hover { --bg: var(--ocean); --fg: #fff; }

.piece-custom .piece-img { background: linear-gradient(160deg, #FDEBD8, #FBE0E4); display: grid; place-items: center; }
.mini-box { width: 62%; aspect-ratio: 1 / 1.1; position: relative; }
.mini-box .frame { padding: 9% 9% 18%; border-radius: 10px; }
.mini-box .q { position: absolute; inset: 0; display: grid; place-items: center; font: 600 italic 4rem/1 var(--display); color: var(--ocean); }

.piece-wide { grid-column: span 12; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 12px; }
.piece-wide .piece-img { aspect-ratio: 16 / 7; order: 2; }
.piece-wide .piece-body { padding: 22px 24px; }
.piece-wide .piece-foot { padding: 14px 0 0; justify-content: flex-start; gap: 18px; }

@media (max-width: 900px) {
  .piece { grid-column: span 6; }
  .piece-wide { grid-column: span 12; grid-template-columns: 1fr; }
  .piece-wide .piece-img { order: 0; aspect-ratio: 16 / 8; }
  .piece-wide .piece-body { padding: 18px 8px 8px; }
}
@media (max-width: 600px) { .piece { grid-column: span 12; } }

/* layers explainer */
.layers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.stack-stage { display: grid; place-items: center; height: 520px; perspective: 1600px; }
.stack {
  position: relative; width: min(270px, 60vw); aspect-ratio: 1;
  transform: translateY(70px) rotateX(56deg) rotateZ(-38deg);
  transform-style: preserve-3d;
}
.sheet {
  --i: 0;
  position: absolute; inset: 0; border-radius: 4px;
  transform: translateZ(calc(var(--i) * 3px));
  transition: transform 1s var(--ease) calc(var(--i) * 70ms), box-shadow .3s;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85);
}
.sheet svg { width: 100%; height: 100%; display: block; filter: drop-shadow(-6px 10px 6px rgba(30, 41, 68, .18)); }
.sheet:not(:first-child) { background: rgba(255, 255, 255, .12); }
.sheet.frame-sheet { background: none; box-shadow: none; }
.sheet.frame-sheet::before {
  content: ""; position: absolute; inset: -9%; border-radius: 10px;
  border: solid #fff; border-width: 26px; box-shadow: var(--thick), 0 0 0 1px rgba(0,0,0,.04);
}
.stack.open .sheet { transform: translateZ(calc(var(--i) * 48px)); }
.sheet.hl { box-shadow: inset 0 0 0 3px var(--lagoon); }
.stack.open .sheet.hl { transform: translateZ(calc(var(--i) * 48px + 26px)); }

.layer-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.layer-list li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  padding: 10px 12px; border-radius: 14px; cursor: default; transition: background .25s;
}
.layer-list li.hl { background: var(--white); }
.layer-list li > span:first-child {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); font: 600 1.05rem/1 var(--display); color: var(--ocean); box-shadow: 0 3px 0 rgba(30, 41, 68, .08);
}
.layer-list b { display: block; font-weight: 700; }
.layer-list small { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 900px) {
  .layers-grid { grid-template-columns: 1fr; }
  .stack-stage { height: 420px; order: -1; }
  .stack.open .sheet { transform: translateZ(calc(var(--i) * 36px)); }
  .stack.open .sheet.hl { transform: translateZ(calc(var(--i) * 36px + 20px)); }
}

/* booth */
.booth-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.polaroids { position: relative; min-height: 460px; }
.polaroid {
  position: absolute; width: 74%; background: #fff; padding: 12px 12px 46px; border-radius: 6px;
  box-shadow: var(--shadow), 0 2px 6px rgba(30, 41, 68, .08);
  transition: transform .5s var(--ease);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 600 1.45rem/1 var(--hand); color: var(--teak); }
.polaroid.p1 { left: 0; top: 0; transform: rotate(-4deg); }
.polaroid.p2 { right: 0; bottom: 0; transform: rotate(3.5deg); }
.polaroids:hover .p1 { transform: rotate(-6deg) translate(-8px, -6px); }
.polaroids:hover .p2 { transform: rotate(5deg) translate(8px, 6px); }
.tape { position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(52, 189, 208, .35); border-radius: 2px; }
.p2 .tape { background: rgba(240, 145, 66, .35); transform: translateX(-50%) rotate(4deg); }
@media (max-width: 900px) {
  .booth-grid { grid-template-columns: 1fr; }
  .polaroids { min-height: 0; display: grid; gap: 28px; }
  .polaroid { position: relative; width: 92%; }
  .polaroid.p2 { justify-self: end; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--white); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.step-num {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  font: 600 1.6rem/1 var(--display); color: #fff;
  background: var(--c, var(--ocean)); box-shadow: 4px 4px 0 color-mix(in srgb, var(--c, var(--ocean)) 30%, transparent);
}
.step p { color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* final cta */
.cta-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px) clamp(150px, 18vw, 220px);
  background: linear-gradient(180deg, #E3EEF7 0%, #F7E8DB 55%, #FCD3B0 100%);
  text-align: center; isolation: isolate;
}
.cta-card h2 { font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem); max-width: 12em; margin: 14px auto 16px; }
.cta-card .lede { margin-inline: auto; }
.cta-card .btn { margin-top: 28px; }
.cta-sun { position: absolute; z-index: -1; left: 50%; bottom: 40px; width: clamp(220px, 30vw, 380px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 38% 32%, var(--sun-2), var(--sun)); }
.cta-sea { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: clamp(120px, 14vw, 170px); }
.cta-sea svg { width: 100%; height: 100%; display: block; }
.cta-sea path { filter: drop-shadow(0 -4px 5px rgba(30, 41, 68, .18)); }

/* footer */
footer { padding: 48px 0 110px; color: var(--ink-2); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer a { font-weight: 600; text-decoration-color: var(--lagoon); text-underline-offset: 4px; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px -10px rgba(31, 175, 90, .7), 0 4px 0 rgba(20, 110, 60, .35);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.wa-float.show { transform: none; }
.wa-float svg { width: 26px; height: 26px; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .stage { padding: 20px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
