﻿/* Saphrax β€” design prototype
   Dark, quiet, shoppable. Prices stay visible. */

:root {
  --ink: #0c0b0a;
  --ink-2: #141311;
  --panel: #191714;
  --ivory: #f3efe6;
  --ivory-2: #e7e1d4;
  --mute: #a39b90;
  --dim: #6f685f;
  --gold: #c6b59a;
  --line: rgba(243, 239, 230, 0.12);
  --line-strong: rgba(243, 239, 230, 0.28);
  --danger: #c9a27a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 360;
  letter-spacing: 0.01em;
  line-height: 1.5;
  min-height: 100vh;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.mark {
  width: 11px;
  height: 11px;
  display: inline-block;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateY(-1px);
}

/* header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--pad);
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.28em;
  font-weight: 500;
}
.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav-links a { color: var(--mute); }
.nav-links a.active, .nav-links a:hover { color: var(--ivory); }
.site-search {
  position: relative;
  flex: 1;
  min-width: 120px;
  max-width: 300px;
}
.site-search input {
  width: 100%;
  padding: 9px 34px 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  background: rgba(20, 19, 17, 0.75);
  font-size: 12px;
}
.site-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.site-search input:focus { border-color: var(--gold); }
.site-search input::placeholder { color: var(--mute); }
.site-search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.site-search-clear[hidden] { display: none; }
.site-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 480px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  background: #100f0d;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.site-search-results[hidden] { display: none; }
.site-search-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.site-search-result:last-child { border-bottom: 0; }
.site-search-result:hover, .site-search-result:focus { background: var(--panel); }
.site-search-result .meta { text-align: right; }
.site-search-empty { margin: 0; padding: 14px; color: var(--mute); font-size: 13px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.cart-btn, .menu-btn {
  background: none;
  border: 0;
  cursor: pointer;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 0;
}
.cart-btn { color: var(--ivory); }
.nav-cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  letter-spacing: 0;
}
.nav-icon-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ivory);
}
.nav-icon-link:hover,
.nav-icon-link.active { color: var(--gold); }
.nav-account { position: relative; }
.nav-account-btn.nav-icon-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
}
.nav-account-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-account-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  min-width: 200px;
  padding-top: 8px;
  display: none;
}
.nav-account-menu-inner {
  display: grid;
  border: 1px solid var(--line-strong);
  background: var(--panel, #191714);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.nav-account:hover .nav-account-menu,
.nav-account:focus-within .nav-account-menu,
.nav-account.is-open .nav-account-menu { display: block; }
.nav-account-menu a,
.nav-account-menu button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}
.nav-account-menu > .nav-account-menu-inner > :last-child { border-bottom: 0; }
.nav-account-menu a:hover,
.nav-account-menu button:hover,
.nav-account-menu a:focus-visible,
.nav-account-menu button:focus-visible { background: rgba(255, 255, 255, 0.05); color: var(--gold); outline: none; }
.cart-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.person-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-btn { display: none; color: var(--ivory); }
.count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-size: 10px;
}
.nav-cart-btn .count {
  position: absolute;
  top: -2px;
  right: -5px;
  margin: 0;
  background: var(--ink);
}

/* banner */
.proto {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px var(--pad);
  background: #1c1915;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.proto span { color: var(--mute); text-transform: none; letter-spacing: 0.02em; }

/* hero */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 108px);
  border-bottom: 1px solid var(--line);
  background-color: #070706;
  background-image:
    linear-gradient(0deg, rgba(12, 11, 10, 0.82), transparent 36%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.96) 0%, rgba(12, 11, 10, 0.86) 34%, rgba(12, 11, 10, 0.38) 64%, rgba(12, 11, 10, 0.08) 100%),
    var(--hero-image);
  background-position: center, center, center 45%;
  background-size: cover;
}
.hero-copy {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(760px, 72%);
  padding: clamp(48px, 8vw, 110px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 9vw, 128px);
  line-height: 0.82;
  letter-spacing: 0.08em;
  margin: 0;
}
.hero .sub {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  margin: 0;
  font-style: italic;
}
.lede { max-width: 440px; color: var(--ivory-2); margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.what-we-make-section {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: 42px;
  text-align: center;
}
.what-we-make-section h2 { font-size: clamp(32px, 4vw, 48px); }
.what-we-make-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 24px;
  margin-top: 28px;
}
.what-we-make-item {
  display: flex;
  flex: 0 1 220px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ivory-2);
  font-size: 12px;
  transition: color 0.2s ease;
}
.what-we-make-item img {
  display: block;
  width: clamp(136px, 17vw, 220px);
  height: clamp(136px, 17vw, 220px);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.what-we-make-category {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}
.what-we-make-item:hover { color: var(--gold); }
.what-we-make-item:hover img {
  border-color: var(--line-strong);
  filter: drop-shadow(0 0 8px rgba(198, 181, 154, 0.4));
}
.product-breadcrumbs a { color: inherit; }
.product-breadcrumbs a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.btn {
  border: 1px solid var(--ivory);
  background: var(--ivory);
  color: var(--ink);
  padding: 12px 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}
.btn.ghost { background: transparent; color: var(--ivory); }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
/* sections */
section { padding: 88px var(--pad); }
.sec-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 28px;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.92;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.worlds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.world {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--ink-2);
  background-image: linear-gradient(0deg, rgba(12, 11, 10, 0.92), rgba(12, 11, 10, 0.12) 100%), var(--world-image);
  background-position: center;
  background-size: cover;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.world:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 14px rgba(198, 181, 154, 0.14);
}
.world .idx { color: var(--dim); font-size: 12px; letter-spacing: 0.18em; }
.world h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: 0.06em;
}
.world p { margin: 0; color: var(--ivory-2); max-width: 260px; }
.world .go { margin-top: 18px; letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; color: var(--gold); }

.family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.family-card {
  position: relative;
  min-width: 0;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}
.family-card-imaged {
  background-image:
    linear-gradient(0deg, rgba(12, 11, 10, 0.88), rgba(12, 11, 10, 0.08) 76%),
    var(--family-image);
  background-position: center;
  background-size: cover;
}
.family-card-imaged:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 14px rgba(198, 181, 154, 0.14);
}
.family-quote {
  position: absolute;
  top: 20px;
  left: 24px;
  margin: 0;
  color: var(--ivory);
  font: italic 18px/1.2 var(--serif);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.family-card-copy { position: relative; }
.family-card h3 {
  margin: 0 0 14px;
  font: 500 34px/1.05 var(--serif);
}
.family-more {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.scent-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.scent, .card {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}
.card, .scent { position: relative; }
.wishlist-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(12, 11, 10, 0.82);
  color: var(--ivory);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}
.wishlist-toggle:hover,
.wishlist-toggle.is-saved { color: var(--gold); border-color: var(--gold); }
.product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-title-row .wishlist-toggle {
  position: static;
  flex: 0 0 38px;
}
.scent-product, .scent-perfume {
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.scent-product:hover, .scent-perfume:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 14px rgba(198, 181, 154, 0.14);
}
.scent:not(.scent-product):not(.scent-perfume):hover, .card:hover { border-color: var(--line-strong); }
.scent-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scent-browser.has-category-filters {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.scent-category-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scent-category-filters .chip { text-align: left; }
.scent-browser .empty { grid-column: 1 / -1; }
.scent-product {
  min-width: 0;
  min-height: 280px;
  justify-content: center;
  padding: clamp(22px, 4vw, 40px);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(90deg, rgba(20, 19, 17, 0.98) 0%, rgba(20, 19, 17, 0.9) 28%, rgba(20, 19, 17, 0.28) 68%, rgba(20, 19, 17, 0.04) 100%),
    var(--scent-image);
  background-position: center, center 46%;
  background-size: cover;
}
.scent-product h3 { font-size: 40px; }
.scent-product > * { max-width: 48%; }
.scent-product h3 a::after,
.scent-perfume h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.scent-product > .candle-buy-controls {
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.candle-buy-controls .var { max-width: 100%; }
.scent-perfume {
  min-height: 280px;
  justify-content: center;
  padding: clamp(22px, 4vw, 40px);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(90deg, rgba(20, 19, 17, 0.98) 0%, rgba(20, 19, 17, 0.9) 28%, rgba(20, 19, 17, 0.28) 68%, rgba(20, 19, 17, 0.04) 100%),
    var(--scent-image, none);
  background-position: center, center 46%;
  background-size: cover;
}
.scent-perfume h3 { font-size: 40px; }
.scent-perfume > * { max-width: 48%; }
.scent-perfume .scent-buy-controls {
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.scent-product .row-buy,
.scent-perfume .scent-buy-controls {
  position: relative;
  z-index: 2;
}
.scent-buy-controls .var { max-width: 100%; }
.scent-quote {
  margin: 0;
  color: var(--mute);
  font: 360 13px/1.5 var(--sans);
  letter-spacing: 0.01em;
}
.scent h3, .card h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.notes { color: var(--gold); font-size: 13px; letter-spacing: 0.04em; }
.meta { color: var(--mute); font-size: 13px; }
.price {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.card-top, .row-buy {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.variant-buy { justify-content: flex-start; align-items: center; flex-wrap: wrap; }
.row-buy { flex-wrap: wrap; }
.card img, .scent .swatch {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #0a0908;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}
.swatch { display: block; }
.product-image-frame {
  display: block;
  position: relative;
  min-width: 0;
}
.mockup-disclaimer {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 9px 12px;
  background: rgba(12, 11, 10, 0.92);
  color: #f3efe6;
  font: 400 12px/1.45 var(--sans);
  letter-spacing: 0.01em;
  text-align: center;
  pointer-events: none;
}
.scent:has(> .mockup-disclaimer) { padding-bottom: 62px; }
.scent > .mockup-disclaimer { max-width: none; }
.what-we-make-item .product-image-frame {
  width: clamp(136px, 17vw, 220px);
  max-width: 100%;
}
.what-we-make-item .product-image-frame img { width: 100%; height: auto; aspect-ratio: 1; }
.what-we-make-item .mockup-disclaimer { padding: 5px 8px; font-size: 11px; }
.add {
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 10px 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.add:hover:not(:disabled) { background: var(--ivory); color: var(--ink); }
.add:disabled { opacity: 0.6; cursor: not-allowed; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.line-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}
.perfume-line {
  padding: 72px 0 0;
  scroll-margin-top: 80px;
}
.perfume-line-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 20px;
  margin-bottom: 24px;
}
.perfume-line-heading .sec-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.perfume-line-heading h2 { margin: 0; }
.perfume-line-heading .meta { margin: 0 0 6px; }
.perfume-story {
  margin: 0 0 32px;
}
.perfume-story-imaged {
  min-height: 320px;
  padding: clamp(28px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--ink-2);
  background-image:
    linear-gradient(90deg, rgba(12, 11, 10, 0.96) 0%, rgba(12, 11, 10, 0.82) 38%, rgba(12, 11, 10, 0.28) 100%),
    var(--story-image);
  background-position: center, center 48%;
  background-size: cover;
}
.perfume-story-imaged .sec-kicker { margin-bottom: 18px; }
.perfume-story-imaged h2 { margin-bottom: 14px; }
.perfume-story-imaged .lede { max-width: 560px; }
.perfume-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.perfume-card {
  min-width: 0;
  align-self: stretch;
}
.perfume-card-image { display: block; overflow: hidden; background: #0a0908; }
.perfume-card-image a { display: block; }
.perfume-card-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #0a0908;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}
.perfume-image-placeholder {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  color: var(--ivory-2);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(198, 181, 154, 0.14), transparent 52%),
    linear-gradient(145deg, #201d18, #0b0a09 78%);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}
.perfume-image-placeholder span {
  font: 500 clamp(26px, 3vw, 38px)/1.05 var(--serif);
  letter-spacing: 0.08em;
}
.perfume-image-placeholder small {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.perfume-card h3 a:hover { color: var(--gold); }
.perfume-card h3 {
  margin: 0;
  font: 500 32px/1.05 var(--serif);
  letter-spacing: 0.04em;
}
.perfume-card blockquote {
  margin: 20px 0 12px;
  color: var(--ivory-2);
  font: italic 24px/1.2 var(--serif);
}
.perfume-description { margin: 0; color: var(--mute); font-size: 14px; }
.perfume-card-buy {
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: auto;
}
.perfume-pyramid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.perfume-pyramid div { border-top: 1px solid var(--line); padding-top: 10px; }
.perfume-pyramid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.perfume-pyramid span { color: var(--ivory-2); font-size: 12px; }
.perfume-olfactory {
  width: 100%;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.perfume-olfactory-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.perfume-olfactory-heading strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.perfume-olfactory-heading > span {
  color: var(--mute);
  font-size: 10px;
}
.perfume-olfactory ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.perfume-olfactory li {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) minmax(48px, 1.2fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.perfume-olfactory-descriptor {
  overflow: hidden;
  color: var(--ivory-2);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.perfume-olfactory-bar {
  display: block;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}
.perfume-olfactory-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #d4b779);
}
.perfume-product-quote {
  margin: 0 0 16px;
  color: var(--ivory-2);
  font: italic 28px/1.2 var(--serif);
}
.shop-back {
  display: inline-block;
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shop-back:hover { color: var(--ivory); }
.shop-category-grid, .shop-subcategory-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.shop-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-subcategory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shop-category, .shop-subcategory {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.shop-category {
  background-image:
    linear-gradient(0deg, rgba(12, 11, 10, 0.92), rgba(12, 11, 10, 0.12) 100%),
    var(--category-image);
  background-position: center;
  background-size: cover;
}
.shop-category:hover, .shop-subcategory:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 14px rgba(198, 181, 154, 0.14);
  background-color: #191714;
}
.world:focus-visible, .family-card:focus-visible, .shop-category:focus-visible, .shop-subcategory:focus-visible {
  outline: 1px solid #e3c999;
  outline-offset: 3px;
}
.shop-subcategory-imaged {
  background-color: var(--ink-2);
  background-image:
    linear-gradient(90deg, rgba(12, 11, 10, 0.95) 0%, rgba(12, 11, 10, 0.78) 46%, rgba(12, 11, 10, 0.3) 100%),
    var(--line-image);
  background-position: center var(--line-image-position, 50%);
  background-size: cover;
}
.shop-subcategory-imaged:hover { background-color: var(--ink-2); }
.shop-subcategory-anthesis {
  background-image:
    linear-gradient(90deg, rgba(12, 11, 10, 0.98) 0%, rgba(12, 11, 10, 0.9) 46%, rgba(12, 11, 10, 0.55) 100%),
    var(--line-image);
}
.shop-category h3, .shop-subcategory h3 {
  margin: 14px 0 0;
  font: 500 clamp(32px, 4vw, 46px)/1.05 var(--serif);
}
.shop-subcategory h3 { max-width: 58%; }
.perfume-line-descriptor {
  position: absolute;
  top: 50%;
  right: clamp(22px, 4vw, 36px);
  max-width: 34%;
  transform: translateY(-50%);
  color: var(--ivory-2);
  font: italic 500 clamp(16px, 2vw, 24px)/1.2 var(--serif);
  text-align: right;
}
.shop-category p, .shop-subcategory p {
  color: var(--mute);
  margin: 0;
}
.shop-subcategory .go {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.shop-perfume-grid { margin-top: 32px; }
.shop-empty {
  margin: 28px 0 0;
  padding: 28px;
  border: 1px solid var(--line);
  color: var(--mute);
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
  padding: 8px 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.chip.on, .chip:hover { color: var(--ink); background: var(--ivory); border-color: var(--ivory); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 10%);
}
.house-feature-section {
  padding: clamp(40px, 6vw, 72px) var(--pad);
}
.house-feature {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1200px, 100%);
  min-height: clamp(300px, 34vw, 400px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--ink-2);
  background-image:
    linear-gradient(0deg, rgba(12, 11, 10, 0.62), transparent 52%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.94) 0%, rgba(12, 11, 10, 0.82) 36%, rgba(12, 11, 10, 0.38) 68%, rgba(12, 11, 10, 0.08) 100%),
    var(--house-image);
  background-position: center, center, center 54%;
  background-size: cover;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.world::after,
.family-card-imaged::after,
.shop-category::after,
.shop-subcategory-imaged::after,
.scent-product::after,
.scent-perfume::after,
.house-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("Golden Celestial Corner Ornament.png") top right / contain no-repeat;
  mix-blend-mode: screen;
  filter: contrast(1.2);
  opacity: 0.72;
  pointer-events: none;
}
.house-feature:hover {
  border-color: var(--line-strong);
  box-shadow: 0 0 14px rgba(198, 181, 154, 0.14);
}
.house-feature-copy {
  position: relative;
  z-index: 1;
  width: min(660px, 72%);
  padding: clamp(30px, 5vw, 64px);
}
.house-feature .sec-kicker { margin-bottom: 18px; }
.house-feature h2 {
  max-width: 620px;
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 60px);
}
.house-feature .lede { max-width: 500px; }
.principles { display: grid; gap: 22px; }
.principles article { border-top: 1px solid var(--line); padding-top: 16px; }
.principles h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 6px;
  font-weight: 500;
}
.principles p { margin: 0; color: var(--mute); max-width: 520px; }

/* product */
.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 36px var(--pad) 80px;
}
.product img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  background: #090807;
}
.product-gallery { min-width: 0; }
.product-thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.product-thumbnails button { width: 64px; min-height: 64px; padding: 3px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.product-thumbnails button[aria-pressed="true"] { border-color: var(--gold); }
.product-thumbnails button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.product-thumbnails img { display: block; aspect-ratio: 1; }
.buybox {
  display: flex;
  flex-direction: column;
}
.product-note-footer {
  margin-top: auto;
  padding-top: 24px;
}
.product-note-footer p { margin: 0 0 8px; }
.buybox h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.05;
  margin: 8px 0 14px;
  font-weight: 500;
}
.buy-row { display: flex; gap: 12px; align-items: center; margin: 18px 0 8px; flex-wrap: wrap; }
.stock-status { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; }
.notification-signup { flex-basis: 100%; min-width: 0; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.notification-signup p { margin: 0 0 8px; font-size: 13px; }
.notification-signup label { display: block; margin-bottom: 10px; font-size: 13px; }
.notification-signup input[type="email"] { box-sizing: border-box; display: block; width: 100%; margin-top: 6px; padding: 10px; background: #24211d; color: var(--ivory); border: 1px solid var(--line-strong); }
.notification-signup .notification-consent { display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.notification-consent input { margin-top: 4px; flex-shrink: 0; }
.notification-message { overflow-wrap: anywhere; margin-top: 10px !important; }
.notification-signup button, .notification-action button {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  padding: 12px 18px;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}
.notification-signup button:hover:not(:disabled), .notification-action button:hover:not(:disabled) {
  background: var(--ivory);
  border-color: var(--ivory);
}
.notification-signup button:focus-visible, .notification-action button:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 4px;
}
.notification-signup button:disabled, .notification-action button:disabled {
  background: var(--ivory-2);
  border-color: var(--ivory-2);
  color: var(--ink);
  cursor: not-allowed;
}
.price-lg { font-size: 22px; letter-spacing: 0.06em; }
select.var {
  background: #24211d;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
  padding: 12px;
}
select.var option {
  background: #24211d;
  color: var(--ivory);
}
.product-ingredients {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.product-ingredients h2 {
  margin: 0 0 10px;
  font-size: 28px;
}
.product-ingredients p { margin: 0 0 8px; }
.ingredients-disclosure {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.ingredients-disclosure summary {
  color: var(--ivory-2);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ingredients-disclosure p { margin: 10px 0 0; font-size: 13px; }
.story { max-width: 640px; margin-top: 28px; }
.story p { color: var(--ivory-2); }
.pyramid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.pyramid div { border-top: 1px solid var(--line); padding-top: 10px; }
.pyramid strong { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 450; }

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad) 28px;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 28px;
}
footer h4 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 450;
}
footer a, footer p { display: block; color: var(--mute); margin: 0 0 8px; font-size: 14px; }
footer a:hover { color: var(--ivory); }
.wordmark {
  font-family: var(--serif);
  letter-spacing: 0.28em;
  font-size: 28px;
  color: var(--ivory);
}
.legal { grid-column: 1 / -1; color: var(--dim); font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.legal-page { max-width: 960px; }
.legal-page h3 { margin: 32px 0 8px; font: 500 24px/1.2 var(--serif); }
.legal-page > p:not(.lede) { max-width: 760px; color: var(--ivory-2); }
.legal-page .legal-draft-note { margin: 28px 0; color: var(--gold); }

.contact-page { max-width: 1100px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: clamp(22px, 3vw, 42px);
  margin-top: 36px;
}
.contact-form,
.contact-aside {
  border: 1px solid var(--line);
  background: rgba(25, 23, 20, 0.82);
  padding: clamp(20px, 3vw, 28px);
}
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-field-group {
  display: grid;
  gap: 8px;
}
.contact-field-group label {
  color: var(--ivory-2);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.contact-field-group input,
.contact-field-group textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(12, 11, 10, 0.72);
  color: var(--ivory);
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
}
.contact-field-group textarea {
  min-height: 180px;
}
.contact-field-group input:focus,
.contact-field-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.contact-status {
  margin: 0;
  min-height: 1.5em;
  color: var(--gold);
  font-size: 13px;
}
.contact-status.error { color: #e3b78e; }
.contact-aside h3 {
  margin: 0 0 12px;
  font: 500 28px/1.1 var(--serif);
}
.contact-aside p,
.contact-aside li {
  color: var(--ivory-2);
}
.contact-aside ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.contact-aside a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-page {
  display: grid;
  justify-items: center;
}
.account-page > .sec-kicker {
  width: min(460px, 100%);
}
.account-panel {
  width: min(460px, 100%);
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--line);
  background: rgba(25, 23, 20, 0.82);
}
.account-panel h2 {
  margin-bottom: 24px;
  text-align: center;
  font-size: clamp(38px, 6vw, 52px);
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.account-tab {
  padding: 12px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.account-tab.is-active {
  border-bottom-color: var(--gold);
  color: var(--ivory);
}
.account-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.account-google:hover { border-color: var(--gold); }
.google-g {
  color: #4285f4;
  font: 600 19px/1 Arial, sans-serif;
}
.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.account-divider::before,
.account-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.account-form {
  display: grid;
  gap: 16px;
}
.account-field {
  display: grid;
  gap: 8px;
}
.account-field[hidden] { display: none; }
.account-field label {
  color: var(--ivory-2);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.account-field input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(12, 11, 10, 0.72);
  color: var(--ivory);
  padding: 12px 14px;
}
.account-field input:focus {
  outline: none;
  border-color: var(--gold);
}
.account-submit { width: 100%; cursor: pointer; }
.account-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  text-align: center;
}
.account-status.error { color: #e3b78e; }
.account-text-button {
  justify-self: center;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-text-button:hover { color: var(--ivory); }
.account-form[hidden],
.account-text-button[hidden],
.account-tabs[hidden],
.account-google[hidden],
.account-divider[hidden] { display: none; }
.account-resend-verification { margin: 0 auto; }
.account-note {
  margin: 20px 0 0;
  color: var(--dim);
  font-size: 12px;
  text-align: center;
}
.account-dashboard {
  max-width: none;
}
.account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.account-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.account-sidebar-email {
  margin: 0;
  overflow-wrap: anywhere;
}
.account-sidebar .account-signout { justify-self: start; }
.account-dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.account-dashboard-heading p { margin: 0; }
.account-signout {
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ivory-2);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.account-signout:hover { border-color: var(--gold); color: var(--gold); }
.account-nav {
  display: grid;
  gap: 2px;
}
.account-nav button {
  padding: 12px 14px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}
.account-nav button.is-active,
.account-nav button:hover {
  border-left-color: var(--gold);
  color: var(--ivory);
}
.account-content {
  width: 100%;
  max-width: 960px;
  min-width: 0;
  justify-self: center;
  min-height: 280px;
  text-align: center;
}
.account-content > h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 54px);
}
.account-content .account-details-form,
.account-content .account-order-list {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.account-content .account-note,
.account-content .account-status {
  margin-left: auto;
  margin-right: auto;
}
.account-content .account-field input { text-align: center; }
.account-content .account-submit { justify-self: center; }
.account-content .account-overview-grid button { text-align: center; }
.account-content .account-order-list { max-width: 760px; }
.account-content .account-overview-grid article {
  justify-items: center;
  text-align: center;
}
.account-content .account-latest-order,
.account-content .account-rewards {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.account-customer-number { margin: -6px 0 18px; color: var(--mute); font-size: 13px; letter-spacing: 0.08em; }
.account-customer-number strong { color: var(--gold); font-weight: 500; letter-spacing: 0.12em; user-select: all; }
.account-welcome-copy { max-width: none; margin: -8px 0 26px; }
.account-customer-number + .account-welcome-copy { margin-top: 0; }
.account-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.account-overview-grid article {
  display: grid;
  justify-items: start;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(25, 23, 20, 0.64);
}
.account-overview-grid article > strong {
  font: 500 30px/1.1 var(--serif);
  overflow-wrap: anywhere;
}
.account-overview-grid button,
.account-latest-order a {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 12px;
  text-align: left;
}
.account-latest-order,
.account-rewards {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
}
.account-order-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.account-order-heading h3 {
  margin: 4px 0;
  font: 500 26px/1.1 var(--serif);
}
.account-order-list { display: grid; gap: 16px; }
.account-order {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  background: rgba(25, 23, 20, 0.64);
}
.order-status {
  flex: none;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.order-status-delivered { color: #b6c9a2; }
.account-order-items {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.account-order-item { flex-direction: column; align-items: center; gap: 4px; }
.account-order-item,
.account-order-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ivory-2);
}
.account-order-totals {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.account-order-grand-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ivory);
}
.account-empty {
  color: var(--mute);
  margin: 0;
}
.account-empty a { color: var(--gold); text-decoration: underline; }
.account-details-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.account-details-form .account-field {
  display: grid;
  gap: 8px;
  color: var(--ivory-2);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.account-field input,
.account-field select,
.account-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(12, 11, 10, 0.72);
  color: var(--ivory);
  padding: 12px 14px;
  font: 400 14px/1.5 var(--sans);
  letter-spacing: 0.01em;
  text-transform: none;
}
.account-field select option { background: #24211d; color: var(--ivory); }
.account-field input:focus,
.account-field select:focus,
.account-field textarea:focus { outline: none; border-color: var(--gold); }
.account-field input[readonly] { color: var(--mute); }
.marketing-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory-2);
  font-size: 13px;
}
.marketing-choice input { accent-color: var(--gold); width: 16px; height: 16px; }
#account-subscriptions { max-width: 760px; margin-left: auto; margin-right: auto; }
#account-marketing-form { display: grid; justify-items: center; gap: 16px; margin-bottom: 28px; }
#account-marketing-form h3,
#account-marketing-form p { margin: 0; }
#account-marketing-form .marketing-choice { justify-content: center; }
#account-marketing-form .marketing-choice input { flex-shrink: 0; }
.account-subscription-list { display: grid; gap: 16px; }
.account-subscription { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; border: 1px solid var(--line-strong); }
.account-subscription > div { min-width: 0; max-width: 100%; }
.account-subscription h4 { margin: 0; }
.account-subscription h4,
.account-subscription button { overflow-wrap: anywhere; max-width: 100%; }
.account-subscription p { margin: 6px 0; overflow-wrap: anywhere; }
.account-wishlist { margin-top: 8px; }
.account-rewards h3,
.review-form h3 {
  margin: 0 0 10px;
  font: 500 28px/1.15 var(--serif);
}
.account-rewards p { margin: 8px 0 0; }
.account-rewards code { color: var(--gold); font-size: 13px; }

.product-reviews {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 34px;
}
.product-reviews .sec-kicker { margin-bottom: 18px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.review-card,
.review-form {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  background: rgba(25, 23, 20, 0.64);
}
.review-rating {
  margin-bottom: 8px;
  color: var(--gold);
  letter-spacing: 0.12em;
}
.review-card h3 {
  margin: 0 0 8px;
  font: 500 26px/1.1 var(--serif);
}
.review-card p { color: var(--ivory-2); white-space: pre-wrap; }
.review-card .meta { font-size: 11px; }
.review-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.review-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
}
.review-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin-top: 24px;
}
.review-form .meta { margin: 0; }
.review-form input[type="file"] { padding: 10px; }
.review-form input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ivory);
}
.review-reward-note {
  margin: 18px 0 0;
  color: var(--mute);
  font-size: 12px;
}

.cookie-consent[hidden] { display: none; }.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  width: min(760px, calc(100vw - 48px));
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 19, 17, 0.98);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}
.cookie-consent-copy { max-width: 440px; }
.cookie-consent h2 { margin: 0 0 8px; font: 500 28px/1.1 var(--serif); }
.cookie-consent p { margin: 0 0 10px; color: var(--ivory-2); font-size: 13px; }
.cookie-consent-copy > a { color: var(--gold); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-actions { display: flex; flex-shrink: 0; gap: 8px; }
.cookie-consent-actions button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cookie-consent-actions button:hover { border-color: var(--gold); }
.cookie-consent-actions .cookie-consent-accept { background: var(--ivory); color: var(--ink); }

/* cart */
.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 50;
  display: none;
}
.drawer-bg.open { display: block; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: #12110f;
  z-index: 60;
  border-left: 1px solid var(--line);
  transform: translateX(104%);
  transition: transform .35s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer h3 { font-family: var(--serif); font-size: 36px; margin: 12px 0 18px; font-weight: 500; }
.line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
#cart-lines { overflow-y: auto; }
.cart-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.cart-item-heading, .cart-item-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-item-heading { align-items: flex-start; }
.cart-item-heading strong { display: block; }
.cart-item-controls { margin-top: 12px; flex-wrap: wrap; }
.cart-item-controls label { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 12px; }
.cart-item-controls select, .cart-item-controls input {
  background: #24211d;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
  padding: 7px;
}
.cart-item-controls input { width: 64px; }
.cart-item-controls select option { background: #24211d; color: var(--ivory); }
.cart-item-price { display: grid; justify-items: end; gap: 4px; font-size: 13px; }
.cart-item-price .meta { font-size: 11px; }
.cart-remove {
  background: none;
  border: 0;
  color: var(--mute);
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
  font-size: 12px;
}
.cart-remove:hover { color: var(--ivory); }
.cart-total { font-weight: 500; }
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ivory);
  color: var(--ink);
  padding: 10px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  z-index: 70;
  transition: .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.note {
  color: var(--dim);
  font-size: 12px;
}
.empty { color: var(--mute); padding: 40px 0; }

@media (max-width: 980px) {
  .hero, .worlds, .scent-grid, .product-grid, .split, .product, footer {
    grid-template-columns: 1fr 1fr;
  }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perfume-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-category-grid { grid-template-columns: 1fr 1fr; }
  .scent-grid.scent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worlds { grid-template-columns: 1fr 1fr; }
  .world { border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: #100f0d;
    padding: 18px var(--pad) 24px;
    border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: inline; }
  .hero { min-height: calc(100vh - 108px); }
}
@media (max-width: 680px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: calc(100% - 24px);
    padding: 18px;
  }
  .cookie-consent h2 { font-size: 25px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent-actions button { padding: 10px 8px; }
  .nav { gap: 8px; }
  .brand { gap: 6px; font-size: 17px; letter-spacing: 0.16em; }
  .brand img { width: 24px; height: 24px; }
  .site-search { min-width: 48px; }
  .site-search input { padding: 8px; }
  .site-search-results {
    position: fixed;
    top: 72px;
    right: var(--pad);
    left: var(--pad);
    width: auto;
    max-height: calc(100dvh - 88px);
  }
  .site-search-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .site-search-result .meta { text-align: left; }
  .nav-right { gap: 6px; }
  .nav-icon-link, .nav-cart-btn { width: 30px; }
  .nav-account-btn.nav-icon-link { width: auto; gap: 4px; }
  .nav-account-label { font-size: 10px; letter-spacing: 0.08em; }
  .cart-btn, .menu-btn { font-size: 10px; letter-spacing: 0.1em; }
  .account-overview-grid { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; gap: 24px; }
  .account-sidebar {
    position: static;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .account-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-nav button { padding: 12px 6px; }
  .account-order-heading { flex-direction: column; }
  .account-order-item span:first-child { max-width: 100%; }
  .review-grid { grid-template-columns: 1fr; }
  .product-title-row { align-items: flex-start; }
  .hero, .worlds, .scent-grid, .product-grid, .split, .product, footer, .pyramid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: calc(100svh - 60px); background-position: center, center, 58% center; }
  .hero-copy { width: 100%; }
  .house-feature { min-height: 360px; background-position: center, center, 58% center; }
  .house-feature-copy { width: 100%; padding: 28px; }
  .house-feature h2 { font-size: clamp(38px, 10vw, 52px); }
  .what-we-make-section { padding-top: 34px; padding-bottom: 34px; }
  .what-we-make-grid {
    gap: 18px;
    margin-top: 24px;
  }
  .what-we-make-item { flex: 0 1 calc((100% - 18px) / 2); }
  .what-we-make-item img { width: min(38vw, 168px); height: min(38vw, 168px); }
  .what-we-make-item .product-image-frame { width: min(38vw, 168px); }
  .perfume-grid { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: 1fr; }
  .perfume-pyramid { grid-template-columns: 1fr; gap: 10px; }
  .perfume-line-heading { grid-template-columns: 1fr; }
  .perfume-line-heading .meta { margin: 4px 0 0; }
  .shop-category-grid, .shop-subcategory-grid { grid-template-columns: 1fr; }
  .shop-subcategory h3 { max-width: 60%; }
  .perfume-line-descriptor { max-width: 38%; font-size: 20px; }
  .scent-grid.scent-list { grid-template-columns: 1fr; }
  .scent-browser.has-category-filters { grid-template-columns: 1fr; gap: 18px; }
  .scent-category-filters { flex-direction: row; flex-wrap: wrap; }
  .scent-category-filters .chip { text-align: center; }
  .scent-product > * { max-width: 82%; }
  .proto { display: none; }
  section { padding: 56px var(--pad); }
}

.shipping-table { width: 100%; max-width: 560px; border-collapse: collapse; margin-top: 12px; }
.shipping-table th, .shipping-table td { text-align: left; padding: 14px 12px 14px 0; border-top: 1px solid var(--line); font-weight: 400; }
.shipping-table thead th { color: var(--mute); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.shipping-table tbody th { color: var(--ivory); }
.shipping-table td { color: var(--ivory-2); }

.checkout-form { display: grid; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkout-form[hidden], .checkout-error[hidden] { display: none; }
.checkout-form h4 { margin: 0; font: 500 22px/1.1 var(--serif); }
.checkout-form label { display: grid; gap: 6px; color: var(--mute); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.checkout-form input, .checkout-form select {
  width: 100%;
  background: #24211d;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
  padding: 10px;
  font: inherit;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}
.checkout-form input:focus, .checkout-form select:focus { outline: none; border-color: var(--gold); }
.checkout-error { margin: 0; color: #e3b78e; font-size: 13px; }
.checkout-form .btn:disabled { opacity: 0.6; cursor: wait; }
.drawer > * { flex-shrink: 0; }

/* Compact two-up grids on phones. Desktop and tablet layouts are untouched. */
@media (max-width: 680px) {
  .product-grid, .scent-grid.scent-list, .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 8px; gap: 6px; }
  .card .wishlist-toggle { top: 12px; right: 12px; }
  .card h3 { font-size: 18px; letter-spacing: 0.02em; }
  .card-top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .card .meta { font-size: 11px; }
  .card .notes, .card .note { display: none; }
  .card .price { font-size: 13px; }
  .card .row-buy { flex-direction: column; align-items: stretch; gap: 6px; }
  .card .row-buy .meta { display: none; }
  .card .add { padding: 8px 6px; font-size: 10px; letter-spacing: 0.1em; width: 100%; }
  .card .variant-buy select { width: 100%; }
  .scent-grid.scent-list .scent { padding: 12px; gap: 6px; min-height: 0; }
  .scent-grid.scent-list .scent-product, .scent-grid.scent-list .scent-perfume { min-height: 200px; justify-content: flex-end; background-position: center, center; }
  .scent-grid.scent-list .scent-product > *, .scent-grid.scent-list .scent-perfume > * { max-width: 100%; }
  .scent-grid.scent-list .scent h3 { font-size: 22px; }
  .scent-grid.scent-list .scent .notes, .scent-grid.scent-list .scent .scent-quote { display: none; }
  .scent-grid.scent-list .scent .add { padding: 8px 6px; font-size: 10px; letter-spacing: 0.1em; }
  .family-card { min-height: 190px; padding: 14px; }
  .family-card h3 { font-size: 22px; margin-bottom: 8px; }
  .family-quote { display: none; }
}@media (max-width: 680px) { .card .var { width: 100%; max-width: 100%; font-size: 12px; padding: 8px 4px; } }
.balm-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-basis: 100%;
}
.balm-options label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.balm-options select {
  max-width: 100%;
  background: #24211d;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
  padding: 12px;
}
.balm-options select option {
  background: #24211d;
  color: var(--ivory);
}
.product-content-text { white-space: pre-line; overflow-wrap: anywhere; }
.product-content-text > strong {
  font-weight: 500;
  font-synthesis: none;
  text-shadow: none;
  filter: none;
}
