/* Velixir — Noir Chapters. Approved design, applied to the existing site. */
html[data-velixir-theme] {
  --v-paper:#f5f2eb;
  --v-stone:#e8e4db;
  --v-black:#151614;
  --v-charcoal:#23251f;
  --v-ivory:#f6f2ea;
  --v-muted-light:#5e6559;
  --v-muted-dark:#c1c4b8;
  --v-rule-light:#d1cec4;
  --v-rule-dark:#42463e;
  --v-accent-light:#6f6048;
  --v-accent-dark:#c2b49b;
  --v-well:#ece8de;
  --v-bg:var(--v-paper);
  --v-fg:var(--v-black);
  --v-muted:var(--v-muted-light);
  --v-rule:var(--v-rule-light);
  --v-accent:var(--v-accent-light);
  --v-card:var(--v-paper);
  --v-card-rule:#d0cdc3;
  --v-card-hover:#8b8c7f;
  --v-status-bg:#e9e1d3;
  --v-status-fg:#705332;
  --v-status-rule:#c8b69b;
  --v-logo-filter:none;
  --v-logo-blend:multiply;
  --paper:var(--v-bg);
  --ink:var(--v-fg);
  --muted:var(--v-muted);
  --line:var(--v-rule);
  --accent:var(--v-accent);
  color-scheme:light;
}

html[data-velixir-theme] body {background:var(--v-bg);color:var(--v-fg)}
html[data-velixir-theme] ::selection {background:#c7b99f;color:#151614}
html[data-velixir-theme] :focus-visible {outline:2px solid currentColor;outline-offset:5px}
html[data-velixir-theme] .eyebrow {color:var(--v-accent)}
html[data-velixir-theme] .text-link:hover {color:var(--v-accent)}

/* Rebind the base site's existing variables at every independently colored section. */
html[data-velixir-theme] :is(.site-header,.mobile-menu,.hero,.intro,.collection-section,
 .story-section,.details-section,.discovery-banner,.stores-section,.closing,.site-footer,
 .pdp-chapter,.pdp-section,.performance-section,.related-section) {
  --paper:var(--v-bg);--ink:var(--v-fg);--muted:var(--v-muted);
  --line:var(--v-rule);--accent:var(--v-accent);
  color:var(--v-fg);
}
html[data-velixir-theme] :is(.intro,.collection-section,.details-section) {
  background:var(--v-bg);
  box-shadow:0 0 0 100vmax var(--v-bg);
  clip-path:inset(0 -100vmax);
}
html[data-velixir-theme] :is(.story-section,.stores-section,.closing,.site-footer,.pdp-chapter) {
  background:var(--v-bg);
}

/* Header, logo, mobile navigation. */
html[data-velixir-theme] :is(.site-header,.mobile-menu) {
  --v-bg:var(--v-black);--v-fg:var(--v-ivory);
  --v-muted:var(--v-muted-dark);--v-rule:var(--v-rule-dark);--v-accent:var(--v-accent-dark);
  --v-logo-filter:brightness(0) invert(1);--v-logo-blend:normal;
  background:var(--v-bg);color:var(--v-fg);border-color:var(--v-rule);color-scheme:dark;
}
html[data-velixir-theme] :is(.site-header,.site-footer) .brand img {
  filter:var(--v-logo-filter);mix-blend-mode:var(--v-logo-blend);
}
html[data-velixir-theme] .desktop-nav a:hover {color:var(--v-accent)}
html[data-velixir-theme] .language-switch a {color:var(--v-muted)}
html[data-velixir-theme] .language-switch .current {color:var(--v-fg);border-color:var(--v-fg)}
html[data-velixir-theme] .language-divider {background:var(--v-rule)}
html[data-velixir-theme] .header-discover {border-color:var(--v-fg)}
html[data-velixir-theme] .menu-toggle span {background:var(--v-fg)}
html[data-velixir-theme] .skip-link {background:#151614;color:#f6f2ea}

/* Bright architectural hero. */
html[data-velixir-theme] .hero {
  --v-bg:var(--v-paper);--v-fg:#20261f;--v-muted:#394136;--v-accent:#4c493b;
  background:var(--v-bg);
}
html[data-velixir-theme] .hero .eyebrow {color:var(--v-fg)}
html[data-velixir-theme] .hero .text-link:hover {color:var(--v-fg);opacity:.75}
html[data-velixir-theme] .hero-bottom {color:#fff}

/* Light and dark text treatments — override the base's literal olive colors. */
html[data-velixir-theme] :is(.section-heading>p,.collection-meta,.collection-end,
 .card-size,.card-subtitle,.details-top p:last-child,.detail-row p,
 .discovery-copy p:not(.eyebrow),.pdp-description,.format-label,.format-gender,
 .performance-label,.performance-note,.breadcrumb,.footer-caption,.footer-nav p,.footer-bottom) {
  color:var(--v-muted);
}
html[data-velixir-theme] .intro>p:not(.eyebrow) {color:var(--v-muted)}
html[data-velixir-theme] :is(.intro-rule,.filter-tab[aria-pressed=true]:after) {background:var(--v-rule)}
html[data-velixir-theme] :is(.section-heading .eyebrow,.details-top .eyebrow,.detail-row>span,
 .closing .eyebrow,.pdp-copy>.eyebrow,.chapter-copy .eyebrow,.performance-title) {color:var(--v-accent)}
html[data-velixir-theme] :is(.collection-tools,.detail-row,.format-line,.performance-grid>div,
 .pdp-links,.pdp-links a:first-child,.empty-state,.closing,.footer-bottom) {border-color:var(--v-rule)}
html[data-velixir-theme] .filter-tab {color:var(--v-muted)}
html[data-velixir-theme] .filter-tab[aria-pressed=true] {color:var(--v-fg)}
html[data-velixir-theme] .filter-tab[aria-pressed=true]:after {background:var(--v-fg)}
html[data-velixir-theme] .search-field {border-color:var(--v-rule);color:var(--v-fg)}
html[data-velixir-theme] .search-field input {color:var(--v-fg)}
html[data-velixir-theme] .search-field input::placeholder {color:var(--v-muted);opacity:1}
html[data-velixir-theme] .button {background:transparent;border-color:var(--v-fg);color:var(--v-fg)}
html[data-velixir-theme] .button:hover {background:var(--v-fg);color:var(--v-bg)}
html[data-velixir-theme] .button-solid {background:var(--v-fg);color:var(--v-bg)}
html[data-velixir-theme] .button-solid:hover {background:var(--v-accent);color:var(--v-bg)}

/* Preserve the original bottle photography on pale image wells throughout the site. */
html[data-velixir-theme] :is(.card-image,.detail-image,.discovery-image,.main-image-wrap,
 .gallery-thumb,.chapter-image) {background:var(--v-well);color:#242820}
html[data-velixir-theme] :is(.card-image img,.detail-image img,.discovery-image img,
 .main-product-image,.gallery-thumb img,.chapter-image img) {filter:none;mix-blend-mode:multiply}
html[data-velixir-theme] :is(.card-category,.card-number,.gallery-badge) {color:#545c4e}
html[data-velixir-theme] .card-explore {background:#f5f2eb;border-color:#8f9587;color:#242820}
html[data-velixir-theme] .product-card:hover .card-explore {background:#151614;border-color:#151614;color:#f5f2eb}
html[data-velixir-theme] .gallery-thumb[aria-pressed=true] {border-color:#41483a;box-shadow:0 0 0 1px var(--v-fg)}
html[data-velixir-theme] .gallery-thumb:focus-visible {outline-color:var(--v-fg)}
html[data-velixir-theme] .card-type {color:var(--v-fg)}

/* Brand story, Discovery and product detail chapters. */
html[data-velixir-theme] :is(.story-copy .eyebrow,.pdp-tagline,.note-row dt) {color:var(--v-accent)}
html[data-velixir-theme] :is(.story-copy p:not(.eyebrow),.chapter-copy>p:not(.eyebrow)) {color:var(--v-muted)}
html[data-velixir-theme] :is(.story-index,.note-row,.set-list,.set-list a,.accord) {border-color:var(--v-rule)}
html[data-velixir-theme] .story-index span {color:var(--v-muted)}
html[data-velixir-theme] .story-visual figcaption {color:#fff}
html[data-velixir-theme] .format-value {border-color:var(--v-rule);color:var(--v-fg)}
html[data-velixir-theme] .discovery-banner {background:var(--v-bg)}

/* Store directory: colors stay coherent when filtering, empty, focused or closed. */
html[data-velixir-theme] :is(.stores-heading .eyebrow,.store-location) {color:var(--v-accent)}
html[data-velixir-theme] :is(.stores-heading>p,.store-count,.store-filter>span,
 .stores-visit-note,.store-address,.store-phone,.store-note,.store-number,.store-empty p) {color:var(--v-muted)}
html[data-velixir-theme] .store-tools {border-color:var(--v-rule)}
html[data-velixir-theme] .store-card {background:var(--v-card);border-color:var(--v-card-rule);color:var(--v-fg)}
html[data-velixir-theme] .store-card:hover {border-color:var(--v-card-hover)}
html[data-velixir-theme] .store-filter select {
  background:var(--v-card);color:var(--v-fg);border-color:var(--v-card-rule);
}
html[data-velixir-theme] .store-filter option {background:var(--v-card);color:var(--v-fg)}
html[data-velixir-theme] .store-search {border-color:var(--v-rule)}
html[data-velixir-theme] .store-search input::placeholder {color:var(--v-muted);opacity:1}
html[data-velixir-theme] .store-empty {background:var(--v-card);border-color:var(--v-card-rule)}
html[data-velixir-theme] .store-empty .button:hover {background:var(--v-fg);color:var(--v-bg)}
html[data-velixir-theme] .store-status {
  background:var(--v-status-bg);color:var(--v-status-fg);border-color:var(--v-status-rule);
}

/* Quiet black footer. */
html[data-velixir-theme] .site-footer {
  --v-bg:var(--v-black);--v-fg:var(--v-ivory);--v-muted:var(--v-muted-dark);
  --v-rule:var(--v-rule-dark);--v-accent:var(--v-accent-dark);
  --v-logo-filter:brightness(0) invert(1);--v-logo-blend:normal;
}

/* Noir Chapters: dark story, stores and detail chapters; bright collection. */
html[data-velixir-theme="noir-chapters"] {
  --v-paper:#f2eee6;--v-stone:#e6e1d6;--v-black:#141613;--v-charcoal:#20231f;
  --v-ivory:#f5f1e9;--v-accent-dark:#c5b69b;
}
html[data-velixir-theme="noir-chapters"] :is(.story-section,.stores-section,.pdp-chapter,.discovery-banner) {
  --v-bg:var(--v-black);--v-fg:var(--v-ivory);--v-muted:#c3c6bc;
  --v-rule:#454a40;--v-accent:var(--v-accent-dark);
  --v-card:var(--v-charcoal);--v-card-rule:#43483e;--v-card-hover:#a59e8a;
  --v-status-bg:#3c3428;--v-status-fg:#e4d5bf;--v-status-rule:#786950;
  color-scheme:dark;
}
html[data-velixir-theme="noir-chapters"] .discovery-banner {--v-bg:var(--v-charcoal)}

/* Each name becomes a quiet, readable chapter alongside the scent notes. */
.pdp-actions {display:flex;align-items:flex-start;flex-wrap:wrap;gap:22px 32px;margin-top:30px}
.pdp-actions .text-link {font-size:10px;gap:16px}
.scent-story {
  --v-bg:#141613;--v-fg:#f5f1e9;--v-muted:#c3c6bc;--v-accent:#c5b69b;--v-rule:#454a40;
  background:var(--v-bg);color:var(--v-fg);padding-block:86px 52px;color-scheme:dark;
}
.scent-story-head {display:flex;align-items:flex-end;justify-content:space-between;gap:36px;padding-bottom:40px;border-bottom:1px solid var(--v-rule)}
.scent-story-head .eyebrow {margin-bottom:20px}
.scent-story-head h2 {max-width:810px;font-size:clamp(42px,4.2vw,62px);line-height:1.12;letter-spacing:-.035em;text-wrap:balance}
.scent-story-tradition {color:var(--v-accent);font-size:10px;text-transform:uppercase;letter-spacing:.13em;line-height:1.8;max-width:180px;flex-shrink:0;padding-bottom:3px}
.scent-story-grid {display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,8vw,130px);padding-block:39px 42px}
.scent-story-grid h3 {display:flex;align-items:baseline;gap:16px;font-size:28px;line-height:1.2;letter-spacing:-.015em;margin-bottom:19px}
.scent-story-grid h3 span {font-family:var(--sans);font-size:9px;color:var(--v-accent);letter-spacing:.12em}
.scent-story-grid article>p {font-size:14px;line-height:1.95;color:var(--v-muted);max-width:62ch}
.scent-story-journey {display:flex;flex-wrap:wrap;gap:0 30px;padding-block:0 28px}
.scent-story-journey a {display:inline-flex;align-items:center;gap:18px;min-height:48px;border-bottom:1px solid var(--v-rule);font-family:var(--serif);font-size:25px}
.scent-story-journey a:hover {color:var(--v-accent)}
.scent-story-sources {border-top:1px solid var(--v-rule);color:var(--v-muted)}
.scent-story-sources summary {display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;padding-top:12px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;list-style:none}
.scent-story-sources summary::-webkit-details-marker {display:none}
.scent-story-sources summary>span {font-size:21px;font-weight:300;line-height:1;transition:transform .2s}
.scent-story-sources[open] summary>span {transform:rotate(45deg)}
.scent-story-sources>div {max-width:890px;padding-block:12px 8px;font-size:12px;line-height:1.85}
.scent-story-sources ul {margin:14px 0 0;padding-left:17px}
.scent-story-sources li+li {margin-top:5px}
.scent-story-sources a {text-decoration:underline;text-decoration-color:var(--v-rule);text-underline-offset:4px;overflow-wrap:anywhere}
.scent-story-sources a:hover {color:var(--v-fg);text-decoration-color:currentColor}

@media(max-width:900px) {
  .scent-story {padding-block:68px 42px}
  .scent-story-head {align-items:flex-start}
  .scent-story-tradition {max-width:140px;padding-top:3px}
}
@media(max-width:640px) {
  .pdp-actions {gap:20px 28px;margin-top:25px}
  .pdp-actions .text-link {font-size:10px}
  .scent-story {padding-block:55px 30px}
  .scent-story-head {display:block;padding-bottom:29px}
  .scent-story-head .eyebrow {font-size:9px;margin-bottom:17px}
  .scent-story-head h2 {font-size:42px;line-height:1.14}
  .scent-story-tradition {max-width:none;margin-top:23px;font-size:9px}
  .scent-story-grid {grid-template-columns:1fr;gap:31px;padding-block:30px 34px}
  .scent-story-grid h3 {font-size:29px;margin-bottom:15px}
  .scent-story-grid article>p {font-size:14px;line-height:1.9}
  .scent-story-journey {gap:0 25px;padding-bottom:27px}
  .scent-story-journey a {font-size:25px;gap:12px}
  .scent-story-sources summary {font-size:9px;min-height:52px;padding-top:8px}
  .scent-story-sources>div {font-size:12px}
}


@media(max-width:900px) {
 html[data-velixir-theme] .mobile-menu {background:var(--v-bg);color:var(--v-fg)}
}
@media(max-width:640px) {
 html[data-velixir-theme] :is(.store-filter select,.store-search input,.search-field input) {font-size:16px}
 html[data-velixir-theme] .store-map {min-height:44px;align-items:center}
}
@media(prefers-reduced-motion:reduce) {
 html[data-velixir-theme] *,html[data-velixir-theme] *:before,html[data-velixir-theme] *:after {transition:none!important}
}
