/* Wickwell Candle Co. Candlelight in a dark room.
   Tokens first: colour, type scale, one spacing rhythm, the 12 column grid. */
:root {
  --night: #0E0C13;
  --night-2: #14111A;
  --night-3: #1B1722;
  --smoke: #3A3644;
  --wax: #F3F2EF;
  --wax-2: rgba(243, 242, 239, .76);
  --wax-3: rgba(243, 242, 239, .60);
  --line: rgba(243, 242, 239, .12);
  --line-2: rgba(243, 242, 239, .24);
  --lav: #B9A8DA;
  --flame: #FFCF5A;
  --flame-2: #FFE08F;
  --ink: #16110A;

  --f-head: 'Gloock', 'Iowan Old Style', Georgia, serif;
  --f-text: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-display: clamp(2.5rem, 1.1rem + 4.6vw, 5.6rem);
  --t-h2: clamp(2rem, 1.3rem + 2.4vw, 3.7rem);
  --t-h3: clamp(1.3rem, 1.08rem + .7vw, 1.75rem);
  --t-lead: clamp(1.06rem, .98rem + .3vw, 1.24rem);
  --t-body: 1.0625rem;
  --t-small: .94rem;
  --t-fine: .86rem;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
  --sec: clamp(4.5rem, 3rem + 5.6vw, 9rem);
  --m: clamp(1.25rem, .55rem + 3.2vw, 4rem);
  --gut: clamp(.75rem, .35rem + 1.5vw, 1.75rem);
  --maxw: 1480px;
  --hd: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.25, 1.25, .35, 1);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; background: var(--night); color: var(--wax);
  font: 350 var(--t-body)/1.58 var(--f-text); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.04; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: .85em; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--wax); color: var(--night); padding: 12px 18px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lav); color: var(--night); }
.fine { font-size: var(--t-fine); color: var(--wax-3); line-height: 1.5; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--m); }

/* links and buttons */
.link {
  color: var(--wax); background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--lav); text-decoration-thickness: 1px; text-underline-offset: .32em;
  transition: text-decoration-color .3s, color .3s;
}
.link:hover { text-decoration-color: var(--flame); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.55rem;
  border-radius: 999px; border: 1px solid transparent; font: 500 1rem/1.1 var(--f-text); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .3s, border-color .3s, box-shadow .4s, color .3s, transform .3s var(--ease);
}
.btn--flame { background: var(--flame); color: var(--ink); }
.btn--flame:hover { background: var(--flame-2); box-shadow: 0 0 0 6px rgba(255, 207, 90, .12), 0 0 48px rgba(255, 207, 90, .28); }
.btn--line { border-color: var(--line-2); color: var(--wax); background: transparent; }
.btn--line:hover { border-color: var(--wax); background: rgba(243, 242, 239, .04); }
.btn--wide { width: 100%; }
.btn:active { transform: scale(.98); }

/* hints that depend on the pointer */
.hint { color: var(--wax-3); font-size: var(--t-small); }
@media (hover: none) { .hint--fine { display: none !important; } }
@media (hover: hover) { .hint--touch { display: none !important; } }
html:not(.motion) .hint { display: none !important; }

/* ---------------------------------------------------------------- header */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hd); transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; view-transition-name: wk-header; }
.hd.is-solid, .p-shop .hd, .p-pdp .hd, .p-cart .hd { background: rgba(14, 12, 19, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.hd__in { height: 100%; display: flex; align-items: center; gap: var(--s-6); }
.brand { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; color: var(--wax); }
.brand__mark { width: 15px; height: 20px; align-self: center; flex: none; }
.brand__mark .bm-f { fill: var(--flame); } .brand__mark .bm-c { fill: #FFF6DC; } .brand__mark .bm-w { fill: var(--lav); }
.brand__name { font-family: var(--f-head); font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; }
.brand__co { font-size: .86rem; color: var(--wax-3); }
.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; }
.nav a { font-size: .95rem; color: var(--wax-2); text-decoration: none; padding: .6rem 0; position: relative; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1px; background: var(--flame); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--wax); } .nav a:hover::after { transform: scaleX(1); }
.hd__end { display: flex; align-items: center; gap: var(--s-3); }
.bagbtn { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .55rem 0 1.05rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .95rem; transition: border-color .3s; }
.bagbtn:hover { border-color: var(--wax); }
.bagbtn__n { min-width: 28px; height: 28px; padding: 0 .4rem; border-radius: 999px; display: inline-grid; place-items: center; background: var(--smoke); color: var(--wax); font-size: .84rem; font-weight: 500; transition: background-color .3s, color .3s; }
.bagbtn.has-items .bagbtn__n { background: var(--flame); color: var(--ink); }
.bagbtn.bump .bagbtn__n { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.35); } }
.menubtn { display: none; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .95rem; }
.menubtn__i { width: 16px; height: 8px; border-block: 1px solid currentColor; transition: transform .3s; }
.menubtn[aria-expanded="true"] .menubtn__i { transform: scaleY(.2); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--night); padding-top: calc(var(--hd) + var(--s-6)); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.menu ul { list-style: none; }
.menu li a { display: block; font-family: var(--f-head); font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.15; padding: .3rem 0; text-decoration: none; }
.menu__note { margin-top: var(--s-7); color: var(--wax-3); font-size: var(--t-small); }

/* ---------------------------------------------------------------- sections */
.sec { padding-block: calc(var(--sec) / 2); }
main > .sec:last-child { padding-bottom: calc(var(--sec) * .8); }
.sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.sec__head h2 { grid-column: 1 / span 7; font-size: var(--t-h2); }
.sec__aside { grid-column: 9 / span 4; color: var(--wax-2); }
.sec__aside .hint { margin-top: .9em; }
.pagehead { padding-top: calc(var(--hd) + clamp(2.5rem, 1.5rem + 4vw, 5.5rem)); padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; }
.pagehead h1 { grid-column: 1 / span 8; font-size: var(--t-display); }
.pagehead p { grid-column: 9 / span 4; color: var(--wax-2); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: max(660px, 100svh); overflow: hidden; display: flex; align-items: center; padding: calc(var(--hd) + 2rem) 0 4rem; isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__stage > canvas { z-index: 0; }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(70% 60% at 72% 70%, rgba(255, 207, 90, .07), transparent 70%); }
.hero__jar { position: absolute; width: min(44vw, 680px); right: calc(var(--m) + 1vw); top: 50%; isolation: isolate; }
.hero__jar::before { content: ''; position: absolute; left: 47.5%; top: 18%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, rgba(255, 207, 90, .22), rgba(255, 207, 90, .06) 45%, transparent 76%); }
.hero__img { width: 100%; }
.hero__cssflame { position: absolute; left: 47.45%; top: 29.5%; width: 7.2%; aspect-ratio: 1 / 2.6; transform: translate(-50%, -100%); }
.hero__cssflame i { position: absolute; inset: 0; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: radial-gradient(ellipse 50% 55% at 50% 74%, #fff 0, #FFF5D6 32%, #FFD978 60%, rgba(255, 190, 80, 0) 100%); box-shadow: 0 0 30px 10px rgba(255, 207, 90, .28); transform-origin: 50% 100%; }
.motion .hero__cssflame i { animation: cssflick 2.6s ease-in-out infinite; }
@keyframes cssflick { 0%, 100% { transform: scale(1, 1) rotate(0); } 30% { transform: scale(.96, 1.05) rotate(-1.5deg); } 60% { transform: scale(1.03, .96) rotate(1deg); } }
.hero__stage.sbgl-scene-on .hero__jar, .hero__stage.sbgl-scene-on .hero__glow { opacity: 0; }
.hero__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.hero__text { grid-column: 1 / span 6; }
.hero__h { font-size: var(--t-display); line-height: .99; letter-spacing: -.02em; max-width: 12ch; }
.hero__lead { margin-top: clamp(1.25rem, .8rem + 1.2vw, 2rem); font-size: var(--t-lead); color: var(--wax-2); max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: clamp(1.5rem, 1rem + 1.4vw, 2.5rem); }
.hero__cap { grid-column: 1 / span 5; margin-top: clamp(1.5rem, 1rem + 2vw, 3.5rem); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--wax-2); display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.hero__capname { color: var(--wax); }

/* ---------------------------------------------------------------- product stage and the dark room */
.grid { display: grid; column-gap: 0; row-gap: clamp(2.75rem, 1.8rem + 2.6vw, 5rem); }
.grid .card > :not(.card__link), .grid .card__name { padding-right: var(--gut); }
.grid--shelf, .grid--shop, .grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--extras { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--extras .stage { aspect-ratio: 1 / .86; }
.grid--extras .fit-tall { --h: 88%; }
.room { position: relative; }
.stage {
  --h: 72%; --w: 64%; --shw: 26%; --floor: 8%;
  position: relative; display: block; aspect-ratio: 1 / 1.08; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(var(--shw) 2.4% at 50% calc(100% - var(--floor)), rgba(0, 0, 0, .8), transparent 100%),
    radial-gradient(58% 11% at 50% calc(100% - var(--floor) + 1%), rgba(255, 207, 90, .26), rgba(255, 207, 90, .07) 55%, transparent 100%),
    linear-gradient(to bottom, transparent calc(100% - var(--floor)), rgba(243, 242, 239, .028) calc(100% - var(--floor)));
  border-bottom: 1px solid var(--line-2);
}
.stage__pool { position: absolute; inset: 0; z-index: 0; background: radial-gradient(34% 30% at 50% 58%, var(--tint, transparent), transparent 80%), radial-gradient(46% 40% at 50% 62%, rgba(255, 207, 90, .11), rgba(255, 207, 90, .03) 55%, transparent 78%); opacity: .7; transition: opacity .6s; }
.stage img { position: absolute; z-index: 1; left: 50%; bottom: var(--floor); transform: translateX(-50%); height: var(--h); width: auto; max-width: var(--w); object-fit: contain; object-position: 50% 100%; transition: transform .7s var(--ease), opacity .4s; }
.fit-s { --h: 76%; --w: 62%; --shw: 25%; }
.fit-l { --h: 66%; --w: 80%; --shw: 34%; }
.fit-tall { --h: 86%; --w: 58%; --shw: 22%; }
.fit-gift img, .fit-trio img, .fit-tool img { height: auto; }
.fit-gift { --w: 92%; --shw: 40%; } .fit-gift img { width: 92%; }
.fit-trio { --w: 90%; --shw: 40%; } .fit-trio img { width: 88%; }
.fit-tool { --shw: 0%; } .fit-tool img { width: 96%; bottom: 14%; filter: drop-shadow(0 22px 14px rgba(0, 0, 0, .55)); }
.fit-photo img { inset: 0; left: 0; bottom: 0; transform: none; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.fit-photo .stage__pool { display: none; }
.stage__dark {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: rgba(14, 12, 19, .74);
  -webkit-mask-image: radial-gradient(circle var(--lr, 280px) at calc(var(--lx, -2000px) - var(--cx, 0px)) calc(var(--ly, -2000px) - var(--cy, 0px)), transparent 0, transparent 30%, rgba(0, 0, 0, .55) 62%, #000 100%);
  mask-image: radial-gradient(circle var(--lr, 280px) at calc(var(--lx, -2000px) - var(--cx, 0px)) calc(var(--ly, -2000px) - var(--cy, 0px)), transparent 0, transparent 30%, rgba(0, 0, 0, .55) 62%, #000 100%);
  transition: opacity .8s;
}
.motion .room.is-dim .stage__dark { opacity: 1; }
.room.is-soft .stage__dark { background: rgba(14, 12, 19, .6); }
.card { position: relative; display: flex; flex-direction: column; }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__link:hover .stage__pool { opacity: 1; }
.stage .card__img--alt { opacity: 0; height: 62%; max-width: 82%; transform: translateX(-50%) translateY(6px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.card__link:hover .has-alt .card__img--alt, .card__link:focus-visible .has-alt .card__img--alt { opacity: 1; transform: translateX(-50%); }
.card__link:hover .has-alt .card__img:not(.card__img--alt), .card__link:focus-visible .has-alt .card__img:not(.card__img--alt) { opacity: 0; }
.dot { display: inline-block; width: .5em; height: .5em; margin-right: .42em; border-radius: 50%; background: var(--c); vertical-align: .14em; box-shadow: 0 0 0 1px rgba(243, 242, 239, .18); }
.card__link:hover .stage img { transform: translateX(-50%) translateY(-6px); }
.card__link:hover .fit-photo img { transform: scale(1.03); }
.card__name { display: block; margin-top: var(--s-4); font-family: var(--f-head); font-size: clamp(1.3rem, 1.05rem + .8vw, 1.85rem); line-height: 1.08; letter-spacing: -.01em; }
.card__short { margin-top: .35rem; color: var(--wax-3); font-size: var(--t-small); }
.card__foot { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.card__price { font-size: 1.05rem; }
.card__price span { color: var(--wax-3); font-size: var(--t-small); }
.card__add { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .9rem; transition: border-color .3s, background-color .3s, color .3s; }
.card__add:hover { border-color: var(--flame); color: var(--flame); }
.card__add.is-added { background: var(--flame); border-color: var(--flame); color: var(--ink); }

/* ---------------------------------------------------------------- finder */
.finder { background: var(--night-2); border-block: 1px solid var(--line); padding-block: calc(var(--sec) * .62); margin-block: calc(var(--sec) / 2); }
.finder__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; }
.finder__intro { grid-column: 1 / span 4; }
.finder__intro h2 { font-size: var(--t-h2); }
.finder__intro > p { margin-top: var(--s-5); color: var(--wax-2); }
.wicks { list-style: none; display: flex; gap: clamp(1rem, .5rem + 1.5vw, 2rem); margin-top: var(--s-7); }
.wicks li { display: flex; flex-direction: column; align-items: center; gap: .7rem; min-width: 4.5rem; }
.wicks svg { width: 46px; height: auto; overflow: visible; }
.wicks__l { font-size: var(--t-fine); color: var(--wax-3); text-align: center; line-height: 1.3; transition: color .4s; }
.wicks li.is-lit .wicks__l { color: var(--wax); }
.wicks rect { fill: rgba(243, 242, 239, .05); stroke: var(--line-2); }
.wicks line { stroke: var(--wax-3); stroke-width: 2; stroke-linecap: round; }
.wicks__f { fill: var(--flame); opacity: 0; transform-origin: 20px 30px; transform: scale(.2); transition: opacity .5s, transform .7s var(--spring); filter: drop-shadow(0 0 8px rgba(255, 207, 90, .7)); }
.wicks li.is-lit .wicks__f { opacity: 1; transform: scale(1); }
.wicks li.is-lit rect { stroke: rgba(255, 207, 90, .5); fill: rgba(255, 207, 90, .07); }
.finder__box { grid-column: 6 / span 7; min-height: 380px; position: relative; }
.finder__count { color: var(--wax-3); font-size: var(--t-small); }
.finder__h { margin-top: var(--s-3); font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.finder__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-6); }
.opt-btn { min-height: 64px; padding: .9rem 1.25rem; text-align: left; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(243, 242, 239, .02); font-size: 1.08rem; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.opt-btn:hover { border-color: var(--lav); background: rgba(185, 168, 218, .07); }
.opt-btn.is-picked { border-color: var(--flame); background: rgba(255, 207, 90, .08); }
.finder__back { margin-top: var(--s-5); font-size: var(--t-small); color: var(--wax-2); }
.finder__res { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gut); align-items: center; }
.finder__res .stage { aspect-ratio: 4 / 5; }
.finder__res .k { color: var(--wax-3); font-size: var(--t-small); }
.finder__res h3 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); margin-top: .3rem; }
.finder__why { margin-top: var(--s-4); color: var(--wax-2); }
.finder__notes { margin-top: var(--s-3); color: var(--wax-3); font-size: var(--t-small); }
.finder__acts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); align-items: center; }
.finder__static { display: none; grid-column: 6 / span 7; color: var(--wax-2); }
.finder__static ul { list-style: none; margin-top: var(--s-4); }
.finder__static li { padding: .7rem 0; border-top: 1px solid var(--line); }
.finder__static li span { display: inline-block; min-width: 11rem; color: var(--wax-3); }
.no-js .finder__box { display: none; } .no-js .finder__static { display: block; }
.no-js .wicks { display: none; }
.no-js .burn__panel[hidden] { display: block; margin-top: 1rem; } .no-js .burn__tabs { display: none; }

/* ---------------------------------------------------------------- how a batch is made */
.make__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.make__text { grid-column: 1 / span 5; }
.make__text h2 { font-size: var(--t-h2); }
.make__lead { margin-top: var(--s-5); color: var(--wax-2); max-width: 30rem; }
.steps { list-style: none; position: relative; margin-top: var(--s-7); padding-left: 2.2rem; }
.steps::before { content: ''; position: absolute; left: .45rem; top: .6rem; bottom: 0; width: 1px; background: var(--line-2); }
.steps__burn { position: absolute; left: .45rem; top: .6rem; width: 1px; height: calc(var(--p, 0) * (100% - .6rem)); background: linear-gradient(var(--flame), rgba(255, 207, 90, .4)); }
.steps__flame { position: absolute; left: .45rem; top: calc(.6rem + var(--p, 0) * (100% - .6rem)); width: 12px; height: 20px; margin: -20px 0 0 -6px; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: radial-gradient(ellipse 50% 55% at 50% 74%, #fff 0, #FFF2C8 35%, var(--flame) 70%, rgba(255, 207, 90, 0) 100%); box-shadow: 0 0 18px 6px rgba(255, 207, 90, .35); }
.step { position: relative; padding-bottom: var(--s-7); }
.step::before { content: ''; position: absolute; left: calc(-2.2rem + .45rem - 4px); top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--night); border: 1px solid var(--wax-3); transition: background-color .4s, border-color .4s; }
.step.is-on::before { background: var(--flame); border-color: var(--flame); }
.step__day { color: var(--wax-3); font-size: var(--t-small); }
.step h3 { font-size: var(--t-h3); margin-top: .2rem; }
.step > p:not(.step__day) { margin-top: .5rem; color: var(--wax-2); max-width: 30rem; }
.make__media { grid-column: 7 / span 6; }
.make__frame { position: sticky; top: calc(var(--hd) + 3vh); height: min(calc(100svh - var(--hd) - 6vh), 820px); }
.make__fig { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); overflow: hidden; background: var(--night-2); }
.make__fig.is-on { opacity: 1; }
.make__photo, .make__video { width: 100%; height: 100%; object-fit: cover; }
.make__video { filter: brightness(.74) contrast(1.08) saturate(.82) sepia(.12); }
.make__fig--cut { background:
    radial-gradient(60% 12% at 50% 86%, rgba(255, 207, 90, .16), transparent 100%),
    radial-gradient(70% 50% at 50% 60%, rgba(185, 168, 218, .07), transparent 72%), var(--night-2); border-bottom: 1px solid var(--line-2); }
.make__cut { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); width: 86%; height: auto; }
.make__fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.25rem 1.1rem; font-size: var(--t-small); color: var(--wax-2); background: linear-gradient(transparent, rgba(8, 6, 12, .8)); }
.make__fig--inline { display: none; }

/* ---------------------------------------------------------------- burn guide */
.burn__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center; }
.burn__fig { grid-column: 1 / span 6; }
.burn__svg { width: 100%; max-height: min(72svh, 620px); margin-inline: auto; overflow: visible; }
.burn__glass { fill: rgba(196, 140, 72, .16); stroke: none; }
.burn__jar { fill: none; stroke: rgba(243, 242, 239, .6); stroke-width: 2; }
.burn__rim { fill: none; stroke: rgba(243, 242, 239, .6); stroke-width: 2; stroke-linecap: round; }
.burn__wick { stroke: #CDBB9E; stroke-width: 3.5; stroke-linecap: round; }
.burn__flame { filter: drop-shadow(0 0 14px rgba(255, 207, 90, .55)); transform-origin: 260px 196px; }
.motion .burn__flame { animation: bflick 2.4s ease-in-out infinite; }
@keyframes bflick { 0%, 100% { transform: scale(1); } 40% { transform: scale(.95, 1.04) rotate(-1.5deg); } 70% { transform: scale(1.03, .97) rotate(1deg); } }
.burn__ann path { fill: none; stroke: var(--wax-3); stroke-width: 1; }
.burn__scale path { fill: none; stroke: var(--lav); stroke-width: 1; opacity: .7; }
.burn__scale text { fill: var(--wax-3); font: 400 14px var(--f-text); }
.burn__scale .burn__st { fill: var(--wax-2); text-anchor: middle; }
.burn__scale .burn__mark { fill: var(--flame); stroke: none; opacity: 1; }
.burn__ann text { fill: var(--wax-2); font: 400 15px var(--f-text); text-anchor: middle; }
.burn__ann text[text-anchor="start"] { text-anchor: start; }
.burn__text { grid-column: 8 / span 5; }
.burn__text h2 { font-size: var(--t-h2); }
.burn__lead { margin-top: var(--s-5); color: var(--wax-2); }
.burn__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-6); }
.burn__tabs button { display: flex; align-items: center; gap: .7rem; min-height: 54px; padding: .5rem 1rem; text-align: left; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; font-size: 1rem; transition: border-color .3s, background-color .3s; }
.burn__tabs button span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--wax-3); font-size: .8rem; }
.burn__tabs button:hover { border-color: var(--lav); }
.burn__tabs button[aria-selected="true"] { border-color: var(--flame); background: rgba(255, 207, 90, .07); }
.burn__tabs button[aria-selected="true"] span { background: var(--flame); color: var(--ink); border-color: var(--flame); }
.burn__panels { margin-top: var(--s-5); min-height: 8.5rem; font-size: var(--t-lead); color: var(--wax-2); }
.burn__text > .link { display: inline-block; margin-top: var(--s-5); }

/* ---------------------------------------------------------------- refill */
.refill__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center; }
.refill__fig { grid-column: 1 / span 5; margin: 0; }
.refill__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.refill__fig figcaption { margin-top: var(--s-3); font-size: var(--t-small); color: var(--wax-3); }
.refill__text { grid-column: 7 / span 5; }
.refill__text h2 { font-size: var(--t-h2); margin-bottom: var(--s-5); }
.refill__text > p { color: var(--wax-2); max-width: 32rem; }
.refill__prod { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s-5); align-items: end; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.refill__thumb .stage { aspect-ratio: 1 / 1.1; }
.refill__name { font-family: var(--f-head); font-size: 1.6rem; line-height: 1.1; }
.refill__name a { text-decoration: none; }
.refill__price { margin-top: .35rem; color: var(--wax-2); font-size: var(--t-small); }
.refill__prod .btn { margin-top: var(--s-4); }

/* ---------------------------------------------------------------- footer */
.ft { border-top: 1px solid var(--line); padding-top: clamp(3rem, 2.2rem + 2.4vw, 4.75rem); padding-bottom: 96px; background: #0B0910; }
.ft__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: var(--s-7); }
.ft h2 { font-family: var(--f-text); font-weight: 500; font-size: .95rem; letter-spacing: 0; color: var(--wax); margin-bottom: var(--s-4); }
.ft__brand { grid-column: 1 / span 3; }
.ft__brand p { margin-top: var(--s-4); color: var(--wax-3); font-size: var(--t-small); max-width: 18rem; }
.ft__nav { grid-column: 4 / span 2; }
.ft__nav ul { list-style: none; }
.ft__nav a, .ft__visit a { color: var(--wax-2); text-decoration: none; font-size: var(--t-small); line-height: 2; transition: color .3s; }
.ft__nav a:hover, .ft__visit a:hover { color: var(--wax); }
.ft__visit { grid-column: 7 / span 2; font-size: var(--t-small); color: var(--wax-2); }
.ft__visit a { line-height: 1.6; }
.news { grid-column: 9 / span 4; }
.news label { display: block; color: var(--wax-2); font-size: var(--t-small); }
.news__row { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.news input { flex: 1; min-width: 0; min-height: 52px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; }
.news input::placeholder { color: rgba(243, 242, 239, .42); }
.news .fine { margin-top: var(--s-3); }
.ft__base { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-6); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-fine); color: var(--wax-3); }
.credits { max-width: 46rem; }
.credits summary { cursor: pointer; color: var(--wax-2); min-height: 44px; display: inline-flex; align-items: center; }
.credits p { margin-top: .6rem; }

/* ---------------------------------------------------------------- bag drawer */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; transition: visibility 0s .5s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(5, 4, 8, .62); opacity: 0; transition: opacity .45s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--night-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .55s var(--spring); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__hd { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__hd h2 { font-size: 1.9rem; }
.drawer__x { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; }
.drawer .free { padding: 1rem 1.5rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer__items { flex: 1; overflow-y: auto; padding: .5rem 1.5rem; overscroll-behavior: contain; }
.drawer__ft { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.drawer__sub { display: flex; justify-content: space-between; font-size: 1.15rem; }
.drawer__ft .fine { margin-top: .3rem; }
.drawer__btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-4); }
.drawer__empty { padding: 2.5rem 0; color: var(--wax-2); }
.drawer__empty .btn { margin-top: var(--s-5); }
.checkout-msg { margin-top: var(--s-3); font-size: var(--t-small); color: var(--flame-2); min-height: 1px; }
.checkout-msg:empty { margin: 0; }

/* free delivery as a wick that burns along */
.free__t { font-size: var(--t-small); color: var(--wax-2); }
.free__t b { color: var(--wax); font-weight: 500; }
.free__bar { position: relative; height: 2px; margin-top: .9rem; background: var(--line-2); border-radius: 2px; }
.free__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--f, 0) * 100%); background: linear-gradient(90deg, rgba(255, 207, 90, .35), var(--flame)); border-radius: 2px; transition: width .7s var(--ease); }
.free__flame { position: absolute; top: -15px; left: calc(var(--f, 0) * 100%); width: 9px; height: 15px; margin-left: -4.5px; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: radial-gradient(ellipse 50% 55% at 50% 74%, #fff 0, #FFF2C8 35%, var(--flame) 70%, rgba(255, 207, 90, 0) 100%); box-shadow: 0 0 12px 4px rgba(255, 207, 90, .35); transition: left .7s var(--ease); }

/* bag lines (drawer and bag page) */
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: var(--s-4); align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__thumb { display: block; width: 76px; }
.line__thumb .stage { aspect-ratio: 1 / 1; border-bottom: 0; border-radius: 8px; }
.line__name { font-family: var(--f-head); font-size: 1.2rem; line-height: 1.15; text-decoration: none; }
.line__name:hover { text-decoration: underline; text-decoration-color: var(--lav); text-underline-offset: .2em; }
.line__opts { color: var(--wax-3); font-size: var(--t-fine); margin-top: .2rem; }
.line__ctl { display: flex; align-items: center; gap: var(--s-4); margin-top: .7rem; flex-wrap: wrap; }
.line__rm { font-size: var(--t-fine); color: var(--wax-2); }
.line__price { font-size: 1.02rem; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.15rem; transition: background-color .3s; }
.qty button:hover { background: rgba(243, 242, 239, .06); }
.qty input, .qty output { width: 2.4rem; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--s button { width: 40px; height: 40px; }

/* ---------------------------------------------------------------- shop */
.filters { position: sticky; top: var(--hd); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); padding-block: 1rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); background: rgba(14, 12, 19, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filters__group { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filters__group button { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .93rem; display: inline-flex; align-items: center; gap: .45rem; transition: background-color .3s, color .3s, border-color .3s; }
.filters__group button span { color: var(--wax-3); font-size: .8rem; }
.filters__group button:hover { border-color: var(--wax); }
.filters__group button[aria-pressed="true"] { background: var(--wax); color: var(--night); border-color: var(--wax); }
.filters__group button[aria-pressed="true"] span { color: rgba(14, 12, 19, .6); }
.filters__end { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.sort { display: inline-flex; align-items: center; gap: .6rem; font-size: .93rem; color: var(--wax-2); }
select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 2.4rem 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F3F2EF' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 1rem center; color: var(--wax); cursor: pointer; }
select option { background: var(--night-2); color: var(--wax); }
.filters__count { color: var(--wax-3); font-size: .93rem; }
.card.is-hidden { display: none; }
.shop__empty { padding: 3rem 0; color: var(--wax-2); }
.help__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); border-top: 1px solid var(--line); padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.help__grid h2 { font-size: var(--t-h3); }
.help__grid p { margin: .7rem 0 1.3rem; color: var(--wax-2); max-width: 30rem; }

/* ---------------------------------------------------------------- product page */
.pdp { padding-top: calc(var(--hd) + clamp(1.25rem, .8rem + 1.5vw, 2.5rem)); }
.pdp__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; }
.pdp__media { grid-column: 1 / span 7; align-self: stretch; }
.pdp__sticky { position: sticky; top: calc(var(--hd) + 1.25rem); display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: var(--s-3); }
.pdp__sticky > .room { grid-column: 2; grid-row: 1; }
.stage--pdp { aspect-ratio: auto; height: min(calc(100svh - var(--hd) - 6.5rem), 860px); min-height: 440px; }
.stage--pdp .stage__dark { --lr: 560px; background: rgba(14, 12, 19, .52); }
.stage--pdp.fit-s { --h: 74%; } .stage--pdp.fit-l { --h: 64%; --w: 70%; } .stage--pdp.fit-tall { --h: 86%; }
.stage--pdp.fit-gift img { width: 84%; } .stage--pdp.fit-trio img { width: 80%; } .stage--pdp.fit-tool img { width: 72%; }
.stage--pdp img { transition: opacity .35s; }
.stage--pdp.is-swapping img { opacity: 0; }
.thumbs { display: flex; flex-direction: column; gap: var(--s-2); grid-column: 1; grid-row: 1; }
.thumb { position: relative; width: 76px; height: 76px; padding: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(60% 18% at 50% 88%, rgba(255, 207, 90, .16), transparent), var(--night-2); transition: border-color .3s; }
.thumb img { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); height: 80%; width: auto; max-width: 86%; object-fit: contain; }
.thumb.fit-photo img { inset: 0; left: 0; bottom: 0; transform: none; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.thumb.fit-gift img, .thumb.fit-trio img, .thumb.fit-tool img { height: auto; width: 86%; bottom: 20%; }
.thumb[aria-pressed="true"] { border-color: var(--flame); }
.pdp__info { grid-column: 9 / span 4; padding-bottom: var(--s-6); }
.crumbs { display: flex; gap: .6rem; font-size: var(--t-small); color: var(--wax-3); }
.crumbs a { color: var(--wax-2); text-decoration: none; } .crumbs a:hover { color: var(--wax); text-decoration: underline; text-decoration-color: var(--lav); }
.pdp__fam { margin-top: var(--s-5); color: var(--lav); font-size: var(--t-small); }
.pdp__h { margin-top: .5rem; font-size: clamp(2.5rem, 1.6rem + 2.8vw, 4.3rem); line-height: 1; }
.pdp__fam + .pdp__h { margin-top: .4rem; }
.crumbs + .pdp__h { margin-top: var(--s-5); }
.pdp__line { margin-top: var(--s-4); font-size: var(--t-lead); color: var(--wax-2); }
.pdp__price { display: flex; align-items: baseline; gap: var(--s-4); margin-top: var(--s-5); }
.pdp__price [data-price] { font-family: var(--f-head); font-size: 2.2rem; line-height: 1; }
.buy { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend, .opt > label { display: block; padding: 0; margin-bottom: .6rem; font-size: var(--t-small); color: var(--wax-2); }
.opt--select select { width: 100%; }
.opt__c { display: block; position: relative; cursor: pointer; }
.opt__c + .opt__c { margin-top: var(--s-2); }
.opt__c input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__body { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 60px; padding: .75rem 1.1rem; border-radius: 12px; border: 1px solid var(--line-2); transition: border-color .3s, background-color .3s; }
.opt__l { display: flex; flex-direction: column; font-size: 1rem; }
.opt__l small { color: var(--wax-3); font-size: var(--t-fine); }
.opt__p { white-space: nowrap; }
.opt__c:hover .opt__body { border-color: var(--lav); }
.opt__c input:checked + .opt__body { border-color: var(--flame); background: rgba(255, 207, 90, .07); }
.opt__c input:focus-visible + .opt__body { outline: 2px solid var(--lav); outline-offset: 3px; }
.buy__row { display: flex; gap: var(--s-3); align-items: center; }
.buy__add { flex: 1; }
.buy__note { margin-top: -.6rem; }
.pdp__sec { margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.pdp__sec h2 { font-size: 1.7rem; margin-bottom: var(--s-4); }
.pdp__sec > p { color: var(--wax-2); }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s-4); padding: .8rem 0; border-top: 1px solid var(--line); }
.specs div:first-child { border-top: 0; padding-top: 0; }
.specs dt { color: var(--wax-3); font-size: var(--t-small); padding-top: .1rem; }
.specs dd { margin: 0; color: var(--wax-2); }
.care { list-style: none; counter-reset: c; }
.care li { counter-increment: c; position: relative; padding: .55rem 0 .55rem 2.4rem; color: var(--wax-2); }
.care li::before { content: counter(c); position: absolute; left: 0; top: .6rem; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: .8rem; color: var(--wax-2); }
.related h2 { font-size: var(--t-h2); margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); max-width: 16ch; }

/* scent pyramid */
.pyr__tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.pyr__tabs button { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .9rem; }
.pyr__tabs button[aria-selected="true"] { border-color: var(--lav); background: rgba(185, 168, 218, .1); }
.pyr__body { display: grid; grid-template-columns: minmax(110px, 42%) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(84px, 1fr)); column-gap: var(--s-4); }
.pyr__tri { grid-column: 1; grid-row: 1 / 4; width: 100%; height: 100%; overflow: visible; }
.pyr__b { stroke: rgba(243, 242, 239, .38); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill-opacity 1s var(--ease); }
.pyr__b--top { fill: #3A3644; fill-opacity: 1; }
.pyr__b--heart { fill: #6A5D8E; fill-opacity: 1; }
.pyr__b--base { fill: #B98B3E; fill-opacity: 1; }
.pyr__notes { display: contents; }
.pyr__row { grid-column: 2; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: .5rem 0; }
.pyr__row:last-child { border-bottom: 1px solid var(--line); }
.pyr__row dt { color: var(--wax-3); font-size: var(--t-fine); }
.pyr__row dd { margin: .15rem 0 0; font-family: var(--f-head); font-size: clamp(1.12rem, 1rem + .4vw, 1.4rem); line-height: 1.15; }
.pyr__name { margin-top: var(--s-3); color: var(--wax-3); font-size: var(--t-fine); }
.js.motion .pyr:not(.is-in) .pyr__b { fill-opacity: 0; }
.js.motion .pyr:not(.is-in) .pyr__row dd { opacity: 0; transform: translateY(8px); }
.pyr__row dd { transition: opacity .7s, transform .7s var(--ease); }
.pyr.is-in .pyr__row--heart dd, .pyr.is-in .pyr__b--heart { transition-delay: .25s; }
.pyr.is-in .pyr__row--base dd, .pyr.is-in .pyr__b--base { transition-delay: .5s; }
.dia { margin: 0; }
.dia svg { width: 100%; height: auto; overflow: visible; }
.dia__obj path, .dia__obj ellipse, .dia__obj circle { fill: none; stroke: var(--wax-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dia__obj .dia__head { fill: #8E2A33; stroke: none; }
.dia__dim path { fill: none; stroke: var(--lav); stroke-width: 1; }
.dia__dim text { fill: var(--wax-2); font: 400 15px var(--f-text); text-anchor: middle; }
.dia__dim .dia__l { text-anchor: start; }
.dia figcaption { margin-top: var(--s-4); color: var(--wax-3); font-size: var(--t-small); }

/* ---------------------------------------------------------------- bag page */
.cart__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; }
.cart__items { grid-column: 1 / span 7; border-top: 1px solid var(--line); }
.cart__items .line { grid-template-columns: 112px minmax(0, 1fr) auto; padding: 1.5rem 0; }
.cart__items .line__thumb { width: 112px; }
.cart__items .line__name { font-size: 1.55rem; }
.cart__empty { padding: 2.5rem 0; }
.cart__empty p { font-size: var(--t-lead); color: var(--wax-2); }
.cart__empty .btn { margin-top: var(--s-5); }
.cart__sum { grid-column: 9 / span 4; position: sticky; top: calc(var(--hd) + 1.5rem); padding: 1.6rem; border: 1px solid var(--line); border-radius: 16px; background: var(--night-2); }
.cart__sum h2 { font-size: 1.8rem; margin-bottom: var(--s-4); }
.cart__sum.is-empty { display: none; }
.cart__grid:has(.cart__sum.is-empty) .cart__items { grid-column: 1 / -1; }
.cart__sum .free { padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.sum { margin: var(--s-4) 0 0; }
.sum div { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--wax-2); }
.sum dd { margin: 0; color: var(--wax); }
.sum__total { margin-top: .4rem; padding-top: .8rem !important; border-top: 1px solid var(--line); font-size: 1.2rem; }
.sum__total dd { font-family: var(--f-head); font-size: 1.7rem; }
.ship { border: 0; padding: 0; margin: var(--s-5) 0 0; }
.ship legend { font-size: var(--t-small); color: var(--wax-2); margin-bottom: .6rem; padding: 0; }
.ship label { display: flex; gap: .8rem; align-items: flex-start; padding: .65rem 0; cursor: pointer; border-top: 1px solid var(--line); }
.ship input { accent-color: var(--flame); width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.ship b { display: block; font-weight: 450; }
.ship small { color: var(--wax-3); font-size: var(--t-fine); }
.note { display: block; margin: var(--s-4) 0 var(--s-5); font-size: var(--t-small); color: var(--wax-2); }
.note textarea { display: block; width: 100%; margin-top: .5rem; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; resize: vertical; }
.cart__suggest h2 { font-size: var(--t-h2); margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.info__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); border-top: 1px solid var(--line); padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.info__grid h2 { grid-column: 1 / span 4; font-size: var(--t-h2); }
.info__body { grid-column: 6 / span 7; color: var(--wax-2); }
.info__body p { max-width: 40rem; }
.tbl { width: 100%; border-collapse: collapse; margin-bottom: var(--s-5); font-size: 1rem; }
.tbl th, .tbl td { text-align: left; padding: .9rem .8rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { color: var(--wax-3); font-weight: 400; font-size: var(--t-small); }
.tbl tbody th { color: var(--wax); font-weight: 450; }

/* ---------------------------------------------------------------- cursor flame (fine pointers, motion allowed) */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.has-flame .cursor { opacity: 1; }
.cursor__glow { position: absolute; width: 640px; height: 640px; left: -320px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 207, 90, .10), rgba(255, 207, 90, .035) 48%, transparent); mix-blend-mode: screen; }
.cursor__flame { position: absolute; left: -6px; top: -23px; width: 12px; height: 21px; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: radial-gradient(ellipse 50% 55% at 50% 74%, #fff 0, #FFF4CF 30%, var(--flame) 64%, rgba(255, 190, 80, 0) 100%); box-shadow: 0 0 16px 5px rgba(255, 207, 90, .38); transform-origin: 50% 100%; transform: rotate(var(--lean, 0deg)) scale(var(--fs, 1)); transition: scale .3s; }
.cursor__dot { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #2A2016; box-shadow: 0 0 0 1px rgba(255, 207, 90, .6); }
.cursor.is-link .cursor__flame { scale: 1.35; }
.cursor.is-text { opacity: 0 !important; }
.has-flame, .has-flame * { cursor: none !important; }
.has-flame input, .has-flame textarea, .has-flame select { cursor: auto !important; }

/* ---------------------------------------------------------------- entrance motion (hidden only when JS and motion are on) */
.js.motion [data-rise] { opacity: 0; transform: translateY(22px); }
.js.motion [data-split] { opacity: 0; }
.wk-ready [data-rise].is-in, .wk-ready [data-split].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }

/* ---------------------------------------------------------------- page transitions: the light dims, then comes up */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: wk-dim .34s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: wk-light .6s cubic-bezier(0, 0, .2, 1) both; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
@keyframes wk-dim { to { opacity: 0; filter: brightness(.3); } }
@keyframes wk-light { from { opacity: 0; filter: brightness(1.45) blur(3px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------------------------------------------------------------- reduced motion: a complete static room */
html:not(.motion) .make__media { display: none; }
html:not(.motion) .make__fig--inline { display: block; position: relative; opacity: 1; margin-top: var(--s-5); aspect-ratio: 4 / 3; }
html:not(.motion) .make__fig--inline.make__fig--cut { aspect-ratio: 16 / 9; }
html:not(.motion) .make__text { grid-column: 1 / -1; }
@media (min-width: 901px) {
  html:not(.motion) .make__lead { max-width: 40rem; }
  html:not(.motion) .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gut); padding-left: 0; }
  html:not(.motion) .steps::before, html:not(.motion) .step::before { display: none; }
  html:not(.motion) .step { padding-right: var(--gut); }
}
html:not(.motion) .steps__burn, html:not(.motion) .steps__flame { display: none; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
  .grid--extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .menubtn { display: inline-flex; }
  .hd__end { margin-left: auto; }
  .pdp__info { grid-column: 8 / span 5; }
  .pdp__media { grid-column: 1 / span 7; }
  .ft__brand { grid-column: 1 / span 4; } .ft__nav { grid-column: 5 / span 3; } .ft__visit { grid-column: 8 / span 5; } .news { grid-column: 1 / span 8; }
}
@media (max-width: 900px) {
  :root { --hd: 64px; }
  .sec__head, .pagehead { display: block; }
  .sec__aside, .pagehead p { margin-top: var(--s-5); max-width: 34rem; }
  .grid--shelf, .grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__intro, .finder__box, .finder__static { grid-column: 1 / -1; }
  .wicks { margin-top: var(--s-6); gap: 1.25rem; }
  .wicks li { min-width: 0; flex: 1; max-width: 6.5rem; }
  .wicks svg { width: 32px; }
  .finder__box { margin-top: var(--s-7); min-height: 0; }
  .make__text { grid-column: 1 / -1; }
  .make__media { display: none; }
  .make__fig--inline { display: block; position: relative; opacity: 1; margin-top: var(--s-5); aspect-ratio: 4 / 3; }
  .make__fig--inline.make__fig--cut { aspect-ratio: 16 / 10; }
  .steps__burn, .steps__flame { display: none; }
  .burn__fig, .burn__text { grid-column: 1 / -1; }
  .burn__fig { order: 2; margin-top: var(--s-6); }
  .burn__svg { max-height: 48svh; }
  .refill__fig, .refill__text { grid-column: 1 / -1; }
  .refill__text { margin-top: var(--s-6); }
  .pdp__media, .pdp__info { grid-column: 1 / -1; }
  .pdp__sticky { position: static; display: block; }
  .thumbs { flex-direction: row; margin-top: var(--s-3); }
  .stage--pdp { height: auto; min-height: 0; aspect-ratio: 1 / 1.05; }
  .pdp__info { margin-top: var(--s-6); }
  .cart__items, .cart__sum { grid-column: 1 / -1; }
  .cart__sum { position: static; margin-top: var(--s-6); }
  .info__grid h2, .info__body { grid-column: 1 / -1; }
  .info__body { margin-top: var(--s-5); }
  .filters { position: static; }
  .filters__end { margin-left: 0; width: 100%; justify-content: space-between; }
  .help__grid { grid-template-columns: 1fr; row-gap: var(--s-7); }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 640px) {
  :root { --t-body: 1rem; }
  .brand__co { display: none; }
  .bagbtn { padding-left: .9rem; }
  .menubtn__t { display: none; }
  .menubtn { padding: 0 .9rem; }
  .hero { align-items: flex-start; min-height: max(100svh, 780px); padding-top: calc(var(--hd) + 1.6rem); }
  .hero__text, .hero__cap { grid-column: 1 / -1; }
  .hero__h { font-size: clamp(2.35rem, 10.4vw, 2.9rem); line-height: 1.02; }
  .hero__lead { font-size: 1rem; margin-top: 1rem; }
  .hero__cta { margin-top: 1.25rem; gap: .5rem; }
  .hero__cta .btn { padding: 0 1.15rem; min-height: 50px; font-size: .96rem; }
  .hero__cap { margin-top: 1.1rem; padding-top: .7rem; font-size: .86rem; display: block; }
  .hero__cap .hint { display: block; font-size: .86rem; }
  .hero__jar { width: 96vw; right: auto; left: 2vw; top: auto; bottom: calc(-96vw * 1.04 + 330px); }
  .grid { row-gap: 2.25rem; }
  .card__name { font-size: 1.22rem; }
  .card__short { font-size: .86rem; }
  .card__foot { flex-direction: column; align-items: stretch; gap: .5rem; }
  .card__add { width: 100%; }
  .card__price span { display: block; font-size: .82rem; }
  .grid--related { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
  .grid--related .card { scroll-snap-align: start; }
  .finder__opts { grid-template-columns: 1fr; }
  .opt-btn { min-height: 56px; }
  .finder__res { grid-template-columns: 1fr; }
  .finder__res .stage { aspect-ratio: 16 / 12; }
  .burn__tabs button { font-size: .94rem; padding: .5rem .75rem; }
  .ft__grid > * { grid-column: 1 / -1 !important; }
  .ft__nav { grid-column: 1 / span 6 !important; } .ft__visit { grid-column: 7 / span 6 !important; }
  .ft__nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .ft__base { flex-direction: column; }
  .news__row { flex-direction: column; }
  .filters__group { gap: .4rem; }
  .filters__group button { padding: 0 .85rem; font-size: .88rem; }
  .sort span { display: none; }
  .cart__items .line { grid-template-columns: 84px minmax(0, 1fr); }
  .cart__items .line__thumb { width: 84px; }
  .cart__items .line__price { grid-column: 2; }
  .cart__items .line__name { font-size: 1.3rem; }
  .specs div { grid-template-columns: 1fr; gap: .2rem; }
  .pyr__body { grid-template-columns: 38% minmax(0, 1fr); }
  .drawer__btns { grid-template-columns: 1fr; }
}
