/* Pumpkin singles catalog — ethereal dark · frosted glass · visual-first */
:root {
  --cream: #fff8ee;
  --cream-soft: rgba(255, 248, 238, 0.86);
  --muted: rgba(255, 248, 238, 0.58);
  --honey: #e8b84a;
  --pumpkin: #f0a060;
  --violet: #b08ad4;
  --ink: #080510;
  --glass-border: rgba(220, 200, 255, 0.38);
  --radius: 18px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--cream);
  line-height: 1.55;
  background:
    radial-gradient(ellipse at 14% 6%, rgba(180, 90, 40, 0.38), transparent 46%),
    radial-gradient(ellipse at 88% 18%, rgba(140, 70, 190, 0.32), transparent 42%),
    radial-gradient(ellipse at 48% 92%, rgba(232, 160, 80, 0.12), transparent 38%),
    linear-gradient(180deg, #1a0e1c 0%, #0a0614 55%, #06040e 100%);
}
body.calm { --glass-border: rgba(200, 180, 255, 0.22); }

.banner {
  text-align: center;
  padding: 0.45rem 1rem;
  background: linear-gradient(90deg, rgba(160, 70, 30, 0.92), rgba(90, 40, 120, 0.92));
  color: var(--cream);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 200, 180, 0.35);
}
.banner a { color: #ffd978; text-decoration: none; margin-left: 0.65rem; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.35rem 1.1rem 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-intro {
  text-align: center;
  margin-bottom: 1.65rem;
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--glass-border);
  background: linear-gradient(165deg, rgba(255, 248, 255, 0.12), rgba(170, 100, 60, 0.1) 42%, rgba(120, 60, 160, 0.09));
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 0 32px rgba(180, 100, 60, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hero-intro__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
}
.hero-intro__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  margin: 0 0 0.4rem;
  line-height: 1.12;
  text-shadow: 0 0 20px rgba(240, 160, 96, 0.35);
}
.hero-intro__lede {
  margin: 0 auto 0.75rem;
  max-width: 36rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream-soft);
}
.hero-intro__price {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  font-weight: 800;
  color: #ffd978;
  letter-spacing: -0.02em;
}
.hero-intro__price span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}
.hero-intro__note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-intro__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.btn {
  appearance: none;
  cursor: pointer;
  border: 1.5px solid rgba(232, 184, 74, 0.65);
  background: linear-gradient(165deg, rgba(255, 248, 200, 0.22), rgba(120, 60, 160, 0.4));
  color: var(--cream);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(232, 184, 74, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn:hover { border-color: #ffd978; box-shadow: 0 0 24px rgba(232, 184, 74, 0.35); }
.btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.btn--ghost {
  border-color: rgba(200, 180, 255, 0.35);
  background: rgba(20, 12, 40, 0.45);
  box-shadow: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.55rem 0.95rem;
}
.btn--icon {
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  justify-content: center;
  font-size: 1.15rem;
  border-color: rgba(200, 180, 255, 0.4);
  background: linear-gradient(165deg, rgba(255, 248, 255, 0.12), rgba(30, 18, 55, 0.45));
  box-shadow: 0 0 14px rgba(140, 100, 220, 0.25);
}
.btn--icon[aria-expanded="true"] {
  border-color: rgba(232, 184, 74, 0.85);
  box-shadow: 0 0 20px rgba(232, 184, 74, 0.3);
}

/* Shape grid */
.shape-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) {
  .shape-grid { grid-template-columns: repeat(3, 1fr); gap: 0.95rem; }
}
@media (min-width: 980px) {
  .shape-grid { grid-template-columns: repeat(3, 1fr); }
}

.shape-card {
  appearance: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  margin: 0;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 248, 255, 0.1), rgba(30, 18, 55, 0.45));
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 0 22px rgba(140, 100, 220, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: inherit;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}
.shape-card:hover {
  border-color: rgba(240, 160, 96, 0.65);
  box-shadow: 0 0 30px rgba(240, 140, 80, 0.32);
  transform: translateY(-2px);
}
.shape-card.is-selected {
  border-color: rgba(232, 184, 74, 0.95);
  box-shadow: 0 0 28px rgba(232, 184, 74, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.shape-card__shot {
  position: relative;
  aspect-ratio: 1;
  background: rgba(8, 5, 16, 0.55);
  overflow: hidden;
}
.shape-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shape-card__price {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(12, 8, 28, 0.78);
  border: 1px solid rgba(255, 217, 120, 0.55);
  color: #ffd978;
  backdrop-filter: blur(8px);
}
.shape-card__body {
  padding: 0.7rem 0.8rem 0.85rem;
}
.shape-card__label {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}
.shape-card__meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

/* Detail panel */
.detail {
  display: none;
  margin-bottom: 2rem;
  padding: 1.25rem 1.3rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--glass-border);
  background: linear-gradient(165deg, rgba(255, 248, 255, 0.14), rgba(170, 100, 60, 0.1) 42%, rgba(120, 60, 160, 0.1));
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 0 32px rgba(180, 100, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.detail.is-open { display: block; }
.detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 780px) {
  .detail__grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
}
.detail__shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  background: rgba(12, 8, 28, 0.65);
  aspect-ratio: 1;
  cursor: zoom-in;
}
.detail__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
}
.detail__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: 0 0 0.25rem;
  line-height: 1.15;
}
.detail__meta {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.detail__price {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 800;
  color: #ffd978;
}
.detail__price span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 0.12rem;
}
.detail__craft {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream-soft);
}
.detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}
.detail__selected {
  min-height: 1.2rem;
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet);
}
.detail__note {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

/* Palette (gated) */
.palette { position: relative; margin-top: 0.75rem; }
.palette__panel {
  display: none;
  margin-top: 0.75rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1.5px solid var(--glass-border);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.1), rgba(30, 18, 55, 0.55) 55%, rgba(18, 12, 40, 0.45));
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 0 28px rgba(140, 100, 220, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.palette__panel.is-open { display: block; }
.palette__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.palette__head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}
.palette__close {
  appearance: none;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--cream);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  opacity: 0.75;
}
.palette__close:hover { opacity: 1; }
.palette__hint {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.palette__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3.1rem, 1fr));
  gap: 0.55rem;
}
.swatch {
  appearance: none;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.35rem 0.3rem 0.4rem;
  background: rgba(8, 5, 16, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.swatch:hover { border-color: rgba(255, 217, 120, 0.55); }
.swatch.is-active {
  border-color: rgba(232, 184, 74, 0.9);
  box-shadow: 0 0 14px rgba(232, 184, 74, 0.35);
}
.swatch__triple { display: flex; gap: 3px; }
.swatch__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.swatch__n {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.swatch--freeform {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  margin-top: 0.25rem;
}
.swatch--freeform .swatch__n {
  font-size: 0.78rem;
  color: var(--cream-soft);
}

/* Sections */
.section { margin: 2rem 0; }
.section__head { margin-bottom: 0.95rem; }
.section__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
}
.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  margin: 0 0 0.35rem;
  text-shadow: 0 0 14px rgba(240, 160, 96, 0.28);
}
.section__lede {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  max-width: 38rem;
}


/* Lightbox — Apple pattern (fixed fullscreen · viewport arrows · never relative-stack) */
.lb {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 2, 12, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.lb.is-open { display: flex; }
.lb__frame {
  position: relative;
  z-index: 1;
  max-width: min(920px, 96vw);
  max-height: 88vh;
  border-radius: 20px;
  border: 1.5px solid rgba(220, 200, 255, 0.5);
  background: linear-gradient(165deg, rgba(255, 248, 255, 0.1), rgba(20, 12, 40, 0.75));
  box-shadow:
    0 0 56px rgba(140, 100, 220, 0.5),
    0 0 80px rgba(255, 140, 180, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
  clip-path: polygon(2.2% 0%, 97.8% 0%, 100% 2.8%, 100% 97.2%, 97.8% 100%, 2.2% 100%, 0% 97.2%, 0% 2.8%);
  pointer-events: none;
}
.lb__frame img, .lb__frame .lb__cap { pointer-events: auto; }
.lb__img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}
.lb__cap {
  padding: 0.75rem 1.1rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream-soft, #f3ebe0);
  text-align: center;
}
.lb__nav, .lb__close {
  appearance: none;
  cursor: pointer;
  border: 2px solid rgba(255, 217, 120, 0.85);
  background: rgba(8, 4, 20, 0.88);
  color: #fff8ee;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 52px;
  min-height: 52px;
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 2147483001;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.45), 0 0 22px rgba(232, 184, 74, 0.45);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.lb__close {
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  font-size: 1.6rem;
}
.lb__nav--prev {
  left: max(0.45rem, env(safe-area-inset-left));
  top: 50%;
  transform: translateY(-50%);
}
.lb__nav--next {
  right: max(0.45rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
}
.lb__nav:hover, .lb__close:hover,
.lb__nav:focus-visible, .lb__close:focus-visible {
  border-color: #ffe6a0;
  background: rgba(40, 20, 70, 0.95);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.5), 0 0 28px rgba(255, 217, 120, 0.65);
}
@media (max-width: 720px) {
  .lb__nav, .lb__close {
    width: 3.6rem;
    height: 3.6rem;
    min-width: 58px;
    min-height: 58px;
    font-size: 2.1rem;
  }
  .lb__close { font-size: 1.75rem; }
  .lb { padding: 0.35rem; }
  .lb__frame { max-width: 100vw; max-height: 82vh; }
  .lb__img { max-height: 72vh; }
}

/* Ship */
.ship-wrap { max-width: 720px; margin: 0 auto; }
.ship-wrap .esp { max-width: none; }
.rsp__tiers, .rsp__zones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.rsp__choice {
  appearance: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  border: 1.5px solid rgba(200, 180, 255, 0.28);
  background: linear-gradient(165deg, rgba(255, 248, 255, 0.08), rgba(30, 18, 55, 0.4));
  color: var(--cream);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rsp__choice.is-active {
  border-color: rgba(232, 184, 74, 0.85);
  box-shadow: 0 0 18px rgba(232, 184, 74, 0.22);
}
.rsp__choice-label {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 800;
}
.rsp__choice-tag {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}
.rsp__standing {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 184, 74, 0.35);
  background: rgba(232, 184, 74, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cream-soft);
}

.foot {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.foot a { color: #d4b8ff; text-decoration: none; font-weight: 700; }
.foot a:hover { color: #ffd978; }

.embers {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.embers span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 180, 120, 0.45);
  box-shadow: 0 0 8px rgba(255, 160, 100, 0.35);
  animation: float-ember 14s linear infinite;
  opacity: 0.5;
}
@keyframes float-ember {
  0% { transform: translateY(100vh) scale(0.6); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
html.calm-mode .embers, body.calm .embers { display: none; }


/* ENCHANT catalog cards */
.shape-card {
  box-shadow: 0 0 24px rgba(140, 100, 220, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.shape-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 160, 96, 0.75);
  box-shadow: 0 0 34px rgba(240, 140, 80, 0.36), 0 14px 28px rgba(0, 0, 0, 0.28);
}
.shape-card__cta {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd978;
}
.shape-card__tap {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(12, 8, 28, 0.78);
  border: 1px solid rgba(255, 200, 180, 0.4);
  color: #ffd978;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wrap, .banner { position: relative; z-index: 1; }
