/* Visualize Serenity: Golden 2026 design layer.
   Loaded after styles.css / theme.css on every page. Same cream + gold identity as before
   (gold gradient buttons, Georgia headings, glass cards); new pages use the tokens directly and
   the older pages inherit them through the legacy variable aliases in section 2.
   System fonts only: zero font downloads. */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.8vw, 3.8rem);
  --step-4: clamp(2.5rem, 1.4rem + 5vw, 5.2rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 1360px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 24px;
  --r-xl: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* mood (set from JS): a quiet secondary glow, the buttons always stay gold */
  --mh: 262;
  --mood: hsl(var(--mh) 40% 62%);
  --mood-soft: hsl(var(--mh) 40% 62% / .16);

  /* light: the cream and gold identity */
  color-scheme: light;
  --c-bg: #f2ece3;
  --c-bg-2: #e7dbc8;
  --c-surface: rgba(255, 255, 255, .84);
  --c-surface-2: rgba(255, 255, 255, .96);
  --c-line: rgba(72, 54, 28, .12);
  --c-fg: #261b12;
  --c-fg-2: #6b5d4e;
  --c-accent: #b78626;
  --c-accent-hi: #dfc07a;
  --c-accent-lo: #7a5916;
  --c-on-accent: #2a1c08;
  --c-link: #7a5916;
  --c-shadow: rgba(58, 39, 15, .16);
  --glow-1: rgba(223, 192, 122, .22);
  --glow-2: rgba(131, 148, 115, .14);
  --gold-grad: linear-gradient(135deg, #ecd28f 0%, #d1a643 46%, #b78626 100%);
  --gold-grad-hover: linear-gradient(135deg, #f3dd9f 0%, #dcb04c 46%, #c2902c 100%);
  --gold-glow: 0 12px 26px rgba(151, 114, 33, .26);
  --gold-text: linear-gradient(135deg, #b78626 0%, #8f6717 40%, #6f4e10 100%);
  --header-bg: rgba(242, 236, 227, .82);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --c-bg: #15120d;
  --c-bg-2: #1d1810;
  --c-surface: #221d15;
  --c-surface-2: #2b2418;
  --c-line: rgba(255, 236, 200, .14);
  --c-fg: #f4efe3;
  --c-fg-2: #b8ad98;
  --c-accent: #d7b563;
  --c-accent-hi: #ecd28f;
  --c-accent-lo: #a87820;
  --c-on-accent: #1c1406;
  --c-link: #ecd28f;
  --c-shadow: rgba(0, 0, 0, .5);
  --glow-1: rgba(215, 181, 99, .13);
  --glow-2: rgba(131, 148, 115, .08);
  --gold-grad: linear-gradient(135deg, #f0d99a 0%, #d7b563 48%, #b78626 100%);
  --gold-grad-hover: linear-gradient(135deg, #f6e3ab 0%, #e0bf6e 48%, #c2902c 100%);
  --gold-glow: 0 0 10px rgba(215, 181, 99, .35), 0 0 26px rgba(215, 181, 99, .2);
  --gold-text: linear-gradient(135deg, #f8e8ae 2%, #e3c777 40%, #b78626 100%);
  --header-bg: rgba(21, 18, 13, .82);
}

/* 2. Legacy aliases: older pages pick the palette up through their own variables */
:root {
  --bg: var(--c-bg); --bg2: var(--c-bg-2);
  --surface: var(--c-surface); --surface-strong: var(--c-surface-2);
  --line: var(--c-line); --text: var(--c-fg); --muted: var(--c-fg-2);
  --gold: var(--c-accent); --gold2: var(--c-accent-hi); --gold3: var(--c-accent-lo);
  --shadow: 0 18px 48px var(--c-shadow);
  --radius: var(--r-l);
  --max: var(--wrap);
  --vs-bg: var(--c-bg); --vs-surface: var(--c-surface-2); --vs-text: var(--c-fg);
  --vs-muted: var(--c-fg-2); --vs-border: var(--c-line); --vs-input: var(--c-surface-2); --vs-gold: var(--c-accent);
}

/* 3. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--c-fg) !important;
  background:
    radial-gradient(circle at 0% 0%, var(--glow-1), transparent 26%),
    radial-gradient(circle at 100% 10%, var(--glow-2), transparent 22%),
    linear-gradient(180deg, var(--c-bg), var(--c-bg-2)) !important;
  background-color: var(--c-bg) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
body > main, body > .page { flex: 1 0 auto; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--c-link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, .serif-head { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--c-accent-hi) 55%, transparent); }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem;
  background: var(--gold-grad); color: var(--c-on-accent); border-radius: var(--r-s); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 0; max-width: none; }

/* 4. Header, nav, buttons, footer (every page) ---------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--c-line);
  view-transition-name: site-header;
  transition: box-shadow .3s var(--ease);
}
.topbar.is-scrolled { box-shadow: 0 14px 34px -22px var(--c-shadow); }
.topbar-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.75rem; position: relative; transition: min-height .3s var(--ease); }
.topbar.is-scrolled .topbar-inner { min-height: 3.9rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--c-fg); flex: none; }
.brand-logo {
  width: 56px; height: 56px; padding: 6px; border-radius: 16px; object-fit: contain;
  background: #fff; border: 1px solid var(--c-line); box-shadow: 0 10px 24px -14px var(--c-shadow);
  transition: width .3s var(--ease), height .3s var(--ease), transform .4s var(--ease);
}
.topbar.is-scrolled .brand-logo { width: 46px; height: 46px; }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.brand-fallback {
  display: none; width: 56px; height: 56px; border-radius: 16px; align-items: center; justify-content: center;
  font-weight: 800; color: var(--c-on-accent); background: var(--gold-grad);
}
.brand-copy strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.005em; line-height: 1.15; }
.brand-copy small { display: block; color: var(--c-fg-2); font-size: .74rem; line-height: 1.25; max-width: 24ch; }
.main-nav { display: flex; align-items: center; gap: .15rem; margin-inline: auto; flex-wrap: wrap; justify-content: center; }
.nav-link {
  position: relative; padding: .55rem .85rem; border-radius: 999px; color: var(--c-fg) !important; text-decoration: none; font-size: .95rem;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.nav-link:hover { background: var(--c-surface-2); box-shadow: 0 10px 22px -14px var(--c-shadow); }
.nav-link.active, .nav-link[aria-current="page"] { background: var(--c-surface-2); box-shadow: 0 10px 22px -14px var(--c-shadow), inset 0 -2px 0 var(--c-accent); }
.nav-link #cartCount { display: inline-block; min-width: 1.3em; padding: 0 .4em; margin-left: .2em; border-radius: 999px; background: var(--gold-grad); color: var(--c-on-accent); font-size: .75em; font-weight: 700; text-align: center; }
.actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0 .8rem; border: 1px solid var(--c-line); background: var(--c-surface-2);
  border-radius: 999px; color: var(--c-fg) !important; font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}
.lang-switch:hover { border-color: var(--c-accent); transform: translateY(-1px); }
.nav-toggle {
  display: none; margin-left: auto; min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--c-line); background: var(--c-surface-2); color: var(--c-fg); font: inherit; font-size: .9rem;
}
.vs-theme-control {
  min-height: 2.4rem; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface-2) !important; color: var(--c-fg) !important;
  font: inherit; font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  transition: border-color .2s, transform .2s var(--ease);
}
.vs-theme-control:hover { border-color: var(--c-accent) !important; transform: translateY(-1px); }

/* Buttons: the gold gradient is always there */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.8rem; padding: .65rem 1.3rem;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 650; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; color: var(--c-fg);
  transition: transform .18s var(--ease), box-shadow .25s, border-color .2s, background-color .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold, a.btn-gold, button.btn-gold {
  background: var(--gold-grad) !important; color: var(--c-on-accent) !important; box-shadow: var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55);
  border-color: rgba(122, 89, 22, .25);
}
.btn-gold:hover { background: var(--gold-grad-hover) !important; box-shadow: 0 16px 32px rgba(151, 114, 33, .34), inset 0 1px 0 rgba(255, 255, 255, .65); }
html[data-theme="dark"] .btn-gold:hover { box-shadow: 0 0 16px rgba(215, 181, 99, .55), 0 0 38px rgba(215, 181, 99, .3); }
.btn-gold::after, .btn-sheen::after {
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); transition: none;
}
.btn-gold:hover::after { animation: sheen .9s var(--ease); }
@keyframes sheen { from { left: -60%; } to { left: 130%; } }
.btn-soft, a.btn-soft, button.btn-soft { background: var(--c-surface-2) !important; color: var(--c-fg) !important; border-color: var(--c-line) !important; }
.btn-soft:hover { border-color: var(--c-accent) !important; box-shadow: 0 12px 24px -16px var(--c-shadow); }
.btn-dark { background: #3f3428; color: #fff; }
.btn-danger { background: #a24141; color: #fff; }
.btn-small { min-height: 2.3rem; padding: .45rem .9rem; font-size: .9rem; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn-pulse { animation: pulse-gold 3.4s ease-in-out infinite; }
@keyframes pulse-gold { 0%, 100% { box-shadow: var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.55); } 50% { box-shadow: 0 0 0 7px rgba(215, 181, 99, .16), var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.55); } }

.footer { margin-top: clamp(3rem, 8vw, 6rem); padding: 2.75rem 0 3rem; border-top: 1px solid var(--c-line); color: var(--c-fg-2); font-size: .92rem; position: relative; }
.footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(320px, 60%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--c-accent), transparent); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.footer a { color: var(--c-fg-2); }
.footer a:hover { color: var(--c-link); }
.footer-col { display: grid; gap: .35rem; align-content: start; }
.footer-col strong { color: var(--c-fg); font-family: var(--font-display); font-weight: 700; }

@media (max-width: 1100px) { .nav-toggle { display: inline-flex; align-items: center; } .actions { margin-left: .25rem; } .brand-copy small { display: none; } }
@media (max-width: 560px) { .brand-copy { display: none; } .lang-switch { padding: 0 .6rem; } }

/* role-based visibility without a flash (classes set by /js/vs-boot.js) */
html:not(.role-user):not(.role-admin) [data-private] { display: none !important; }
html:not(.role-admin) [data-admin] { display: none !important; }
html.role-user [data-guest], html.role-admin [data-guest] { display: none !important; }

/* 5. Toasts ------------------------------------------------------------- */
.vs-toasts { position: fixed; inset: auto 0 1rem 0; z-index: 200; display: grid; justify-items: center; gap: .5rem; pointer-events: none; padding-inline: 1rem; }
.vs-toast {
  pointer-events: auto; max-width: min(34rem, 100%); padding: .8rem 1.1rem; border-radius: var(--r-m);
  background: var(--c-surface-2); color: var(--c-fg); border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent);
  box-shadow: 0 24px 48px -24px var(--c-shadow); font-size: .95rem; backdrop-filter: blur(12px);
  animation: toast-in .28s var(--ease);
}
.vs-toast[data-type="error"] { border-left-color: #c25a5a; }
.vs-toast[data-type="ok"] { border-left-color: #5aa77a; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* 6. Shared page scaffolding ------------------------------------------------ */
.vs26 main { display: block; }
.section { padding-block: clamp(3rem, 8vw, 6rem); position: relative; }
.section-head { display: grid; gap: .6rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); max-width: 48rem; margin-top: 0; align-items: start; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--step-2); line-height: 1.1; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--c-fg-2); font-weight: 700; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--c-fg-2); max-width: 44ch; }
.muted { color: var(--c-fg-2); line-height: 1.7; }
.gold-title {
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
  background-size: 220% 100%; text-shadow: none; animation: gold-shimmer 9s ease-in-out infinite;
}
@keyframes gold-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.small-pill, .tag {
  display: inline-flex; align-items: center; gap: .4em; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--c-line);
  background: var(--c-surface-2); font-size: .8rem; color: var(--c-fg);
}
.orn { display: block; width: min(260px, 60%); height: 18px; margin: 0 auto clamp(1rem, 3vw, 2rem); color: var(--c-accent); }
.orn path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.orn .dia { fill: currentColor; opacity: 0; transform-origin: center; transform: scale(.2); transition: opacity .6s .9s, transform .6s .9s var(--ease); }
.orn.is-in path { stroke-dashoffset: 0; }
.orn.is-in .dia { opacity: 1; transform: none; }

/* scroll reveal (progressive: only hides when JS is running) */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* glass cards with a pointer-follow gold sheen */
.card {
  background: var(--c-surface); border: 1px solid color-mix(in srgb, var(--c-line) 60%, #fff); border-radius: var(--r-l);
  box-shadow: var(--shadow); backdrop-filter: blur(18px); position: relative;
}
.card.pad { padding: 1.5rem; }
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(223, 192, 122, .28), transparent 60%); z-index: 1;
}
.spot:hover::before { opacity: 1; }

/* 7. Home ----------------------------------------------------------------- */
.hero-shell { padding: clamp(.75rem, 1.5vw, 1.1rem); overflow: hidden; margin-top: clamp(1rem, 2.5vw, 1.75rem); }
.hero-slider {
  position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  min-height: clamp(340px, 46vw, 600px); background: linear-gradient(135deg, #f2dc9d, #c99a35 55%, #8a6212);
}
.gold-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.dust-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1.1s ease; z-index: 1; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slide.active img { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero-slide-overlay {
  position: absolute; inset: auto 0 0 0; padding: clamp(1.25rem, 3vw, 2.25rem); color: #fff;
  background: linear-gradient(180deg, transparent, rgba(24, 14, 2, .5) 38%, rgba(24, 14, 2, .78));
  padding-top: clamp(4rem, 9vw, 7rem);
}
.hero-slide-overlay .eyebrow { color: #f4dfb1; }
.hero-slide-overlay h2 { margin: .4rem 0 0; font-size: clamp(1.4rem, 3vw, 2.35rem); line-height: 1.12; max-width: 24ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-slide .hero-slide-overlay { opacity: 0; transition: opacity .2s; }
.hero-slide.active .hero-slide-overlay { opacity: 1; transition: opacity .3s .35s; }
.hero-slide.active .hero-slide-overlay > * { animation: rise .9s var(--ease) .35s both; }
.hero-slide.active .hero-slide-overlay h2 { animation-delay: .47s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-slide-controls { position: absolute; right: 1.25rem; bottom: 1.1rem; display: flex; gap: .6rem; z-index: 5; }
.hero-dot { width: 14px; height: 14px; padding: 0; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .35); cursor: pointer; transition: transform .2s, background .2s; }
.hero-dot:hover { transform: scale(1.25); }
.hero-dot.active { background: linear-gradient(135deg, #f8e8ae, #d9bc76, #b78626); border-color: #fff; transform: scale(1.2); }
.hero-message-block { text-align: center; padding: clamp(1.5rem, 3vw, 2.25rem) 1rem .5rem; display: grid; gap: .9rem; justify-items: center; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.3rem, 6vw, 5rem); line-height: 1; margin: 0; font-weight: 700; }
.hero-message { font-family: var(--font-display); font-size: clamp(1.08rem, 2vw, 1.42rem); line-height: 1.7; max-width: 62rem; margin: 0 auto; }
.toolbar { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero-sub-actions { margin-top: .4rem; }

.ribbon { overflow: hidden; border-block: 1px solid var(--c-line); padding: .9rem 0; margin-top: clamp(1.5rem, 4vw, 3rem); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ribbon-track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 48s linear infinite; font-family: var(--font-display); font-size: var(--step-1); color: var(--c-fg-2); font-style: italic; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; }
.ribbon-track span::after { content: ""; width: .5rem; height: .5rem; transform: rotate(45deg); background: var(--gold-grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Oil library */
.oils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; padding: 0; margin: 0; }
.oil { display: block; position: relative; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: inherit; background: var(--c-surface-2); border: 1px solid var(--c-line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; isolation: isolate; }
.oil:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px var(--c-shadow); }
.oil-art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--oil-bg, linear-gradient(160deg, #f6ecd0, #e3c98a)); display: grid; place-items: center; }
.oil-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .55), transparent 55%), radial-gradient(circle at 20% 90%, var(--oil-glow, rgba(183, 134, 38, .25)), transparent 55%); }
.oil-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.oil:hover .oil-art img { transform: scale(1.06); }

/* Our own dropper bottle (SVG, generic, no supplier label) */
.oil-art { place-items: end center; padding-bottom: 7%; }
.oil-art .bottle { position: relative; z-index: 1; width: 60%; height: auto; overflow: visible; transform-origin: 50% 92%;
  filter: drop-shadow(0 14px 14px rgba(70, 40, 8, .22)); animation: bottle-bob 7s ease-in-out infinite; transition: transform .6s var(--ease); }
.oils li:nth-child(3n+2) .bottle { animation-delay: -2.3s; }
.oils li:nth-child(3n) .bottle { animation-delay: -4.6s; }
@keyframes bottle-bob { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-7px) rotate(.5deg); } }
.oil:hover .bottle { animation-play-state: paused; transform: translateY(-10px) rotate(-2deg) scale(1.04); }
.b-sweep { transform: translateX(0); transition: transform 1.1s var(--ease); }
.oil:hover .b-sweep, .inspire-card:hover .b-sweep { transform: translateX(270px); }
.oil[data-oil="lavender"] { --oil-accent: #8e7cc3; }
.oil[data-oil="peppermint"] { --oil-accent: #5aa078; }
.oil[data-oil="lemon"] { --oil-accent: #e2be3c; }
.oil[data-oil="wild-orange"] { --oil-accent: #e47d1c; }
.oil[data-oil="frankincense"] { --oil-accent: #b78626; }
.oil[data-oil="eucalyptus"] { --oil-accent: #64968c; }
.oil[data-oil="rosemary"] { --oil-accent: #6e8246; }
.oil[data-oil="cedarwood"] { --oil-accent: #8c5e32; }
.oil[data-oil="chamomile"] { --oil-accent: #e0b43c; }
.oil-art .vs-photo { z-index: 0; }
/* a supplied product picture (cut-out PNG/WebP) replaces the drawn bottle and stands on the tile */
.oil-art .vs-photo.is-product { z-index: 2; inset: auto; left: 50%; bottom: 8%; width: auto; height: 76%; max-width: 76%; transform: translateX(-50%); object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(60, 35, 8, .3)); transition: opacity .8s var(--ease), transform .6s var(--ease); }
.oil:hover .vs-photo.is-product { transform: translateX(-50%) translateY(-8px) scale(1.03); }
.oil-art.has-photo:has(.is-product) .bottle { display: none; }
.oil-art:has(.is-product)::after { content: ""; position: absolute; left: 50%; bottom: 5.5%; width: 46%; height: 5%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(40, 22, 4, .38), transparent); z-index: 1; }
.inspire-bottles { position: absolute; right: 4%; top: 5%; bottom: 33%; width: 62%; display: flex; align-items: flex-end; justify-content: center; gap: 1.5%; z-index: 1; pointer-events: none; }
.inspire-bottles > span { display: block; width: 31%; }
.inspire-bottles > span:nth-child(2) { width: 38%; }
.inspire-bottles .bottle { width: 100%; height: auto; filter: drop-shadow(0 16px 16px rgba(40, 22, 4, .35)); animation: bottle-bob 8s ease-in-out infinite; }
.inspire-bottles > span:last-child .bottle { animation-delay: -3s; }
.inspire-bottles > span:nth-child(2) .bottle { animation-delay: -1.5s; }
.inspire-card.has-photo .inspire-bottles { display: none; }
@media (max-width: 640px) { .inspire-bottles { bottom: 46%; width: 70%; } }

.oil-body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: .3rem; }
.oil-body h3 { font-size: 1.35rem; font-weight: 700; }
.oil-body p { color: var(--c-fg-2); font-size: .95rem; line-height: 1.55; }
.oil-link { margin-top: .4rem; font-weight: 650; color: var(--c-link); display: inline-flex; gap: .4rem; align-items: center; }
.oil-link::after { content: ""; width: .5rem; height: .5rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.oil:hover .oil-link::after { transform: translateX(4px) rotate(45deg); }
.oil[data-oil="lavender"] { --oil-bg: linear-gradient(160deg, #f3ecf6, #d8cbe6); --oil-glow: rgba(142, 124, 195, .35); }
.oil[data-oil="peppermint"] { --oil-bg: linear-gradient(160deg, #eef5ea, #c9e0cf); --oil-glow: rgba(90, 160, 120, .3); }
.oil[data-oil="lemon"] { --oil-bg: linear-gradient(160deg, #fbf4cf, #efd978); --oil-glow: rgba(226, 190, 60, .4); }
.oil[data-oil="wild-orange"] { --oil-bg: linear-gradient(160deg, #fbe9d0, #efbb82); --oil-glow: rgba(228, 125, 28, .35); }
.oil[data-oil="frankincense"] { --oil-bg: linear-gradient(160deg, #f6ebcd, #e1c27d); --oil-glow: rgba(183, 134, 38, .4); }
.oil[data-oil="eucalyptus"] { --oil-bg: linear-gradient(160deg, #eaf2ef, #bfd6d0); --oil-glow: rgba(100, 150, 140, .3); }
.oil[data-oil="rosemary"] { --oil-bg: linear-gradient(160deg, #eef0dc, #cdd7ab); --oil-glow: rgba(110, 130, 70, .3); }
.oil[data-oil="cedarwood"] { --oil-bg: linear-gradient(160deg, #f1e4d3, #d7b894); --oil-glow: rgba(140, 94, 50, .35); }
.oil[data-oil="chamomile"] { --oil-bg: linear-gradient(160deg, #fbf6df, #efdc99); --oil-glow: rgba(224, 180, 60, .35); }
html[data-theme="dark"] .oil[data-oil] { --oil-bg: linear-gradient(160deg, #2d261a, #1b160e); }
html[data-theme="dark"] .oil-art::before { background: radial-gradient(circle at 50% 38%, rgba(236, 210, 143, .2), transparent 58%), radial-gradient(circle at 20% 92%, var(--oil-glow, rgba(183, 134, 38, .25)), transparent 58%); }
@media (max-width: 900px) { .oils { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .oils { grid-template-columns: 1fr; } .oil-art { aspect-ratio: 16 / 11; } }

/* Inspiration + editorial band (the original structure, now with motion) */
.inspiration-grid { display: grid; grid-template-columns: 1.35fr .85fr .85fr; gap: 1.1rem; }
.inspire-card { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--foil, url("../images/foil-a.webp")) center / cover, linear-gradient(135deg, #f2dc9d, #c99a35 60%, #8a6212); border: 1px solid var(--c-line); box-shadow: var(--shadow); min-height: 280px; isolation: isolate; }
.inspire-card-large { min-height: 520px; --foil: url("../images/foil-a.webp"); }
.inspire-card:nth-child(2) { --foil: url("../images/foil-b.webp"); }
.inspire-card:nth-child(3) { --foil: url("../images/foil-c.webp"); }
html[data-theme="dark"] .inspire-card, html[data-theme="dark"] .editorial-feature { background-blend-mode: multiply, normal; background-color: #7d6a45; }
.inspire-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -1; }
.inspire-card:hover img { transform: scale(1.06); }
.inspire-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(24, 14, 2, .66)); z-index: 0; }
.inspire-copy { position: absolute; inset: auto 0 0 0; padding: clamp(1.1rem, 2.4vw, 1.75rem); color: #fff; z-index: 2; }
.inspire-copy .eyebrow { color: #f4dfb1; }
.inspire-copy h3 { font-size: clamp(1.15rem, 2vw, 1.7rem); margin: .35rem 0 .45rem; line-height: 1.15; font-weight: 700; }
.inspire-copy p { line-height: 1.6; max-width: 46ch; opacity: .95; font-size: .95rem; }
.inspire-card .shine { position: absolute; inset: -30% auto -30% -40%; width: 30%; z-index: 1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); animation: card-shine 9s ease-in-out infinite; pointer-events: none; }
@keyframes card-shine { 0%, 60% { left: -40%; } 100% { left: 140%; } }
@media (max-width: 1100px) { .inspiration-grid { grid-template-columns: 1fr 1fr; } .inspire-card-large { grid-column: 1 / -1; min-height: 380px; } }
@media (max-width: 640px) { .inspiration-grid { grid-template-columns: 1fr; } .inspire-card-large { min-height: 320px; } }

.editorial-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.1rem; }
.editorial-feature { position: relative; overflow: hidden; min-height: 420px; border-radius: var(--r-xl); background: url("../images/foil-c.webp") center / cover, linear-gradient(135deg, #f2dc9d, #c99a35 60%, #8a6212); isolation: isolate; }
.editorial-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s var(--ease); }
.editorial-feature:hover img { transform: scale(1.04); }
.editorial-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(24, 14, 2, .7)); z-index: 0; }
.editorial-overlay { position: absolute; inset: auto 0 0 0; padding: clamp(1.25rem, 3vw, 2.25rem); color: #fff; z-index: 2; }
.editorial-overlay .eyebrow { color: #f4dfb1; }
.editorial-overlay h2 { margin: .4rem 0 .5rem; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.15; font-weight: 700; max-width: 26ch; }
.editorial-overlay p { line-height: 1.7; max-width: 52ch; opacity: .95; }
.editorial-stack { display: grid; gap: 1.1rem; }
.editorial-stack .card { transition: transform .4s var(--ease), box-shadow .4s; }
.editorial-stack .card:hover { transform: translateX(6px); }
.editorial-stack h3 { font-size: 1.35rem; font-weight: 700; margin: .3rem 0 .2rem; }
@media (max-width: 900px) { .editorial-band { grid-template-columns: 1fr; } .editorial-feature { min-height: 320px; } }

/* Breathing ritual */
.ritual { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); overflow: hidden; }
.ritual-copy { display: grid; gap: 1.2rem; align-content: center; }
.ritual h2 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -.02em; font-weight: 700; }
.ritual.is-breathing .ritual-copy .lede { opacity: .45; }
.ritual .lede { transition: opacity .6s var(--ease); }
.pace { display: grid; gap: .75rem; max-width: 36rem; }
.pace-label { font-weight: 700; font-size: var(--step--1); color: var(--c-fg-2); }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.chip {
  display: grid; gap: .1rem; text-align: left; padding: .7rem .8rem; border-radius: var(--r-m); cursor: pointer; font: inherit;
  color: var(--c-fg); background: var(--c-surface-2); border: 1px solid var(--c-line); transition: border-color .2s, background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.chip:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.chip[aria-checked="true"] { border-color: var(--c-accent); background: color-mix(in srgb, var(--c-accent-hi) 22%, var(--c-surface-2)); box-shadow: 0 10px 22px -14px var(--c-shadow), inset 0 0 0 1px var(--c-accent); }
.chip b { font-weight: 700; font-size: .95rem; }
.chip small { color: var(--c-fg-2); font-size: .72rem; line-height: 1.25; }
.pace-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.pace-note { color: var(--c-fg-2); font-size: var(--step--1); }
.orb { position: relative; width: min(100%, 34rem); aspect-ratio: 1; margin-inline: auto; justify-self: center; }
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .15rem; pointer-events: none; }
.orb-phase { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.1rem); letter-spacing: -.01em; color: #3a2808; }
.orb-count { font-size: clamp(.9rem, 1.6vw, 1.1rem); color: #3a2808; opacity: .75; min-height: 1.4em; font-variant-numeric: tabular-nums; }
.orb-fallback { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbeab0, #d1a643 60%, #9c7220); box-shadow: 0 30px 60px -30px rgba(122, 89, 22, .6); }
.orb.has-canvas .orb-fallback { display: none; }
.ritual-shelf { grid-column: 1 / -1; display: grid; gap: 1rem; padding-top: clamp(1rem, 2vw, 1.5rem); border-top: 1px solid var(--c-line); }
.ritual-shelf h3 { font-size: var(--step-1); font-weight: 700; }
@media (max-width: 900px) { .ritual { grid-template-columns: 1fr; } .orb { width: min(86vw, 24rem); order: -1; } .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.shelf-item { display: grid; gap: .5rem; align-content: start; text-decoration: none; color: inherit; }
.shelf-img { aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--c-surface-2); border: 1px solid var(--c-line); position: relative; }
.shelf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shelf-item:hover .shelf-img img { transform: scale(1.05); }
.shelf-item .name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.shelf-item .price { color: var(--c-fg-2); font-size: .92rem; }
.shelf-cell:not(.is-match) .shelf-item { opacity: .75; transition: opacity .3s; }
.shelf-cell:hover .shelf-item { opacity: 1; }
.shelf-item .tag { position: absolute; left: .6rem; top: .6rem; backdrop-filter: blur(6px); }
.shelf-status { color: var(--c-fg-2); grid-column: 1 / -1; }
.shelf-skel { aspect-ratio: 4 / 5; border-radius: var(--r-m); background: linear-gradient(100deg, var(--c-surface) 30%, var(--c-surface-2) 50%, var(--c-surface) 70%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 900px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.biz { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding: clamp(1.5rem, 4vw, 3rem); }
.biz-list { display: grid; margin: 0; padding: 0; list-style: none; }
.biz-list li { padding: 1rem 0; border-top: 1px solid var(--c-line); display: grid; gap: .25rem; transition: padding-left .4s var(--ease); }
.biz-list li:hover { padding-left: .75rem; }
.biz-list li:last-child { border-bottom: 1px solid var(--c-line); }
.biz-list h3 { font-size: var(--step-1); font-weight: 700; }
.biz-list p { color: var(--c-fg-2); max-width: 46ch; }
.biz h2 { font-size: var(--step-2); line-height: 1.1; font-weight: 700; }
.biz-copy { display: grid; gap: 1.1rem; align-content: start; position: sticky; top: 7rem; }
.biz-copy .lede { max-width: 34ch; }
@media (max-width: 900px) { .biz { grid-template-columns: 1fr; } .biz-copy { position: static; } }

.measured { display: grid; gap: .5rem; justify-items: center; text-align: center; }
.measured-line { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; letter-spacing: -.015em; max-width: 26ch; font-variant-numeric: tabular-nums; }
.measured-line b { font-weight: 700; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Offers (infrastructure) */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.offer { display: grid; gap: .75rem; align-content: start; padding: 1.5rem; border-radius: var(--r-l); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.offer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-grad); }
.offer:hover { transform: translateY(-4px); }
.offer h3 { font-size: var(--step-1); font-weight: 700; }
.offer p { color: var(--c-fg-2); }
.offer ul { list-style: none; padding: 0; margin: .25rem 0 0; display: grid; gap: .35rem; font-size: .95rem; }
.offer li { padding-left: 1.3rem; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; transform: rotate(45deg); background: var(--gold-grad); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { display: grid; gap: .4rem; align-content: start; counter-increment: step; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 2.4rem; line-height: 1; font-weight: 700; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.steps h3 { font-size: 1.15rem; font-weight: 700; }
.steps p { color: var(--c-fg-2); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.status-row { display: flex; align-items: center; gap: .6rem; padding: .85rem 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); max-width: 30rem; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--c-fg-2); flex: none; }
.dot.on { background: #5aa77a; box-shadow: 0 0 0 4px rgba(90, 167, 122, .2); }
.dot.warn { background: var(--c-accent); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack-text { display: grid; gap: 1rem; }
.stack-text p { color: var(--c-fg-2); max-width: 52ch; }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pcard { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; border-radius: var(--r-l); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.pcard:hover { transform: translateY(-4px); }
.pcard h3 { font-size: var(--step-1); font-weight: 700; }
.pcard p { color: var(--c-fg-2); }
.pcard .btn { justify-self: start; margin-top: .5rem; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }

.badge, .vs-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface-2); font-size: .85rem; color: var(--c-fg-2); }
.badge.good, .vs-badge.good { color: #2f7d55; border-color: rgba(90, 167, 122, .5); }
.badge.warn, .vs-badge.warn { color: var(--c-link); border-color: var(--c-accent); }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 36rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 650; font-size: .9rem; }
input, textarea, select { font: inherit; }
.form input:not([type="checkbox"]), .form select, .form textarea,
.vs26 input:not([type="checkbox"]):not([type="radio"]), .vs26 select, .vs26 textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 18px; border: 1px solid var(--c-line);
  background: var(--c-surface-2) !important; color: var(--c-fg) !important; transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent-hi) 40%, transparent); }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: #c25a5a; }
.field .err { color: #a23a3a; font-size: .85rem; }
html[data-theme="dark"] .field .err { color: #e08a8a; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .9rem; color: var(--c-fg-2); }
.check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--c-accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: .85rem 1.1rem; border-radius: var(--r-m); border: 1px solid var(--c-line); background: var(--c-surface-2); font-size: .95rem; }
.form-msg[data-type="ok"] { border-color: rgba(90, 167, 122, .6); }
.form-msg[data-type="error"] { border-color: rgba(194, 90, 90, .7); }

/* Prose pages */
.prose { max-width: 46rem; display: grid; gap: 1rem; }
.prose h2 { font-size: var(--step-1); margin-top: 1.5rem; font-weight: 700; }
.prose p, .prose li { color: var(--c-fg-2); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.page-hero { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: 1.25rem; }
.page-hero h1 { font-size: var(--step-3); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; font-weight: 700; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.center-stage { min-height: 60vh; display: grid; place-content: center; gap: 1.25rem; justify-items: start; }
.center-stage h1 { font-size: var(--step-3); }

/* 8. Older pages: same classes, golden skin ------------------------------- */
.page { padding: clamp(1.25rem, 3vw, 2rem) 0 2.75rem; }
.hero-slider-shell { padding: 18px; overflow: hidden; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border-radius: var(--r-l); background: var(--c-surface-2) !important; border: 1px solid var(--c-line) !important; box-shadow: var(--shadow); color: var(--c-fg); transition: transform .45s var(--ease), box-shadow .45s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px var(--c-shadow); }
.product-card img { width: 100%; height: 300px; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover img { transform: scale(1.05); }
.product-body { padding: 18px; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.product-foot strong { font-family: var(--font-display); font-size: 1.25rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.list-stack, .stack, .cart-list { display: grid; gap: 12px; }
.board-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.user-row, .product-row, .board-card, .cart-row, .field-card, .calendar-day {
  background: var(--c-surface-2) !important; color: var(--c-fg) !important; border: 1px solid var(--c-line) !important;
  border-radius: var(--r-m); padding: 14px; box-shadow: 0 10px 24px -16px var(--c-shadow);
}
.user-row header, .product-row header { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 12px; }
.inline-fields, .select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hidden { display: none; }
.upload-preview { width: 100%; max-height: 220px; object-fit: cover; border-radius: 18px; border: 1px solid var(--c-line); background: #fff; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; }
.cart-row img { width: 110px; height: 90px; object-fit: cover; border-radius: 14px; }
.cart-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.meeting-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.calendar-grid .calendar-head, .calendar-grid .calendar-body { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.calendar-grid .calendar-head { margin-bottom: 10px; }
.calendar-day { min-height: 110px; text-align: left; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s; }
.calendar-day:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -16px var(--c-shadow); }
.calendar-day.has-meetings { background: color-mix(in srgb, var(--c-accent-hi) 28%, var(--c-surface-2)) !important; }
.calendar-empty { min-height: 88px; border-radius: var(--r-m); background: transparent; border: 1px dashed var(--c-line); }
.small-pill { background: var(--c-surface-2); border: 1px solid var(--c-line); }
.section-head.legacy, .page .section-head { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 14px; flex-wrap: wrap; }
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
html.js .reveal:not(.visible) { opacity: .01; transform: translateY(18px); }
.vs-ready .vs-card, .vs-ready .vs-hero { border-radius: var(--r-l); }
@media (max-width: 1150px) { .product-grid, .stats-grid, .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) { .meeting-shell, .select-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .product-grid, .stats-grid, .grid-2, .inline-fields, .cart-row { grid-template-columns: 1fr !important; } }

/* 9. Motion ---------------------------------------------------------------
   Page transitions: a cross-document View Transition (Chrome, Edge, Safari 18+). The old page lifts and dims
   while the new page is revealed underneath a gold scan line sweeping down, 400 ms in total. Browsers without
   support simply load the next page normally; the fade-in below covers them. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .4s cubic-bezier(.4, 0, .6, 1) both; }
::view-transition-new(root) { animation: vt-in .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-out { to { transform: translateY(-12px) scale(.992); filter: blur(3px) brightness(.9); } }
@keyframes vt-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
::view-transition-group(site-header) { animation: none; }
::view-transition-old(site-header) { display: none; }
::view-transition-new(site-header) { animation: none; }
html.vt-scan::after {
  content: ""; position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 9999; pointer-events: none;
  background: linear-gradient(90deg, transparent, #f3dd9f 20%, #fff7da 50%, #f3dd9f 80%, transparent);
  box-shadow: 0 0 22px 6px rgba(223, 192, 122, .75); view-transition-name: vt-scan;
}
::view-transition-group(vt-scan) { animation: vt-scan .4s cubic-bezier(.2, .8, .2, 1) both; }
::view-transition-old(vt-scan), ::view-transition-new(vt-scan) { animation: none; }
@keyframes vt-scan { from { transform: translateY(0); opacity: 1; } 85% { opacity: 1; } to { transform: translateY(100vh); opacity: 0; } }
@supports not (view-transition-name: a) { html.js body { animation: page-in .3s var(--ease) both; } }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* photographs from images/photos/photos.json land here (see vs2026.js) */
.vs-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease), transform 1.2s var(--ease); z-index: 0; }
.vs-photo.is-in { opacity: 1; }
.hero-slide .vs-photo { z-index: 0; }
.hero-slide.has-photo.active .vs-photo { animation: kenburns 16s ease-in-out infinite alternate; }
.hero-slide-overlay { z-index: 2; }
.inspire-card .vs-photo, .editorial-feature .vs-photo { z-index: -1; }
.measured-wrap { padding-block: clamp(2rem, 5vw, 4rem); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .ribbon-track { animation: none; }
  .bottle { animation: none !important; }
  html.vt-scan::after { display: none; }
  .hero-slide.has-photo.active .vs-photo { animation: none; }
}

@media print {
  .topbar, .footer, .nav-toggle, .vs-toasts, .dust-canvas, .gold-canvas { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}

/* Page heroes with a technology panel on the right */
.page-hero.art { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.page-hero-copy { display: grid; gap: 1.25rem; align-content: center; justify-items: start; }
.tech-panel {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(24, 16, 5, .84), rgba(52, 35, 10, .66)), url("../images/foil-b.webp") center / cover;
  box-shadow: 0 40px 80px -40px rgba(58, 39, 15, .55), inset 0 0 0 1px rgba(236, 210, 143, .28);
}
.tech-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(236, 210, 143, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 210, 143, .09) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%); }
.tech-panel::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 40%, rgba(255, 244, 205, .12) 50%, transparent 60%); background-size: 250% 100%; animation: panel-glint 7s ease-in-out infinite; }
@keyframes panel-glint { 0%, 55% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.tech-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.tech-panel .ln { stroke: #ecd28f; stroke-opacity: .5; stroke-width: 1; fill: none; }
.tech-panel .ring { stroke: #ecd28f; stroke-opacity: .22; stroke-width: 1; fill: none; stroke-dasharray: 2 6; transform-origin: 250px 200px; animation: spin 80s linear infinite; }
.tech-panel .nd { fill: #1c1306; stroke: #ecd28f; stroke-width: 1.4; }
.tech-panel .hub { fill: url(#netGold); stroke: #fff2c4; stroke-width: 1; }
.tech-panel .halo { fill: none; stroke: #ecd28f; stroke-opacity: .5; animation: halo 3.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.tech-panel .pulse { fill: #fff7da; filter: drop-shadow(0 0 4px #f3dd9f); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes halo { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@media (max-width: 900px) { .page-hero.art { grid-template-columns: 1fr; } .tech-panel { aspect-ratio: 16 / 11; } }
@media (prefers-reduced-motion: reduce) { .tech-panel .pulse, .tech-panel .halo { display: none; } .tech-panel .ring, .tech-panel::after { animation: none; } }

/* ===== Menu: every menu item has the same gold gradient and shimmer as the buttons ===== */
.topbar .nav-link, .topbar .lang-switch, .topbar .nav-toggle, .topbar .vs-theme-control, .topbar .actions .btn-soft {
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  background: var(--gold-grad) !important; color: var(--c-on-accent) !important;
  border: 1px solid rgba(122, 89, 22, .28) !important;
  box-shadow: var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55);
  font-weight: 650; text-shadow: 0 1px 0 rgba(255, 244, 205, .35);
  transition: transform .18s var(--ease), box-shadow .25s, background .2s;
}
.main-nav { gap: .4rem; }
.topbar .nav-link { padding: .5rem .95rem; font-size: .92rem; }
.topbar .nav-link::after, .topbar .lang-switch::after, .topbar .nav-toggle::after, .topbar .vs-theme-control::after, .topbar .actions .btn-soft::after {
  content: ""; position: absolute; top: -25%; bottom: -25%; left: -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: translateX(0) skewX(-20deg); animation: menu-shimmer 7.5s ease-in-out infinite; animation-delay: calc(var(--n, 3) * .5s);
}
@keyframes menu-shimmer { 0%, 56% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(480%) skewX(-20deg); } }
.topbar .nav-link:hover, .topbar .lang-switch:hover, .topbar .nav-toggle:hover, .topbar .vs-theme-control:hover, .topbar .actions .btn-soft:hover {
  background: var(--gold-grad-hover) !important; transform: translateY(-2px); border-color: rgba(122, 89, 22, .4) !important;
  box-shadow: 0 14px 28px -10px rgba(151, 114, 33, .5), inset 0 1px 0 rgba(255, 255, 255, .65);
}
html[data-theme="dark"] .topbar .nav-link:hover, html[data-theme="dark"] .topbar .lang-switch:hover, html[data-theme="dark"] .topbar .nav-toggle:hover,
html[data-theme="dark"] .topbar .vs-theme-control:hover, html[data-theme="dark"] .topbar .actions .btn-soft:hover { box-shadow: 0 0 16px rgba(215, 181, 99, .55), 0 0 38px rgba(215, 181, 99, .3); }
.topbar .nav-link:hover::after, .topbar .lang-switch:hover::after, .topbar .nav-toggle:hover::after, .topbar .vs-theme-control:hover::after, .topbar .actions .btn-soft:hover::after { animation: menu-sweep .8s var(--ease); }
@keyframes menu-sweep { from { transform: translateX(0) skewX(-20deg); } to { transform: translateX(480%) skewX(-20deg); } }
.topbar .nav-link:active, .topbar .actions .btn-soft:active { transform: translateY(0) scale(.98); }
.topbar .nav-link.active, .topbar .nav-link[aria-current="page"] {
  box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-accent), var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.topbar .nav-link:focus-visible, .topbar .lang-switch:focus-visible, .topbar .nav-toggle:focus-visible, .topbar .vs-theme-control:focus-visible { outline: 2px solid var(--c-fg); outline-offset: 3px; }
.topbar .nav-link #cartCount { background: #2a1c08; color: #f3dd9f; text-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .topbar .nav-link::after, .topbar .lang-switch::after, .topbar .nav-toggle::after, .topbar .vs-theme-control::after, .topbar .actions .btn-soft::after { animation: none; opacity: 0; }
}

/* ===== Hero: photo on the right, liquid gold stays the main picture on the left ===== */
.hero-slide.hero-portrait .vs-photo { left: auto; right: 0; width: 50%; object-position: var(--pos, 50% 50%); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.hero-slide.hero-portrait.has-photo.active .vs-photo { animation: kenburns-p 16s ease-in-out infinite alternate; }
@keyframes kenburns-p { from { transform: scale(var(--z0, 1.02)); } to { transform: scale(calc(var(--z0, 1.02) + .07)); } }
@media (max-width: 800px) { .hero-slide.hero-portrait .vs-photo { width: 100%; -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 800px) { .hero-slide.hero-portrait[data-photo-slot="hero-aromatic"] .vs-photo { object-position: 50% 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-slide.hero-portrait.has-photo.active .vs-photo { animation: none; transform: scale(var(--z0, 1.02)); } }
.inspire-card .vs-photo, .editorial-feature .vs-photo { object-position: var(--pos, 50% 50%); }

/* ===== Real bottle photos in the large inspiration card ===== */
.inspire-bottles > span { position: relative; }
.inspire-card .inspire-bottles img.vs-photo { position: static; inset: auto; display: block; width: 100%; height: auto; z-index: auto; object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(40, 22, 4, .45)); animation: bottle-bob 8s ease-in-out infinite; transition: opacity .8s var(--ease); }
.inspire-card:hover .inspire-bottles img.vs-photo { transform: none; }
.inspire-bottles > span:nth-child(2) img.vs-photo { animation-delay: -1.5s; }
.inspire-bottles > span:last-child img.vs-photo { animation-delay: -3s; }
.inspire-bottles > span.has-photo .bottle { display: none; }
@media (prefers-reduced-motion: reduce) { .inspire-card .inspire-bottles img.vs-photo { animation: none; } }

/* ===== The shelf: every bottle in one scrollable row ===== */
.oil-shelf { --bh: clamp(190px, 24vw, 260px); position: relative; display: none; margin-top: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #f3e6c4;
  background: radial-gradient(60% 70% at 50% 6%, rgba(236, 210, 143, .24), transparent 70%), linear-gradient(180deg, #1c150a, #271c0c 72%, #120d06);
  box-shadow: 0 40px 80px -44px rgba(58, 39, 15, .6), inset 0 0 0 1px rgba(236, 210, 143, .26); }
.oil-shelf.is-ready { display: block; }
.oil-shelf-head { display: grid; gap: .25rem; padding: clamp(1.1rem, 2.5vw, 1.75rem) clamp(1.1rem, 3vw, 2rem) 0; }
.oil-shelf-head h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #f6e6b0; }
.oil-shelf-head p { margin: 0; max-width: 62ch; font-size: .92rem; color: rgba(243, 230, 196, .74); }
.oil-shelf-track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 1.5rem clamp(1rem, 3vw, 2rem) 0; cursor: grab; scrollbar-width: none; }
.oil-shelf-track::-webkit-scrollbar { display: none; }
.oil-shelf-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.oil-shelf-track:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -4px; }
.oil-shelf-row { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: clamp(.6rem, 1.4vw, 1.1rem); width: max-content; }
.oil-shelf-item { position: relative; display: grid; justify-items: center; align-content: start; gap: .6rem; width: clamp(78px, 9vw, 104px); text-decoration: none; color: inherit !important; scroll-snap-align: start; }
.oil-shelf-item::before { content: ""; position: absolute; left: calc(-.55rem - 1px); right: calc(-.55rem - 1px); top: calc(var(--bh) + .3rem); height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(236, 210, 143, .25), #f3dd9f 50%, rgba(236, 210, 143, .25)); box-shadow: 0 0 14px rgba(236, 210, 143, .45); }
.oil-shelf-item img { display: block; height: var(--bh); width: auto; max-width: 100%; align-self: end; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .55));
  transition: transform .45s var(--ease), filter .3s; animation: shelf-in .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.oil-shelf-item:hover img, .oil-shelf-item:focus-visible img { transform: translateY(-12px) scale(1.04); filter: drop-shadow(0 26px 18px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(236, 210, 143, .4)); }
.oil-shelf-item span { margin-top: .3rem; min-height: 2.4em; font-size: .78rem; line-height: 1.2; text-align: center; color: rgba(243, 230, 196, .85); transition: color .2s; }
.oil-shelf-item:hover span, .oil-shelf-item:focus-visible span { color: #f6e6b0; }
.oil-shelf-item:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; border-radius: 8px; }
.oil-shelf-board { height: 1.1rem; }
.oil-shelf::before, .oil-shelf::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(28px, 5vw, 64px); z-index: 3; pointer-events: none; transition: opacity .3s; }
.oil-shelf::before { left: 0; background: linear-gradient(90deg, #1c150a, transparent); }
.oil-shelf::after { right: 0; background: linear-gradient(270deg, #1c150a, transparent); }
.oil-shelf.at-start::before, .oil-shelf.at-end::after { opacity: 0; }
@keyframes shelf-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .oil-shelf-item img { animation: none; } }

/* tile colours for the other oils on the home page */
.oil[data-oil="bergamot"] { --oil-accent: #e8dc2c; --oil-bg: linear-gradient(160deg, #fbf8d2, #ecdf7e); --oil-glow: rgba(214, 200, 40, .38); }
.oil[data-oil="grapefruit"] { --oil-accent: #e98d6d; --oil-bg: linear-gradient(160deg, #fbe7dc, #f0b79e); --oil-glow: rgba(233, 141, 109, .35); }
.oil[data-oil="myrrh"] { --oil-accent: #b08d56; --oil-bg: linear-gradient(160deg, #f4e9d4, #dcc293); --oil-glow: rgba(176, 141, 86, .38); }
.oil[data-oil="lime"] { --oil-accent: #c9d83a; --oil-bg: linear-gradient(160deg, #f4f7d3, #d7e384); --oil-glow: rgba(201, 216, 58, .35); }
.oil[data-oil="geranium"] { --oil-accent: #e4789a; --oil-bg: linear-gradient(160deg, #fbe6ec, #efb5c8); --oil-glow: rgba(228, 120, 154, .32); }
.oil[data-oil="cypress"] { --oil-accent: #4f8f86; --oil-bg: linear-gradient(160deg, #e6f1ee, #b4d4cd); --oil-glow: rgba(79, 143, 134, .3); }
.oil[data-oil="basil"] { --oil-accent: #6fa043; --oil-bg: linear-gradient(160deg, #eaf3de, #c4dc9e); --oil-glow: rgba(111, 160, 67, .32); }
.inspire-bottles { top: 12%; }
/* hero slide with the bottle lineup standing in the liquid gold */
.hero-slide.hero-bottles .vs-photo { left: auto; right: 2%; width: 66%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 22px 22px rgba(30, 16, 2, .4)); }
.hero-slide.hero-bottles.has-photo.active .vs-photo { animation: bottles-rise 1.6s var(--ease) both; }
@keyframes bottles-rise { from { transform: translateY(26px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 800px) { .hero-slide.hero-bottles .vs-photo { width: 96%; right: 2%; } }
@media (prefers-reduced-motion: reduce) { .hero-slide.hero-bottles.has-photo.active .vs-photo { animation: none; } }
/* the three bottles are sized by height so the tallest never rises above the card */
.inspire-bottles { top: 6%; bottom: 31%; align-items: flex-end; }
.inspire-bottles > span.has-photo { width: auto; height: 82%; }
.inspire-bottles > span.has-photo:nth-child(2) { height: 100%; }
.inspire-card .inspire-bottles img.vs-photo { width: auto; height: 100%; max-width: none; }

/* ===== 2026 menu: grouped glass panels, sheet on small screens, quick-search palette ===== */
.nav-toggle .burger { display: inline-grid; gap: 4px; margin-right: .5rem; vertical-align: middle; }
.nav-toggle .burger i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .burger i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:last-child { transform: translateY(-3px) rotate(-45deg); }
.ico { flex: none; }
.main-nav { position: relative; }
.nav-group { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: .3rem; font: inherit; line-height: inherit; }
.nav-trigger .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-group.is-open .nav-trigger .chev { transform: rotate(180deg); }
.nav-trigger.active { box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-accent), var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55); }
.sheet-head { display: none; }
.search-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.4rem; padding: 0 .8rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 650;
  border: 1px solid rgba(122, 89, 22, .28); background: var(--gold-grad); color: var(--c-on-accent); box-shadow: var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .55);
  position: relative; overflow: hidden; isolation: isolate; transition: transform .18s var(--ease), box-shadow .25s; }
.search-btn:hover { transform: translateY(-2px); background: var(--gold-grad-hover); }
.search-btn kbd, .pal-top kbd, .pal-foot kbd { font: 600 .68rem/1 var(--font-body, inherit); padding: .22rem .4rem; border-radius: 6px; border: 1px solid rgba(60, 40, 8, .35); background: rgba(255, 255, 255, .35); color: inherit; }
.search-btn:focus-visible { outline: 2px solid var(--c-fg); outline-offset: 3px; }
@media (max-width: 1280px) { .search-btn .search-label, .search-btn kbd { display: none; } .search-btn { padding: 0 .7rem; } }
@media (max-width: 560px) { .search-btn { display: none; } }

/* wide screens: panels drop under the group buttons */
@media (min-width: 1101px) {
  .mega { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 80; width: max-content; max-width: min(720px, calc(100vw - 24px));
    transform: translateX(calc(-50% + var(--shift, 0px))) translateY(10px) scale(.97); transform-origin: 50% 0; opacity: 0; visibility: hidden; pointer-events: none;
    border-radius: 22px; padding: .6rem; color: #f3e6c4;
    background: radial-gradient(120% 90% at 10% 0%, rgba(236, 210, 143, .16), transparent 55%), linear-gradient(165deg, rgba(36, 27, 13, .94), rgba(16, 12, 6, .97));
    backdrop-filter: blur(26px) saturate(1.4); -webkit-backdrop-filter: blur(26px) saturate(1.4);
    border: 1px solid rgba(236, 210, 143, .3); box-shadow: 0 40px 80px -30px rgba(20, 12, 2, .75), 0 0 0 1px rgba(0, 0, 0, .25), 0 0 60px -20px rgba(215, 181, 99, .35);
    transition: opacity .25s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
  .mega::before { content: ""; position: absolute; top: -7px; left: calc(50% - var(--shift, 0px)); width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg); border-radius: 3px 0 0 0;
    background: rgba(40, 30, 15, .96); border-left: 1px solid rgba(236, 210, 143, .3); border-top: 1px solid rgba(236, 210, 143, .3); }
  .nav-group.is-open > .mega, html:not(.js) .nav-group:hover > .mega, html:not(.js) .nav-group:focus-within > .mega {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(calc(-50% + var(--shift, 0px))) translateY(0) scale(1); transition-delay: 0s; }
  .mega-inner { display: grid; grid-template-columns: minmax(300px, 1fr); gap: .5rem; }
  .nav-group[data-group="wellness"] .mega-inner, .nav-group[data-group="tech"] .mega-inner { grid-template-columns: minmax(320px, 1fr) 230px; }
  .mega::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, #f3dd9f, transparent); transform: translateX(-100%); }
  .nav-group.is-open > .mega::after { animation: mega-line 1.1s var(--ease) .1s 1 both; }
  @keyframes mega-line { to { transform: translateX(100%); } }
}
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; align-content: start; }
.mega-item, .mega-feature { position: relative; isolation: isolate; text-decoration: none; color: inherit !important; }
.mega-item { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: center; padding: .7rem .8rem; border-radius: 16px; border: 1px solid transparent; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.mega-item::before, .mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .25s;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(236, 210, 143, .22), transparent 70%); }
.mega-item:hover, .mega-item:focus-visible { background: rgba(236, 210, 143, .07); border-color: rgba(236, 210, 143, .3); transform: translateX(3px); outline: none; }
.mega-item:hover::before, .mega-item:focus-visible::before, .mega-feature:hover::before { opacity: 1; }
.mega-item.active { border-color: rgba(236, 210, 143, .38); background: rgba(236, 210, 143, .1); }
.mega-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--gold-grad); color: #2a1c08; box-shadow: 0 8px 18px -8px rgba(215, 181, 99, .7), inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .35s var(--ease); }
.mega-item:hover .mega-ico, .mega-item:focus-visible .mega-ico { transform: rotate(-6deg) scale(1.07); }
.mega-txt { display: grid; gap: .1rem; min-width: 0; }
.mega-txt b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: #f8ecc8; display: inline-flex; align-items: center; gap: .45rem; }
.mega-txt small { font-size: .82rem; line-height: 1.35; color: rgba(243, 230, 196, .72); }
.mega-badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--gold-grad); color: #2a1c08; font: 700 .72rem/1.5 var(--font-body, inherit); text-align: center; }
.mega-feature { display: grid; align-content: end; min-height: 190px; padding: 1.1rem; border-radius: 16px; overflow: hidden; border: 1px solid rgba(236, 210, 143, .26);
  background: linear-gradient(180deg, rgba(20, 14, 5, .1), rgba(20, 14, 5, .78)), url("../images/foil-b.webp") center / cover, #3a2a0e; transition: transform .35s var(--ease), border-color .25s; }
.mega-feature:hover, .mega-feature:focus-visible { transform: translateY(-3px); border-color: rgba(236, 210, 143, .55); outline: none; }
.mega-feature .feat-copy { position: relative; z-index: 2; display: grid; gap: .25rem; max-width: 15ch; }
.mega-feature .feat-copy b { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; color: #fff2c4; }
.mega-feature .feat-copy small { font-size: .8rem; line-height: 1.35; color: rgba(255, 240, 200, .82); }
.mega-feature .feat-art { position: absolute; right: -8%; top: -4%; width: 78%; color: #ecd28f; z-index: 1; opacity: .95; }
.mega-feature .feat-art .hub { fill: #f3dd9f; stroke: #fff2c4; filter: drop-shadow(0 0 8px rgba(243, 221, 159, .8)); animation: feat-pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mega-feature .feat-art .nd circle { fill: #1c1306; stroke: #ecd28f; stroke-width: 1.4; }
@keyframes feat-pulse { 50% { transform: scale(1.25); } }
.mega-feature .vs-photo.is-product { position: absolute; z-index: 1; inset: auto; right: 8%; bottom: 8%; width: auto; height: 78%; max-width: 46%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .55)); transition: opacity .6s var(--ease), transform .5s var(--ease); }
.mega-feature:hover .vs-photo.is-product { transform: translateY(-5px) scale(1.04); }
/* staggered reveal of the rows */
@media (min-width: 1101px) {
  .mega .mega-item, .mega .mega-feature { opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease), background .25s, border-color .25s; }
  .nav-group.is-open .mega-item, .nav-group.is-open .mega-feature, html:not(.js) .nav-group:hover .mega-item, html:not(.js) .nav-group:hover .mega-feature { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 55ms + 110ms); }
  .nav-group.is-open .mega-item:hover, .nav-group.is-open .mega-item:focus-visible { transform: translateX(3px); transition-delay: 0s; }
}

/* small screens: a full sheet under the header, groups open like drawers */
@media (max-width: 1100px) {
  html.menu-open { overflow: hidden; }
  html.js .main-nav {
    position: absolute; top: 100%; left: 50%; width: 100vw; margin: 0 0 0 -50vw; z-index: 90; display: flex; flex-direction: column; align-items: stretch; gap: .5rem;
    padding: .9rem 1rem 1.5rem; max-height: var(--sheet-h, 80vh); overflow-y: auto; overscroll-behavior: contain; border: 0; border-top: 1px solid rgba(236, 210, 143, .3); border-radius: 0 0 26px 26px;
    background: radial-gradient(100% 60% at 50% 0%, rgba(236, 210, 143, .16), transparent 70%), linear-gradient(180deg, rgba(28, 21, 10, .985), rgba(14, 10, 5, .995));
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 50px 80px -30px rgba(10, 6, 0, .8);
    visibility: hidden; opacity: 0; transform: translateY(-14px); pointer-events: none;
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
  }
  html.js .main-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  .sheet-head { display: flex; gap: .6rem; align-items: center; }
  .sheet-search { flex: 1; display: flex; align-items: center; gap: .6rem; min-height: 2.9rem; padding: 0 1rem; border-radius: 14px; cursor: pointer; font: inherit; text-align: left;
    color: rgba(243, 230, 196, .78); background: rgba(255, 255, 255, .06); border: 1px solid rgba(236, 210, 143, .26); }
  .sheet-close { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 14px; cursor: pointer; border: 1px solid rgba(122, 89, 22, .3); background: var(--gold-grad); color: #2a1c08; }
  .topbar .main-nav > .nav-link, .topbar .nav-trigger { width: 100%; justify-content: space-between; border-radius: 16px; padding: .85rem 1.1rem; font-size: 1.02rem; text-align: left; }
  .nav-group { display: grid; gap: .4rem; }
  .mega { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .nav-group.is-open > .mega { grid-template-rows: 1fr; }
  .mega-inner { overflow: hidden; display: grid; gap: .4rem; min-height: 0; }
  .mega-list { gap: .35rem; padding-top: .1rem; }
  .mega-item { background: rgba(255, 255, 255, .05); border-color: rgba(236, 210, 143, .16); color: #f3e6c4; }
  .mega-feature { min-height: 120px; }
  .nav-group.is-open .mega-item { animation: sheet-in .45s var(--ease) both; animation-delay: calc(var(--k, 0) * 50ms + 80ms); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(10px); } }
  .main-nav .vs-theme-control { align-self: flex-start; margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mega, html.js .main-nav, .mega .mega-item, .mega .mega-feature { transition: none !important; animation: none !important; }
  .nav-group.is-open .mega-item { animation: none; }
  .nav-group.is-open > .mega::after { animation: none; }
}

/* quick-search palette */
.palette { padding: 0; border: 0; background: transparent; color: inherit; width: min(640px, calc(100vw - 24px)); max-width: none; margin: 12vh auto auto; overflow: visible; }
.palette::backdrop { background: rgba(14, 10, 4, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pal-box { border-radius: 22px; overflow: hidden; color: #f3e6c4;
  background: radial-gradient(120% 80% at 0% 0%, rgba(236, 210, 143, .18), transparent 55%), linear-gradient(165deg, rgba(36, 27, 13, .97), rgba(16, 12, 6, .985));
  border: 1px solid rgba(236, 210, 143, .32); box-shadow: 0 50px 100px -30px rgba(10, 6, 0, .85), 0 0 80px -24px rgba(215, 181, 99, .4); }
.palette[open] .pal-box { animation: pal-in .35s var(--ease) both; }
@keyframes pal-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.pal-top { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(236, 210, 143, .2); }
.pal-top .ico { color: #ecd28f; }
.pal-top input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff2c4; font: inherit; font-size: 1.1rem; padding: .2rem 0; box-shadow: none; }
.pal-top input::placeholder { color: rgba(243, 230, 196, .5); }
.pal-top kbd, .pal-foot kbd { color: rgba(243, 230, 196, .8); background: rgba(255, 255, 255, .06); border-color: rgba(236, 210, 143, .3); }
.pal-list { list-style: none; margin: 0; padding: .5rem; max-height: min(52vh, 420px); overflow-y: auto; display: grid; gap: .15rem; }
.pal-list li { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .6rem .7rem; border-radius: 14px; cursor: pointer; border: 1px solid transparent; }
.pal-list li[aria-selected="true"] { background: rgba(236, 210, 143, .12); border-color: rgba(236, 210, 143, .35); }
.pal-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--gold-grad); color: #2a1c08; }
.pal-ico .ico { width: 18px; height: 18px; }
.pal-txt { display: grid; min-width: 0; }
.pal-txt b { font-family: var(--font-display); color: #f8ecc8; font-size: 1rem; }
.pal-txt small { color: rgba(243, 230, 196, .68); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-go { color: rgba(236, 210, 143, .0); font-size: 1.1rem; }
.pal-list li[aria-selected="true"] .pal-go { color: #ecd28f; }
.pal-empty { margin: 0; padding: 1.4rem; text-align: center; color: rgba(243, 230, 196, .7); }
.pal-foot { display: flex; gap: 1.1rem; flex-wrap: wrap; padding: .7rem 1.1rem; border-top: 1px solid rgba(236, 210, 143, .18); font-size: .76rem; color: rgba(243, 230, 196, .6); }
.pal-foot kbd { margin-right: .2rem; }
@media (prefers-reduced-motion: reduce) { .palette[open] .pal-box { animation: none; } }

/* feature card: picture top right, words underneath; on the sheet the picture sits beside the words */
.mega-feature .vs-photo.is-product { inset: auto; top: 9%; right: 10%; bottom: auto; height: 56%; max-width: 40%; }
.mega-feature .feat-copy { max-width: none; }
@media (max-width: 1100px) { .mega-feature .vs-photo.is-product { top: 12%; height: 76%; max-width: 30%; right: 8%; } .mega-feature .feat-copy { max-width: 62%; } }
/* the search box inside the palette ignores the page's form styling */
.palette .pal-top input[type="search"] { appearance: none; -webkit-appearance: none; background: transparent !important; border: 0 !important; box-shadow: none !important; color: #fff2c4 !important; padding: .2rem 0 !important; border-radius: 0 !important; min-height: 0 !important; }
.palette .pal-top input[type="search"]::-webkit-search-cancel-button, .palette .pal-top input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.palette .pal-top input[type="search"]:focus { outline: none; }
.nav-toggle { flex: none; white-space: nowrap; }
@media (max-width: 480px) {
  .nav-toggle { padding: 0 .8rem; }
  .actions .btn { padding: .5rem .85rem; min-height: 2.5rem; font-size: .88rem; }
  .actions { gap: .4rem; margin-left: .1rem; }
}

/* ===== embedded pages (admin.html inside the admin console) ===== */
html.vs-embed .topbar, html.vs-embed .footer, html.vs-embed .skip-link, html.vs-embed .vs-toasts-off { display: none !important; }
html.vs-embed body { background: transparent !important; }
html.vs-embed .page { padding-top: 1rem; }

/* ===== admin console (admin-platform.html) ===== */
.ap-layout { --ap-border: var(--c-line); --ap-panel: var(--c-surface); --ap-soft: color-mix(in srgb, var(--c-accent) 12%, transparent); padding-top: 1.4rem; }
.ap-sidebar { border-radius: 22px; background: var(--c-surface); box-shadow: 0 18px 40px -30px var(--c-shadow); top: 6.2rem; }
.ap-sidebar-title { text-transform: none; letter-spacing: .02em; font-size: .8rem; }
.ap-nav-btn { position: relative; border-radius: 14px; font-weight: 600; transition: background .2s var(--ease), transform .2s var(--ease), color .2s; }
.ap-nav-btn:hover { transform: translateX(3px); }
.ap-nav-btn.active { background: var(--gold-grad); color: var(--on-gold, #2a1c08); box-shadow: var(--gold-glow); }
.ap-nav-btn.active:hover { transform: none; }
.ap-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; padding: .85rem 1.1rem; border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-surface); }
.ap-toolbar-title { display: grid; line-height: 1.15; }
.ap-toolbar-title strong { font: 700 1.25rem Georgia, "Times New Roman", serif; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-toolbar-title small { color: var(--c-fg-2); }
.ap-toolbar-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ap-card, .ap-frame-wrap, .ap-safe-banner { border-radius: 22px; border-color: var(--c-line); background: var(--c-surface); }
.ap-card { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.ap-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c-accent) 45%, var(--c-line)); box-shadow: 0 22px 44px -30px var(--c-shadow); }
.ap-page-head h1 { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-input { border-radius: 14px; background: var(--c-surface-2); color: var(--c-fg); border: 1px solid var(--c-line); }
.ap-input:focus { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.ap-toggle input:checked + span { background: var(--gold-grad) !important; }
.ap-status { border-radius: 999px; }
.ap-frame-wrap { overflow: hidden; }
#legacyAdminFrame { display: block; width: 100%; height: calc(100vh - 14rem); min-height: 36rem; border: 0; background: transparent; }
.ap-view.active { animation: ap-in .38s var(--ease) both; }
@keyframes ap-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ap-view.active { animation: none; } .ap-nav-btn:hover, .ap-card:hover { transform: none; } }
@media (max-width: 900px) {
  .ap-sidebar { top: auto; display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: thin; border-radius: 18px; }
  .ap-sidebar .ap-nav-btn { flex: none; }
}
