/* Hollow Moon Candle Co. - one stylesheet. Tokens first, components after. */
:root {
  --plum: #1c1429;
  --aub: #2b1d3d;
  --aub-2: #38264d;
  --cream: #f5ecdd;
  --cream-2: #ebdfca;
  --brass: #b98b3f;
  --brass-hi: #d6ad5f;
  --brass-deep: #8a6226;
  --lilac: #b7a6d1;
  --smoke: #8e8499;
  --mute-d: #ada3b9;
  --mute-l: #6a5f78;

  --f-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-ui: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-y: clamp(64px, 9vw, 120px);
  --r-card: 20px;
  --r-btn: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t-mid: 240ms;

  --glow: 0 0 0 1px rgba(214, 173, 95, .55), 0 16px 44px -14px rgba(214, 173, 95, .42);
  --glow-soft: 0 12px 34px -14px rgba(214, 173, 95, .38);
  --shadow-d: 0 18px 40px -22px rgba(0, 0, 0, .7);
  --shadow-l: 0 18px 40px -24px rgba(60, 30, 80, .35);

  /* theme defaults = dark */
  --bg: var(--plum);
  --fg: var(--cream);
  --fg-mute: var(--mute-d);
  --card: rgba(255, 255, 255, .045);
  --card-hi: rgba(255, 255, 255, .08);
  --line: rgba(245, 236, 221, .2);
  --line-hi: rgba(214, 173, 95, .6);
  --accent: var(--brass-hi);
  --on-accent: var(--plum);
  --star-off: rgba(245, 236, 221, .2);

  /* arch frame: the extra outer border around every arch mask (gap in the section colour, then a brass line) */
  --ring-gap: var(--bg);
  --ring-line: rgba(214, 173, 95, .55);
  --ring: 0 0 0 5px var(--ring-gap), 0 0 0 6px var(--ring-line);
  /* texture layers (round 2 swaps these for the generated textures) */
  --tex-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .12  0 0 0 0 .26  0 0 0 .13 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --tex-cream: linear-gradient(rgba(245, 236, 221, .42), rgba(245, 236, 221, .42)), url(img/tex-wax.webp);
  --tex-cream-size: 640px;
  --tex-aub: linear-gradient(rgba(43, 29, 61, .55), rgba(43, 29, 61, .55)), url(img/tex-velvet.webp);
  --tex-aub-size: 640px;
  --tex-dark: linear-gradient(rgba(28, 20, 41, .3), rgba(28, 20, 41, .3)), url(img/tex-night.webp);
  --tex-dark-size: cover;
  --tex-card: url(img/tex-velvet.webp);
  --tex-paper: url(img/tex-paper.webp);
  --tex-linen: url(img/tex-linen.webp);
  --tex-brass: url(img/tex-brass.webp);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--plum); color: var(--cream);
  font-family: var(--f-ui); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
body::after { /* film grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 400; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(214, 173, 95, .22); border-radius: 6px; }
::selection { background: var(--brass); color: var(--plum); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 600; background: var(--brass-hi); color: var(--plum); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--fg-mute); max-width: 56ch; }
.muted { color: var(--fg-mute); }
.italic { font-style: italic; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- section themes ---------- */
.sec { padding-block: var(--sec-y); position: relative; background: var(--bg); color: var(--fg); }
.sec--dark { --bg: var(--plum); }
.sec--aub {
  --bg: var(--aub); --card: rgba(255, 255, 255, .05); --line: rgba(245, 236, 221, .22);
}
.sec--cream {
  --bg: var(--cream); --fg: #2a1d39; --fg-mute: var(--mute-l); --card: rgba(255, 255, 255, .6); --card-hi: #fff;
  --line: rgba(60, 38, 77, .24); --line-hi: rgba(138, 98, 38, .75); --accent: var(--brass-deep); --on-accent: var(--cream);
  --star-off: rgba(60, 38, 77, .2); --glow: 0 0 0 1px rgba(138, 98, 38, .55), 0 16px 40px -14px rgba(138, 98, 38, .4);
}
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }
.sec-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.sec-head .lead { margin-inline: auto; }
.sec-head--left { text-align: left; margin-inline: 0; }
.sec-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--brass-hi); --b-fg: var(--plum); --b-bd: var(--brass-hi);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px;
  border-radius: var(--r-btn); background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font-weight: 700; font-size: 16px; letter-spacing: .02em; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(214, 173, 95, .6); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--line-hi); }
.btn--ghost:hover { background: rgba(214, 173, 95, .12); }
.btn--dark { --b-bg: var(--plum); --b-fg: var(--cream); --b-bd: var(--plum); }
.btn--dark:hover { box-shadow: 0 10px 28px -8px rgba(28, 20, 41, .6); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn .spin { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--accent); font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; transition: color var(--t-fast); }
.link:hover { color: var(--fg); }
.iconbtn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; position: relative;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast), box-shadow var(--t-fast);
}
.iconbtn:hover { background: rgba(214, 173, 95, .14); transform: translateY(-2px); box-shadow: var(--glow-soft); }
.iconbtn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* every bordered surface lifts and glows */
.lift { transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid), background-color var(--t-mid); }
.lift:hover, .lift:focus-within { transform: translateY(-4px); box-shadow: var(--glow); border-color: var(--line-hi); }
.surface { border: 1px solid var(--line); background: var(--card); border-radius: var(--r-card); }

/* ---------- announcement + header ---------- */
.announce { background: var(--brass-deep); color: var(--cream); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-align: center; padding: 9px var(--gutter); position: relative; z-index: 60; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce span { display: inline-block; animation: fadeUp .5s var(--ease); }
#hm-top { display: contents; }
.header { position: sticky; top: 0; z-index: 70; background: rgba(28, 20, 41, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(245, 236, 221, .12); transition: background-color var(--t-mid), box-shadow var(--t-mid); }
.header__in { width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; transition: height var(--t-mid) var(--ease); gap: 16px; }
.header.scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .8); background: rgba(28, 20, 41, .96); }
.header.scrolled .header__in { height: 62px; }
.header.scrolled .logo { transform: scale(.86); }
.nav { display: flex; gap: clamp(12px, 1.6vw, 26px); align-items: center; white-space: nowrap; }
.nav a { white-space: nowrap; font-size: 15px; font-weight: 600; letter-spacing: .04em; padding: 10px 2px; position: relative; color: var(--cream); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--brass-hi); transform: scaleX(0); transform-origin: left; transition: transform var(--t-mid) var(--ease); border-radius: 2px; }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.header__tools { display: flex; justify-content: flex-end; gap: 2px; }
.header .burger { display: none; }
.logo { display: inline-flex; align-items: center; font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: .12em; color: var(--cream); white-space: nowrap; transition: transform var(--t-mid) var(--ease); transform-origin: center; }
.logo .o { display: inline-block; width: 1.02em; height: 1.02em; margin: 0 .22em 0 0; position: relative; top: .04em; }
.logo .o svg { width: 100%; height: 100%; }
.cart-count { position: absolute; top: 1px; right: -1px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 10px; background: var(--brass-hi); color: var(--plum); font-size: 14px; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform var(--t-mid) var(--ease); }
.cart-count.on { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* mobile menu */
.scrim { position: fixed; inset: 0; background: rgba(10, 6, 18, .62); opacity: 0; pointer-events: none; transition: opacity var(--t-mid); z-index: 180; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.mmenu { position: fixed; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--aub); z-index: 200; transform: translateX(-100%); transition: transform .32s var(--ease); padding: 22px 24px 32px; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; }
.mmenu.on { transform: none; visibility: visible; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mmenu a.m-link { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--f-display); font-size: 1.55rem; border-bottom: 1px solid var(--line); transition: padding var(--t-fast), color var(--t-fast); }
.mmenu a.m-link:hover { padding-left: 8px; color: var(--brass-hi); }
.mmenu .m-sub { margin-top: auto; padding-top: 24px; display: grid; gap: 4px; }
.mmenu .m-sub a { padding: 10px 0; color: var(--mute-d); font-size: 16px; }

/* drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--plum); border-left: 1px solid var(--line); z-index: 200; transform: translateX(104%); transition: transform .34s var(--ease); display: flex; flex-direction: column; visibility: hidden; box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .7); }
.drawer.on { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--aub); display: grid; gap: 12px; }
.meter { margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); font-size: 15px; }
.meter__bar { height: 8px; border-radius: 6px; background: rgba(245, 236, 221, .16); overflow: hidden; margin-top: 10px; }
.meter__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brass), var(--brass-hi)); transition: width .5s var(--ease); box-shadow: 0 0 14px rgba(214, 173, 95, .7); }
.meter strong { color: var(--accent); }
section[id], [id].sec { scroll-margin-top: 96px; }

/* cart line */
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--aub); border: 1px solid var(--line); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.2; display: block; }
.line__meta { font-size: 14px; color: var(--fg-mute); margin: 2px 0 8px; }
.line__price { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.line__rm { font-size: 14px; color: var(--fg-mute); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 4px; margin-top: 2px; }
.line__rm:hover { color: var(--accent); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; font-size: 20px; border-radius: 50%; transition: background-color var(--t-fast), transform var(--t-fast); }
.qty button:hover { background: rgba(214, 173, 95, .18); }
.qty button:active { transform: scale(.9); }
.qty output, .qty input { min-width: 30px; width: 40px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; background: transparent; border: 0; }
.qty--sm button { width: 36px; height: 36px; font-size: 18px; }
.drawer .line .qty--sm button { width: 38px; height: 38px; }
.upsell { margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.upsell__t { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.upsell__row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.upsell__row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.upsell__row strong { font-family: var(--f-display); font-weight: 500; display: block; line-height: 1.2; }
.upsell__row span { font-size: 14px; color: var(--fg-mute); }
.totals { display: grid; gap: 8px; font-size: 16px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.totals .grand { font-size: 1.2rem; font-weight: 800; padding-top: 10px; border-top: 1px solid var(--line); }
.totals .disc { color: var(--accent); }
.codeform { margin-top: 18px; }
.zoom .badge { white-space: nowrap; }
.empty { text-align: center; padding: 48px 12px; }
.empty .moon-mini { width: 76px; margin: 0 auto 18px; }
.empty h3 { margin-bottom: 8px; }

/* modal + search */
.modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--t-mid); }
.modal.on { opacity: 1; pointer-events: auto; }
.modal__box { width: min(460px, 100%); background: var(--aub); border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px 26px; transform: translateY(20px) scale(.98); transition: transform .3s var(--ease); max-height: 92vh; overflow-y: auto; position: relative; box-shadow: 0 40px 80px -20px #000; }
.modal.on .modal__box { transform: none; }
.modal__x { position: absolute; top: 12px; right: 12px; }
.tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px; }
.tabs button { flex: 1; min-height: 44px; border-radius: 999px; font-weight: 700; color: var(--fg-mute); transition: background-color var(--t-fast), color var(--t-fast); }
.tabs button[aria-selected='true'] { background: var(--brass-hi); color: var(--plum); }

.search { position: fixed; inset: 0; z-index: 210; background: rgba(20, 13, 31, .97); opacity: 0; pointer-events: none; transition: opacity var(--t-mid); overflow-y: auto; padding: 24px var(--gutter) 60px; }
.search.on { opacity: 1; pointer-events: auto; }
.search__in { width: min(780px, 100%); margin: 0 auto; padding-top: 4vh; }
.search__bar { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--brass-hi); padding-bottom: 6px; }
.search__bar input { flex: 1; background: transparent; border: 0; outline: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 4vw, 2.6rem); min-width: 0; padding: 8px 0; }
.search__bar input::placeholder { color: var(--smoke); }
.search__res { margin-top: 24px; display: grid; gap: 10px; }
.sres { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.sres img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.sres strong { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; display: block; line-height: 1.2; }
.sres span { color: var(--fg-mute); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; background: transparent; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast); }
.chip:hover { transform: translateY(-2px); border-color: var(--line-hi); box-shadow: var(--glow-soft); }
.chip[aria-pressed='true'], .chip.is-on { background: var(--brass-hi); color: var(--plum); border-color: var(--brass-hi); }
.sec--cream .chip[aria-pressed='true'], .sec--cream .chip.is-on { background: var(--plum); color: var(--cream); border-color: var(--plum); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; position: relative; }
.field label, .lbl { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--fg); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; background: var(--card); color: var(--fg); border: 1px solid var(--line);
  border-radius: 14px; font-size: 16px; transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23b98b3f' stroke-width='2'><path d='M1 1l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field select option { color: #1c1429; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-hi); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: 0; border-color: var(--brass-hi); box-shadow: 0 0 0 4px rgba(214, 173, 95, .25); }
.field input::placeholder, .field textarea::placeholder { color: var(--smoke); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #f08a8a; box-shadow: 0 0 0 3px rgba(240, 138, 138, .18); }
.sec--cream .field.bad input, .sec--cream .field.bad select, .sec--cream .field.bad textarea { border-color: #b3261e; }
.err { display: none; font-size: 14px; color: #ffb3b3; font-weight: 600; }
.sec--cream .err { color: #b3261e; }
.field.bad .err { display: block; animation: fadeUp .25s var(--ease); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.checkrow { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.checkrow input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brass); flex: none; }
.formok { display: none; text-align: center; padding: 26px 10px; }
.formok.on { display: block; animation: fadeUp .4s var(--ease); }
.formok .tick { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; border: 1.5px solid var(--brass-hi); display: grid; place-items: center; box-shadow: var(--glow-soft); }
.formok .tick svg { width: 30px; height: 30px; stroke: var(--brass-hi); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.code-pill { display: inline-block; margin-top: 8px; padding: 10px 22px; border: 1.5px dashed var(--brass-hi); border-radius: 999px; font-weight: 800; letter-spacing: .12em; color: var(--brass-hi); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--plum); }
.hero__img { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 70% 60%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.2%, -.8%, 0); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(28, 20, 41, .92) 0%, rgba(28, 20, 41, .78) 32%, rgba(28, 20, 41, .18) 62%, rgba(28, 20, 41, 0) 100%), linear-gradient(0deg, rgba(28, 20, 41, .85), rgba(28, 20, 41, 0) 30%); }
.hero__glow { position: absolute; z-index: -1; right: 18%; top: 38%; width: 46vmin; height: 46vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 110, .38), rgba(255, 170, 70, .1) 45%, transparent 70%); mix-blend-mode: screen; animation: flicker 4.2s ease-in-out infinite; pointer-events: none; }
@keyframes flicker { 0%, 100% { opacity: .75; transform: scale(1); } 20% { opacity: 1; transform: scale(1.04); } 45% { opacity: .7; transform: scale(.98); } 70% { opacity: .95; transform: scale(1.03); } }
.motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.motes i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: var(--brass-hi); opacity: 0; box-shadow: 0 0 8px 2px rgba(214, 173, 95, .7); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate3d(var(--dx, 20px), -75vh, 0); opacity: 0; } }
.hero__in { padding-block: clamp(56px, 10vw, 120px); }
.hero__copy { max-width: 620px; }
.hero h1 { margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.hero h1 em { font-style: italic; color: var(--brass-hi); }
.hero .lead { color: #d8cee0; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.moonchip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(28, 20, 41, .6); backdrop-filter: blur(8px); font-size: 15px; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast); }
.moonchip:hover { transform: translateY(-2px); box-shadow: var(--glow); border-color: var(--line-hi); }
.moonchip svg { width: 34px; height: 34px; }
.moonchip b { color: var(--brass-hi); }

/* moon svg bits */
.moon .m-lit { fill: #f3e6c8; }
.moon .m-ring { fill: none; stroke: rgba(245, 236, 221, .28); stroke-width: 1.5; }
.moon-divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto; color: var(--accent); }
.moon-divider .m-dark { fill: transparent; }
.moon-divider .m-ring { stroke: currentColor; stroke-width: 7; opacity: .75; }
.moon-divider::before, .moon-divider::after { content: ''; height: 1px; width: min(120px, 18vw); background: var(--line); }
.moon-divider svg { width: 18px; height: 18px; }
.moon-divider svg:nth-child(3) { width: 26px; height: 26px; }

/* ---------- trust ---------- */
.trust { background: var(--aub); border-block: 1px solid var(--line); padding-block: 26px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust__it { display: flex; align-items: center; gap: 14px; }
.trust__it svg { width: 38px; height: 38px; flex: none; stroke: var(--brass-hi); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.trust__it b { display: block; font-size: 16px; line-height: 1.25; }
.trust__it span { font-size: 14px; color: var(--mute-d); }

/* ---------- intention arches ---------- */
.arches { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 24px); }
.arch-tile { display: block; text-align: center; }
.arch-tile__m { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px; border: 1px solid var(--line); background: var(--aub); position: relative; box-shadow: var(--ring); transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid), border-color var(--t-mid); }
.arch-tile__m img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.arch-tile:hover .arch-tile__m { transform: translateY(-6px); box-shadow: var(--ring), var(--glow); border-color: var(--line-hi); }
.arch-tile:hover .arch-tile__m img { transform: scale(1.02); }
.arch-tile h3 { margin: 22px 0 4px; font-size: 1.55rem; font-weight: 600; letter-spacing: 0; }
.arch-tile p { margin: 0; font-size: 15px; color: var(--fg-mute); }

/* ---------- product grid + card ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); padding: 12px 12px 18px; position: relative; }
.pcard__media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 14px 14px / 36% 36% 14px 14px; background: var(--aub); border: 1px solid var(--line); box-shadow: var(--ring); margin: 6px; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .45s; }
.pcard__media .alt { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard__media .alt { opacity: 1; }
  .pcard:hover .pcard__media .main { transform: scale(1.02); }
}
.badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { white-space: nowrap; display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); color: var(--plum); border: 1px solid rgba(28, 20, 41, .25); }
.badge--new { background: var(--brass-hi); }
.badge--sub { background: var(--lilac); }
.pcard .badges { left: 50%; transform: translateX(-50%); align-items: center; top: 14px; }
.pcard__body { padding: 16px 8px 0; display: flex; flex-direction: column; flex: 1; text-align: center; }
.pcard__kind { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-mute); font-weight: 700; margin: 0 0 2px; }
.pcard h3 { margin: 0 0 6px; font-size: 1.45rem; }
.pcard h3 a:hover { color: var(--accent); }
.pcard__meta { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 15px; color: var(--fg-mute); margin-bottom: 8px; }
.pcard__price { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.pcard__price s { color: var(--fg-mute); font-weight: 400; margin-right: 6px; }
.pcard .btn { margin-top: auto; }
.stars { --r: 5; display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, var(--accent) calc(var(--r) * 20%), var(--star-off) 0); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stars--lg { font-size: 22px; }

/* horizontal row on small screens */
.hscroll { display: grid; grid-auto-flow: column; }

/* ---------- signature teaser ---------- */
.sig { position: relative; overflow: hidden; isolation: isolate; }
.sig__bg { position: absolute; inset: 0; z-index: -2; }
.sig__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.sig::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--plum), rgba(28, 20, 41, .35) 22%, rgba(28, 20, 41, .35) 78%, var(--plum)); }
.sig__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sig__panels { display: grid; gap: 18px; }
.sig-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px; align-items: center; background: rgba(28, 20, 41, .72); backdrop-filter: blur(10px); }
.sig-card h3 { margin-bottom: 6px; }
.sig-card p { margin-bottom: 14px; color: var(--mute-d); font-size: 16px; }
.moon-big { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.moon-big::before { content: ''; position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(243, 230, 200, .3), rgba(183, 166, 209, .08) 50%, transparent 70%); animation: halo 6s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.08); opacity: .8; } }
.moon-big svg { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 0 30px rgba(243, 230, 200, .35)); }
.moon-big .m-lit { transition: none; }
.moon-sm svg { width: 92px; height: 92px; }

/* ---------- story block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--cta { grid-template-columns: 1.25fr .75fr; }
.cta-r { text-align: right; }
.arch-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 22px 22px / 36% 36% 22px 22px; border: 1px solid var(--line-hi); position: relative; background: var(--aub); box-shadow: var(--ring); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch-img--land { aspect-ratio: 5 / 4; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.fact { padding: 18px 16px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.fact b { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 500; color: var(--accent); line-height: 1.1; }
.fact span { font-size: 14px; color: var(--fg-mute); }

/* lifestyle gallery */
.gal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gal figure { margin: 0; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); position: relative; }
.gal figure:nth-child(even) { transform: translateY(26px); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal figure:hover img { transform: scale(1.02); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(20, 13, 31, .85), transparent); font-size: 15px; font-weight: 600; color: var(--cream); opacity: 0; transform: translateY(8px); transition: opacity var(--t-mid), transform var(--t-mid); }
.gal figure:hover figcaption { opacity: 1; transform: none; }

/* moon box banner */
.banner { position: relative; overflow: hidden; border-radius: 32px; isolation: isolate; border: 1px solid var(--line); min-height: 440px; display: flex; align-items: center; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 55%; z-index: -2; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(28, 20, 41, 0) 0%, rgba(28, 20, 41, .55) 35%, rgba(28, 20, 41, .92) 100%); }
.banner__copy { margin-left: auto; width: min(560px, 100%); padding: clamp(28px, 5vw, 64px); }
.banner--left::before { background: linear-gradient(90deg, rgba(28, 20, 41, .92) 0%, rgba(28, 20, 41, .6) 40%, rgba(28, 20, 41, 0) 100%); }
.banner--left .banner__copy { margin-left: 0; }

/* reviews */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rcard { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.rcard h4 { margin: 0; font-size: 1.25rem; }
.rcard p { margin: 0; font-size: 16px; }
.rcard footer { margin-top: auto; font-size: 14px; color: var(--fg-mute); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vtag { display: inline-flex; gap: 5px; align-items: center; color: var(--accent); font-weight: 700; }
.rating-big { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.rating-big b { font-family: var(--f-display); font-size: 3rem; font-weight: 500; line-height: 1; }

/* press */
.press { padding-block: 44px; border-block: 1px solid var(--line); }
.press__lbl { text-align: center; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--fg-mute); margin-bottom: 18px; }
.press__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.press__row span { opacity: .75; transition: opacity var(--t-fast), color var(--t-fast); }
.press__row span:hover { opacity: 1; color: var(--accent); }

/* newsletter */
.news { text-align: center; }
.news__box { max-width: 720px; margin-inline: auto; padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); border-radius: 32px; background: var(--card); }
.news form { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 0; align-items: flex-start; }
.news .field { flex: 1; margin: 0; text-align: left; }
.news small { display: block; margin-top: 14px; color: var(--fg-mute); font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: #140d1f; border-top: 1px solid var(--line); padding-top: 72px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer h4 { font-family: var(--f-ui); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--brass-hi); margin-bottom: 16px; }
.footer li a { display: inline-block; padding: 6px 0; color: var(--mute-d); transition: color var(--t-fast), transform var(--t-fast); }
.footer li a:hover { color: var(--cream); transform: translateX(3px); }
.footer__brand p { color: var(--mute-d); max-width: 34ch; margin-top: 16px; }
.footer .social { display: flex; gap: 10px; margin-top: 18px; }
.footer .social a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast); }
.footer .social a:hover { transform: translateY(-3px); box-shadow: var(--glow); border-color: var(--line-hi); }
.footer .social svg { width: 20px; height: 20px; stroke: var(--cream); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer__base { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mute-d); font-size: 14.5px; }
.footer__base nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__base a:hover { color: var(--cream); }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--mute-d); }

/* ---------- page head (shop banner etc) ---------- */
.phead { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 9vw, 110px); text-align: center; border-bottom: 1px solid var(--line); }
.phead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: opacity .35s var(--ease); }
/* the shop hero swaps its photo by category: fade the new one in, never show the old one first */
.phead > img.is-loading { opacity: 0; transition: none; }
.phead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 20, 41, .55), rgba(28, 20, 41, .85)); }
.phead p { max-width: 54ch; margin: 0 auto; color: #d8cee0; font-size: 1.1rem; }
.crumbs { font-size: 14px; color: var(--fg-mute); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tabrow { display: flex; gap: 8px; flex-wrap: wrap; }
.filters { display: grid; gap: 16px; margin-bottom: 26px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.filters__grp { display: flex; gap: 12px 14px; flex-wrap: wrap; align-items: center; }
.filters__lbl { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--accent); width: 108px; flex: none; }
.sortbox { display: flex; align-items: center; gap: 10px; }
.sortbox select { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); padding: 0 40px 0 18px; appearance: none; font-weight: 600; font-size: 15px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23b98b3f' stroke-width='2'><path d='M1 1l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.sortbox select option { color: #1c1429; }
.count { font-weight: 700; }
.filterbtn { display: none; }
.sheet-x { display: none; }
.empty-state { text-align: center; padding: 70px 10px; border: 1px dashed var(--line); border-radius: var(--r-card); grid-column: 1 / -1; }
.quick { transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), background-color var(--t-fast); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { display: grid; grid-template-columns: 92px 1fr; gap: 16px; position: sticky; top: 100px; }
.thumbs { display: grid; gap: 12px; align-content: start; }
.thumb { width: 92px; height: 92px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); padding: 0; background: var(--aub); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-3px); box-shadow: var(--glow-soft); border-color: var(--line-hi); }
.thumb[aria-current='true'] { border-color: var(--brass-hi); box-shadow: var(--glow-soft); }
.zoom { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 22px 22px / 34% 34% 22px 22px; border: 1px solid var(--line-hi); background: var(--aub); cursor: zoom-in; box-shadow: var(--ring); }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), opacity .3s; }
.zoom:hover img { transform: scale(1.02); }
.pdp__info h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 4px; }
.pdp__kind { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.pdp__price { font-size: 1.7rem; font-weight: 800; margin: 14px 0 6px; font-variant-numeric: tabular-nums; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pdp__price s { font-size: 1.1rem; font-weight: 400; color: var(--fg-mute); }
.pdp__price small { font-size: 14px; font-weight: 700; color: var(--accent); background: rgba(185, 139, 63, .16); padding: 3px 12px; border-radius: 999px; }
.ratingline { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--fg-mute); }
.ratingline a:hover { color: var(--accent); text-decoration: underline; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.note { padding: 14px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: center; }
.note small { display: block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 4px; }
.note span { font-size: 15px; line-height: 1.35; display: block; }
.opt { margin: 22px 0; }
.opt__t { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; letter-spacing: .06em; margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.optbtn { min-height: 48px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; font-size: 15.5px; background: var(--card); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast), background-color var(--t-fast); }
.optbtn:hover { transform: translateY(-2px); border-color: var(--line-hi); box-shadow: var(--glow-soft); }
.optbtn[aria-checked='true'] { border-color: var(--brass-hi); background: rgba(214, 173, 95, .16); box-shadow: 0 0 0 1px var(--brass-hi), var(--glow-soft); }
.subtog { display: grid; gap: 10px; margin: 22px 0; }
.subopt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--card); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast), background-color var(--t-fast); }
.subopt:hover { transform: translateY(-2px); border-color: var(--line-hi); box-shadow: var(--glow-soft); }
.subopt input { width: 22px; height: 22px; accent-color: var(--brass); }
.subopt:has(input:checked) { border-color: var(--brass-hi); background: rgba(214, 173, 95, .14); box-shadow: 0 0 0 1px var(--brass-hi), var(--glow-soft); }
.subopt b { display: block; }
.subopt small { color: var(--fg-mute); font-size: 14px; }
.buyrow { display: flex; gap: 12px; align-items: stretch; margin: 22px 0 12px; }
.buyrow .btn { flex: 1; min-height: 56px; font-size: 17px; }
.perks { display: grid; gap: 8px; font-size: 15px; color: var(--fg-mute); margin-bottom: 26px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex: none; stroke-linecap: round; stroke-linejoin: round; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 60px; font-family: var(--f-display); font-size: 1.25rem; transition: color var(--t-fast); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--accent); }
.acc summary::after { content: '+'; font-family: var(--f-ui); font-size: 26px; transition: transform var(--t-mid) var(--ease); color: var(--accent); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { overflow: hidden; }
.acc__in { padding: 0 0 20px; color: var(--fg-mute); }
.acc__in li { padding: 4px 0 4px 20px; position: relative; }
.acc__in li { padding-left: 28px; }
.acc__in li::before { content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; background: var(--accent); -webkit-mask: var(--ic-star) center / contain no-repeat; mask: var(--ic-star) center / contain no-repeat; }
.acc__in ol { padding-left: 22px; margin: 0; }
.acc__in ol li { padding-left: 4px; list-style: decimal; }
.acc__in ol li::before { display: none; }
.stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(28, 20, 41, .97); border-top: 1px solid var(--line-hi); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .3s var(--ease); backdrop-filter: blur(10px); }
.stickybuy.on { transform: none; }
.stickybuy img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.stickybuy div { flex: 1; min-width: 0; line-height: 1.25; }
.stickybuy strong { font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybuy span { font-size: 14px; color: var(--mute-d); }

.revs { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); }
.revs__sum { position: sticky; top: 100px; align-self: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.revs__avg { font-family: var(--f-display); font-size: 4rem; line-height: 1; }
.bars { display: grid; gap: 8px; margin-top: 18px; }
.zoom .badges { left: 50%; transform: translateX(-50%); top: 16px; align-items: center; }
.bar span:first-child { white-space: nowrap; }
.bar { display: grid; grid-template-columns: 56px 1fr 40px; gap: 10px; align-items: center; font-size: 14px; color: var(--fg-mute); font-variant-numeric: tabular-nums; }
.bar i { height: 8px; border-radius: 6px; background: var(--star-off); overflow: hidden; position: relative; }
.bar i b { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 6px; width: 0; transition: width 1s var(--ease); }
.revlist { display: grid; gap: 16px; }
.rev { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.rev h4 { margin: 6px 0 6px; font-size: 1.25rem; }
.rev p { margin: 0 0 10px; }
.rev__by { font-size: 14px; color: var(--fg-mute); display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- cart + checkout ---------- */
.cartpage { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cartpage .line { grid-template-columns: 110px 1fr auto; padding: 22px 0; }
.cartpage .line__img { width: 110px; height: 110px; }
.sumbox { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); position: sticky; top: 100px; }
.sumbox h2 { font-size: 1.6rem; }
.codebox { display: flex; gap: 10px; margin: 18px 0 6px; }
.codebox input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; background: var(--card); text-transform: uppercase; letter-spacing: .08em; }
.codebox input:focus { outline: 0; border-color: var(--brass-hi); box-shadow: 0 0 0 4px rgba(214, 173, 95, .25); }
.codemsg { font-size: 14px; min-height: 22px; margin-bottom: 8px; }
.codemsg.ok { color: var(--brass-hi); }
.sec--cream .codemsg.ok { color: var(--brass-deep); }
.codemsg.no { color: #ffb3b3; }
.sec--cream .codemsg.no { color: #b3261e; }
.coupon-x { margin-left: 6px; text-decoration: underline; cursor: pointer; }
.checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.cosec { margin-bottom: 34px; }
.cosec h2 { font-size: 1.7rem; display: flex; align-items: center; gap: 12px; }
.cosec__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-hi); background: rgba(214, 173, 95, .12); color: var(--accent); flex: none; }
.cosec__ic svg { width: 24px; height: 24px; }
.radios { display: grid; gap: 10px; margin-bottom: 8px; }
.radio { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: var(--card); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast); }
.radio:hover { transform: translateY(-2px); border-color: var(--line-hi); box-shadow: var(--glow-soft); }
.radio:has(input:checked) { border-color: var(--brass-hi); box-shadow: 0 0 0 1px var(--brass-hi), var(--glow-soft); }
.radio input { width: 20px; height: 20px; accent-color: var(--brass); }
.radio small { display: block; color: var(--fg-mute); font-size: 14px; }
.cosum { position: sticky; top: 100px; }
.cosum .line { grid-template-columns: 72px 1fr auto; }
.cosum .line__img { width: 72px; height: 72px; position: relative; overflow: visible; }
.cosum .line__img img { border-radius: 13px; }
.cosum .line__q { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--brass-hi); color: var(--plum); font-size: 14px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.securenote { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--fg-mute); margin-top: 14px; }
.securenote svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex: none; }
.cardicons { position: absolute; right: 14px; top: 38px; display: flex; gap: 6px; font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: .06em; }

/* order */
.okhead { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.okmoon { width: 96px; margin: 0 auto 22px; animation: fadeUp .8s var(--ease); }
.ordno { display: inline-block; padding: 10px 24px; border: 1.5px dashed var(--accent); border-radius: 999px; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin-top: 6px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 48px; position: relative; }
.tl { text-align: center; position: relative; padding: 0 8px; }
.tl::before { content: ''; position: absolute; top: 19px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.tl:first-child::before { display: none; }
.tl.done::before { background: var(--brass-hi); }
.tl i svg { width: 22px; height: 22px; }
.tl i { color: var(--accent); width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); display: grid; place-items: center; margin: 0 auto 12px; position: relative; z-index: 1; font-style: normal; font-weight: 800; }
.tl.done i { background: var(--brass-hi); border-color: var(--brass-hi); color: var(--plum) !important; box-shadow: var(--glow-soft); }
.tl.now i { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(214, 173, 95, .18); } }
.tl b { display: block; font-size: 16px; }
.tl span { font-size: 14px; color: var(--fg-mute); }
.ordgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }

/* ---------- finder + box ---------- */
.finder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.moonpanel { text-align: center; position: sticky; top: 110px; }
.moonpanel h2 { margin: 22px 0 4px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.moonstats { display: flex; justify-content: center; gap: 28px; margin: 18px 0 0; flex-wrap: wrap; }
.moonstats div { font-size: 14px; color: var(--mute-d); }
.moonstats b { display: block; color: var(--cream); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.step { display: none; }
.step.on { display: block; }
/* only a step the visitor moves to animates; step 1 on page load paints at once (a fade there read as an empty page) */
.step.on.enter { animation: fadeUp .45s var(--ease); }
.stepdots { display: flex; gap: 8px; margin-bottom: 24px; }
.stepdots i { height: 5px; flex: 1; border-radius: 4px; background: var(--line); transition: background-color var(--t-mid); }
.stepdots i.on { background: var(--brass-hi); box-shadow: 0 0 10px rgba(214, 173, 95, .6); }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.choice { text-align: left; padding: 20px 22px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--card); min-height: 100px; transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid), border-color var(--t-mid), background-color var(--t-mid); }
.choice:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: var(--line-hi); background: var(--card-hi); }
.choice b { display: block; font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; }
.choice span { color: var(--fg-mute); font-size: 15px; }
.choice[aria-pressed='true'] { border-color: var(--brass-hi); background: rgba(214, 173, 95, .16); box-shadow: 0 0 0 1px var(--brass-hi), var(--glow-soft); }
.result { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 24px; border: 1px solid var(--line-hi); border-radius: 28px; background: var(--card); box-shadow: var(--glow-soft); }
.result .arch-img { aspect-ratio: 3 / 4; }
.result h3 { font-size: 2.1rem; margin-bottom: 4px; }
.result .why { font-size: 1.05rem; }
.ritualbox { margin: 16px 0; padding: 16px 18px; border: 1px dashed var(--line-hi); border-radius: 16px; font-style: italic; font-family: var(--f-display); font-size: 1.1rem; line-height: 1.5; }
.also { margin-top: 22px; display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.also img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }

.boxwrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 22px); margin-bottom: 30px; }
.slot { aspect-ratio: 3 / 4; border-radius: 50% 50% 16px 16px / 34% 34% 16px 16px; border: 1.5px dashed var(--line-hi); background: var(--card); position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 10px; box-shadow: var(--ring); transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid), border-color var(--t-mid); }
.slot.next { border-color: var(--brass-hi); box-shadow: var(--ring), var(--glow-soft); animation: slotpulse 2.4s ease-in-out infinite; }
@keyframes slotpulse { 50% { box-shadow: var(--ring), 0 0 0 12px rgba(214, 173, 95, .16); } }
.slot .plus { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 6px; }
.slot .plus svg { width: 100%; height: 100%; }
.slot span { font-size: 14px; color: var(--fg-mute); }
.slot.filled { border-style: solid; }
.slot.filled img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(1.15); opacity: 0; } }
.slot.filled:hover { transform: translateY(-4px); box-shadow: var(--ring), var(--glow); }
.slot .rm { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2; background: rgba(28, 20, 41, .9); color: var(--cream); border: 1px solid var(--line-hi); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; min-height: 32px; }
.slot .nm { position: absolute; top: 38%; left: 0; right: 0; }
.picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pick { padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-align: center; position: relative; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.pick b { font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; display: block; line-height: 1.2; }
.pick span { font-size: 14.5px; color: var(--fg-mute); display: block; margin-bottom: 8px; }
.pick .btn { min-height: 44px; padding: 0 14px; width: 100%; font-size: 15px; }
.pick .q { position: absolute; top: 8px; right: 8px; background: var(--brass-hi); color: var(--plum); font-weight: 800; font-size: 14px; min-width: 26px; height: 26px; border-radius: 13px; display: grid; place-items: center; padding: 0 6px; }
.boxsum { position: sticky; top: 100px; padding: 28px; border: 1px solid var(--line-hi); border-radius: 26px; background: var(--card); box-shadow: var(--glow-soft); }
.boxsum ul { margin: 12px 0 18px; display: grid; gap: 6px; font-size: 16px; }
.boxsum li { display: flex; justify-content: space-between; gap: 10px; }
.boxsum .counter { font-size: 14px; color: var(--fg-mute); text-align: right; margin-top: -10px; margin-bottom: 14px; }
.save-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(214, 173, 95, .18); color: var(--brass-hi); font-weight: 800; font-size: 14px; }

/* ---------- story / help / 404 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.val { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.val svg { width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.pourdays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pourday { padding: 20px 14px; text-align: center; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.pourday svg { width: 52px; height: 52px; margin: 0 auto 10px; }
.pourday b { display: block; font-size: 1.15rem; }
.pourday span { font-size: 14px; color: var(--fg-mute); }
.helpnav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.faqtabs { margin-bottom: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; background: var(--card); padding: 0 22px; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.faq details:hover { border-color: var(--line-hi); box-shadow: var(--glow-soft); transform: translateY(-2px); }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; color: var(--accent); transition: transform var(--t-mid) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { color: var(--fg-mute); padding-bottom: 18px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 16px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--card); }
.prose { max-width: 70ch; }
.prose h3 { margin-top: 1.4em; }
.e404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); position: relative; overflow: hidden; isolation: isolate; }
.e404 .eclipse { width: min(300px, 70vw); margin: 0 auto 28px; }
.e404 h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.stars-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #f5ecdd 50%, transparent 52%), radial-gradient(1.5px 1.5px at 70% 20%, #f5ecdd 50%, transparent 52%), radial-gradient(1px 1px at 40% 70%, #f5ecdd 50%, transparent 52%), radial-gradient(1.5px 1.5px at 85% 65%, #f5ecdd 50%, transparent 52%), radial-gradient(1px 1px at 10% 80%, #f5ecdd 50%, transparent 52%), radial-gradient(1px 1px at 55% 12%, #f5ecdd 50%, transparent 52%); animation: twinkle 5s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .45; } }

/* ---------- motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* reveal moves with `translate`, so a hover `transform` lift still works after the reveal */
.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid), background-color var(--t-mid); transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s, 0s; }
.js [data-reveal].in { opacity: 1; translate: none; }
/* product cards: short fade and a capped stagger, so a card is fully opaque within ~250 ms of entering view */
.js .pcard[data-reveal] { translate: 0 14px; transition-duration: .2s, .2s, var(--t-mid), var(--t-mid), var(--t-mid), var(--t-mid); transition-delay: calc(min(var(--d, 0), 3) * 15ms), calc(min(var(--d, 0), 3) * 15ms), 0s, 0s, 0s, 0s; }
.js .pcard[data-reveal].in { translate: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--cream); color: var(--plum); padding: 12px 22px; border-radius: 999px; font-weight: 700; z-index: 300; opacity: 0; pointer-events: none; transition: opacity var(--t-mid), transform var(--t-mid) var(--ease); box-shadow: 0 16px 40px -12px #000; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- round 2: ornaments, textures, icons, zoom ---------- */
:root {
  --ic-star: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 1l3.2 11.8L31 16l-11.8 3.2L16 31l-3.2-11.8L1 16l11.8-3.2z'/></svg>");
  --orn-apex: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 34'><path d='M32 1.5l3 9.5 9.5 3-9.5 3-3 9.5-3-9.5-9.5-3 9.5-3z' fill='%23d6ad5f'/><path d='M6 32c7-6.5 16-9 26-9s19 2.5 26 9' fill='none' stroke='%23d6ad5f' stroke-width='1.3'/><circle cx='3' cy='32' r='1.8' fill='%23d6ad5f'/><circle cx='61' cy='32' r='1.8' fill='%23d6ad5f'/></svg>");
  --orn-frame: url(img/frame-arch.webp);
  --orn-frame-ornate: url(img/frame-arch-ornate.webp);
  --orn-corner: url(img/orn-corner.webp);
  --orn-ring: url(img/orn-phase-ring.webp);
  --orn-divider: url(img/orn-divider.webp);
}
.sec--cream { --ring-line: rgba(138, 98, 38, .6); }

/* section textures */
.sec--cream { background-image: var(--tex-cream); background-size: var(--tex-cream-size); }
.sec--aub, .trust { background-image: var(--tex-aub); background-size: var(--tex-aub-size); }
.sec--dark:not(.sig), .footer { background-image: var(--tex-dark); background-size: var(--tex-dark-size); }

/* every arch mask carries the outer frame ring; it reads the section colour where it sits */
.arch-tile__m, .pcard__media, .arch-img, .zoom, .slot, .stepc, .stepc__m, .sig-ic, .pourday__m { --ring: 0 0 0 5px var(--bg), 0 0 0 6px var(--ring-line); }
.pcard { padding-top: 14px; }

/* ornament wrapper: apex star above the arch, optional generated frame around it */
.archwrap { position: relative; }
.archwrap::after { content: ''; position: absolute; left: 50%; top: -30px; width: 58px; height: 31px; transform: translateX(-50%); background: var(--orn-apex) center / contain no-repeat; pointer-events: none; z-index: 3; }
.sec--cream .archwrap::after { filter: brightness(.72) saturate(1.2); }
.archwrap.has-frame::before { content: ''; position: absolute; inset: var(--orn-inset, -26px -22px -16px); background: var(--orn-frame) center / 100% 100% no-repeat; pointer-events: none; z-index: 2; }
.arch-tile .archwrap { margin-top: 30px; }
.arch-tile:hover .archwrap::after { filter: drop-shadow(0 0 6px rgba(214, 173, 95, .8)); }

/* icons */
.ic { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.15em; }
.ic-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-hi); background: radial-gradient(circle at 50% 35%, rgba(214, 173, 95, .3), rgba(214, 173, 95, .08) 72%); color: var(--accent); flex: none; }
.ic-badge .ic { width: 26px; height: 26px; }

/* signature cards: arch-shaped icon badge instead of a number */
.sig-ic { width: 92px; height: 108px; display: grid; place-items: center; border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; border: 1px solid var(--line-hi); background: radial-gradient(circle at 50% 38%, rgba(214, 173, 95, .3), rgba(43, 29, 61, .9) 72%); color: var(--brass-hi); box-shadow: var(--ring); }
.sig-ic .ic { width: 46px; height: 46px; }
/* round 3: engraved emblem for "Build your ritual box", same family as the moon-and-candle engraving */
.sig-emblem { width: 132px; height: auto; margin: -16px -20px; filter: drop-shadow(0 0 7px rgba(214, 173, 95, .3)); }

/* process steps: arch cards with a photo, an icon badge and a texture */
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px 22px; }
.stepc { flex: 1 1 200px; max-width: 250px; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 12px 24px; border: 1px solid var(--line-hi); border-radius: 50% 50% var(--r-card) var(--r-card) / 26% 26% var(--r-card) var(--r-card); background: linear-gradient(180deg, rgba(56, 38, 77, .5), rgba(28, 20, 41, .88)), var(--tex-card); background-size: cover, 512px; box-shadow: var(--ring); }
.stepc.lift:hover { box-shadow: var(--ring), var(--glow); }
.stepc__m { width: 100%; aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, rgba(214, 173, 95, .22), rgba(28, 20, 41, .2) 70%), var(--aub); }
.stepc__m img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.stepc:hover .stepc__m img { transform: scale(1.02); }
.stepc__ic { margin-top: -26px; position: relative; z-index: 1; width: 52px; height: 52px; background: radial-gradient(circle at 50% 35%, #4a3363, #2b1d3d 75%); border-color: var(--brass-hi); color: var(--brass-hi); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .8); }
.stepc h3 { font-size: 1.4rem; margin: 12px 0 6px; font-weight: 600; }
.stepc p { font-size: 15.5px; color: var(--fg-mute); margin: 0; }

/* icon lists (burn guide) */
.ilist { display: grid; gap: 12px; }
.ilist li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 0; }
.ilist li::before { display: none; }
.ilist__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(214, 173, 95, .14); border: 1px solid var(--line-hi); color: var(--accent); }
.ilist__ic .ic { width: 20px; height: 20px; }

/* every bordered surface lifts and glows */
.fact, .note, .rev, .sres, .upsell, .result, .also, .news__box, .sumbox, .boxsum, .revs__sum, .pourday, .meter, .tbl, .banner, .rcard, .radio, .formok .tick { transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid); }
.fact:hover, .note:hover, .rev:hover, .sres:hover, .upsell:hover, .result:hover, .also:hover, .news__box:hover, .sumbox:hover, .boxsum:hover, .revs__sum:hover, .pourday:hover, .meter:hover, .tbl:hover, .banner:hover { transform: translateY(-3px); box-shadow: var(--glow); border-color: var(--line-hi); }

/* click to zoom: the gallery opens a viewer, a click inside zooms */
.zoom__btn { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(28, 20, 41, .82); color: var(--cream); border: 1px solid var(--line-hi); font-size: 14px; font-weight: 700; backdrop-filter: blur(6px); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.zoom__btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.zoom__btn .ic { width: 20px; height: 20px; }
.lightbox { position: fixed; inset: 0; z-index: 260; background: rgba(14, 9, 22, .95); display: grid; place-items: center; opacity: 0; transition: opacity .2s; padding: 24px; overflow: hidden; }
.lightbox.on { opacity: 1; }
.lightbox__img img { max-height: 84vh; width: auto; max-width: 92vw; border-radius: 18px; object-fit: contain; cursor: zoom-in; transition: transform .3s var(--ease); animation: pop .35s var(--ease); }
.lightbox.is-zoom .lightbox__img img { transform: scale(2.2); cursor: zoom-out; }
.lightbox__x { position: absolute; top: 18px; right: 18px; z-index: 2; color: var(--cream); background: rgba(245, 236, 221, .1); border: 1px solid var(--line); }
.lightbox__nav { position: absolute; top: 50%; margin-top: -26px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: rgba(245, 236, 221, .1); border: 1px solid var(--line); color: var(--cream); display: grid; place-items: center; transition: background-color .2s, box-shadow .2s; }
.lightbox__nav:hover { background: rgba(214, 173, 95, .22); box-shadow: var(--glow); }
.lightbox__nav .ic { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--cream); font-size: 15px; background: rgba(28, 20, 41, .85); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.lightbox.is-zoom .lightbox__hint, .lightbox.is-zoom .lightbox__nav { opacity: 0; pointer-events: none; }

/* moon photo layer */
.moon .m-tex-dark { opacity: .9; }
.moon-big::after { content: ''; position: absolute; inset: -15%; background: var(--orn-ring) center / contain no-repeat; pointer-events: none; opacity: .85; animation: ringspin 160s linear infinite; }
@keyframes ringspin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  .stepc { max-width: 320px; flex-basis: 100%; }
  .zoom__btn span { display: none; }
  .zoom__btn { padding: 0; width: 44px; justify-content: center; }
  .lightbox__nav { top: auto; bottom: 64px; margin: 0; }
}


/* ---------- round 2 phase C: generated frames, ornaments, moon, process photos ---------- */
/* arch frame art: the photo sits in the frame's inner opening */
.framed { position: relative; aspect-ratio: 563 / 900; }
.framed::after { content: ''; position: absolute; inset: 0; background: var(--orn-frame) center / 100% 100% no-repeat; pointer-events: none; z-index: 2; transition: filter var(--t-mid); }
.framed__m { position: absolute; inset: 7.2% 3.4% 2.3% 3.2%; overflow: hidden; border-radius: 50% 50% 3px 3px / 29% 29% 3px 3px; background: var(--aub); }
.framed__m img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.framed--ornate { aspect-ratio: 589 / 900; }
.framed--ornate::after { background-image: var(--orn-frame-ornate); }
.framed--ornate .framed__m { inset: 14.2% 6.2% 3% 6.1%; border-radius: 50% 50% 3px 3px / 27% 27% 3px 3px; }
.sec--cream .framed::after { filter: brightness(.66) saturate(1.35); }
.arch-tile .framed { transition: transform var(--t-mid) var(--ease); }
.arch-tile:hover .framed { transform: translateY(-6px); }
.arch-tile:hover .framed::after { filter: brightness(.8) saturate(1.4) drop-shadow(0 0 8px rgba(214, 173, 95, .7)); }
.arch-tile:hover .framed__m img { transform: scale(1.02); }
.arch-tile h3 { margin-top: 14px; }

/* the home pour figure: ornate frame, studio photo, real next full moon */
.pourfig { position: relative; max-width: 470px; margin-inline: auto; width: 100%; }
.pourchip { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 10px; border: 1px solid var(--line-hi); border-radius: 999px; background: rgba(28, 20, 41, .9); backdrop-filter: blur(8px); font-size: 15px; white-space: nowrap; color: var(--cream); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.pourchip:hover { transform: translateX(-50%) translateY(-2px); box-shadow: var(--glow); }
.pourchip svg { width: 38px; height: 38px; }
.pourchip b { color: var(--brass-hi); }
.engr { width: 120px; height: auto; margin: 0 0 14px; opacity: .95; }
.sec-head .engr { margin-inline: auto; }

/* story calendar beside the bench photo */
.pour-split { align-items: center; }
.pour-split .pourdays { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
.pourday { border-radius: 50% 50% var(--r-card) var(--r-card) / 30% 30% var(--r-card) var(--r-card); padding-top: 24px; border-color: var(--line-hi); box-shadow: var(--ring); background: linear-gradient(180deg, rgba(56, 38, 77, .55), rgba(28, 20, 41, .7)), var(--tex-card); background-size: cover, 512px; --ring: 0 0 0 5px var(--bg), 0 0 0 6px var(--ring-line); }
.pourday:hover { box-shadow: var(--ring), var(--glow); }
.pourday svg { width: 84px; height: 84px; filter: drop-shadow(0 0 14px rgba(243, 230, 200, .25)); }

/* moon photo */
.moon--tex .m-ring { stroke: rgba(245, 236, 221, .14); }
.moon-big svg { filter: drop-shadow(0 0 40px rgba(243, 230, 200, .3)); }
.moon-big { margin-block: 72px; }

/* moon phase divider art */
.moon-divider::before, .moon-divider::after { display: none; }
.moon-divider img { width: min(460px, 82vw); height: auto; }
.sec--cream .moon-divider img { filter: brightness(.62) saturate(1.4); }

/* corner ornaments on feature panels */
.sig-card, .news__box, .result { position: relative; }
.sig-card::before, .news__box::before, .result::before, .boxsum::before,
.sig-card::after, .news__box::after, .result::after, .boxsum::after { content: ''; position: absolute; width: 56px; height: 56px; background: var(--orn-corner) center / contain no-repeat; pointer-events: none; opacity: .85; }
.sig-card::before, .news__box::before, .result::before, .boxsum::before { top: 9px; left: 9px; }
.sig-card::after, .news__box::after, .result::after, .boxsum::after { right: 9px; bottom: 9px; transform: rotate(180deg); }

/* brushed brass on the primary button, paper on ritual cards */
.btn:not(.btn--ghost):not(.btn--dark) { background-image: linear-gradient(rgba(214, 173, 95, .45), rgba(214, 173, 95, .45)), var(--tex-brass); background-size: cover, 300px; }
.ritualbox { background: linear-gradient(rgba(245, 236, 221, .9), rgba(245, 236, 221, .9)), var(--tex-paper); background-size: cover, 512px; color: #2a1d39; border-style: solid; border-color: var(--line-hi); }
.ritualbox .eyebrow { color: var(--brass-deep); }

/* a large faint star behind closing calls to action */
.has-star { position: relative; overflow: hidden; isolation: isolate; }
.orn-star-bg { position: absolute; left: 50%; top: 50%; width: min(520px, 92vw); height: auto; transform: translate(-50%, -50%); opacity: .13; pointer-events: none; z-index: -1; }

@media (max-width: 900px) {
  .pourfig { max-width: 360px; margin-bottom: 30px; }
  .pour-split > :first-child { max-width: 360px; margin-inline: auto; width: 100%; }
}
@media (max-width: 700px) {
  .arches { gap: 22px 14px; }
  .pour-split .pourdays { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pourday svg { width: 64px; height: 64px; }
  .moon-big { margin-block: 44px; }
  .sig-card::before, .sig-card::after, .result::before, .result::after { width: 40px; height: 40px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .arches { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .picker { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .header .burger { display: inline-grid; }
  .header__in { grid-template-columns: 1fr auto 1fr; }
  .header__l { display: flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .pdp, .split, .sig__grid, .cartpage, .checkout, .finder, .boxwrap, .revs, .ordgrid { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 76px; order: 2; overflow-x: auto; padding: 4px; }
  .thumb { width: 76px; height: 76px; }
  .sumbox, .cosum, .revs__sum, .moonpanel, .boxsum { position: static; }
  .split--rev > :first-child { order: 0; }
  .cta-r { text-align: left; }
  .rev-grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal figure:nth-child(n+4) { display: none; }
  .gal figure:nth-child(even) { transform: none; }
  .vals { grid-template-columns: 1fr; }
  .pourdays { grid-template-columns: repeat(2, 1fr); }
  .result { grid-template-columns: 1fr; }
  .result .arch-img { max-width: 240px; margin: 0 auto; }
  .stickybuy { display: flex; }
  body.pdp-page { padding-bottom: 80px; }
  .moon-big { width: min(100%, 250px); }
  .moonpanel h2 { margin-top: 14px; }
  .cosum .sumbox { padding: 18px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .header__in { height: 68px; gap: 6px; }
  .logo { font-size: 15.5px; letter-spacing: .12em; }
  .logo .o { margin-right: .12em; }
  #btn-account { display: none; }
  .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard { padding: 8px 8px 14px; }
  .pcard h3 { font-size: 1.15rem; }
  .pcard .btn { min-height: 44px; padding: 0 12px; font-size: 15px; }
  .pcard__meta { font-size: 14px; flex-wrap: wrap; gap: 4px 8px; }
  .arches { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .picker { grid-template-columns: repeat(2, 1fr); }
  .row2, .row3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .fact b { font-size: 1.5rem; }
  .fact { padding: 12px 6px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .hero { display: block; min-height: 0; }
  .hero__img { position: relative; height: 56vh; min-height: 340px; }
  .hero::before { inset: auto; top: 0; left: 0; right: 0; height: 56vh; min-height: 340px; background: linear-gradient(0deg, var(--plum) 0%, rgba(28, 20, 41, 0) 48%), linear-gradient(90deg, rgba(28, 20, 41, .35), rgba(28, 20, 41, 0) 60%); }
  .hero__img img { object-position: 73% 55%; }
  .hero__glow { right: 14%; top: 17%; width: 60vw; height: 60vw; }
  .hero__in { margin-top: -64px; position: relative; padding-block: 0 52px; }
  .hero .motes { height: 56vh; bottom: auto; }
  .banner { min-height: 520px; align-items: flex-end; }
  .banner::before, .banner--left::before { background: linear-gradient(0deg, rgba(28, 20, 41, .96) 0%, rgba(28, 20, 41, .7) 55%, rgba(28, 20, 41, 0) 100%); }
  .news form { flex-direction: column; }
  .news form .btn { width: 100%; }
  .choices { grid-template-columns: 1fr; }
  .slots { gap: 8px; }
  .slot span { font-size: 14px; }
  .sig-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .timeline { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .tl { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; text-align: left; align-items: center; }
  .tl i { margin: 0; grid-row: span 2; }
  .tl::before { display: none; }
  .line { grid-template-columns: 72px 1fr auto; }
  .line__img { width: 72px; height: 72px; }
  .cartpage .line { grid-template-columns: 76px 1fr auto; }
  .cartpage .line__img { width: 76px; height: 76px; }
  .notes { grid-template-columns: 1fr; }
  .note { text-align: left; display: grid; grid-template-columns: 90px 1fr; align-items: center; }
  .note small { margin: 0; }
  .filters__lbl { width: 100%; }
  .filterbtn { display: inline-flex; }
  .filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 210; margin: 0; border-radius: 26px 26px 0 0; max-height: 82vh; overflow-y: auto; background: var(--aub); transform: translateY(105%); transition: transform .34s var(--ease); padding: 22px 20px 28px; border-color: var(--line-hi); visibility: hidden; color: var(--cream); --fg: var(--cream); --fg-mute: var(--mute-d); --accent: var(--brass-hi); --line: rgba(245, 236, 221, .22); --card: rgba(255, 255, 255, .05); }
  .filters.on { transform: none; visibility: visible; }
  .filters .chip[aria-pressed='true'] { background: var(--brass-hi); color: var(--plum); border-color: var(--brass-hi); }
  .sheet-x { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-size: 1.5rem; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal figure:nth-child(n+3) { display: none; }
  .pourdays { grid-template-columns: repeat(2, 1fr); }
  .search__bar input { font-size: 1.5rem; }
  .moonstats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; max-width: 320px; margin-inline: auto; }
  .drawer { width: 100vw; }
}
@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr; }
  .announce { font-size: 14px; }
  .buyrow { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .hero__img img { animation: none; }
}

/* ---------- round 3: ornamental borders OUTSIDE the product card photo ----------
   Each frame file has an empty arch opening; --fx0/--fy0/--fw/--fh say where it sits in the file, and --mask is the
   opening's own shape. The photo is sized from the card width so photo + gap + the widest frame fit inside the card
   (--ks/--kt/--kb are the largest side/top/bottom room of the three frames, so every card in a row keeps the same
   photo size and text line). Each frame is laid around the photo so its opening is the photo plus --og on every
   side, and the photo is cut to the opening's shape: the art never touches the photo.
   The lines between the r3-frames markers are written by tools/process_r3.py; edit the art, not the numbers. */
.pcard { container-type: inline-size; }
.pcard__frame {
  --og: 3px;   /* gap between the photo edge and the frame's inner line */
  --pad: 10px; /* how far the frame may reach past the card content box (card padding minus a hair) */
  --ar: 0.7;   /* photo width / height: same as PHOTO in process_r3.py and AR in card_zoom.py */
  --W: calc((100cqw + 2 * var(--pad)) / (1 + 2 * var(--ks)) - 2 * var(--og));
  --H: calc(var(--W) / var(--ar));
  --Wf: calc((var(--W) + 2 * var(--og)) / var(--fw));
  --Hf: calc((var(--H) + 2 * var(--og)) / var(--fh));
  position: relative; width: var(--W);
  margin: calc(var(--og) + var(--kt) * (var(--H) + 2 * var(--og)) - 10px) auto calc(var(--og) + var(--kb) * (var(--H) + 2 * var(--og)) + 2px);
}
.pcard__frame::before { content: ''; position: absolute; z-index: 1; pointer-events: none; left: calc(-1 * (var(--og) + var(--fx0) * var(--Wf))); top: calc(-1 * (var(--og) + var(--fy0) * var(--Hf))); width: var(--Wf); height: var(--Hf); background: var(--orn) center / 100% 100% no-repeat; transition: filter var(--t-mid); }
.pcard__frame .pcard__media { margin: 0; border: 0; border-radius: 0; box-shadow: none; aspect-ratio: var(--ar); -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat; }
/* product brought closer around its own centre (tools/card_zoom.py keeps it whole) */
.pcard__frame .pcard__media .main { transform: scale(var(--z, 1)); transform-origin: var(--zo, 50% 50%); }
@media (hover: hover) { .pcard:hover .pcard__frame .pcard__media .main { transform: scale(calc(var(--z, 1) * 1.02)); } }
.pcard__frame .badges { top: 11%; z-index: 2; pointer-events: none; } /* outside the masked photo, so a long badge is never clipped by the arch */
.pcard:hover .pcard__frame::before { filter: drop-shadow(0 0 4px rgba(214, 173, 95, .55)); }
.sec--cream .pcard__frame::before { filter: brightness(.66) saturate(1.25); }
.sec--cream .pcard:hover .pcard__frame::before { filter: brightness(.66) saturate(1.25) drop-shadow(0 0 4px rgba(138, 98, 38, .5)); }
/* r3-frames:start */
.pcard__frame { --ks: 0.1336; --kt: 0.2373; --kb: 0.1038; }
.pcard__frame--a { --orn: url(img/frame-card-a.webp); --fx0: 0.0890; --fy0: 0.1663; --fw: 0.8219; --fh: 0.7794; --mask: url(img/frame-card-a-mask.webp); }
.pcard__frame--b { --orn: url(img/frame-card-b.webp); --fx0: 0.0792; --fy0: 0.1451; --fw: 0.8425; --fh: 0.7745; --mask: url(img/frame-card-b-mask.webp); }
.pcard__frame--c { --orn: url(img/frame-card-c.webp); --fx0: 0.1055; --fy0: 0.1819; --fw: 0.7899; --fh: 0.7666; --mask: url(img/frame-card-c-mask.webp); }
/* r3-frames:end */
@media (max-width: 700px) {
  .pcard__frame { --og: 3px; --pad: 6px; margin-top: calc(var(--og) + var(--kt) * (var(--H) + 2 * var(--og)) - 6px); }
  .pcard__frame .badges { top: 13%; }
}

/* ---------- brand logo (2026-10-22 identity) ---------- */
.logo img { display: block; height: 34px; width: auto; }
.logo--stack img { height: auto; width: 150px; }
@media (max-width: 700px) { .logo img { height: 26px; } .logo--stack img { height: auto; width: 150px; } }
