/* Option 04 — Final: the metamorphosis hero (02), the closet + Try Me (03), the Edit (02),
   a shoppable story (03+), the wakaf hangtag (03), a moving shelf (01), social (01) and a centred
   footer, with Shopee as the one call to action throughout. */
.o4 { --sans: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--ecru); color: var(--espresso); font-size: 17px; --nav-h: 88px; }
.o4 .eyebrow { color: var(--terracotta-ink); font-size: 13px; font-weight: 500; }
.o4 .display em { color: var(--terracotta); }

/* ——— nav: larger, Shopee as the highlighted action ——— */
.o4 .nav { --nav-bg: var(--ecru); }
.o4 .nav__brand { width: 172px; }
.o4 .nav__menu { gap: 34px; font-size: 15.5px; font-weight: 500; letter-spacing: .02em; }
.o4 .nav__menu sup { font-size: 9.5px; }
.o4 .nav__end { gap: 4px; }
.o4 .nav__icon { width: 44px; height: 44px; }
.o4 .nav__icon svg { width: 22px; height: 22px; }
.nav__shop { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin-left: 12px; padding: 13px 24px 13px 20px; border-radius: 999px; background: var(--terracotta-ink); color: var(--ecru); font-size: 15px; font-weight: 500; letter-spacing: .03em; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(154, 72, 38, .8); transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease); }
.nav__shop [data-icon] { width: 20px; height: 20px; display: inline-block; }
.nav__shop svg { width: 100%; height: 100%; display: block; }
.nav__shop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 247, 235, .45) 50%, transparent 65%); transform: translateX(-120%); animation: o4-shine 5.5s var(--ease) 2s infinite; }
@keyframes o4-shine { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.nav__shop:hover { transform: translateY(-2px); background: var(--espresso); box-shadow: 0 14px 28px -12px rgba(54, 43, 40, .7); }
.nav__shop-short { display: none; }
.nav__menu i, .nav__extra { display: none; }

/* buttons */
.btn--shop { background: var(--terracotta-ink); color: var(--ecru); box-shadow: 0 14px 30px -16px rgba(154, 72, 38, .9); }
.btn--shop:hover { background: var(--espresso); transform: translateY(-2px); }
.btn [data-icon] { width: 19px; height: 19px; display: inline-block; }
.btn [data-icon] svg { width: 100%; height: 100%; display: block; }
.btn--ghost { background: transparent; color: var(--espresso); border-color: rgba(54, 43, 40, .35); }
.btn--ghost:hover { background: var(--espresso); color: var(--ecru); }
.btn--big { padding: 19px 34px; font-size: 16px; }
.btn--cream { background: var(--cream); color: var(--terracotta-ink); }
.btn--cream:hover { background: var(--ecru); color: var(--espresso); }

/* ——— hero copy (scene styles live in shared/css/meta.css) ——— */
.o4 .room__copy { width: min(500px, 36vw); }
/* the poem: each stage on one line */
.o4 .room__poem { width: min(560px, 38vw); font-size: clamp(24px, 2.15vw, 36px); }
@media (min-width: 761px) { .o4 .room__poem li { white-space: nowrap; } }
.o4 .room__lead { max-width: none; font-size: 18.5px; line-height: 1.6; }
.o4 .room__lead span { display: block; }
.room__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.o4 .room__copy .btn--shop { background: var(--terracotta-ink); color: var(--ecru); }
.o4 .room__copy .btn--shop:hover { background: var(--espresso); }
.o4 .room__copy .btn--ghost { background: transparent; color: var(--espresso); }
.o4 .room__copy .btn--ghost:hover { background: var(--espresso); color: var(--ecru); }

/* ——— hangtag (shared look) ——— */
.tag { position: relative; display: grid; gap: 3px; padding: 30px 18px 16px; background: var(--terracotta); color: var(--cream); border-radius: 4px 4px 14px 14px; clip-path: polygon(14% 0, 86% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); font-size: 12px; letter-spacing: .04em; }
.tag b { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: 0; line-height: 1.1; }
.tag__hole { position: absolute; top: 11px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(54, 43, 40, .25); }


/* ——— closet + Try Me ——— */
.closet { padding: clamp(90px, 10vw, 140px) 0 clamp(90px, 10vw, 140px); background: var(--ecru); }
.closet__head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.closet__head .eyebrow { grid-column: 1 / -1; }
.closet__head h2 { font-size: clamp(54px, 6.2vw, 108px); }
.closet__steps { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 14px; font-size: 20px; }
.closet__steps li { display: flex; align-items: center; gap: 14px; }
.closet__steps b { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--terracotta); color: var(--terracotta-ink); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 17px; }
/* the rail: clean ghost-mannequin garments on a brass rod. Hover parts the rack around the cursor,
   a click lifts the garment off its hanger and carries it to the model below */
.rail { --gw: clamp(118px, calc((100vw - 2 * var(--pad)) / 9.6), 200px); --top: 40px; position: relative; padding-bottom: 78px; margin-bottom: clamp(24px, 3vw, 44px); }
.rail__bar { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--top) + 4px); height: 6px; border-radius: 6px; background: linear-gradient(180deg, #E6CE9C, var(--gold) 55%, #7F6134); box-shadow: 0 3px 6px rgba(54, 43, 40, .22); }
.rail__bar i { position: absolute; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F3E2B8, var(--gold) 55%, #7F6134); box-shadow: 0 2px 4px rgba(54, 43, 40, .25); }
.rail__bar i:first-child { left: -8px; }
.rail__bar i:last-child { right: -8px; }
.rail__items { list-style: none; margin: 0; padding: var(--top) var(--pad) calc(var(--gw) * .22); display: flex; justify-content: center; align-items: flex-start; }
.rail.is-scroll .rail__items { justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.rail.is-scroll .rail__items::-webkit-scrollbar { display: none; }
.rail.is-grabbing .rail__items { cursor: grabbing; }
.g { --dx: 0px; --s: 1; --sw: 0deg; position: relative; z-index: 1; flex: 0 0 var(--gw); width: var(--gw); margin-inline: calc(var(--gw) * -.16); transition: transform 1.4s var(--ease) calc(var(--i) * 55ms), opacity .9s var(--ease) calc(var(--i) * 55ms); }
.g:first-child { margin-left: 0; }
.g:last-child { margin-right: 0; }
.rail:not(.is-in) .g { transform: translateX(60vw); opacity: 0; }
.g.is-on { z-index: 2; }
.g.is-hot { z-index: 3; }
.g__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rail.is-grabbing .g__btn { cursor: grabbing; }
.g__swing { position: relative; display: block; transform-origin: 50% 7px; transform: translateX(var(--dx)) rotate(var(--sw)) scale(var(--s)); }
.g__hook { position: relative; z-index: 0; display: block; width: 34px; height: 56px; margin: 0 auto; color: #8E6E3E; transition: color .4s; }
.g__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; margin-top: -20px; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 18px 14px rgba(54, 43, 40, .14)) drop-shadow(0 2px 2px rgba(54, 43, 40, .08)); transition: opacity .7s var(--ease); }
.g.is-on .g__hook { color: var(--terracotta); }
.g.is-taken .g__img { opacity: 0; transition-duration: .2s; }
.g__btn:focus-visible { outline: none; }
.g__btn:focus-visible .g__hook { color: var(--terracotta-ink); }
.rail__cap { position: absolute; left: 0; top: 0; z-index: 4; display: grid; justify-items: center; gap: 3px; margin: 0; padding: 9px 18px 11px; border-radius: 3px 3px 12px 12px; background: var(--terracotta-ink); color: var(--cream); text-align: center; white-space: nowrap; pointer-events: none; font-size: 13px; letter-spacing: .02em; box-shadow: 0 14px 26px -16px rgba(154, 72, 38, .9); transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0) translateX(-50%); transition: background .35s var(--ease), opacity .35s var(--ease); }
.rail__cap b { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.1; letter-spacing: 0; }
.rail__cap span { display: inline-flex; align-items: center; gap: 7px; }
.rail__cap i { width: 11px; height: 11px; border-radius: 50%; background: var(--c, #ccc); box-shadow: 0 0 0 1.5px rgba(245, 232, 206, .7); }
.rail__cap em { font-style: normal; }
.rail__cap.is-peek { background: var(--espresso); }
.rail:not(.is-in) .rail__cap { opacity: 0; }
.g-fly { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; transform-origin: 0 0; will-change: transform, opacity; filter: drop-shadow(0 26px 24px rgba(54, 43, 40, .22)); }


.o4 .to { --to-stage: #EADCC2; --to-soft: rgba(54, 43, 40, .8); grid-template-columns: minmax(260px, 370px) minmax(0, 1fr); }
.o4 .to__frame { border-radius: 999px 999px 6px 6px; border: 8px solid var(--cream); box-shadow: 0 0 0 1px var(--gold); max-height: min(74vh, 720px); }
.o4 .to__badge { top: auto; bottom: 14px; }
.o4 .to__match { background: var(--terracotta-ink); }
.o4 .to__legend { font-size: 13px; }
.o4 .to__range { font-size: 15px; }
.o4 .to__skin, .o4 .to__pill span { font-size: 14.5px; }
.o4 .to__pcat { font-size: 12.5px; color: var(--terracotta-ink); }
.o4 .to__ptitle { font-size: clamp(30px, 2.6vw, 40px); }
.o4 .to__who { font-size: 16.5px; color: rgba(54, 43, 40, .86); }
.o4 .to__disclaimer { font-size: 13px; }
.o4 .to__buy { background: var(--terracotta-ink); color: var(--ecru); padding: 15px 26px; font-size: 15px; box-shadow: 0 14px 30px -16px rgba(154, 72, 38, .9); }
.o4 .to__buy:hover { background: var(--espresso); }
.o4 .to__share { font-size: 14.5px; padding: 14px 20px; }

/* ——— lookbook ——— */
.look { position: relative; }
.look__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.look__track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding: 0 var(--pad); will-change: transform; }
.look__intro { flex: 0 0 min(440px, 80vw); padding-right: 4vw; }
.look__intro .eyebrow { color: var(--terracotta-ink); }
.look__intro h2 { font-size: clamp(48px, 5.4vw, 92px); margin: 18px 0 22px; }
.look__intro h2 em { color: var(--terracotta); }
.look__intro p { font-size: 17px; max-width: 34ch; }
@keyframes o2-line { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.look__end { flex: 0 0 min(360px, 80vw); padding: 0 6vw 0 2vw; }
.look__end p { font-size: clamp(34px, 3.2vw, 52px); margin-bottom: 26px; }
.look__end em { color: var(--terracotta); }
.look__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 6vh; height: 1px; background: rgba(54, 43, 40, .15); }
.look__progress span { position: absolute; inset: 0; background: var(--terracotta); transform-origin: 0 50%; transform: scaleX(0); }

.look { background: var(--cream); }
.look__intro h2 { font-size: clamp(56px, 6vw, 104px); }
.look__intro p { font-size: 20px; }
.look__end .btn { white-space: nowrap; }
.look__mhead { display: none; }

/* ——— preview (lightbox) ——— */
html.lb-open { overflow: hidden; }
.lb[hidden] { display: none; }
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 72px clamp(16px, 7vw, 120px) 40px; }
.lb__scrim { position: absolute; inset: 0; background: rgba(36, 28, 26, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.lb.is-open .lb__scrim { opacity: 1; }
.lb__fig { position: relative; margin: 0; display: grid; justify-items: center; gap: 18px; max-height: 100%; opacity: 0; transform: translateY(20px) scale(.97); transition: .45s var(--ease); }
.lb.is-open .lb__fig { opacity: 1; transform: none; }
.lb__img { max-width: min(1100px, 100%); max-height: calc(100svh - 230px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lb__img.is-in { animation: lb-in .5s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
.lb__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; color: var(--cream); text-align: center; }
.lb__line { width: 100%; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.lb__name { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(245, 232, 206, .35); background: rgba(245, 232, 206, .08); color: var(--cream); font-size: 20px; cursor: pointer; transition: background .3s; }
.lb__btn:hover { background: rgba(245, 232, 206, .2); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: clamp(10px, 2vw, 32px); top: 50%; translate: 0 -50%; }
.lb__next { right: clamp(10px, 2vw, 32px); top: 50%; translate: 0 -50%; }
.lb__count { position: absolute; left: 24px; top: 30px; color: var(--cream); font-size: 13px; letter-spacing: .16em; opacity: .7; }
.look__end { display: grid; gap: 22px; justify-items: start; }
.look__end p { margin: 0; }

/* ——— story: lines light up as you read (from Option 02), photos build up beside them ——— */
.impact { padding: clamp(100px, 12vw, 160px) 0; background: var(--ecru); border-block: 1px solid var(--line); }
.impact__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(48px, 8vw, 140px); align-items: center; max-width: 1240px; }
.impact .soon { margin-left: 8px; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; }
.impact h2 { font-size: clamp(58px, 6.6vw, 120px); margin: 18px 0 22px; }
.impact__note { max-width: 36ch; font-size: 20px; line-height: 1.6; color: rgba(54, 43, 40, .84); }
.flip { width: 340px; height: 490px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1200px; transform: rotate(4deg); transform-origin: 50% 0; transition: transform .8s var(--ease); }
.flip:hover { transform: rotate(1deg); }
.flip__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 44px 26px 30px; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6px 6px 22px 22px; clip-path: polygon(16% 0, 84% 0, 100% 10%, 100% 100%, 0 100%, 0 10%); }
.flip__face .tag__hole { top: 18px; width: 14px; height: 14px; margin-left: -7px; }
.flip__front { background: var(--terracotta); color: var(--cream); }
.flip__front b { font-family: var(--serif); font-weight: 500; font-size: 108px; line-height: .9; }
.flip__front span:not(.tag__hole):not(.flip__mark) { font-size: 17px; line-height: 1.4; }
.flip__mark { width: 64px; margin-bottom: 8px; opacity: .9; }
.flip__mark svg { width: 100%; height: auto; display: block; }
.flip__face i { font-style: normal; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 14px; }
.flip__back { background: var(--ecru); color: var(--espresso); transform: rotateY(180deg); box-shadow: inset 0 0 0 1px var(--line); }
.flip__back b { font-family: var(--serif); font-weight: 500; font-size: 34px; margin-bottom: 8px; }
.flip__back span:not(.tag__hole) { font-size: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); width: 80%; }
.flip__back i { text-transform: none; letter-spacing: 0; font-size: 12.5px; line-height: 1.5; }


/* ——— shelf: a slow conveyor, paused under the cursor ——— */
.shop { padding: clamp(100px, 12vw, 160px) 0 clamp(48px, 5vw, 72px); }
.shop__head { margin-bottom: clamp(40px, 5vw, 64px); }
.shop__head h2 { font-size: clamp(56px, 6.2vw, 108px); margin-top: 16px; }
.shelf { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.shelf.is-grabbing { cursor: grabbing; }
.shelf__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; width: max-content; will-change: transform; }
.shelf__track li { flex: 0 0 auto; width: clamp(220px, 21vw, 310px); }
.shelf__item { display: block; text-decoration: none; user-select: none; -webkit-user-drag: none; }
.shelf__img { display: block; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; border-radius: 160px 160px 4px 4px; transition: transform .6s var(--ease); }
.shelf__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.shelf__item:hover .shelf__img { transform: translateY(-8px); }
.shelf__item:hover .shelf__img img { transform: scale(1.05); }
.shelf__meta { display: grid; gap: 2px; margin-top: 16px; }
.shelf__meta b { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.1; color: var(--espresso); }
.shelf__meta span { font-size: 15.5px; color: rgba(54, 43, 40, .72); }
.shelf__meta i { font-style: normal; font-size: 15px; color: var(--terracotta-ink); opacity: 0; transform: translateY(4px); transition: .4s var(--ease); }
.shelf__item:hover .shelf__meta i { opacity: 1; transform: none; }
.shelf__state { position: absolute; right: var(--pad); top: 14px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: rgba(54, 43, 40, .8); color: var(--ecru); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .3s; pointer-events: none; }
.shelf.is-paused .shelf__state { opacity: 1; }
.shop__cta { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }

/* ——— social: rising semicircles ——— */
.social { position: relative; overflow: hidden; padding: clamp(80px, 8vw, 120px) 0 clamp(200px, 22vw, 320px); background: var(--cream); text-align: center; }
.social__rings { position: absolute; left: 50%; bottom: 0; width: min(1500px, 170vw); aspect-ratio: 1; translate: -50% 50%; pointer-events: none; }
.social__rings i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(181, 91, 50, .2); background: rgba(181, 91, 50, .055); transform: scale(calc(var(--s) * (.72 + .28 * var(--rise, 0)))); transition: transform .2s linear; }
.social__rings i:nth-child(1) { --s: 1; background: rgba(181, 91, 50, .035); }
.social__rings i:nth-child(2) { --s: .82; }
.social__rings i:nth-child(3) { --s: .64; background: rgba(181, 91, 50, .07); }
.social__rings i:nth-child(4) { --s: .46; background: rgba(181, 91, 50, .09); }
.social__rings i:nth-child(5) { --s: .28; background: rgba(181, 91, 50, .12); border-color: rgba(181, 91, 50, .3); }
.social__head { position: relative; }
.social__head h2 { font-size: clamp(48px, 6.2vw, 108px); margin: 18px auto 22px; max-width: 16ch; }
.social__link { position: relative; font-style: italic; color: var(--terracotta); text-decoration: none; white-space: nowrap; }
.social__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: 2px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.social__link:hover::after { transform: scaleX(0); transform-origin: right; }
.social__link [data-icon] { position: absolute; right: 100%; top: 50%; width: .46em; height: .46em; margin: -.2em .16em 0 0; opacity: 0; transform: translateY(6px) scale(.7); transition: .45s var(--ease); }
.social__link [data-icon] svg { width: 100%; height: 100%; display: block; }
.social__link:hover [data-icon] { opacity: 1; transform: none; }
.social__sub { font-size: 20px; color: rgba(54, 43, 40, .82); }

/* ——— footer (centred) ——— */
.o4 .foot { position: relative; z-index: 1; background: var(--ecru); color: var(--terracotta); text-align: center; padding: 0 var(--pad) 34px; }
/* the lockup's butterfly straddles the seam: half on the semicircles, half on the footer.
   butterfly centre = 12.1% (gap) + 36.8%/2 (half its height) of the lockup width above the wordmark */
.o4 .foot__lockup { margin-top: calc(min(320px, 70vw) * (.121 + .713 * 299 / 405 / 2)); }
.o4 .foot__perch-static { position: relative; z-index: 2; }
.foot__tag { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--espresso); }
.foot__cta { margin-top: 40px; }
.foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; margin: 48px 0 34px; font-size: 17px; color: var(--espresso); }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--terracotta-ink); }
.foot__legal { font-size: 13px; color: rgba(54, 43, 40, .6); }

/* ——— responsive ——— */
@media (max-width: 1100px) {
  .o4 .to { grid-template-columns: 1fr; }
  .o4 .nav__menu { gap: 22px; font-size: 14.5px; }
  .o4 .nav__icon { display: none; }
}
@media (max-width: 900px) {
  .o4 { --nav-h: 68px; }
  .o4 .nav__brand { width: 120px; }
  .o4 .nav__menu { font-size: 42px; font-weight: 400; gap: 0; padding-inline: var(--pad); padding-bottom: 28px; }
  .o4 .nav__menu > a { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.1; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .o4 .nav__menu > a::after { display: none; }
  .o4 .nav__menu i { display: inline; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .16em; color: var(--terracotta-ink); }
  .o4 .nav.is-open .nav__menu > a { opacity: 1; transform: none; }
  .o4 .nav.is-open .nav__menu > a:nth-child(2) { transition-delay: .05s; }
  .o4 .nav.is-open .nav__menu > a:nth-child(3) { transition-delay: .1s; }
  .o4 .nav.is-open .nav__menu > a:nth-child(4) { transition-delay: .15s; }
  .nav__extra { display: grid; gap: 18px; width: 100%; margin-top: auto; padding-top: 32px; font-family: var(--sans); }
  .nav__extra .btn { justify-content: center; width: 100%; }
  .nav__extra p { display: flex; justify-content: center; gap: 28px; font-size: 15px; }
  .nav__extra p a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--espresso); }
  .nav__extra [data-icon] { width: 20px; height: 20px; display: inline-block; }
  .nav__extra [data-icon] svg { width: 100%; height: 100%; display: block; }
  .o4 .nav.is-open .nav__shop { visibility: hidden; }
  .nav__shop { display: inline-flex; margin-left: 0; padding: 10px 16px 10px 13px; font-size: 14px; gap: 7px; }
  .nav__shop [data-icon] { width: 18px; height: 18px; }
  .nav__shop-long { display: none; }
  .nav__shop-short { display: inline; }
}
@media (max-width: 860px) {
  .closet__head, .story__grid, .impact__grid { grid-template-columns: 1fr; }
  .flip { justify-self: center; }
}
@media (max-width: 760px) {
  .o4 .room__copy { width: auto; }
  .o4 .room__lead { font-size: 15.5px; }
  .o4 .room__copy .btn { padding: 13px 20px; font-size: 14px; }
  .look { padding: 96px 0 64px; }
  .look__mhead { display: block; margin-bottom: 28px; }
  .look__mhead .display { font-size: 50px; margin: 14px 0 14px; }
  .look__mhead .display em { color: var(--terracotta); }
  .look__mhead p:last-child { font-size: 17px; color: rgba(54, 43, 40, .82); }
  .look__intro { display: none; }
  .look__sticky { position: static; height: auto; display: block; }
  .look__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 20px; align-items: flex-start; gap: 18px; scrollbar-width: none; }
  .look__track::-webkit-scrollbar { display: none; }
  .look__end { flex: 0 0 70vw; padding: 40px 6vw 0 0; }
  .look__end p { font-size: 34px; }
  .look__track > * { scroll-snap-align: start; }
        .look__progress { display: none; }
  .shelf__track li { width: 62vw; }
  .lb__prev, .lb__next { top: auto; bottom: 18px; translate: none; }
  .closet__steps { font-size: 17px; }
  .rail { --gw: 46vw; }
  .rail.is-scroll .rail__items { padding-inline: calc(50vw - var(--gw) / 2); scroll-snap-type: x mandatory; cursor: auto; }
  .g { margin-inline: calc(var(--gw) * -.1); scroll-snap-align: center; }
  .rail__bar { left: 0; right: 0; }
  .rail__bar i { display: none; }
  .look__intro p, .impact__note, .social__sub { font-size: 17.5px; }
}
@media (max-width: 560px) {
  .flip { width: 270px; height: 390px; }
  .flip__front b { font-size: 88px; }
  .btn--big { padding: 17px 24px; font-size: 15px; }
}

/* ================================================================
   OPTION 05 — Coba Yuk embedded, frameless lookbook, many-roles story,
   values, wakaf garden. Overrides the Option 04 rules above.
   ================================================================ */

/* ——— Coba Yuk: rail first, a short headline, then the fitting ——— */
.o5 .closet { padding-top: clamp(70px, 8vw, 110px); }
.o5 .rail { --gw: clamp(130px, calc((100vw - 2 * var(--pad)) / 7.1), 232px); padding-bottom: 70px; margin-bottom: 0; }
.o5 .closet__head { display: block; text-align: center; margin: 0 auto clamp(30px, 4vw, 52px); }
.o5 .closet__head .eyebrow { margin-bottom: 12px; }
.o5 .closet__head h2 { font-size: clamp(34px, 3.4vw, 54px); line-height: 1.05; }
.o5 .closet__head h2 em { color: var(--terracotta); }

.cy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(28px, 5vw, 80px); align-items: start; max-width: 1080px; margin: 0 auto; }
.cy__room { position: relative; display: flex; justify-content: center; }
@media (min-width: 861px) and (min-height: 720px) { .cy__room { position: sticky; top: calc(var(--nav-h) + 20px); } }
.cy__stage { --stage-h: clamp(520px, calc(100svh - var(--nav-h) - 80px), 900px); position: relative; width: min(100%, calc(var(--stage-h) * 2 / 3)); aspect-ratio: 2 / 3; overflow: hidden; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, #F8F3EA 0%, #EEE4D4 78%, #E6DAC6 100%); box-shadow: 0 40px 70px -46px rgba(54, 43, 40, .5); cursor: zoom-in; touch-action: pan-y; transition: border-radius .35s var(--ease); }
.cy__stage.is-zoomed { border-radius: 18px; cursor: grab; touch-action: none; }
.cy__stage.is-dragging { cursor: grabbing; }
.cy__view { position: absolute; inset: 0; overflow: hidden; }
.cy__layers { position: absolute; inset: 0; transform-origin: 0 0; }
.cy__layers.is-animating { transition: transform .3s var(--ease); }
.cy__layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.cy__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(249, 246, 240, .92); box-shadow: 0 6px 18px -8px rgba(54, 43, 40, .35); opacity: 0; transition: opacity .3s; }
.cy__stage:hover .cy__zoom, .cy__stage.is-zoomed .cy__zoom, .cy__stage:focus-within .cy__zoom { opacity: 1; }
.cy__zoom button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; font-size: 19px; cursor: pointer; color: var(--espresso); }
.cy__zoom output { min-width: 44px; text-align: center; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cy__hint { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; z-index: 4; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(54, 43, 40, .72); color: var(--ecru); font-size: 12.5px; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.cy__stage:hover .cy__hint { opacity: 0; }
.cy__flag { position: absolute; left: 12px; top: 12px; z-index: 5; margin: 0; padding: 6px 12px; border-radius: 999px; background: #8F2F1E; color: #fff; font-size: 12px; }

.cy__panel { display: grid; gap: 30px; padding-top: clamp(0px, 4vw, 40px); }
.cy__kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta-ink); }
.cy__name { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.05; }
.cy__cname { margin: 0 0 10px; font-size: 14.5px; color: rgba(54, 43, 40, .7); }
.cy__cname b { font-weight: 600; color: var(--espresso); }
.cy__dots { display: flex; flex-wrap: wrap; gap: 9px; }
.cy__dot { position: relative; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(54, 43, 40, .18); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cy__dot::before { content: ''; position: absolute; inset: -6px; }
.cy__dot:hover { transform: scale(1.1); }
.cy__dot[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(54, 43, 40, .18), 0 0 0 3px var(--ecru), 0 0 0 4.5px var(--espresso); }
.cy__buy { margin-top: 20px; }
.cy__group { padding-top: 24px; border-top: 1px solid var(--line); }
.cy__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cy__chip { display: grid; justify-items: center; gap: 6px; width: 78px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--espresso); font: inherit; }
.cy__thumb { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: #EFE6D8; box-shadow: inset 0 0 0 1px rgba(54, 43, 40, .1); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.cy__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cy__chip:hover .cy__thumb { transform: translateY(-2px); }
.cy__chip[aria-checked="true"] .cy__thumb { box-shadow: 0 0 0 3px var(--ecru), 0 0 0 4.5px var(--terracotta-ink); }
.cy__chip-name { font-size: 12px; line-height: 1.25; text-align: center; }
.cy__note { margin: 0; font-size: 13px; color: rgba(54, 43, 40, .62); }

/* ——— Koleksi: frameless lookbook ——— */
.o5 .look__intro { flex-basis: min(470px, 82vw); }
.o5 .look__intro h2 { font-size: clamp(50px, 5.2vw, 92px); margin: 0 0 24px; }
.o5 .look__track { gap: clamp(10px, 2vw, 34px); }
.lk { --d: 0; --near: 0; position: relative; flex: 0 0 auto; width: clamp(300px, 30vw, 470px); }
.lk.is-low { margin-top: 12vh; }
.lk__photo { display: block; width: 100%; height: min(66vh, 620px); padding: 0; border: 0; background: none; cursor: zoom-in;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 80%, transparent 100%); mask-composite: intersect;
  transform: scale(calc(.94 + var(--near) * .06)); opacity: calc(.7 + var(--near) * .3); transition: transform .2s linear, opacity .2s linear; }
.lk__photo img { width: 100%; height: 100%; object-fit: cover; transform: translateX(calc(var(--d) * -26px)) scale(1.08); transition: transform 1.2s var(--ease); }
.lk__photo:hover img { transform: translateX(calc(var(--d) * -26px)) scale(1.12); }
.lk__garment { position: absolute; right: -6%; bottom: 13%; width: 38%; pointer-events: none; filter: drop-shadow(0 20px 18px rgba(54, 43, 40, .2)); transform: translate(calc(var(--d) * 60px), calc(var(--d) * 10px)) rotate(calc(4deg + var(--d) * 4deg)); opacity: calc(.4 + var(--near) * .6); animation: lk-bob 6s ease-in-out infinite alternate; }
.lk:nth-child(odd) .lk__garment { right: auto; left: -8%; transform: translate(calc(var(--d) * 60px), calc(var(--d) * 10px)) rotate(calc(-4deg + var(--d) * 4deg)); animation-delay: -3s; }
@keyframes lk-bob { from { translate: 0 -6px; } to { translate: 0 8px; } }
.lk__cap { display: flex; gap: 16px; margin-top: -6px; padding: 0 12% 0 14%; }
.lk__no { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--terracotta); }
.lk__line { margin: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.lk__cap h3 { margin: 4px 0 8px; font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.1; }
.lk__cap .link { font-size: 15.5px; }

/* ——— Cerita: four role panels on one screen (accordion) ——— */
.o5 .story { position: relative; height: auto; padding: clamp(80px, 8vw, 120px) 0; background: linear-gradient(180deg, var(--ecru) 0%, #F3E8D8 30%, #F3E8D8 80%, var(--ecru) 100%); color: var(--espresso); }
.story__head { text-align: center; margin-bottom: clamp(28px, 3.4vw, 48px); }
.story .eyebrow { color: var(--terracotta-ink); }
.story__head h2 { font-size: clamp(44px, 4.6vw, 80px); margin: 14px 0 16px; }
.story__head h2 em { color: var(--terracotta); }
.story__lead { margin: 0 auto; max-width: 40ch; font-size: 19px; line-height: 1.55; color: rgba(54, 43, 40, .78); }
.roles { display: flex; gap: clamp(10px, 1.2vw, 18px); height: min(58vh, 600px); }
.rp { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 999px 999px 26px 26px; background: #E9DCC8; cursor: pointer; text-align: left; font: inherit; color: var(--cream); transition: flex-grow .9s var(--ease); }
.rp.is-on { flex-grow: 3.1; }
.rp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(.85) brightness(.96); transition: transform 1.4s var(--ease), filter .9s var(--ease); }
.rp.is-on img { transform: scale(1); filter: none; }
.rp::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(54, 43, 40, 0), rgba(54, 43, 40, .62)); pointer-events: none; }
.rp__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 4px; padding: 0 clamp(18px, 2vw, 34px) clamp(20px, 2.4vw, 34px); }
.rp__text small { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.rp__text b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 2.8vw, 48px); line-height: 1; white-space: nowrap; }
.rp__line { max-width: 30ch; max-height: 0; overflow: hidden; font-size: 16.5px; line-height: 1.5; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), max-height .6s var(--ease); }
.rp.is-on .rp__line { max-height: 5em; opacity: 1; transform: none; transition-delay: .35s, .35s, 0s; }
.rp:not(.is-on) .rp__text { padding-inline: 12px; justify-items: center; text-align: center; }
.rp:not(.is-on) .rp__text b { font-size: clamp(22px, 1.8vw, 30px); }
.rp:not(.is-on) .rp__text small { font-size: 11px; letter-spacing: .1em; }
.rp:focus-visible { outline: 2px solid var(--terracotta-ink); outline-offset: 4px; }
@media (max-width: 760px) {
  .roles { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 11vw; width: 100%; margin: 0; gap: 12px; }
  .roles::-webkit-scrollbar { display: none; }
  .rp { flex: 0 0 78vw; height: 112vw; scroll-snap-align: center; }
  .rp.is-on { flex-grow: 0; }
  .rp .rp__line { max-height: 5em; opacity: 1; transform: none; }
  .rp:not(.is-on) .rp__text { padding-inline: clamp(18px, 2vw, 34px); justify-items: start; text-align: left; }
  .rp:not(.is-on) .rp__text b { font-size: 34px; }
}

/* ——— Berbagi: dark, the garden blooms along the bottom ——— */
.o5 .impact { position: relative; overflow: hidden; padding: clamp(100px, 11vw, 150px) 0 0; background: radial-gradient(120% 70% at 50% 100%, #4A3A33 0%, var(--espresso) 60%); color: var(--cream); border: 0; }
.o5 .impact .eyebrow { color: var(--clay); }
.o5 .impact h2 { font-size: clamp(52px, 5.8vw, 104px); }
.o5 .impact h2 em { color: var(--clay); }
.o5 .impact__note { color: rgba(245, 232, 206, .84); max-width: 40ch; }
.o5 .flip__back { background: var(--cream); }
.garden { position: relative; margin-top: clamp(10px, 3vw, 40px); height: clamp(220px, 23vw, 340px); }
.garden__svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; overflow: visible; }
.garden__ground { fill: #2C2320; }
.fl { cursor: pointer; }
.fl__stem { fill: none; stroke: #7E8E78; stroke-width: 3; stroke-linecap: round; }
.fl__leaf { fill: #8A9A86; opacity: .9; }
.fl .pt { transform-box: fill-box; transform-origin: 50% 100%; transform: rotate(var(--r)) scale(.1); transition: transform 1.1s cubic-bezier(.2, 1.35, .35, 1) calc(var(--k) * 55ms); }
.fl.is-open .pt { transform: rotate(var(--r)) scale(1); }
.fl__bud { fill: #A9B79F; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease), opacity .5s; }
.fl.is-open .fl__bud { transform: scale(.2); opacity: 0; }
.fl__core { fill: #E4B565; transform-box: fill-box; transform-origin: 50% 50%; transform: scale(.4); transition: transform .8s var(--ease) .25s; }
.fl.is-open .fl__core { transform: scale(1); }
.fl__glow { fill: url(#flglow); opacity: 0; transition: opacity 1s var(--ease); }
.fl.is-open .fl__glow { opacity: .45; }
.fl.is-glow .fl__glow { opacity: 1; }
.fl.is-glow .fl__core { fill: #F3CD7E; }
.pollen--rise { width: 5px; height: 5px; background: #F6D896; box-shadow: 0 0 10px 3px rgba(246, 216, 150, .5); }
.garden__bf { position: absolute; left: 0; top: 0; z-index: 3; width: 42px; margin: -16px 0 0 -21px; color: var(--cream); pointer-events: none; will-change: transform; filter: drop-shadow(0 0 10px rgba(228, 181, 101, .45)); }
.garden__bf svg { display: block; width: 100%; height: auto; transform: rotate(var(--tilt, 0deg)); animation: bf-flap 1.1s ease-in-out infinite; transform-origin: 50% 50%; }
.garden__bf.is-flying svg { animation-duration: .24s; }
@keyframes bf-flap { 0%, 100% { scale: 1 1; } 50% { scale: .32 1; } }
.pollen { position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: #F0C97A; box-shadow: 0 0 8px 2px rgba(240, 201, 122, .55); pointer-events: none; }

/* ——— shelf: clean garments, no boxes ——— */
.shelf__img.is-cut { background: none; border-radius: 0; overflow: visible; display: flex; align-items: flex-start; justify-content: center; }
.shelf__img.is-cut img { width: 92%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(54, 43, 40, .16)); }
.shelf__item:hover .shelf__img.is-cut img { transform: translateY(-6px) rotate(-1.5deg); }

/* ——— social ——— */
.o5 .social__head h2 { max-width: none; }
.social__em { color: var(--terracotta); font-style: italic; }
.social__links { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 26px 0 0; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.social__links::before, .social__links::after { content: ''; width: 56px; height: 1px; background: rgba(181, 91, 50, .5); }
.o5 .social__links .social__link { font-style: normal; font-family: var(--sans); font-size: 15px; letter-spacing: .16em; }
.o5 .social__links .social__link + .social__link::before { content: '&'; margin: 0 14px 0 -4px; color: rgba(54, 43, 40, .5); }

@media (max-width: 860px) {
  .cy { grid-template-columns: 1fr; }
  .cy__stage { --stage-h: min(78vh, 640px); }
}
@media (max-width: 760px) {
  .o5 .rail { --gw: 52vw; }
  .o5 .rail:not(.is-in) .g { transform: translateY(40px); } /* scroll-snap would chase a sideways entrance */
  .o5 .closet__head h2 { font-size: 34px; }
  .cy__chip { width: 70px; }
  .cy__thumb { width: 58px; height: 58px; }
  .o5 .look__mhead .display { font-size: 46px; }
  .lk { width: 78vw; }
  .lk.is-low { margin-top: 0; }
  .lk__photo { height: 96vw; transform: none; opacity: 1; }
  .lk__garment { width: 34%; opacity: 1; }
  .garden { height: 240px; }
  .social__links::before, .social__links::after { width: 28px; }
}

.o5 .shop__lead { max-width: 46ch; margin: 22px 0 0; font-size: 19px; line-height: 1.6; color: rgba(54, 43, 40, .8); }

/* ================================================================
   COBA YUK v2 — the fitting room: model in the middle (photo edges melt into the room),
   garments orbit beside her, the bar under her holds colours, hijab and bottoms.
   ================================================================ */
.o5 .closet { padding: clamp(70px, 8vw, 110px) 0 clamp(50px, 6vw, 90px); background: linear-gradient(180deg, var(--ecru) 0%, #ECE4D9 26%, #E7DED2 100%); }
.o5 .closet__head { margin-bottom: 0; position: relative; z-index: 2; }
.o5 .closet__head h2 { font-size: clamp(34px, 3.4vw, 54px); }
.room5 { position: relative; overflow: hidden; padding: 6px 0 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.room5.is-dragging { cursor: grabbing; }
.room5::before { content: ''; position: absolute; left: 50%; top: 2%; width: min(1100px, 120vw); aspect-ratio: 1.6; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(248, 243, 236, .85), rgba(248, 243, 236, 0)); pointer-events: none; }
.room5::after { content: ''; position: absolute; left: 50%; bottom: 118px; width: min(760px, 90vw); height: 70px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 96, 80, .16), transparent); pointer-events: none; }
.room5__word { position: absolute; left: 0; right: 0; top: 4%; margin: 0; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(120px, 21vw, 360px); line-height: 1; letter-spacing: -.02em; color: rgba(255, 255, 255, .55); pointer-events: none; white-space: nowrap; }

/* the model: no frame, the studio photo fades into the room */
.o5 .cy { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 0; max-width: none; margin: 0; }
.o5 .cy__room { position: relative; top: auto; z-index: 10; }
.o5 .cy__stage { --stage-h: clamp(520px, 74vh, 820px); width: calc(var(--stage-h) * 2 / 3); border-radius: 0; box-shadow: none; background: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 84%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 84%, transparent 100%); mask-composite: intersect; }
.o5 .cy__stage.is-zoomed { -webkit-mask-image: none; mask-image: none; border-radius: 22px; box-shadow: 0 30px 60px -40px rgba(54, 43, 40, .5); }
.o5 .cy__zoom { display: none; }
.o5 .cy__hint { bottom: 20%; background: rgba(54, 43, 40, .55); }
.o5 .cy__stage::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 250, 240, .55) 50%, transparent 70%); transform: translateX(-120%); }
.o5 .cy__stage.is-swap::after { animation: cy-sweep .9s var(--ease); }
@keyframes cy-sweep { to { transform: translateX(120%); } }

/* the orbit */
.orbit { position: absolute; inset: 0; z-index: 12; pointer-events: none; outline: none; }
.ob { --g: clamp(150px, 13.5vw, 240px); position: absolute; left: 0; top: 0; width: var(--g); padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transform-origin: 50% 0; will-change: transform, opacity; color: var(--espresso); font: inherit; -webkit-tap-highlight-color: transparent; }
.room5.is-waiting .ob { opacity: 0 !important; }
.room5.is-in .ob { transition: opacity .9s var(--ease); }
.ob__float { display: block; animation: ob-float 5.5s ease-in-out infinite alternate; }
.ob:nth-child(2n) .ob__float { animation-delay: -2.2s; }
.ob:nth-child(3n) .ob__float { animation-duration: 6.4s; }
@keyframes ob-float { from { transform: translateY(-5px) rotate(-.8deg); } to { transform: translateY(6px) rotate(.8deg); } }
.ob__hook { display: block; width: 26px; height: 42px; margin: 0 auto -14px; color: #A88551; }
.ob__img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 22px 18px rgba(54, 43, 40, .16)); transition: transform .5s var(--ease); }
.ob:hover .ob__img { transform: translateY(-6px) scale(1.03); }
.ob__name { display: grid; gap: 1px; margin-top: 12px; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ob__name b { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; }
.ob__name small { font-size: 12.5px; color: rgba(54, 43, 40, .62); }
.ob.is-near .ob__name { opacity: 1; transform: none; }
.ob:focus-visible { outline: none; }
.ob:focus-visible .ob__hook { color: var(--terracotta-ink); }
.orbit__nav { position: absolute; z-index: 14; top: 40%; width: 54px; height: 54px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; background: rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--espresso); cursor: pointer; box-shadow: 0 10px 24px -14px rgba(54, 43, 40, .5); transition: transform .3s var(--ease), background .3s; }
.orbit__nav svg { width: 22px; height: 22px; }
.orbit__nav:hover { background: rgba(255, 255, 255, .85); transform: scale(1.06); }
.orbit__nav--prev { left: max(16px, calc(var(--pad) - 10px)); }
.orbit__nav--next { right: max(16px, calc(var(--pad) - 10px)); }

/* the glass bar under the model */
.o5 .cy__bar { position: relative; z-index: 20; display: flex; align-items: stretch; gap: 0; margin-top: -84px; padding: 14px 18px; max-width: calc(100vw - 2 * var(--pad)); border: 1px solid rgba(255, 255, 255, .75); border-radius: 24px; background: rgba(255, 252, 247, .62); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15); box-shadow: 0 24px 50px -30px rgba(54, 43, 40, .45); }
.o5 .cy__now { display: grid; grid-template-columns: 56px auto auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 8px; align-items: center; padding-right: 20px; }
.o5 .cy__nowimg { grid-row: 1 / 3; width: 56px; height: 66px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(54, 43, 40, .15)); }
.o5 .cy__nowtext { display: grid; }
.o5 .cy__kicker { margin: 0 0 4px; font-size: 11px; letter-spacing: .18em; }
.o5 .cy__name { margin: 0; font-size: 23px; white-space: nowrap; }
.o5 .cy__now .cy__colors { grid-column: 2; display: flex; align-items: center; gap: 10px; }
.o5 .cy__now .cy__cname { order: 2; margin: 0; font-size: 12.5px; white-space: nowrap; }
.o5 .cy__now .cy__cname { font-size: 0; }
.o5 .cy__now .cy__cname { width: 90px; }
.o5 .cy__now .cy__cname b { font-size: 13px; }
.o5 .cy__buy { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0 0 0 8px; padding: 12px 18px; font-size: 14px; }
.o5 .cy__dots { gap: 7px; }
.o5 .cy__dot { width: 24px; height: 24px; }
.o5 .cy__dot::before { inset: -3px; }
.o5 .cy__dot:hover { transform: none; }
.o5 .cy__dot[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(54, 43, 40, .18), 0 0 0 2px #FFFCF7, 0 0 0 3.5px var(--espresso); }
.o5 .cy__more { display: flex; gap: 22px; padding-left: 20px; border-left: 1px solid rgba(54, 43, 40, .12); }
.o5 .cy__group { display: grid; align-content: start; gap: 8px; padding: 0; border: 0; }
.o5 .cy__group .cy__kicker { margin: 0; }
.o5 .cy__chips { gap: 8px; margin: 0; flex-wrap: nowrap; }
.o5 .cy__chip { width: auto; }
.o5 .cy__thumb { width: 44px; height: 44px; }
.o5 .cy__chip-name { display: none; }
.o5 .cy__group .cy__colors { display: grid; gap: 6px; }
.o5 .cy__group .cy__cname { margin: 0; font-size: 12px; }
.o5 .cy__group .cy__dots { max-width: 270px; }
.o5 .cy__group .cy__dot { width: 20px; height: 20px; }
.o5 .cy__note { margin: 16px 0 0; text-align: center; font-size: 12.5px; }
.cy__shop { align-self: center; margin-left: 20px; white-space: nowrap; }

@media (max-width: 1100px) {
  .o5 .cy__bar { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .o5 .cy__more { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .room5__word { top: 2%; font-size: 30vw; }
  .o5 .cy__stage { --stage-h: min(118vw, 66vh); }
  .ob { --g: 40vw; }
  .ob__name b { font-size: 17px; }
  .orbit__nav { top: 36%; width: 44px; height: 44px; }
  .o5 .cy__bar { margin-top: -40px; flex-direction: column; align-items: stretch; padding: 14px; width: calc(100vw - 2 * var(--pad)); border-radius: 20px; }
  .o5 .cy__now { padding: 0; grid-template-columns: 56px 1fr; }
  .o5 .cy__now .cy__colors { flex-wrap: wrap; row-gap: 8px; }
  .o5 .cy__buy { grid-column: 1 / -1; grid-row: 3; justify-self: stretch; justify-content: center; margin: 6px 0 0; }
  .o5 .cy__more { flex-direction: column; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(54, 43, 40, .12); }
  .o5 .cy__group .cy__dots { max-width: none; }
  .room5::after { bottom: 330px; }
}

/* ——— wakaf hangtag v2: arched top (the HARIAKU arch), pinked bottom edge, stitched inside, hung on a cord ——— */
.o5 .impact__grid { align-items: start; }
.o5 .impact__copy { padding-top: clamp(40px, 6vw, 90px); }
.htag { position: relative; width: 320px; transform-origin: 50% -240px; }
.htag.is-in { animation: htag-in 2.6s var(--ease) both; }
@keyframes htag-in { 0% { rotate: 5deg; } 30% { rotate: -2.6deg; } 55% { rotate: 1.2deg; } 78% { rotate: -.4deg; } 100% { rotate: 0deg; } }
.htag__string { position: absolute; left: 50%; bottom: calc(100% - 52px); width: 2px; height: 300px; margin-left: -1px; background: linear-gradient(180deg, rgba(227, 180, 154, .15), #D9B48C 60%, #CFA77C); border-radius: 2px; }
.htag__body { position: relative; display: grid; justify-items: center; align-content: start; height: 452px; padding: 104px 28px 0; color: var(--cream); text-align: center; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.htag__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.htag__fill { fill: url(#htagfill); }
.htag__stitch { fill: none; stroke: rgba(245, 232, 206, .42); stroke-width: 1.3; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.htag__hole { position: absolute; left: 50%; top: 40px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #3A2E2A; box-shadow: 0 0 0 4px #D7A27C, inset 0 2px 3px rgba(0, 0, 0, .5); }
.htag__mark { position: relative; width: 62px; margin-bottom: 18px; transition: opacity .5s var(--ease), filter .5s var(--ease); }
.htag__mark svg { display: block; width: 100%; height: auto; }
.htag:hover .htag__mark { filter: drop-shadow(0 0 12px rgba(246, 216, 150, .8)); }
.htag.is-away .htag__mark { opacity: .18; }
.htag__body b { position: relative; font-family: var(--serif); font-weight: 500; font-size: 104px; line-height: .9; letter-spacing: -.02em; }
.htag__txt { position: relative; margin-top: 14px; font-size: 17px; line-height: 1.45; }
.htag__body i { position: relative; margin-top: 16px; font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.garden__bf { opacity: 0; transition: opacity .35s var(--ease); }
.garden__bf.is-out { opacity: 1; }
@media (max-width: 860px) {
  .htag { justify-self: center; margin-top: 70px; transform-origin: 50% -48px; }
  .htag__string { height: 100px; }
}
@media (max-width: 560px) { .htag { width: 270px; } .htag__body { height: 384px; padding-top: 86px; } .htag__body b { font-size: 84px; } .htag__mark { width: 52px; } }

/* one butterfly at a time: the page butterfly steps aside while the wakaf garden is on screen */
.hk-fly { transition: opacity .4s var(--ease); }

/* ================================================================
   ROUND 6 — wardrobe, close view, HARIAKU watermark, no zoom, tighter footer with flowers
   ================================================================ */
.o5 .cy__stage { cursor: default; }
.room5__word { font-style: normal; font-weight: 500; letter-spacing: .06em; font-size: clamp(110px, 17vw, 290px); top: 8%; color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .room5__word { font-size: 22vw; top: 4%; } }

/* ——— the wardrobe: warm oak case, 3 × 3 cubbies, each with a brass rod and one garment ——— */
.o5 .shop { padding-bottom: clamp(60px, 7vw, 100px); background: linear-gradient(180deg, var(--ecru) 0%, #EFE7DC 55%, #E7DDD0 100%); }
.o5 .shop__head { text-align: center; }
.o5 .shop__head h2 { font-size: clamp(40px, 4.4vw, 76px); }
.o5 .shop__lead { margin: 16px auto 0; max-width: 40ch; font-size: 18px; }
.wardrobe { position: relative; display: flex; justify-content: center; padding: 0 var(--pad); }
.wardrobe::after { content: ''; position: absolute; left: 50%; bottom: -26px; width: min(980px, 96vw); height: 60px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(84, 62, 46, .22), transparent); pointer-events: none; }
.wardrobe__case { position: relative; z-index: 1; width: min(900px, 100%); padding: clamp(10px, 1.4vw, 18px); border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, #D9B98F, #C9A271 60%, #B98F5E); box-shadow: inset 0 1px 0 rgba(255, 240, 215, .7), inset 0 -2px 0 rgba(90, 60, 30, .25), 0 40px 60px -36px rgba(70, 48, 30, .55); }
.wardrobe__case::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(92deg, rgba(255, 245, 225, .07) 0 3px, transparent 3px 11px), repeating-linear-gradient(88deg, rgba(120, 80, 40, .05) 0 2px, transparent 2px 17px); pointer-events: none; }
.wardrobe__grid { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.1vw, 14px); }
.cub { aspect-ratio: .74; opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) calc(var(--i) * 70ms), transform .8s var(--ease) calc(var(--i) * 70ms); }
.wardrobe.is-in .cub { opacity: 1; transform: none; }
.cub__btn { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; border-radius: 4px; cursor: pointer; font: inherit; color: var(--espresso);
  background: linear-gradient(180deg, #F4EBDD 0%, #EFE3D2 100%); box-shadow: inset 0 12px 18px -10px rgba(90, 60, 30, .35), inset 10px 0 14px -12px rgba(90, 60, 30, .3), inset -10px 0 14px -12px rgba(90, 60, 30, .3); }
.cub__btn::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 30%, rgba(255, 250, 238, .7), transparent 70%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.cub__btn:hover::after, .cub__btn:focus-visible::after { opacity: 1; }
.cub__rod { position: absolute; left: 7%; right: 7%; top: 9%; height: 4px; border-radius: 4px; background: linear-gradient(180deg, #E6CE9C, var(--gold) 55%, #7F6134); box-shadow: 0 2px 3px rgba(54, 43, 40, .2); }
.cub__hang { position: absolute; left: 50%; top: calc(9% - 4px); width: 80%; translate: -50% 0; transform-origin: 50% 0; transition: transform .6s var(--ease); }
.cub__hook { display: block; width: 18%; max-width: 26px; height: auto; aspect-ratio: 34 / 56; margin: 0 auto -6%; color: #A88551; }
.cub__img { display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 12px 10px rgba(54, 43, 40, .18)); transition: opacity .3s; }
.cub__btn:hover .cub__hang { transform: translateY(-4px) rotate(-1.5deg); }
.cub__btn.is-out .cub__img { opacity: 0; }
.cub__label { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 1px; padding: 26px 8px 10px; text-align: center; background: linear-gradient(180deg, rgba(244, 235, 221, 0), rgba(244, 235, 221, .96) 45%); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cub__label b { font-family: var(--serif); font-weight: 500; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.1; }
.cub__label small { font-size: 12px; color: rgba(54, 43, 40, .62); }
.cub__btn:hover .cub__label, .cub__btn:focus-visible .cub__label { opacity: 1; transform: none; }
.cub__btn:focus-visible { outline: 2px solid var(--terracotta-ink); outline-offset: 2px; }
@media (hover: none) { .cub__label { opacity: 1; transform: none; padding-top: 18px; } }
@media (max-width: 760px) { .wardrobe { padding: 0 12px; } .cub__label b { font-size: 13px; } .cub__label small { display: none; } .cub__label { padding: 14px 4px 6px; } }

/* ——— close view ——— */
.pv[hidden] { display: none; }
.pv { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.pv__scrim { position: absolute; inset: 0; background: rgba(54, 43, 40, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .38s var(--ease); }
.pv.is-open .pv__scrim { opacity: 1; }
.pv__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; gap: clamp(20px, 4vw, 56px); width: min(1000px, 100%); max-height: calc(100svh - 40px); padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: linear-gradient(180deg, #FBF7F1, #F1E8DC); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .38s var(--ease), transform .38s var(--ease); }
.pv.is-open .pv__card { opacity: 1; transform: none; }
.pv__stage { display: flex; justify-content: center; align-items: center; min-height: 0; }
.pv__img { display: block; width: auto; max-width: 100%; max-height: min(66svh, 620px); filter: drop-shadow(0 26px 22px rgba(54, 43, 40, .2)); transform-origin: 0 0; }
.pv__cat { margin: 0 0 8px; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta-ink); }
.pv__name { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.pv__mat { margin: 0 0 22px; font-size: 16px; color: rgba(54, 43, 40, .72); }
.pv__cname { margin: 0 0 10px; font-size: 14px; color: rgba(54, 43, 40, .7); }
.pv__cname b { color: var(--espresso); font-weight: 600; }
.pv__dots { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.pv__try { font-size: 15px; color: var(--terracotta-ink); text-underline-offset: 4px; }
.pv__btn { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); color: var(--espresso); font-size: 17px; cursor: pointer; }
.pv__btn:hover { background: #fff; }
.pv__close { top: 16px; right: 16px; }
.pv__prev { left: 16px; top: 50%; translate: 0 -50%; }
.pv__next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 760px) {
  .pv__card { grid-template-columns: 1fr; gap: 14px; padding: 56px 20px 24px; overflow-y: auto; }
  .pv__img { max-height: 42svh; }
  .pv__prev, .pv__next { top: 30%; }
  .pv__dots { margin-bottom: 20px; }
}

/* ——— social → footer: no empty gap; the butterfly sits right under the links ——— */
.o5 .social { padding-bottom: calc(min(320px, 70vw) * .713 * 299 / 405 / 2 + 28px); }


/* the whole wardrobe on one screen */
.wardrobe__case { width: min(820px, 100%, calc((100svh - 170px) * .8)); }
.cub { aspect-ratio: .8; }
.cub__hang { width: 66%; }
.o5 .shop__head { margin-bottom: clamp(28px, 3vw, 44px); }

/* Coba Yuk: the model is seen whole, head to shoes; the bar sits under her, not over her */
.o5 .closet { padding-top: clamp(56px, 6vw, 84px); }
.o5 .closet__head h2 { display: none; }
.o5 .closet__head .eyebrow { margin: 0; }
.o5 .cy__stage { --stage-h: clamp(480px, calc(100svh - var(--nav-h) - 190px), 860px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.o5 .cy__bar { margin-top: 4px; }
.room5::after { bottom: 150px; }
@media (max-width: 760px) {
  .o5 .cy__stage { --stage-h: min(130vw, calc(100svh - var(--nav-h) - 60px)); }
  .o5 .cy__bar { margin-top: 0; }
}
@media (min-width: 1000px) {
  .o5 .shop { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "head ward" "cta ward"; align-content: center; column-gap: clamp(30px, 4vw, 70px); padding: clamp(60px, 6vw, 90px) var(--pad); min-height: 100svh; box-sizing: border-box; }
  .o5 .shop__head { grid-area: head; align-self: end; width: auto; margin: 0 0 30px; text-align: left; }
  .o5 .shop__lead { margin-left: 0; }
  .o5 .shop__cta { grid-area: cta; align-self: start; justify-content: flex-start; width: auto; margin: 0; }
  .o5 .wardrobe { grid-area: ward; padding: 0; }
  .wardrobe__case { width: min(720px, 100%, calc((100svh - 140px) * .8)); }
}

/* ——— round 7: tidy type, balanced wakaf, big social icons ——— */
.o5 p { text-wrap: pretty; }
.o5 h2, .o5 .shop__lead, .o5 .story__lead, .o5 .social__sub { text-wrap: balance; }

/* wakaf: two-line headline, short note, equal breathing room above and below */
.o5 .impact { padding-top: clamp(90px, 9vw, 130px); }
.o5 .impact__grid { align-items: center; }
.o5 .impact__copy { padding-top: 0; }
.o5 .impact h2 { font-size: clamp(48px, 4.8vw, 86px); margin: 0 0 28px; }
.o5 .impact__note { margin: 0; max-width: 34ch; font-size: 20px; line-height: 1.55; }
.o5 .impact__note--soft { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.4; color: rgba(227, 180, 154, .9); }
.o5 .garden { margin-top: clamp(50px, 6vw, 90px); }
@media (min-width: 861px) { .o5 .impact h2 .ln > span { white-space: nowrap; } }


.o5 .impact__note--soft { max-width: 42ch; }
.closet__perch { display: inline-block; }

/* ================================================================
   ROUND 8
   ================================================================ */
/* social links: the logo pops out large to the left of its link */
.o5 .social__links { gap: 0; margin-top: 30px; }
.o5 .social__links::before, .o5 .social__links::after { width: 56px; }
.o5 .social__links .social__link { margin: 0 6px; }
.o5 .social__links .social__link + .social__link::before { content: none; }
.social__amp { margin: 0 64px 0 22px; color: rgba(54, 43, 40, .45); letter-spacing: 0; }
.o5 .social__links .social__link:first-of-type { margin-left: 66px; }
.o5 .social__link .social__pop { position: absolute; right: calc(100% + 12px); top: 50%; width: 54px; height: 54px; margin: -27px 0 0; padding: 13px; box-sizing: border-box; border-radius: 50%; background: var(--terracotta-ink); color: var(--cream); box-shadow: 0 16px 28px -14px rgba(154, 72, 38, .8); opacity: 0; transform: translateX(14px) scale(.3) rotate(-20deg); transition: opacity .35s var(--ease), transform .55s cubic-bezier(.2, 1.4, .35, 1); }
.o5 .social__link .social__pop svg { width: 100%; height: 100%; }
.o5 .social__link:hover .social__pop, .o5 .social__link:focus-visible .social__pop { opacity: 1; transform: none; }
@media (hover: none) { .o5 .social__link .social__pop { opacity: 1; transform: scale(.72); } }

/* wardrobe: every colour hangs in the same cubby */
.cub { aspect-ratio: .8; }
.cub__box { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 4px; background: linear-gradient(180deg, #F4EBDD 0%, #EFE3D2 100%); box-shadow: inset 0 12px 18px -10px rgba(90, 60, 30, .35), inset 10px 0 14px -12px rgba(90, 60, 30, .3), inset -10px 0 14px -12px rgba(90, 60, 30, .3); }
.cub__box::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 30%, rgba(255, 250, 238, .7), transparent 70%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.cub__box:hover::after { opacity: 1; }
.cg { --x: 0px; --lift: 0px; position: absolute; left: 50%; top: calc(9% - 4px); width: 52%; margin-left: -26%; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(var(--x), var(--lift)); transition: transform .55s var(--ease); -webkit-tap-highlight-color: transparent; }
.cg__swing { display: block; transform-origin: 50% 0; transform: rotate(var(--sw, 0deg)); }
.cg__hook { display: block; width: 20%; max-width: 24px; height: auto; aspect-ratio: 34 / 56; margin: 0 auto -6%; color: #A88551; }
.cg__img { display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(-6px 10px 10px rgba(54, 43, 40, .2)); transition: opacity .3s, filter .4s; }
.cg.is-hot .cg__img { filter: drop-shadow(0 16px 14px rgba(54, 43, 40, .28)); }
.cg.is-out .cg__img { opacity: 0; }
.cg:focus-visible { outline: none; }
.cg:focus-visible .cg__hook { color: var(--terracotta-ink); }
.cub__box .cub__label { pointer-events: none; }
.cub__box:hover .cub__label { opacity: 1; transform: none; }
@media (max-width: 760px) { .cg { width: 54%; margin-left: -27%; } }

/* wakaf tag reacts to the cursor */
.htag { transform: rotate(var(--sw, 0deg)); }
.htag__body { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.htag__sheen { fill: url(#htagsheen); opacity: 0; transition: opacity .4s var(--ease); }
.htag.is-lit .htag__sheen { opacity: 1; }

/* footer flowers: one box exactly on the butterfly */
.foot__bloom { position: absolute; left: 49%; bottom: 100%; width: 71.3%; height: auto; aspect-ratio: 405 / 299; margin-bottom: 12.1%; translate: -50% 0; pointer-events: none; }
/* option "garis": monoline botanicals in the logo's own terracotta line */
.fb-side { position: absolute; bottom: -34%; width: 118%; }
.fb-side--l { right: 64%; }
.fb-side--r { left: 64%; transform: scaleX(-1); }
.fb-line { display: block; width: 100%; height: auto; overflow: visible; stroke: #A9512B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fb-line [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.fb-line .fb-leaf { fill: rgba(138, 154, 134, .0); transition: stroke-dashoffset 1.6s var(--ease) .5s, fill 1s var(--ease) 1.6s; }
.fb-line .fb-flower, .fb-line .fb-flower * { transition-delay: .9s; fill: rgba(227, 180, 154, 0); }
.fb-dots circle { fill: #C9714A; stroke: none; opacity: 0; transition: opacity .8s var(--ease) 2s; }
.foot__bloom.is-open .fb-line [pathLength] { stroke-dashoffset: 0; }
.foot__bloom.is-open .fb-line .fb-leaf { fill: rgba(138, 154, 134, .28); }
.foot__bloom.is-open .fb-line .fb-flower, .foot__bloom.is-open .fb-line .fb-flower * { fill: rgba(227, 180, 154, .45); transition: stroke-dashoffset 1.8s var(--ease) .9s, fill 1s var(--ease) 2.2s; }
.foot__bloom.is-open .fb-dots circle { opacity: .7; }
/* option "rangkai": a wreath of leaves under the butterfly */
.fb-wreath { position: absolute; left: 50%; top: 50%; width: 168%; translate: -50% -43%; overflow: visible; }
.fr-arc { fill: none; stroke: #8A9A86; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.fr-leaf { fill: #9AAA94; opacity: 0; transition: opacity .7s var(--ease) calc(.4s + var(--d)); }
.fr-bl { transform-box: fill-box; transform-origin: 50% 50%; scale: 0; transition: scale 1s cubic-bezier(.2, 1.35, .35, 1) 1.4s; }
.foot__bloom.is-open .fr-arc { stroke-dashoffset: 0; }
.foot__bloom.is-open .fr-leaf { opacity: .9; }
.foot__bloom.is-open .fr-bl { scale: 1; }
/* option "kelopak": petals drifting around the butterfly */
.fp { position: absolute; width: calc(16px * var(--s)); height: calc(24px * var(--s)); border-radius: 80% 0 80% 0; background: var(--c); opacity: 0; rotate: var(--r); animation: fp-drift var(--t) ease-in-out var(--dl) infinite alternate; transition: opacity 1.2s var(--ease); }
.foot__bloom.is-open .fp { opacity: .85; }
@keyframes fp-drift { from { transform: translate(-10px, -8px) rotate(-14deg); } to { transform: translate(12px, 10px) rotate(18deg); } }

/* round 8 tweaks */
.cub { aspect-ratio: 1; }
.wardrobe__case { width: min(780px, 100%, calc(100svh - 150px)); }
.cg { width: 56%; margin-left: -28%; top: calc(8% - 4px); }
.cub__rod { top: 8%; }
.fb-side { bottom: -14%; width: 92%; }
.fb-side--l { right: 88%; }
.fb-side--r { left: 88%; }
.fb-wreath { width: 175%; translate: -50% -55%; }
.foot__bloom[data-v="kelopak"] .fp { opacity: 0; }
.foot__bloom[data-v="kelopak"].is-open .fp { opacity: .9; }
@media (max-width: 760px) { .cg { width: 58%; margin-left: -29%; } .fb-side { width: 70%; } }
.cg { width: 52%; margin-left: -26%; }
@media (max-width: 760px) { .cg { width: 54%; margin-left: -27%; } }

/* round 9 */
/* social links: the same room on both sides of each link, so the row is symmetric */
.o5 .social__links .social__link, .o5 .social__links .social__link:first-of-type { margin: 0 62px; }
.social__amp { margin: 0; }
/* wakaf: tighter top and a shorter gap to the garden */
.o5 .impact { padding-top: clamp(60px, 6vw, 92px); }
.o5 .garden { margin-top: clamp(0px, 1.5vw, 24px); height: clamp(200px, 20vw, 300px); }

/* round 10: a tight row — line · INSTAGRAM & TIKTOK · line; the logo pops out on the outside of its link */
.o5 .social__links { gap: 18px; }
.o5 .social__links::before, .o5 .social__links::after { width: 44px; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.o5 .social__links .social__link, .o5 .social__links .social__link:first-of-type { margin: 0; }
.social__amp { margin: 0 -4px; }
.o5 .social__link--tt .social__pop { right: auto; left: calc(100% + 12px); transform: translateX(-14px) scale(.3) rotate(20deg); }
.o5 .social__link--tt:hover .social__pop, .o5 .social__link--tt:focus-visible .social__pop { transform: none; }
/* the line on that side steps aside so the logo has room */
.o5 .social__links:has(.social__link--ig:hover)::before, .o5 .social__links:has(.social__link--ig:focus-visible)::before { opacity: 0; transform: translateX(-20px); }
.o5 .social__links:has(.social__link--tt:hover)::after, .o5 .social__links:has(.social__link--tt:focus-visible)::after { opacity: 0; transform: translateX(20px); }
@media (hover: none) { .o5 .social__links::before, .o5 .social__links::after { display: none; } .o5 .social__links { gap: 64px; } .o5 .social__links .social__amp { display: none; } .o5 .social__link--tt .social__pop { transform: scale(.72); } }
