/* =============================================================================
   Aurelia Jewellers · design system "liquid gold, future atelier" (Ezibell Tech demo)
   Midnight velvet navy · champagne / liquid gold · pearl ivory · diamond-white prismatic light
   Themes follow the shop clock: html[data-part="morning|afternoon|evening|closed"] (see site.js header)
   ============================================================================= */

/* ------------------------------------------------------------ tokens */
:root {
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --navy: #0b1230; --navy2: #131c45; --ivory: #fbf7ef; --pearl: #f4efe6;
  --gold: #b68c3e; --gold-hi: #f3dc9e; --gold-lo: #7c5a1c;
  --rose: #d39a86; --pearl-arc: #c9d3e6;
  --ok: #2f8a5f; --warn: #b7791f; --bad: #b4413c; --info: #3d6fb6;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --ease: cubic-bezier(.2, .7, .1, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --head-h: 74px;
  --prism: linear-gradient(115deg, #ffd1dc, #ffe9b8 18%, #d9ffe6 36%, #c9ecff 54%, #e3d4ff 72%, #ffd1dc 90%);
}
html[data-part="morning"] {
  color-scheme: light;
  --bg: #f8f5ef; --bg2: #efe9de; --bg3: #e7dfd0; --card: #fffdf9; --card2: #fbf7f0;
  --ink: #0d1430; --ink2: #2a3150; --mut: #5f6478; --faint: #8b8f9f;
  --line: rgba(13, 20, 48, .1); --line2: rgba(13, 20, 48, .18);
  --gold: #b0863a; --gold-text: #86621f; --accent: #b0863a;
  --glass: rgba(255, 253, 249, .66); --glass-edge: rgba(255, 255, 255, .9);
  --shadow-sm: 0 1px 2px rgba(13, 20, 48, .05), 0 4px 14px rgba(13, 20, 48, .05);
  --shadow: 0 2px 6px rgba(13, 20, 48, .05), 0 18px 48px -12px rgba(13, 20, 48, .16);
  --spot: rgba(255, 244, 214, .85);
  --hero-glow: radial-gradient(60% 55% at 72% 38%, rgba(255, 240, 205, .95), transparent 70%), radial-gradient(40% 40% at 12% 8%, rgba(214, 226, 255, .55), transparent 70%);
}
html[data-part="afternoon"] {
  color-scheme: light;
  --bg: #f4ead9; --bg2: #ecdfc8; --bg3: #e1d1b4; --card: #fffaf1; --card2: #f8efe0;
  --ink: #12152f; --ink2: #2d2f4b; --mut: #625d6c; --faint: #8f8879;
  --line: rgba(60, 40, 10, .12); --line2: rgba(60, 40, 10, .2);
  --gold: #a87a2a; --gold-text: #7d5915; --accent: #a87a2a;
  --glass: rgba(255, 249, 238, .66); --glass-edge: rgba(255, 246, 228, .9);
  --shadow-sm: 0 1px 2px rgba(60, 40, 10, .06), 0 4px 14px rgba(60, 40, 10, .06);
  --shadow: 0 2px 6px rgba(60, 40, 10, .06), 0 18px 48px -12px rgba(60, 40, 10, .2);
  --spot: rgba(255, 226, 160, .8);
  --hero-glow: radial-gradient(60% 55% at 72% 38%, rgba(255, 222, 158, .9), transparent 70%), radial-gradient(40% 40% at 10% 10%, rgba(255, 238, 205, .8), transparent 70%);
}
html[data-part="evening"] {
  color-scheme: dark;
  --bg: #160e17; --bg2: #1f1420; --bg3: #2a1b29; --card: #22161f; --card2: #2a1c27;
  --ink: #f7ebe4; --ink2: #e6d4cc; --mut: #b9a2a0; --faint: #8f7a7b;
  --line: rgba(255, 220, 205, .1); --line2: rgba(255, 220, 205, .2);
  --gold: #e1a98f; --gold-hi: #ffd9c4; --gold-lo: #9c5d48; --gold-text: #f0bea6; --accent: #e1a98f;
  --glass: rgba(42, 26, 38, .6); --glass-edge: rgba(255, 210, 190, .22);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  --shadow: 0 2px 8px rgba(0, 0, 0, .3), 0 24px 60px -16px rgba(0, 0, 0, .6);
  --spot: rgba(255, 190, 160, .2);
  --hero-glow: radial-gradient(55% 55% at 72% 40%, rgba(225, 130, 100, .28), transparent 70%), radial-gradient(40% 40% at 10% 0%, rgba(140, 60, 90, .35), transparent 70%);
}
html[data-part="closed"] {
  color-scheme: dark;
  --bg: #060a18; --bg2: #0b1124; --bg3: #111a33; --card: #0e1530; --card2: #121b3a;
  --ink: #efe9dc; --ink2: #d8d2c4; --mut: #9aa0b6; --faint: #6e7590;
  --line: rgba(220, 210, 180, .1); --line2: rgba(220, 210, 180, .2);
  --gold: #d6b26a; --gold-hi: #f6e2ac; --gold-lo: #8a6a26; --gold-text: #e4c47f; --accent: #d6b26a;
  --glass: rgba(14, 22, 48, .62); --glass-edge: rgba(230, 210, 160, .18);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 16px rgba(0, 0, 0, .3);
  --shadow: 0 2px 8px rgba(0, 0, 0, .35), 0 24px 60px -16px rgba(0, 0, 0, .7);
  --spot: rgba(214, 178, 106, .16);
  --hero-glow: radial-gradient(50% 55% at 72% 40%, rgba(70, 100, 200, .28), transparent 70%), radial-gradient(40% 40% at 8% 0%, rgba(214, 178, 106, .14), transparent 70%);
}
html.jw-theming body, html.jw-theming .jw-head, html.jw-theming .card, html.jw-theming .glass { transition: background-color .8s ease, color .8s ease, border-color .8s ease; }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
html.jw-lock { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: var(--hero-glow); opacity: .7; }
img, svg, canvas, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 500; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
h1 em, h2 em, .gold-text { background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 28%, var(--gold-hi) 46%, var(--gold) 62%, var(--gold-lo) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: jw-molten 9s ease-in-out infinite; padding-right: .06em; }
@keyframes jw-molten { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.01em; }
.muted { color: var(--mut); }
.fine { font-size: .82rem; color: var(--mut); line-height: 1.5; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink2); max-width: 58ch; line-height: 1.6; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.kick::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: linear-gradient(135deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent); flex: none; }
.kick.plain::before { display: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.linkish { background: none; border: 0; padding: 0; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; font-family: var(--mono); font-size: .68rem; border-radius: 6px; border: 1px solid var(--line2); background: var(--card); color: var(--mut); box-shadow: 0 1px 0 var(--line2); }

/* ------------------------------------------------------------ layout */
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { --wrap: 920px; }
.sec { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.sec.tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec.alt { background: linear-gradient(180deg, transparent, var(--bg2) 12%, var(--bg2) 88%, transparent); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head > p, .sec-head > div > p { color: var(--mut); margin: 0; max-width: 52ch; font-size: 1.05rem; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.stack > * + * { margin-top: 14px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.spacer { flex: 1; }
@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ buttons, chips, fields */
.btn { --b: var(--line2); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--b); background: transparent; color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: .98rem;
  letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-1px); color: var(--ink); border-color: var(--gold); }
.btn:active { transform: translateY(0); }
.btn i { font-size: 1.02em; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: .88rem; gap: 7px; }
.btn.lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn.icon { width: 44px; padding: 0; min-height: 44px; }
.btn.gold { border: 0; color: #1a1306; font-weight: 600;
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .15), 0 10px 28px -10px color-mix(in srgb, var(--gold) 80%, transparent); }
.btn.gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .7) 48%, transparent 66%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn.gold:hover { color: #1a1306; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 16px 34px -12px color-mix(in srgb, var(--gold) 90%, transparent); }
.btn.gold:hover::after { transform: translateX(120%); }
.btn.ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.ink:hover { color: var(--bg); background: color-mix(in srgb, var(--ink) 88%, var(--gold)); }
.btn.ghost { background: color-mix(in srgb, var(--card) 50%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.soft { background: color-mix(in srgb, var(--gold) 12%, transparent); border-color: color-mix(in srgb, var(--gold) 30%, transparent); color: var(--gold-text); }
.btn.wa { background: #1f9e5b; border-color: #1f9e5b; color: #fff; }
.btn.wa:hover { background: #188a4e; color: #fff; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card);
  color: var(--ink2); font-size: .88rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip small { opacity: .65; font-family: var(--mono); font-size: .72rem; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); gap: 2px; }
.seg > button { border: 0; background: transparent; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: .86rem; color: var(--mut); font-weight: 500; }
.seg > button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.field { display: grid; gap: 6px; }
.field > label, .field > .lbl { font-size: .78rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.field input, .field select, .field textarea, .input { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line2);
  background: var(--card); color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.field .err { color: var(--bad); font-size: .82rem; }
.field.inline { grid-template-columns: auto 1fr; align-items: center; }
select { appearance: none; -webkit-appearance: none; background-image: 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='%23999' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px !important; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  background: color-mix(in srgb, var(--mut) 14%, transparent); color: var(--ink2); white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: color-mix(in srgb, var(--ok) 80%, var(--ink)); }
.pill.hold { background: color-mix(in srgb, var(--warn) 16%, transparent); color: color-mix(in srgb, var(--warn) 75%, var(--ink)); }
.pill.off { background: color-mix(in srgb, var(--bad) 14%, transparent); color: color-mix(in srgb, var(--bad) 80%, var(--ink)); }
.pill.info { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold-text); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; font-size: .66rem; font-weight: 700; background: var(--gold); color: #1a1306; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3cc47c; box-shadow: 0 0 0 0 rgba(60, 196, 124, .6); animation: jw-pulse 2.2s infinite; flex: none; display: inline-block; }
.is-closed .live-dot, .live-dot.off { background: #c9864f; animation: none; }
@keyframes jw-pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 196, 124, .55); } 70% { box-shadow: 0 0 0 8px rgba(60, 196, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 196, 124, 0); } }
.empty { padding: 48px 20px; text-align: center; color: var(--mut); border: 1px dashed var(--line2); border-radius: var(--r-lg); }
.empty i { font-size: 2rem; color: var(--gold); display: block; margin-bottom: 10px; }

/* ------------------------------------------------------------ surfaces */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--shadow-sm); }
.glass { position: relative; background: var(--glass); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); isolation: isolate; }
.glass::before, .case::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(140deg, var(--glass-edge), color-mix(in srgb, var(--gold) 45%, transparent) 30%, transparent 55%, color-mix(in srgb, var(--gold) 30%, transparent) 85%, var(--glass-edge));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot, .glass, .case { --mx: 50%; --my: 30%; }
.spot::after, .glass.lit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--spot), transparent 60%); }
.spot:hover::after, .glass.lit:hover::after { opacity: 1; }
.case { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--card) 70%, transparent), color-mix(in srgb, var(--bg2) 85%, transparent)); box-shadow: var(--shadow-sm); }
.case .case-light { position: absolute; inset: -20% 10% 40%; pointer-events: none; z-index: 0; opacity: .9;
  background: radial-gradient(50% 60% at 50% 0%, var(--spot), transparent 75%); }
.case .case-floor { position: absolute; left: 12%; right: 12%; bottom: 18%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); filter: blur(2px); z-index: 0; }
.sweep { position: relative; overflow: hidden; }
.sweep > .sweep-l, .sweep::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 252, 240, .55), transparent); transform: skewX(-18deg); transition: left 1s var(--ease); }
.sweep:hover::after, .sweep:focus-within::after { left: 130%; }
.prism { position: relative; }
.prism::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: var(--prism); background-size: 200% 200%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: jw-prism 4s linear infinite; }
.prism:hover::before, .prism:focus-within::before { opacity: 1; }
@keyframes jw-prism { to { background-position: 200% 200%; } }
.hud { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.hud b { color: var(--ink); font-weight: 500; }
.divider { display: block; width: min(320px, 70%); height: 22px; margin: 0 auto; color: var(--gold); }
.seal { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); color: var(--gold-text);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-align: center; line-height: 1.2; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%); }
.jw-spark { width: 100%; height: 34px; display: block; overflow: visible; }
.jw-spark .sp-l { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.jw-spark .sp-a { fill: color-mix(in srgb, var(--gold) 14%, transparent); }
.jw-spark .sp-d { fill: var(--gold); }
.jw-render { display: block; width: 100%; height: auto; object-fit: contain; }
.qr-fallback { padding: 14px; font-size: .7rem; word-break: break-all; border: 1px dashed var(--line2); border-radius: 12px; }

/* ------------------------------------------------------------ motion: reveal + filigree */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.from-left { transform: translateX(-30px); }
.reveal.zoom { transform: scale(.96); filter: blur(6px); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
svg .draw, svg.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.reveal.in svg .draw, .reveal.in svg.draw path, svg.in .draw { stroke-dashoffset: 0; }
html:not(.jw-ready) .reveal { opacity: 1; transform: none; }
.jw-off, .jw-off *, html.jw-hidden *, html.jw-hidden *::before, html.jw-hidden *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  svg .draw, svg.draw path { stroke-dashoffset: 0; }
}

/* ------------------------------------------------------------ demo bar */
.jw-demo { background: #070b1c; color: #d9d3c4; font-size: .78rem; position: relative; z-index: 61; }
.jw-demo-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding: 4px 0; }
.jw-demo b { color: #f1d796; font-weight: 600; }
.jw-demo i.bi-stars { color: #e7c77b; }
.jw-demo-act { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.jw-demo a { color: #f1d796; text-decoration: none; white-space: nowrap; }
.jw-demo a:hover { color: #fff; }
.jw-demo-x { background: transparent; border: 0; color: #9aa0b6; width: 28px; height: 28px; border-radius: 8px; }
.jw-demo-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 720px) { .jw-demo-in > span:first-child { font-size: .72rem; line-height: 1.35; } .jw-demo-act a { display: none; } }

/* ------------------------------------------------------------ header */
.jw-head { position: sticky; top: 0; z-index: 60; transition: background .35s, box-shadow .35s, border-color .35s; border-bottom: 1px solid transparent; }
.jw-head.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
.jw-head-in { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }
.jw-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.jw-logo:hover { color: var(--ink); }
.jw-lw { display: grid; line-height: 1; }
.jw-lw b { font-family: var(--serif); font-weight: 500; font-size: 1.42rem; letter-spacing: .26em; margin-right: -.26em; }
.jw-lw small { font-family: var(--mono); font-size: .56rem; letter-spacing: .24em; color: var(--gold-text); margin-top: 5px; }
.jw-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.jw-nav > a, .jw-more-btn { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 9px 12px; border-radius: 999px; text-decoration: none; font-size: .93rem; color: var(--ink2); background: none; border: 0; font-weight: 450; white-space: nowrap; }
.jw-nav > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease), left .3s var(--ease); }
.jw-nav > a:hover::after, .jw-nav > a[aria-current="page"]::after { left: 22%; width: 56%; }
.jw-nav > a:hover, .jw-more-btn:hover { color: var(--ink); }
.jw-nav > a[aria-current="page"] { color: var(--ink); font-weight: 550; }
.jw-more { position: relative; }
.jw-more-btn i { font-size: .7rem; transition: transform .25s; }
.jw-more-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.jw-more-menu, .jw-dial-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 290px; padding: 8px; border-radius: 18px; z-index: 70;
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line2); box-shadow: var(--shadow);
  animation: jw-pop .22s var(--ease-out); }
@keyframes jw-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.jw-mi, .jw-dial-menu > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; text-decoration: none; text-align: left; background: none; border: 0; color: var(--ink); }
.jw-mi:hover, .jw-mi:focus-visible, .jw-dial-menu > button:hover, .jw-dial-menu > button:focus-visible { background: color-mix(in srgb, var(--gold) 12%, transparent); color: var(--ink); outline: none; }
.jw-mi > i, .jw-dial-menu > button > i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold-text); }
.jw-mi span, .jw-dial-menu > button span { display: grid; line-height: 1.25; }
.jw-mi b, .jw-dial-menu b { font-weight: 550; font-size: .92rem; }
.jw-mi small, .jw-dial-menu small { color: var(--mut); font-size: .76rem; }
.jw-dial-menu > button[aria-checked="true"] { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.jw-dial-menu > button[aria-checked="true"]::after { content: "\F26E"; font-family: "bootstrap-icons"; margin-left: auto; color: var(--gold-text); }
.jw-dial-face { display: flex; align-items: center; gap: 14px; padding: 10px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; color: var(--ink); }
.jw-dial-face svg { flex: none; width: 72px; height: 72px; }
.jw-dial-face div { display: grid; gap: 3px; }
.jw-dial-face b { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.jw-dial { position: relative; }
.jw-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.jw-ic { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 60%, transparent); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.jw-ic:hover { border-color: var(--gold); color: var(--ink); }
.jw-ic i { font-size: 1.02rem; }
.jw-search { width: auto; padding: 0 8px 0 13px; border-radius: 999px; display: inline-flex; gap: 8px; }
.jw-dial-btn.preview { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.jw-dial-ico { display: grid; place-items: center; }
.jw-wish.on i::before { content: "\F415"; color: #d4566c; }
.jw-wish .jw-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--gold); color: #1a1306; font-size: .64rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.jw-wish .jw-badge[hidden] { display: none; }
.jw-rate { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; text-decoration: none; font-size: .82rem; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 60%, transparent); color: var(--ink); white-space: nowrap; }
.jw-rate:hover { border-color: var(--gold); color: var(--ink); }
.jw-rate small { color: var(--mut); }
.jw-rate-k { color: var(--gold-text); }
.jw-rate-d { font-family: var(--mono); font-size: .72rem; color: var(--mut); }
.jw-rate-d.up, .up { color: #2f9a63; } .jw-rate-d.down, .down { color: #c2524a; }
html[data-part="evening"] .up, html[data-part="closed"] .up { color: #6fd39c; }
html[data-part="evening"] .down, html[data-part="closed"] .down { color: #f08c84; }
.jw-burger { display: none; }
.jw-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.jw-burger span:first-child { top: 16px; } .jw-burger span:last-child { top: 24px; }
@media (max-width: 1560px) { .jw-search kbd { display: none; } .jw-search { width: 42px; padding: 0; justify-content: center; } .jw-nav > a, .jw-more-btn { padding: 9px 10px; } }
@media (max-width: 1380px) { .jw-rate { display: none; } }
@media (max-width: 1180px) {
  .jw-nav { display: none; }
  .jw-burger { display: inline-grid; }
  .jw-tools { margin-left: auto; }
}
@media (max-width: 640px) {
  :root { --head-h: 64px; }
  .jw-search kbd, .jw-cta { display: none; }
  .jw-search { width: 42px; padding: 0; justify-content: center; }
  .jw-lw b { font-size: 1.15rem; letter-spacing: .2em; margin-right: -.2em; }
  .jw-lw small { font-size: .5rem; letter-spacing: .16em; }
  .jw-tools { gap: 6px; }
  .jw-ic { width: 40px; height: 40px; }
  .jw-dial-menu { position: fixed; left: 12px; right: 12px; top: calc(var(--head-h) + 8px); min-width: 0; }
}
@media (max-width: 380px) { .jw-logo .jw-mark { display: none; } }

/* mobile menu */
.jw-menu { position: fixed; inset: 0; z-index: 90; background: rgba(5, 8, 20, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.jw-menu.open { opacity: 1; }
.jw-menu-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); padding: 18px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px;
  transform: translateX(100%); transition: transform .38s var(--ease-out); box-shadow: -20px 0 60px rgba(0, 0, 0, .25); }
.jw-menu.open .jw-menu-in { transform: none; }
.jw-menu-top { display: flex; align-items: center; justify-content: space-between; }
.jw-menu-rate { font-size: .8rem; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.jw-menu-rate small { width: 100%; color: var(--mut); font-size: .7rem; }
.jw-menu-nav { display: grid; }
.jw-menu-nav a { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); }
.jw-menu-nav a > i:first-child { font-size: 1rem; color: var(--gold-text); width: 22px; }
.jw-menu-nav a .jw-go { margin-left: auto; font-size: .9rem; color: var(--faint); }
.jw-menu-nav a[aria-current="page"] { color: var(--gold-text); }
.jw-menu .kick { margin: 8px 0 0; }
.jw-menu-more { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jw-mm { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; text-align: left; color: var(--ink); min-width: 0; }
.jw-mm i { color: var(--gold-text); font-size: 1.1rem; }
.jw-mm span { display: grid; line-height: 1.2; min-width: 0; }
.jw-mm b { font-weight: 550; font-size: .86rem; }
.jw-mm small { display: none; }
.jw-menu-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--mut); padding-top: 10px; }

/* ------------------------------------------------------------ footer */
.jw-foot { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 7vw, 96px) 0 28px; background: #070b1c; color: #cfc9bb; overflow: hidden; isolation: isolate; }
html[data-part="evening"] .jw-foot { background: #0f0910; }
.jw-foot-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 85% 0%, rgba(214, 178, 106, .16), transparent 70%), radial-gradient(30% 50% at 0% 100%, rgba(90, 110, 220, .12), transparent 70%); }
.jw-foot .jw-logo { color: #f3ecdc; }
.jw-foot .jw-lw small { color: #d8b56a; }
.jw-foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 80px); }
.jw-foot-brand p { color: #a9a597; font-size: .95rem; max-width: 40ch; margin: 18px 0 0; }
.jw-foot-addr { display: flex; gap: 8px; }
.jw-foot-st { display: inline-flex !important; align-items: center; gap: 8px; color: #e9dfc6 !important; }
.jw-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.jw-foot-cols h3 { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #d8b56a; margin-bottom: 14px; font-weight: 500; }
.jw-foot-cols a { display: block; color: #cfc9bb; text-decoration: none; padding: 5px 0; font-size: .93rem; }
.jw-foot-cols a:hover { color: #f6e2ac; }
.jw-hours { list-style: none; margin: 0; padding: 0; font-size: .82rem; }
.jw-hours li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: #a9a597; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.jw-hours li.today { color: #f6e2ac; }
.jw-hours li.today span:first-child::before { content: "● "; color: #d8b56a; font-size: .6rem; vertical-align: middle; }
.jw-foot-rule { height: 1px; margin: 44px 0 22px; background: linear-gradient(90deg, transparent, rgba(214, 178, 106, .5), transparent); }
.jw-foot-fine { display: grid; gap: 6px; font-size: .78rem; color: #8d8a80; }
.jw-foot-fine p { margin: 0; }
.jw-foot-fine a, .jw-foot-fine .linkish { color: #d8b56a; }
.jw-foot-fine .kbd { background: transparent; border-color: rgba(255, 255, 255, .2); color: #a9a597; box-shadow: none; }
@media (max-width: 960px) { .jw-foot-top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .jw-foot-cols { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ toast */
#toast { position: fixed; left: 50%; bottom: 26px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(92vw, 520px);
  padding: 13px 22px; border-radius: 999px; background: rgba(9, 13, 32, .92); color: #f6efdf; font-size: .92rem; text-align: center;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(214, 178, 106, .35); backdrop-filter: blur(12px); transition: opacity .3s, transform .4s var(--ease-out); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#overlay[hidden] { display: none !important; }

/* ------------------------------------------------------------ modal / drawer */
.jw-ov { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(5, 8, 20, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .28s; }
.jw-ov.open { opacity: 1; }
.jw-dlg { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; background: var(--bg); color: var(--ink);
  border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line2); transform: translateY(16px) scale(.98); transition: transform .4s var(--ease-out); }
.jw-dlg.wide { width: min(1080px, 100%); }
.jw-ov.open .jw-dlg { transform: none; }
.jw-dlg-x { position: absolute; top: 14px; right: 14px; z-index: 5; }
.jw-dlg-t { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 48px 18px 0; }
.jw-ov.side { place-items: stretch end; padding: 0; }
.jw-dlg.side { width: min(1020px, 100%); height: 100dvh; max-height: none; border-radius: var(--r-xl) 0 0 var(--r-xl); transform: translateX(40px); }
@media (max-width: 720px) {
  .jw-ov { padding: 0; place-items: end stretch; }
  .jw-dlg, .jw-dlg.wide { width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(40px); }
  .jw-ov.side { place-items: end stretch; }
  .jw-dlg.side { height: auto; max-height: 94dvh; border-radius: 26px 26px 0 0; transform: translateY(40px); }
}

/* ------------------------------------------------------------ command palette */
.jw-pal-ov { position: fixed; inset: 0; z-index: 140; background: rgba(5, 8, 20, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; justify-items: center; align-items: start; padding: 12vh 16px 16px; opacity: 0; transition: opacity .2s; }
.jw-pal-ov.open { opacity: 1; }
.jw-pal { width: min(640px, 100%); border-radius: 22px; overflow: hidden; background: var(--bg); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line2); transform: translateY(-8px); transition: transform .3s var(--ease-out); }
.jw-pal-ov.open .jw-pal { transform: none; }
.jw-pal-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.jw-pal-in i { color: var(--gold-text); font-size: 1.1rem; }
.jw-pal-q { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.08rem; color: var(--ink); outline: none; }
.jw-pal-list { list-style: none; margin: 0; padding: 8px; max-height: min(56vh, 460px); overflow: auto; }
.jw-pal-g { padding: 10px 12px 4px; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.jw-pal-list [role="option"] { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.jw-pal-list [role="option"] > i:first-child { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--gold) 13%, transparent); color: var(--gold-text); }
.jw-pal-list [role="option"] span { display: grid; min-width: 0; line-height: 1.3; }
.jw-pal-list [role="option"] b { font-weight: 500; font-size: .95rem; }
.jw-pal-list [role="option"] small { color: var(--mut); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jw-pal-list [role="option"][aria-selected="true"] { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.jw-pal-enter { margin-left: auto; color: var(--faint); opacity: 0; }
.jw-pal-list [aria-selected="true"] .jw-pal-enter { opacity: 1; }
.jw-pal-empty { padding: 22px 14px; color: var(--mut); text-align: center; }
.jw-pal-foot { display: flex; gap: 16px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--mut); flex-wrap: wrap; }
.jw-pal-foot .mono { margin-left: auto; font-size: .68rem; }
@media (max-width: 640px) { .jw-pal-ov { padding-top: 10px; } .jw-pal-foot span:not(.mono) { display: none; } .jw-pal-foot .mono { margin-left: 0; } }

/* canvas helpers */
canvas.jw3d { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
canvas.jw3d.grabbing { cursor: grabbing; }
