:root {
  color-scheme: dark;
  --night: #160e14;
  --deep: #100a0f;
  --ivory: #fff2e9;
  --porcelain: #251820;
  --ink: #fff2e9;
  --muted: #d3bfc6;
  --copper: #ebbbbe;
  --copper-text: #efbdc3;
  --line: #513942;
  --line-strong: #a3818c;
  --panel: var(--porcelain);
  --panel-soft: #30202a;
  --panel-line: var(--line);
  --subtle: var(--muted);
  --photo-mat: #eee3d9;
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 1rem/1.5 var(--body); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { background: none; border: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: 0 0 auto; vertical-align: middle; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font: 500 1em/1 var(--heading); }
h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.04em; }
h3 { font-size: 1.7rem; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
main:focus { outline: none; }
.shell { width: min(100% - 36px, 1280px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 12px; background: var(--panel); transform: translateY(-150%); }
.skip:focus { transform: none; }
.loading { padding-block: 48px; }
.loading::before {
  content: "";
  display: inline-block;
  width: .85em;
  height: .85em;
  margin-inline-end: .65em;
  border: 2px solid var(--line-strong);
  border-top-color: var(--copper);
  border-radius: 50%;
  animation: loading-spin .9s linear infinite;
}
@keyframes loading-spin { to { transform: rotate(1turn); } }
.eyebrow, .card-category { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--copper-text); }
.eyebrow { margin-bottom: 14px; }
.intro { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.22rem); max-width: 54ch; margin-top: 16px; }
.site-header { position: relative; z-index: 2; background: var(--deep); color: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner { width: min(100% - 36px, 1280px); min-height: 65px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.brand img { width: 125px; }
.header-actions { display: flex; gap: 4px; align-items: center; }
.site-header nav { display: none; }
.site-header nav.open { position: absolute; inset: 100% 0 auto; display: grid; background: var(--deep); border-bottom: 1px solid var(--line); padding: 10px 18px 16px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; font-size: .98rem; }
.site-header nav a:hover, .site-header nav a[aria-current], #saved-link[aria-current] { color: var(--copper); }
.icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; position: relative; padding: 0; }
.icon-button:hover { color: var(--copper-text); }
.site-header .icon-button:hover { color: var(--copper); }
.saved-count { position: absolute; top: 2px; right: 0; display: grid; min-width: 17px; height: 17px; padding-inline: 3px; place-items: center; border-radius: 50%; color: var(--deep); background: var(--copper); font-size: .7rem; font-weight: 700; }
.hero { position: relative; overflow: hidden; isolation: isolate; background: #040b17; color: var(--ivory); }
.hero-art { position: absolute; inset: 0; z-index: -1; background-repeat: no-repeat; }
.hero-inner { display: flex; min-height: clamp(610px, 112vw, 690px); flex-direction: column; justify-content: flex-end; position: relative; padding-bottom: 38px; }
.hero-copy { animation: entrance .6s ease-out both; }
@keyframes entrance { from { opacity: .9; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero h1 { font-size: clamp(3.6rem, 12vw, 5.8rem); line-height: .88; font-weight: 500; }
.hero h1 em { color: #e9b695; font-weight: 500; }
.hero-copy > p { color: #ebe4dd; font-size: 1.12rem; margin: 19px 0 23px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border: 1px solid transparent; font-weight: 700; text-align: center; transition: color .18s, background .18s, border-color .18s; }
.button.primary { background: var(--copper); color: var(--deep); }
.button.primary:hover { background: #f7d2d4; }
.hero .button.primary { background: var(--copper); color: #141621; padding-inline: 22px; }
.hero .button.primary:hover { background: #f7d2d4; }
.button.outline { border-color: var(--line-strong); }
.button.outline:hover { border-color: var(--ink); background: var(--panel-soft); }
.button[aria-pressed="true"] svg, .save[aria-pressed="true"] svg { fill: var(--copper); color: var(--copper); }
.collection-strip { color: var(--ink); border-bottom: 1px solid var(--line); background: var(--panel); }
.strip-inner { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.strip-inner a { padding: 8px 4px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: .86rem; font-weight: 600; text-align: center; }
.strip-inner a:not(:first-child) svg { display: none; }
.strip-inner a:not(:first-child):not(:last-child) { border-right: 1px solid var(--line); }
.strip-inner a:hover { color: var(--copper-text); }
.strip-inner svg { width: 15px; }
.strip-inner .strip-title { grid-column: 1 / -1; border-bottom: 1px solid var(--line); color: var(--copper-text); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; justify-content: space-between; }
.section { padding-block: 52px; }
.section-top { display: flex; justify-content: space-between; align-items: start; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.text-link, .back-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 44px; padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover, .back-link:hover { color: var(--copper-text); }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.product-card { min-width: 0; background: var(--porcelain); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-media { position: relative; isolation: isolate; background: var(--photo-mat); }
.card-media a { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .28s ease; }
.card-media a:hover img { transform: scale(1.035); }
.save { position: absolute; top: 5px; right: 5px; background: var(--porcelain); border: 1px solid var(--line); border-radius: 50%; }
.card-body { padding: 12px 11px 10px; display: flex; flex: 1; flex-direction: column; }
.card-category { font-size: .67rem; }
.card-title { display: flex; min-height: 44px; justify-content: space-between; align-items: center; gap: 3px; font: 600 clamp(1.35rem, 5vw, 2.1rem)/1.05 var(--heading); }
.card-title:hover { color: var(--copper-text); }
.card-title svg { width: 16px; }
.inspired, .character, .reason { font-size: .92rem; }
.inspired { color: var(--muted); }
.character { margin: 9px 0 12px; }
.reason { padding: 9px 0; border-top: 1px dashed var(--line); }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 9px; border-top: 1px solid var(--line); padding-top: 9px; margin-top: auto; }
.card-meta span { color: var(--muted); font-size: .88rem; }
.card-meta, .product-price, .compact-product small:last-child, .hero-product small, .saved-count, .slider output, .results-bar, .family-count {
  font-variant-numeric: tabular-nums;
}
.save[aria-pressed="true"], .button[data-save][aria-pressed="true"] { border-color: var(--copper); }
.save[aria-pressed="true"] svg, .button[data-save][aria-pressed="true"] svg { animation: saved-confirm .24s ease-out; }
@keyframes saved-confirm { 50% { transform: scale(1.18); } }
.families-section { padding-block: 48px 56px; }
.families-section .section-top { align-items: end; }
.families-section h2 { font-size: clamp(2.15rem,4vw,3.2rem); }
.family-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.family-tile { min-height: 132px; position: relative; display: flex; flex-direction: column; justify-content: end; padding: 16px; color: #162031; background: #dfe3da; transition: filter .2s, transform .2s; }
.family-tile:hover { filter: brightness(1.06); transform: translateY(-2px); }
.family-tile span { font: 500 clamp(1.6rem,3vw,2.3rem)/1 var(--heading); }
.family-tile small { margin-top: 5px; }
.family-tile svg { position: absolute; top: 12px; right: 14px; width: 17px; }
.family-floral { background: #f0dbe1; }
.family-sweet { background: #ecd6c2; }
.family-woody { background: #d8c9bb; }
.family-warm { background: #584052; color: var(--ivory); }
.catalog-family { margin: 10px 0; color: var(--muted); }
.site-footer { background: var(--deep); color: #e9e2d9; }
.footer-inner { display: grid; gap: 22px; padding-block: 39px; }
.footer-inner p { margin-top: 5px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-end { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; padding-block: 16px; color: var(--muted); font-size: .85rem; }
.page { padding-block: 42px 64px; min-height: 55vh; }
.page-heading { margin-bottom: 28px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.category-tabs a { padding-inline: 12px; min-height: 46px; display: flex; align-items: center; font-weight: 600; border-bottom: 2px solid transparent; }
.category-tabs a:hover, .category-tabs a[aria-current] { color: var(--copper-text); border-color: currentColor; }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 9px; }
.search-box { display: flex; min-height: 48px; align-items: center; gap: 9px; padding-inline: 11px; border: 1px solid var(--line-strong); background: var(--porcelain); flex: 1 1 175px; min-width: 0; }
.search-box input { min-width: 0; width: 100%; background: transparent; border: 0; padding: 7px 0; }
.search-box:focus-within { outline: 2px solid var(--copper); outline-offset: 2px; }
.search-box input:focus { outline: none; }
.filter-panel { padding: 14px; background: var(--panel); margin-top: 12px; border: 1px solid var(--line); }
.filter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.field { min-width: 0; display: grid; gap: 5px; font-weight: 700; }
.field select, .field textarea { background: var(--porcelain); border: 1px solid var(--line-strong); border-radius: 0; min-height: 46px; min-width: 0; width: 100%; font-weight: 400; padding: 8px; }
.field textarea { resize: vertical; padding: 12px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin: 12px 0; color: var(--muted); }
.results-bar .field { display: flex; align-items: center; gap: 8px; }
.results-bar .field select { width: auto; }
.empty { margin-block: 14px; background: var(--panel); border: 1px solid var(--line); padding: 24px; }
.back-link { margin-bottom: 10px; }
.product-layout { display: grid; gap: 24px; }
.product-photo { align-self: start; }
.product-photo img { width: 100%; background: var(--photo-mat); }
.product-photo figcaption { padding: 8px 0; color: var(--muted); font-size: .9rem; }
.product-inspiration { font-size: 1.14rem; margin-top: 12px; }
.specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 20px 0; border-block: 1px solid var(--line); gap: 10px; padding: 12px 0; }
.specs dt { color: var(--muted); font-size: .9rem; }
.specs dd { font-weight: 600; }
.variant-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.product-price { font-size: 1.65rem; font-weight: 700; margin-top: 16px; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.small-print { color: var(--muted); font-size: .9rem; margin-bottom: 5px; }
.small-print a { text-decoration: underline; text-underline-offset: 3px; }
.notes-section, .similar-section { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 30px; }
.note-pyramid { margin-top: 22px; border: 1px solid var(--line); background: var(--porcelain); }
.note-row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 14px; padding: 13px; }
.note-row + .note-row { border-top: 1px solid var(--line); }
.note-row ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.note-row li { border: 1px solid var(--line); padding: 3px 7px; font-size: .9rem; }
.tier { height: 28px; background: #c69477; }
.tier-0 { clip-path: polygon(50% 0, 75% 100%, 25% 100%); }
.tier-1 { clip-path: polygon(25% 0, 75% 0, 88% 100%, 12% 100%); }
.tier-2 { clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.tool-layout { display: grid; gap: 28px; }
.tool-panel { display: grid; gap: 15px; align-self: start; background: var(--panel); border: 1px solid var(--line); padding: 18px; }
.tool-panel > .button, .tool-panel > .text-link { justify-self: start; }
.scale-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .89rem; }
.slider { display: grid; grid-template-columns: 1fr auto; font-weight: 700; align-items: center; }
.slider output { color: var(--copper-text); }
.slider input { grid-column: 1 / -1; width: 100%; margin: 0; min-height: 36px; accent-color: var(--night); }
.tool-results h2, .form-results h2 { margin-bottom: 15px; }
.form-results:not(:empty) { margin-top: 34px; }
.result-context { margin-bottom: 14px; color: var(--muted); }
.suggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.suggestions button { text-align: left; border: 1px solid var(--line-strong); padding: 7px 11px; min-height: 44px; }
.suggestions button:hover { background: var(--porcelain); }
.recommendation-grid { grid-template-columns: 1fr; }
.recommendation-grid .product-card { display: grid; grid-template-columns: minmax(100px, .62fr) minmax(0, 1fr); }
.recommendation-grid .card-media a { height: 100%; aspect-ratio: auto; }
.recommendation-grid .card-title { font-size: 1.65rem; }
@media (min-width: 620px) {
  .family-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .shell, .header-inner { width: min(100% - 68px, 1280px); }
  .section-top { flex-direction: row; align-items: end; }
  .strip-inner { grid-template-columns: 1.2fr repeat(3, 1fr); }
  .strip-inner .strip-title { grid-column: auto; border: 0; border-right: 1px solid var(--line); padding-right: 12px; }
  .strip-inner a { min-height: 57px; gap: 9px; }
  .strip-inner a:not(:first-child) svg { display: inline; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .card-body { padding: 17px; }
  .recommendation-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .recommendation-grid .product-card { display: flex; }
  .recommendation-grid .card-media a { height: auto; aspect-ratio: 1; }
}
@media (min-width: 830px) {
  .header-inner { min-height: 75px; }
  .brand img { width: 150px; }
  .site-header nav, .site-header nav.open { position: static; display: flex; gap: clamp(16px, 3vw, 42px); border: 0; background: none; padding: 0; }
  .menu-toggle { display: none; }
  .hero-inner { min-height: clamp(560px, 49vw, 745px); justify-content: center; padding-block: 30px 58px; }
  .hero h1 { font-size: clamp(5.3rem, 8.7vw, 9rem); }
  .hero-copy > p { font-size: 1.24rem; margin-block: 25px 29px; }
  .section { padding-block: 68px; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
  .recommendation-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filter-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .page { padding-block: 58px 78px; }
  .product-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px, 5vw, 76px); }
  .product-detail { padding-block: 10px; }
  .notes-section { display: grid; grid-template-columns: .68fr 1fr; gap: 30px; align-items: center; }
  .note-pyramid { margin-top: 0; }
  .tool-layout { grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr); }
  .tool-panel { padding: 23px; }
  .guide-form { max-width: 900px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
/* Campaign scenes */
.hero { --scene-accent: #d6a0ae; --scene-ease: cubic-bezier(.33, 0, .25, 1); background: #0e080d; }
.hero[data-scene="fresh"] { --scene-accent: #c9ba8b; }
.hero[data-scene="warm"] { --scene-accent: #d39a76; }
.hero-art {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.4s var(--scene-ease), transform 1.8s var(--scene-ease);
  background-image:
    linear-gradient(0deg, var(--scene-shadow) 47%, var(--scene-fade) 61%, transparent 90%),
    radial-gradient(ellipse at 72% 18%, var(--scene-glaze) 12%, var(--scene-fade) 70%),
    var(--scene-art);
  background-position: center, center, 83% top;
  background-size: cover, cover, auto 51%;
}
.hero-art[data-art="fresh"] {
  --scene-art: url("assets/hero-fresh.webp");
  --scene-shadow: #0b0d08;
  --scene-fade: #0b0d08b8;
  --scene-glaze: #1818083d;
}
.hero-art[data-art="floral"] {
  --scene-art: url("assets/hero-floral.webp");
  --scene-shadow: #10080d;
  --scene-fade: #10080db8;
  --scene-glaze: #2807124d;
}
.hero-art[data-art="warm"] {
  --scene-art: url("assets/hero-warm.webp");
  --scene-shadow: #110907;
  --scene-fade: #110907b8;
  --scene-glaze: #240d0845;
}
.hero[data-scene="fresh"] [data-art="fresh"], .hero[data-scene="floral"] [data-art="floral"], .hero[data-scene="warm"] [data-art="warm"] { opacity: 1; transform: scale(1); }
.hero-inner { min-height: 670px; padding-bottom: 22px; }
.hero h1 { font-size: clamp(3.3rem, 11vw, 5.5rem); }
.hero h1 em { display: inline-block; color: var(--scene-accent); }
.hero .scene-description { color: #ebe4dd; font-size: 1.12rem; margin: 18px 0; max-width: 39ch; min-height: 3em; }
.hero-actions { display: flex; align-items: center; gap: 3px 20px; flex-wrap: wrap; }
.hero-actions .text-link:hover { color: var(--scene-accent); }
.hero .button.primary { background: var(--scene-accent); transition-duration: .65s; }
.hero-footer { display: grid; gap: 12px; margin-top: 20px; }
.scene-controls { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.scene-controls button { min-height: 44px; border-top: 2px solid #8e797b; text-align: left; padding: 5px 0 0; font-weight: 600; transition: border-color .65s var(--scene-ease), color .65s var(--scene-ease); }
.scene-controls button:hover, .scene-controls button[aria-pressed="true"] { border-color: var(--scene-accent); color: var(--scene-accent); }
.hero-product { display: flex; align-items: center; gap: 12px; width: fit-content; border: 1px solid var(--line-strong); background: #160e14e8; padding: 5px 10px 5px 5px; }
.hero-product img { width: 44px; height: 44px; object-fit: cover; }
.hero-product small { display: block; color: var(--muted); }
.hero-product:hover { border-color: var(--scene-accent); color: var(--scene-accent); }
@media (min-width: 620px) {
  .hero-footer { grid-template-columns: minmax(230px, 1fr) auto; align-items: end; gap: 26px; }
}
@media (min-width: 830px) {
  .hero-inner { min-height: clamp(590px, 51vw, 760px); padding-block: 45px 112px; }
  .hero-art {
    background-color: var(--scene-shadow);
    background-image:
      linear-gradient(90deg, var(--scene-shadow) 23%, var(--scene-fade) 39%, transparent 67%),
      radial-gradient(ellipse at 77% 46%, var(--scene-glaze) 14%, var(--scene-fade) 83%),
      var(--scene-art);
    background-position: center, center, right 48%;
    background-size: cover, cover, max(80%, 1140px) auto;
  }
  .hero h1 { font-size: clamp(5.2rem, 8vw, 8.5rem); }
  .hero-footer { position: absolute; inset: auto 0 24px; grid-template-columns: minmax(230px, 530px) auto; justify-content: space-between; }
}

/* Scent studio and conversational guide */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.discovery-page { color: var(--ivory); background: var(--night); }
.discovery-page .intro, .discovery-muted { color: var(--subtle); }
.discovery-page h1 { font-size: clamp(3rem, 6vw, 4.8rem); }
.discovery-page .button.outline, .discovery-page .suggestions button { border-color: var(--line-strong); color: var(--ivory); }
.discovery-page .button.outline:hover, .discovery-page .suggestions button:hover { background: var(--panel-soft); border-color: var(--copper); }
.discovery-page .text-link:hover { color: var(--copper); }
.discovery-page .button:disabled { opacity: .5; cursor: default; }
.discovery-page :focus-visible { outline-color: var(--copper); }
.studio-console { border: 1px solid var(--panel-line); background: var(--panel); }
.studio-reference { display: grid; gap: 12px 25px; padding: 18px; background: var(--panel-soft); border-bottom: 1px solid var(--panel-line); align-items: center; }
.studio-reference p, .guide-heading p { color: var(--subtle); font-size: .94rem; }
.studio-reference .field select { background: var(--night); color: var(--ivory); border-color: var(--line-strong); color-scheme: dark; }
.studio-mix { display: grid; }
.mix-controls { padding: 22px 18px 10px; display: grid; gap: 15px; align-content: center; }
.mix-controls .button { justify-self: start; }
.mix-controls .slider { --axis: #a4d7d0; }
.mix-controls .mix-axis-1 { --axis: #d7b8e4; }
.mix-controls .mix-axis-2 { --axis: #edb38e; }
.mix-controls .slider input { accent-color: var(--axis); }
.mix-controls .slider output { color: var(--axis); }
.mix-display { display: grid; place-items: center; padding: 16px; }
#mix-orb { position: relative; width: min(65%, 290px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #c6cfe144; background: radial-gradient(ellipse at 22% 58%, rgba(105, 204, 189, var(--mix-0, .35)), transparent 66%), radial-gradient(ellipse at 65% 20%, rgba(208, 157, 214, var(--mix-1, .65)), transparent 72%), radial-gradient(ellipse at 64% 78%, rgba(227, 146, 100, var(--mix-2, .8)), transparent 71%), #382431; box-shadow: inset 0 0 27px #100a0f, 0 12px 42px #100a0f75; }
#mix-orb::before, #mix-orb::after { content: ""; position: absolute; inset: 10% 26%; transform: rotate(34deg); border-radius: 50%; border: 1px solid #fff5; }
#mix-orb::after { transform: rotate(-34deg); }
.mix-results { padding: 18px; border-top: 1px solid var(--panel-line); min-width: 0; }
.mix-results h2 { font-size: clamp(1.9rem, 3vw, 2.55rem); margin-bottom: 10px; }
.mix-results > .button { margin-top: 14px; }
.profile-bar { border-top: 1px solid var(--panel-line); border-bottom: 0; }
.profile-bar button { margin-block: 3px; }
.blind-studio { margin-top: 16px; padding: clamp(18px,3vw,36px); border: 1px solid var(--panel-line); background: var(--panel); }
.blind-heading { margin-bottom: 20px; }
.blind-heading h2 { font-size: clamp(2.2rem,4vw,3rem); }
.blind-heading p { color: var(--subtle); margin-top: 6px; }
.blind-scenes { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.blind-card { cursor: pointer; border: 1px solid var(--panel-line); background: var(--deep); min-width: 0; transition: border-color .2s, background .2s; }
.blind-card:hover, .blind-card:has(input:checked) { border-color: var(--copper); background: var(--panel-soft); }
.blind-card:focus-within { outline: 2px solid var(--copper); outline-offset: 3px; }
.blind-card img { width: 100%; height: 175px; object-fit: cover; }
.blind-card span { display: grid; gap: 2px; padding: 10px 12px 12px; }
.blind-card strong { font: 500 1.55rem/1.1 var(--heading); }
.blind-card small { color: var(--subtle); }
.blind-reveal { margin-top: 18px; display: grid; grid-template-columns: 105px 1fr; gap: 16px; align-items: center; padding: 14px; background: var(--panel-soft); border: 1px solid var(--panel-line); }
.blind-reveal img { width: 105px; height: 125px; object-fit: contain; background: var(--ivory); }
.blind-reveal h3 { margin-bottom: 5px; }
.blind-reveal p { margin-bottom: 7px; color: var(--subtle); }
.blind-reveal .button { margin-top: 5px; }
.gift-page { margin-top: 16px; padding: clamp(18px,3vw,36px); border: 1px solid var(--panel-line); background: var(--panel); }
.gift-page .gift-heading h2 { font-size: clamp(2.1rem,4vw,3rem); }
.gift-page .gift-heading .intro { margin-top: 6px; }
.gift-page .tool-panel { margin-top: 20px; background: var(--panel-soft); border-color: var(--panel-line); }
.gift-page .field select { background: var(--night); color: var(--ivory); border-color: var(--line-strong); color-scheme: dark; }
.gift-page .form-results .product-card { color: var(--ink); }
.family-catalog-tools { display: grid; gap: 12px; margin-block: 18px 12px; }
.family-filter-chips { display: flex; gap: 7px; overflow-x: auto; padding: 2px 2px 8px; }
.family-filter-chips button { flex: 0 0 auto; min-height: 44px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 24px; }
.family-filter-chips button[aria-pressed="true"] { color: var(--deep); background: var(--copper); border-color: var(--copper); }
.family-catalog-page .category-tabs button { min-height: 46px; padding-inline: 12px; font-weight: 600; border-bottom: 2px solid transparent; }
.family-catalog-page .category-tabs button[aria-pressed="true"] { color: var(--copper-text); border-color: currentColor; }
@media (min-width: 830px) {
  .family-catalog-tools { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); align-items: center; }
}
.family-count { margin: 12px 0; color: var(--subtle); }
.family-catalog-page .product-card { color: var(--ink); }
.compact-result { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--panel-line); }
.compact-product { display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; }
.compact-product:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.compact-product img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 52px; background: var(--ivory); }
.compact-product small { display: block; color: var(--subtle); line-height: 1.4; overflow-wrap: anywhere; }
.compact-result .save { position: static; background: transparent; color: var(--copper); border-color: var(--panel-line); }
.compact-result .save[aria-pressed="true"] svg { color: var(--copper); fill: var(--copper); }
#surprise-result:not(:empty) { margin-top: 12px; }
.guide-layout { display: grid; background: var(--panel); border: 1px solid var(--panel-line); }
.guide-story { display: grid; align-content: start; background: var(--panel-soft); }
.guide-story > div, .guide-content { padding: clamp(17px, 4vw, 44px); }
.guide-story h2 em { color: var(--copper); }
.guide-story p { color: var(--subtle); max-width: 37ch; margin-top: 15px; }
.guide-content { min-width: 0; }
.guide-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 8px; margin-bottom: 17px; }
.guide-heading h3 { font-size: clamp(2rem, 4vw, 3.1rem); }
.guide-content .suggestions button { border-radius: 24px; font-size: .92rem; }
#guide-refinements > p { color: var(--subtle); margin-bottom: 8px; }
.conversation { max-height: 495px; overflow: auto; margin-block: 16px; }
.conversation:empty { display: none; }
.chat-turn { display: grid; gap: 8px; padding: 12px 3px 12px 0; border-top: 1px solid var(--panel-line); }
.chat-user { justify-self: end; width: fit-content; max-width: 94%; padding: 9px 12px; border-radius: 12px 12px 0 12px; color: var(--deep); background: #e7bcaa; overflow-wrap: anywhere; }
.chat-answer { padding: 10px; background: var(--panel-soft); }
.chat-answer > p { margin-bottom: 7px; }
.guide-composer { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 6px; border: 1px solid var(--line-strong); padding: 5px; margin-top: 17px; }
.guide-composer input { min-width: 0; border: 0; background: transparent; padding: 5px 8px; }
.guide-composer input::placeholder { color: var(--subtle); }
.guide-composer button { min-height: 44px; background: var(--copper); color: var(--deep); font-size: 1.25rem; font-weight: 700; }
@media (min-width: 700px) {
  .blind-scenes { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .blind-card img { height: clamp(180px,25vw,270px); }
  .studio-reference { grid-template-columns: minmax(0,1fr) minmax(245px,.55fr); padding: 18px 26px; }
  .studio-mix { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .mix-controls { padding: 25px; }
  .mix-results { grid-column: 1 / -1; padding: 24px 26px; }
  .guide-layout { grid-template-columns: minmax(0,.7fr) minmax(0,1fr); min-height: 520px; }
  .guide-story::after { content: ""; aspect-ratio: 1.2; background: var(--night) url("assets/campaign-warm.webp") 78% center / auto 100% no-repeat; }
}
@media (min-width: 1030px) {
  .studio-mix { grid-template-columns: minmax(230px,1fr) minmax(200px,.9fr) minmax(300px,1.32fr); }
  .mix-controls { padding-right: 0; }
  .mix-results { grid-column: auto; border-top: 0; border-left: 1px solid var(--panel-line); }
  #mix-orb { width: min(100%, 290px); }
}
