/* Olfactory fragrance wheel — perfume boutique */
.scent-wheel-block {
  margin: 0 auto;
  max-width: min(680px, 100%);
  text-align: center;
}
.scent-wheel-block__lede {
  margin: 0 auto 1.5rem;
  max-width: 38ch;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 300;
  font-size: .9rem;
  line-height: 1.6;
  color: #4A4640;
}

.olfactory {
  /* px/vw — html is font-size 80%, so rem alone makes the wheel look tiny */
  --wheel-size: min(640px, 92vw);
  --ow: var(--wheel-size);
  /* Larger inset = smaller hub photo; leaves room for family names in the ring */
  --hub-inset: 28%;
  /* Distance from centre to mid-ring (outside hub) */
  --label-arm: calc(var(--wheel-size) * 0.40);
  direction: ltr;
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  margin: 0 auto 1.35rem;
  border-radius: 50%;
  overflow: hidden; /* keep the whole wheel circular */
  /* Interim: light frame (no black plate) so family photos read cleaner */
  background:
    radial-gradient(circle at 50% 42%, #2a2620 0%, #1a1814 55%, #12100e 100%);
    box-shadow:
      0 10px 28px rgba(31, 36, 40, .08),
      0 22px 48px rgba(31, 36, 40, .1);
  isolation: isolate;
}
.olfactory__disc {
  --ow: var(--wheel-size);
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden; /* clip pie slices to a circle */
  z-index: 1;
}
.olfactory__seg {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.olfactory__hit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 4;
  cursor: pointer;
}
.olfactory__labels {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}
.olfactory__wedge {
  --start: 0;
  --span: 60;
  --ow: var(--wheel-size);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.olfactory__wedge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(244,240,235,.08), rgba(31,36,40,.22)),
    var(--img) center / cover no-repeat;
  /* Pie slice via conic mask — 0deg = 12 o'clock, clockwise */
  -webkit-mask-image: conic-gradient(
    from calc(var(--start) * 1deg),
    #000 0 calc(var(--span) * 1deg),
    transparent 0
  );
  mask-image: conic-gradient(
    from calc(var(--start) * 1deg),
    #000 0 calc(var(--span) * 1deg),
    transparent 0
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: filter .35s ease, opacity .35s ease;
  opacity: 1;
}
.olfactory__wedge:hover::before,
.olfactory__wedge:focus-visible::before,
.olfactory__wedge.is-active::before {
  filter: saturate(1.15) brightness(1.08);
  opacity: 1;
  outline: none;
}
.olfactory__wedge:focus-visible {
  outline: none;
}
.olfactory__wedge-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7.25rem;
  height: var(--label-arm);
  margin-left: -3.625rem;
  margin-top: calc(var(--label-arm) * -1);
  transform-origin: 50% 100%;
  transform: rotate(calc((var(--start) + var(--span) / 2) * 1deg));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.35rem;
  pointer-events: none;
  z-index: 5; /* above wedge art + hub so names stay readable in the ring */
}
.olfactory__wedge-label-t {
  display: inline-block;
  max-width: 7.25rem;
  transform: rotate(calc((var(--start) + var(--span) / 2) * -1deg));
  font-family: Outfit, system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 12px rgba(31,36,40,.72), 0 0 4px rgba(31,36,40,.45);
  transition: color .25s, letter-spacing .25s;
  white-space: nowrap;
}
.olfactory__wedge-label.is-active .olfactory__wedge-label-t {
  color: #fff;
  letter-spacing: .18em;
}
.olfactory--dense .olfactory__wedge-label {
  width: 6.5rem;
  margin-left: -3.25rem;
}
.olfactory--dense .olfactory__wedge-label-t {
  max-width: 6.5rem;
  font-size: .78rem;
  letter-spacing: .1em;
}
.olfactory--dense .olfactory__wedge-label.is-active .olfactory__wedge-label-t {
  letter-spacing: .12em;
}

.olfactory__inner {
  position: absolute;
  /* Slightly larger than inset so hub photo overlaps wedge seam (no light ring) */
  inset: calc(var(--hub-inset) - 4px);
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(20, 18, 14, .22);
  z-index: 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  /* Soft edge so the hub photo blends into the wedges — no hard white rim */
  -webkit-mask-image: radial-gradient(circle, #000 72%, rgba(0, 0, 0, .92) 88%, transparent 100%);
  mask-image: radial-gradient(circle, #000 72%, rgba(0, 0, 0, .92) 88%, transparent 100%);
}
/* Full-bleed family photo — no white disc / contain ring */
.olfactory__inner-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--hub-img) center / cover no-repeat;
  opacity: 1;
  filter: none;
  transition: background-image .4s ease;
}
.olfactory__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(20, 18, 14, .18) 0%,
    rgba(20, 18, 14, .48) 62%,
    rgba(20, 18, 14, .62) 100%
  );
  z-index: 0;
  pointer-events: none;
}
.olfactory__inner-content {
  position: relative;
  z-index: 1;
  padding: .65rem;
  text-align: center;
}
.olfactory__logo {
  width: 1.85rem;
  height: auto;
  margin: 0 auto .35rem;
  display: block;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45));
}
.olfactory__kicker {
  margin: 0 0 .2rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: .5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.olfactory__label {
  margin: 0;
  font-family: "Cormorant Garamond", Palatino Linotype, Book Antiqua, Palatino, serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 3.6vw, 1.55rem);
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.olfactory__hint {
  margin: .3rem 0 0;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 300;
  font-size: .62rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, .88);
  max-width: 14ch;
  margin-inline: auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.olfactory__families {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.olfactory__family {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.5rem;
  margin-left: -2.25rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: .48rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,240,235,.55);
  text-align: center;
}

.scent-wheel__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: .9rem 1.4rem;
  background: rgba(31, 98, 71, 0.92);
  color: #F4EFE6;
  border: 1.5px solid rgba(244, 239, 230, 0.28);
  border-radius: 0.45rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.scent-wheel__go:hover {
  background: #C4A574;
  border-color: #C4A574;
  color: #1A1814;
  transform: translateY(-1px);
}

/* Essential oils — alphabetical chips (no wheel) */
.scent-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.scent-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.05rem;
  border: 1px solid rgba(47, 107, 80, .35);
  border-radius: 0.45rem;
  background: rgba(244, 239, 230, 0.85);
  color: #1F5A42;
  font-family: Outfit, system-ui, sans-serif;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .25s, color .25s, background .25s;
}
.scent-chips a:hover,
.scent-chips a:focus-visible,
.scent-chips a:active,
.scent-chips a.is-on {
  border-color: #C4A574;
  color: #1A1814;
  background: #C4A574;
}

@media (max-width: 520px) {
  .olfactory {
    --hub-inset: 28%;
    --label-arm: calc(var(--wheel-size) * 0.36);
    --wheel-size: min(360px, 84vw);
  }
  .olfactory__wedge-label { width: 5.1rem; margin-left: -2.55rem; padding-top: 0.15rem; }
  .olfactory__wedge-label-t { font-size: .62rem; letter-spacing: .08em; }
  .olfactory__hint { display: none; }
  .home-notes.home-notes--wheel,
  .scent-wheel-block {
    overflow: visible;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

/* Panel mode (Olfaction Atelier / shared briefs) */
.scent-wheel-block--panel {
  max-width: min(680px, 100%);
  width: 100%;
  margin-inline: auto;
}
.scent-wheel-layout--panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 4vw, 3rem);
  align-items: center;
  justify-items: center;
}
/* Same large presence as home — stacked so it never overlaps the panel */
.scent-wheel-layout--panel > .olfactory {
  --wheel-size: min(640px, 92vw);
  width: var(--wheel-size);
  height: var(--wheel-size);
  max-width: 100%;
  justify-self: center;
  margin-inline: auto;
  margin-bottom: 0;
  box-sizing: border-box;
  box-shadow:
    0 8px 20px rgba(31, 36, 40, .06),
    0 14px 28px rgba(31, 36, 40, .07);
}
.scent-wheel-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  min-width: 0;
  padding: 1.5rem 1.35rem;
  background: #F4EFE6;
  border: 1px solid rgba(26, 24, 20, 0.08);
  border-radius: 0.35rem;
  text-align: center;
}
.scent-wheel-panel__cta {
  display: inline-flex;
}
.scent-wheel-panel__kicker {
  margin: 0 0 .4rem;
  font-family: Outfit, system-ui, sans-serif;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2F6B50;
}
.scent-wheel-panel__title {
  margin: 0 0 .65rem;
  font-family: "Cormorant Garamond", Palatino Linotype, Book Antiqua, Palatino, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 1.85rem);
  color: #1F2428;
}
.scent-wheel-panel__body {
  margin: 0 0 1.15rem;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.65;
  color: #6F6B64;
}
.scent-wheel-panel__cta {
  margin-top: .25rem;
}
.scent-wheel-chips {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.scent-wheel-chip {
  appearance: none;
  border: 1px solid rgba(47, 107, 80, .35);
  background: rgba(244, 239, 230, 0.85);
  color: #1F5A42;
  font: inherit;
  font-family: Outfit, system-ui, sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .7rem 1rem;
  min-height: 44px;
  border-radius: 0.45rem;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.scent-wheel-chip:hover,
.scent-wheel-chip:focus-visible,
.scent-wheel-chip.is-on {
  background: #C4A574;
  color: #1A1814;
  border-color: #C4A574;
}
@media (max-width: 900px) {
  .scent-wheel-layout--panel > .olfactory,
  .olfactory {
    --wheel-size: min(440px, 88vw);
  }
  .scent-wheel-panel {
    max-width: 100%;
  }
}
@media (max-width: 520px) {
  .scent-wheel-layout--panel > .olfactory,
  .olfactory {
    --wheel-size: min(360px, 84vw);
  }
}
