/* Witch Two Spirits: "Night shelf" styles */

@font-face { font-family: "IM Fell English"; src: url(fonts/im-fell-english-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IM Fell English"; src: url(fonts/im-fell-english-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Karla"; src: url(fonts/karla-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url(fonts/karla-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --night: #0E1512;      /* page */
  --moss: #17211C;       /* cards and panels */
  --moss-2: #202D26;     /* raised / hover */
  --line: #2F3D35;       /* hairlines */
  --edge: #55665C;       /* input and chip borders */
  --bone: #EFEBE0;       /* text */
  --mist: #A7B2A9;       /* quiet text */
  --lilac: #C3ADEB;      /* accent */
  --rose: #EBC6BE;       /* rose quartz: main buttons */
  --amethyst: #6A4C93;
  --deep: #2B2043;       /* festival band, card backs */
  --paper: #F7F6F1;
  --ink: #15211C;
  --bad: #F4B0A6;
  --r: 14px;
  --display: "IM Fell English", Georgia, "Times New Roman", serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 1.0625rem/1.55 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--lilac); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 0.9rem; }
ul { margin: 0 0 0.9rem; padding-left: 1.2rem; }
figure { margin: 0; }

.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 0.5rem; top: -4rem; z-index: 60; background: var(--lilac); color: var(--night); padding: 0.6rem 1rem; border-radius: 999px; }
.skip:focus { top: 0.5rem; color: var(--night); }
.small { font-size: 0.875rem; color: var(--mist); }
.lede { font-size: 1.15rem; max-width: 38rem; color: var(--bone); }
.none-yet { max-width: 36rem; padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); }
.none-yet > p:first-child { margin-top: 0; }

/* ---------- preview note ---------- */
.preview-note { margin: 0; background: var(--lilac); color: var(--night); font-size: 0.875rem; text-align: center; padding: 0.4rem 1rem; }
.preview-note a { color: var(--night); font-weight: 700; }
.preview-note.is-test { background: #F2C14E; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--night); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 0.5rem; min-height: 3.75rem; }
.menu-btn { justify-self: start; min-height: 2.75rem; padding: 0 0.75rem 0 0; border: 0; background: none; color: inherit; font: 400 0.95rem/1 var(--body); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.brand { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-width: 0; font-family: var(--display); font-size: 1.2rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand img { width: 2.1rem; height: 2.1rem; flex: none; }
.basket-link { justify-self: end; font: 400 0.95rem/1 var(--body); padding: 0.85rem 0; white-space: nowrap; }
.site-nav { grid-column: 1 / -1; display: none; flex-direction: column; border-top: 1px solid var(--line); padding-bottom: 0.75rem; }
.site-nav.is-open { display: flex; }
.site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font: 400 1.05rem/1.2 var(--body); text-decoration: none; }
.site-nav a[aria-current] { color: var(--lilac); }
@media (max-width: 23.5rem) { .brand { font-size: 1.05rem; } .brand img { display: none; } }
/* Computers: the name on the left, the links in the middle, the basket on the right.
   Nine links need about 64rem of room; narrower screens keep the Menu button. */
@media (min-width: 64rem) {
  .header-row { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 1.5rem; }
  .menu-btn { display: none; }
  .site-nav { display: flex; flex-direction: row; grid-column: 2; grid-row: 1; justify-self: center; gap: 1.05rem; border: 0; padding: 0; }
  .site-nav a { padding: 0.4rem 0; border: 0; font-size: 0.93rem; white-space: nowrap; }
  .site-nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
  .site-nav .nav-small { display: none; }   /* the name leads home; contact and postage are in the footer */
  .brand { grid-column: 1; grid-row: 1; font-size: 1.45rem; gap: 0.5rem; }
  .brand img { width: 2.3rem; height: 2.3rem; }
  .basket-link { grid-column: 3; grid-row: 1; }
}
@media (min-width: 75rem) {
  .site-nav { gap: 1.4rem; }
  .site-nav a { font-size: 0.95rem; }
  .brand { font-size: 1.6rem; gap: 0.55rem; }
  .brand img { width: 2.5rem; height: 2.5rem; }
}

/* ---------- buttons and forms ---------- */
[hidden] { display: none !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.6rem 1.5rem; border: 1px solid var(--rose); border-radius: 999px; background: var(--rose); color: var(--night); font: 700 0.98rem/1.2 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--bone); border-color: var(--bone); color: var(--night); }
.btn-quiet { background: transparent; border-color: var(--edge); color: var(--bone); }
.btn-quiet:hover, .btn-quiet:focus-visible { background: var(--moss-2); border-color: var(--bone); color: var(--bone); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.link-btn { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link-btn:hover { color: var(--lilac); }

label, legend { font-weight: 700; }
input[type="email"], input[type="text"], input[type="number"], textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem; border: 1px solid var(--edge); border-radius: 10px;
  background: var(--night); color: var(--bone); font: inherit;
}
input:focus-visible, textarea:focus-visible { border-color: var(--lilac); }
textarea { resize: vertical; }
fieldset { border: 0; margin: 1.25rem 0 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 0.45rem; }
.field { margin-top: 1.25rem; }
.field label { display: block; margin-bottom: 0.35rem; }
.field label.opt { display: flex; margin-bottom: 0; }
.options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt { display: flex; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0.55rem 1rem; border: 1px solid var(--edge); border-radius: 999px; background: var(--moss); font-weight: 400; cursor: pointer; }
.stack .opt, .opt.check { border-radius: 12px; }
/* our own round options and tick boxes, rather than the phone's */
:is(.opt, .ed .check, .todo li) > input { appearance: none; -webkit-appearance: none; display: grid; place-content: center; width: 1.2rem; height: 1.2rem; margin: 0; flex: none;
  border: 1.5px solid var(--edge); border-radius: 50%; background: var(--night); cursor: inherit; transition: border-color 0.15s ease, background-color 0.15s ease; }
:is(.opt, .ed .check, .todo li) > input[type="checkbox"] { border-radius: 5px; }
:is(.opt, .ed .check, .todo li) > input::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--lilac); transform: scale(0); transition: transform 0.15s ease; }
:is(.opt, .ed .check, .todo li) > input[type="checkbox"]::before { width: 0.62rem; height: 0.62rem; border-radius: 0; background: var(--night); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
:is(.opt, .ed .check, .todo li) > input:checked { border-color: var(--lilac); }
:is(.opt, .ed .check, .todo li) > input[type="checkbox"]:checked { background: var(--lilac); }
:is(.opt, .ed .check, .todo li) > input:checked::before { transform: scale(1); }
:is(.opt, .ed .check, .todo li) > input:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; }
:is(.opt, .ed .check, .todo li) > input:disabled { border-style: dashed; }
@media (prefers-reduced-motion: reduce) { :is(.opt, .ed .check, .todo li) > input, :is(.opt, .ed .check, .todo li) > input::before { transition: none; } }
.opt:has(input:checked) { background: var(--deep); border-color: var(--lilac); }
.opt.is-off { border-style: dashed; color: var(--mist); background: transparent; cursor: not-allowed; }
.opt em { font-style: normal; font-size: 0.85rem; }
.opt.check { margin-top: 1.25rem; }
.stack { display: grid; gap: 0.5rem; }

.signup { margin: 1.25rem 0 0; max-width: 30rem; }
.signup-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.35rem; }
.signup-row input { flex: 1 1 12rem; width: auto; }
.signup .small { margin: 0.6rem 0 0; }
.form-msg { margin: 0.6rem 0 0; font-weight: 700; }
.form-msg:empty { display: none; }
.form-msg.is-bad { color: var(--bad); }
.form-msg.is-good { padding: 0.85rem 1rem; border: 1px solid var(--lilac); border-radius: var(--r); background: var(--moss-2); color: var(--bone); }
.notice { border: 1px dashed var(--edge); border-radius: 12px; background: var(--moss); padding: 0.85rem 1rem; margin: 0; }

/* photos that are cropped to fill a frame */
.tile-photo img, .hero-bg img, .banner img, .thumb img, .ticket-photo img, .event-photo img, .festival-moon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* older phones that don't know aspect-ratio still get a sensible photo frame */
@supports not (aspect-ratio: 1 / 1) {
  .tile-photo::before { content: ""; display: block; padding-top: 125%; }
  .ticket-photo, .event-photo, .banner { height: 14rem; }
  .gallery-empty { height: 18rem; }
  .reveal { height: 24rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3rem 0 3.25rem; border-bottom: 1px solid var(--line); text-align: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { opacity: 0.8; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 95% 80% at 50% 40%, rgba(14, 21, 18, 0.58) 0%, rgba(14, 21, 18, 0.8) 60%, #0E1512 100%); }
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: 7.5rem; height: 7.5rem; margin: 0 auto 1.1rem; }
.hero h1 { font-size: clamp(2.7rem, 12vw, 5.25rem); letter-spacing: -0.01em; }
.tagline { max-width: 33rem; margin: 1rem auto 0; font: italic 400 clamp(1.2rem, 4.2vw, 1.55rem)/1.35 var(--display); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.75rem 0 0; }
.hero-proof { margin: 1.4rem 0 0; font-size: 0.95rem; }
.hero-proof a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--bone); }
.hero-proof a:hover { color: var(--lilac); }
.hero-proof svg { width: 1rem; height: 1rem; fill: var(--rose); stroke: none; }
.banner { position: relative; margin-top: 1.5rem; aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); }
@media (min-width: 48rem) { .hero { padding: 4.5rem 0 4.75rem; } .hero-logo { width: 8.75rem; height: 8.75rem; } .banner { aspect-ratio: 4 / 1; } }

/* ---------- sections ---------- */
.band { padding: 2.75rem 0; border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.head-row h2 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
.head-row a { font-size: 0.95rem; white-space: nowrap; color: var(--lilac); }
.page-head { padding: 2rem 0 0; }
.page-head h1, .prose h1 { font-size: clamp(2.3rem, 9vw, 3.5rem); margin-bottom: 0.75rem; }
.prose { max-width: 42rem; padding: 2rem 0 3rem; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 0.6rem; }
.about-snip { max-width: 42rem; }
.about-snip h2 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); margin-bottom: 0.75rem; }

/* ---------- reviews ---------- */
.quotes { display: grid; gap: 0.9rem; }
@media (min-width: 40rem) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { display: flex; flex-direction: column; margin: 0; padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); }
.quote blockquote { flex: 1; margin: 0.6rem 0 0; }
.quote p { margin: 0; font: italic 400 1.25rem/1.4 var(--display); }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; margin-top: 0.85rem; font-size: 0.9rem; color: var(--mist); }
.quote figcaption strong { color: var(--bone); }
.stars { display: inline-flex; gap: 0.15rem; }
.stars svg { width: 1rem; height: 1rem; display: block; }
.stars .on svg { fill: #F2C46B; }
.stars .off svg { fill: var(--line); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: -0.4rem 0 1.1rem; color: var(--bone); }
.rating .stars svg { width: 1.2rem; height: 1.2rem; }
.reviews-more { margin: 1.2rem 0 0; }
/* phones: swipe through the reviews */
@media (max-width: 39.99rem) {
  .quotes-row { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.6rem; margin-right: -1.25rem; padding-right: 1.25rem; scrollbar-width: thin; }
  .quotes-row > .quote { scroll-snap-align: start; }
}
.quotes-row:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }

/* ---------- product tiles ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.grid li { display: flex; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } }
@media (min-width: 60rem) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.tile { position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); color: inherit; text-decoration: none; }
.tile:hover { border-color: var(--lilac); color: inherit; }
.tile-photo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss-2); }
.tile-letter { font: italic 400 4.5rem/1 var(--display); color: var(--lilac); opacity: 0.5; }
.tile-art svg { width: 4.75rem; height: 4.75rem; color: var(--lilac); opacity: 0.8; }
.gallery-empty .tile-art svg { width: 8rem; height: 8rem; }
.tile-body { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; padding: 0.8rem 0.85rem 0.9rem; }
.tile-name { font: 400 1.15rem/1.2 var(--display); }
.tile-meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.2rem 0.6rem; }
.tile-price { font: 700 1.05rem/1.2 var(--body); color: var(--lilac); }
.status { font-size: 0.82rem; color: var(--mist); white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.4rem; border-radius: 50%; background: var(--lilac); vertical-align: 0.08em; }
.status.is-gone::before { background: transparent; box-shadow: inset 0 0 0 1px var(--mist); }
.tile.is-gone .tile-photo img { filter: grayscale(0.85) brightness(0.75); }
.tile.is-gone .tile-price { color: var(--mist); }
/* one small star in the corner of the photo when a tile is pressed or hovered */
.tile::after {
  content: ""; position: absolute; top: 0.6rem; right: 0.6rem; width: 1.15rem; height: 1.15rem; background: var(--bone); opacity: 0; transform: scale(0.3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 7.6 16.4 11.1 24 12 16.4 12.9 12.9 16.4 12 24 11.1 16.4 7.6 12.9 0 12 7.6 11.1 11.1 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 7.6 16.4 11.1 24 12 16.4 12.9 12.9 16.4 12 24 11.1 16.4 7.6 12.9 0 12 7.6 11.1 11.1 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tile:hover::after, .tile:focus-visible::after, .tile:active::after { animation: twinkle 1.1s ease-in-out 1; }

.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 1.5rem; }
.tabs a { padding: 0.5rem 1rem; border: 1px solid var(--edge); border-radius: 999px; text-decoration: none; font-size: 0.95rem; }
.tabs a:hover { border-color: var(--bone); color: var(--bone); }
.tabs a[aria-current] { background: var(--lilac); border-color: var(--lilac); color: var(--night); font-weight: 700; }

/* ---------- product page ---------- */
.crumb { margin: 1.25rem 0 0; font-size: 0.95rem; color: var(--mist); }
.product { display: grid; gap: 1.5rem; padding: 1.25rem 0 3rem; }
@media (min-width: 52rem) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; } }
.gallery-main { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); }
.gallery-main img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.gallery-empty { display: grid; place-items: center; aspect-ratio: 1; }
.gallery-empty .tile-letter { font-size: 8rem; }
.thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 0; padding: 0; }
.thumb { position: relative; width: 3.6rem; height: 3.6rem; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--moss); cursor: pointer; }
.thumb.is-on { outline: 3px solid var(--lilac); outline-offset: 1px; }
.product-info h1 { font-size: clamp(2rem, 8vw, 3rem); }
.price { margin: 0.6rem 0 0.2rem; font: 700 1.4rem/1.2 var(--body); color: var(--lilac); }
.product-info > .status { display: block; margin: 0 0 1rem; font-size: 0.9rem; }
.note { margin: 1.1rem 0 0; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--moss); color: var(--bone); }
.qty { display: inline-flex; overflow: hidden; border: 1px solid var(--edge); border-radius: 999px; background: var(--moss); }
.qty button { width: 3rem; min-height: 3rem; border: 0; background: none; color: inherit; font: 400 1.3rem/1 var(--body); cursor: pointer; }
.qty button:hover { background: var(--moss-2); }
.qty input { width: 3rem; min-height: 3rem; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.buy-total { margin: 0.75rem 0 0; color: var(--mist); }
.buy-total:empty { display: none; }
.gone-box { margin-top: 1.25rem; padding: 1rem 1.1rem; border: 1px dashed var(--edge); border-radius: var(--r); background: var(--moss); }
.gone-box p:first-child { margin-bottom: 0; }

/* ---------- ticket stub ---------- */
.ticket { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); }
.ticket + .ticket { margin-top: 1.25rem; }
.ticket-stub { grid-row: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.25rem; padding: 1.2rem 0.4rem 1rem; border-right: 2px dashed var(--edge); text-align: center; }
.stub-day { font: 700 2.6rem/1 var(--body); color: var(--lilac); }
.stub-month { font-size: 0.82rem; color: var(--mist); }
.ticket-main { grid-row: 2; min-width: 0; padding: 1.1rem 1.1rem 1.3rem; }
.ticket-main h3 { font-size: 1.75rem; }
.ticket-main h3 a { text-decoration: none; }
.ticket-main .with { margin: 0.25rem 0 0.75rem; font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--mist); }
.ticket-photo { grid-column: 1 / -1; grid-row: 1; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
figcaption { font-size: 0.75rem; line-height: 1.3; }
.ticket-photo figcaption, .event-photo figcaption { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(14, 21, 18, 0.82); color: var(--bone); }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0.9rem; margin: 0.9rem 0 1.2rem; }
.facts dt { font-size: 0.85rem; line-height: 1.9; color: var(--mist); }
.facts dd { margin: 0; }
@media (min-width: 48rem) {
  .ticket { grid-template-columns: 7.5rem minmax(0, 1fr) 17rem; }
  .ticket-stub, .ticket-main { grid-row: 1; }
  .ticket-main { padding: 1.5rem 1.75rem 1.75rem; }
  .ticket-photo { grid-column: 3; aspect-ratio: auto; border-bottom: 0; border-left: 1px solid var(--line); }
  .stub-day { font-size: 3.25rem; }
}

/* ---------- event page ---------- */
.event { display: grid; gap: 1.5rem; padding: 1.25rem 0 3rem; }
.event h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }
.event .with { margin: 0.3rem 0 0; font: italic 400 1.25rem/1.3 var(--display); color: var(--mist); }
.event-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); }
@media (min-width: 52rem) { .event { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; } .event-photo { aspect-ratio: 4 / 5; } }

/* ---------- festival ---------- */
.festival-band { position: relative; overflow: hidden; background: var(--deep); color: var(--bone); border-bottom: 1px solid var(--line); }
.festival-grid { position: relative; z-index: 1; display: grid; }
.festival-moon { order: -1; position: relative; height: 11rem; margin: 0 -1.25rem; overflow: hidden; }
.festival-moon::after { content: ""; position: absolute; inset: 0; background: var(--amethyst); opacity: 0.32; }
.festival-copy { padding: 2rem 0 2.5rem; }
.festival-copy h1, .festival-copy h2 { font-size: clamp(2.1rem, 8.5vw, 3.4rem); }
.festival-dates { margin: 0.5rem 0 1rem; color: var(--lilac); }
.festival-band .small { color: #CFC6E2; }
.festival-band input[type="email"] { background: #1D1530; border-color: #6F6190; }
@media (min-width: 48rem) {
  .festival-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: stretch; }
  .festival-moon { order: 0; height: auto; min-height: 24rem; margin: 0; }
  .festival-copy { padding: 3.25rem 0 3.5rem; }
}

/* ---------- card pull ---------- */
.cards-band { position: relative; overflow: hidden; padding: 3rem 0 3.25rem; background: var(--moss); border-bottom: 1px solid var(--line); text-align: center; }
.cards-band > .wrap { position: relative; z-index: 1; }
.cards-band > .wrap > h1, .cards-band > .wrap > h2 { font-size: clamp(2rem, 8vw, 3rem); }
.cards-band .lede { margin: 0.75rem auto 0; max-width: 30rem; color: var(--mist); }
.card-table { min-height: 17rem; }
.card-back {
  background-color: #2A1F40;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 120' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23E6D4A4'%3E%3Crect x='3.5' y='3.5' width='63' height='113' rx='3' stroke-width='.45' opacity='.85'/%3E%3Crect x='6' y='6' width='58' height='108' rx='1.6' stroke-width='.25' opacity='.5'/%3E%3Ccircle cx='35' cy='60' r='22' stroke-width='.3' stroke-dasharray='.3 1.3' opacity='.75'/%3E%3Cpath d='M17 20H24.5M45.5 20H53M17 100H24.5M45.5 100H53' stroke-width='.25' opacity='.6'/%3E%3C/g%3E%3Cg fill='%23E6D4A4'%3E%3Ccircle cx='35' cy='20' r='2.4'/%3E%3Ccircle cx='35' cy='100' r='2.4'/%3E%3Cpath d='M28.6 17.9A2.1 2.1 0 0 1 28.6 22.1A1.16 2.1 0 0 0 28.6 17.9ZM41.4 17.9A2.1 2.1 0 0 0 41.4 22.1A1.16 2.1 0 0 1 41.4 17.9ZM28.6 97.9A2.1 2.1 0 0 1 28.6 102.1A1.16 2.1 0 0 0 28.6 97.9ZM41.4 97.9A2.1 2.1 0 0 0 41.4 102.1A1.16 2.1 0 0 1 41.4 97.9Z'/%3E%3Cpath opacity='.8' d='M11 9.4L11.45 10.55L12.6 11L11.45 11.45L11 12.6L10.55 11.45L9.4 11L10.55 10.55ZM59 9.4L59.45 10.55L60.6 11L59.45 11.45L59 12.6L58.55 11.45L57.4 11L58.55 10.55ZM11 107.4L11.45 108.55L12.6 109L11.45 109.45L11 110.6L10.55 109.45L9.4 109L10.55 108.55ZM59 107.4L59.45 108.55L60.6 109L59.45 109.45L59 110.6L58.55 109.45L57.4 109L58.55 108.55ZM35 32.6L35.25 33.25L35.9 33.5L35.25 33.75L35 34.4L34.75 33.75L34.1 33.5L34.75 33.25ZM35 85.6L35.25 86.25L35.9 86.5L35.25 86.75L35 87.4L34.75 86.75L34.1 86.5L34.75 86.25Z'/%3E%3C/g%3E%3C/svg%3E"),
    url("../img/card-mark.webp"),
    radial-gradient(ellipse at 50% 50%, rgba(106, 76, 147, 0.55) 0%, rgba(42, 31, 64, 0) 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath fill='%23C3ADEB' fill-opacity='.16' d='M13 9c.25 2.4 1.6 3.75 4 4-2.4.25-3.75 1.6-4 4-.25-2.4-1.6-3.75-4-4 2.4-.25 3.75-1.6 4-4z'/%3E%3C/svg%3E");
  background-size: 100% 100%, 54% auto, 100% 100%, 14px 14px;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  border: 1px solid #4E3D70;
}
.spread { position: relative; height: 15rem; max-width: 22rem; margin: 1.25rem auto 0; }
.pick { position: absolute; left: 50%; bottom: 3.5rem; width: 6.1rem; height: 10.45rem; margin-left: -3.05rem; padding: 0; border-radius: 12px; cursor: pointer; transform-origin: 50% 155%; transform: rotate(var(--a)); transition: transform 0.2s ease-out; }
.pick:hover, .pick:focus-visible { transform: rotate(var(--a)) translateY(-0.9rem); }
.spread-hint { margin: 0; color: var(--mist); }
@media (max-width: 23.5rem) {
  .spread { height: 13.4rem; }
  .pick { width: 5.25rem; height: 9rem; margin-left: -2.625rem; bottom: 3.1rem; transform-origin: 50% 150%; }
}
@media (min-width: 48rem) {
  .spread { height: 18rem; max-width: 27rem; }
  .pick { width: 7.35rem; height: 12.6rem; margin-left: -3.675rem; bottom: 4.1rem; }
}
.card-when { margin: 1.5rem 0 0; color: var(--lilac); }
/* The face-up card is as big as fits: no wider than the screen allows, and short enough that the whole card,
   with the heading above it, shows on a phone without scrolling (and on a short laptop screen). */
.reveal { width: min(15rem, 66vw); aspect-ratio: 7 / 12; margin: 1rem auto 0; perspective: 1100px; }
.reveal { width: max(9.5rem, min(15rem, 66vw, (100svh - 15rem) * 7 / 12)); }
@media (min-width: 48rem) {
  .reveal { width: 17rem; }
  .reveal { width: max(9.5rem, min(17rem, (100svh - 15rem) * 7 / 12)); }
}
/* the cards page: less space above, so the cards sit near the top */
.cards-band.is-page { padding-top: 1.5rem; }
.cards-band.is-page .card-when { margin-top: 0.6rem; }
.cards-band.is-page .lede { margin-top: 2rem; }
.reveal-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(180deg); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-open .reveal-in { transform: rotateY(0deg); }
.reveal-face, .reveal-back { position: absolute; inset: 0; border-radius: 16px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.reveal-back { transform: rotateY(180deg); }
.reveal-face {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0;
  padding: 7% 9% 8%; text-align: center; color: var(--ink);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E");
  background-size: 0.6rem 0.6rem; background-repeat: no-repeat;
  background-position: 0.75rem 0.75rem, calc(100% - 0.75rem) 0.75rem, 0.75rem calc(100% - 0.75rem), calc(100% - 0.75rem) calc(100% - 0.75rem);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(21, 33, 28, 0.6), inset 0 0 0 9px var(--paper), inset 0 0 0 9.5px rgba(21, 33, 28, 0.32);
}
.card-num { display: block; margin: 0.15rem 0 0.45rem; font: 400 1rem/1 var(--display); color: rgba(21, 33, 28, 0.78); }
.card-arch {
  position: relative; display: grid; place-items: center; flex: 1 1 auto; min-height: 0; width: 76%;
  border: 1px solid rgba(21, 33, 28, 0.5); border-radius: 999px 999px 4px 4px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 58%, rgba(201, 182, 242, 0.32), rgba(201, 182, 242, 0) 70%);
}
.card-arch::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 50% 58%, rgba(106, 76, 147, 0.2) 0deg 0.8deg, rgba(106, 76, 147, 0) 0.8deg 10deg);
  -webkit-mask-image: radial-gradient(circle at 50% 58%, rgba(0, 0, 0, 0) 18%, #000 34%, rgba(0, 0, 0, 0) 72%);
  mask-image: radial-gradient(circle at 50% 58%, rgba(0, 0, 0, 0) 18%, #000 34%, rgba(0, 0, 0, 0) 72%);
}
.card-arch::after { content: ""; position: absolute; inset: 4px; border: 0.5px solid rgba(21, 33, 28, 0.32); border-radius: 999px 999px 2px 2px; }
.reveal-face .card-arch svg { position: relative; z-index: 1; width: 56%; height: auto; aspect-ratio: 1; margin-top: 12%; color: var(--amethyst); }
.reveal-face .card-name { width: 88%; margin-top: 0.7rem; padding-top: 0.55rem; border-top: 1px solid rgba(21, 33, 28, 0.35); font-size: clamp(1.1rem, 4.7vw, 1.3rem); line-height: 1.12; text-wrap: balance; }
/* the shop's address, faint along the foot of the card, so a screenshot carries it */
.card-mark { display: block; margin: 0.45rem 0 -0.3rem; font: 700 0.6rem/1 var(--body); letter-spacing: 0.02em; color: rgba(21, 33, 28, 0.62); }
.card-msg { max-width: 22rem; margin: 1.25rem auto 0.25rem; font: italic 400 1.4rem/1.35 var(--display); color: var(--bone); }
.reading { max-width: 28rem; margin: 1.5rem auto 0; }
.reading:focus { outline: none; }
.reading p { margin-bottom: 0.75rem; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.25rem; margin-top: 1rem; }
[data-share-msg] { font-weight: 400; overflow-wrap: anywhere; }
.more-cards { margin-top: 1.75rem; }
.more-cards .small { margin: 0; }
.mini-row { display: flex; justify-content: center; gap: 0.65rem; margin-top: 0.6rem; }
.mini { width: 3.5rem; height: 6rem; padding: 0; border-radius: 9px; cursor: pointer; transition: transform 0.15s ease-out; }
.mini.card-back { background-size: 100% 100%, 58% auto, 100% 100%, 9px 9px; }
.mini:hover, .mini:focus-visible { transform: translateY(-0.35rem); }
.cards-band .signup { margin-inline: auto; text-align: left; }
.cards-foot { max-width: 30rem; margin: 2.25rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- basket ---------- */
.basket { max-width: 46rem; padding: 2rem 0 3rem; }
.basket h1 { font-size: clamp(2.3rem, 9vw, 3.5rem); margin-bottom: 1rem; }
.basket-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.basket-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.basket-line h2 { font-size: 1.35rem; }
.basket-line h2 a { text-decoration: none; }
.basket-line ul { list-style: none; margin: 0.3rem 0 0; padding: 0; font-size: 0.95rem; color: var(--mist); overflow-wrap: break-word; }
.line-price { font: 700 1.05rem/1.5 var(--body); color: var(--lilac); text-align: right; white-space: nowrap; }
.line-tools { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; }
.totals { margin: 1.25rem 0 1.5rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; }
.totals dt { font-weight: 400; }
.totals dd { margin: 0; }
.totals .grand { margin-top: 0.3rem; padding-top: 0.6rem; border-top: 1px solid var(--edge); font-size: 1.15rem; }
.totals .grand dt { font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: #0A100D; color: var(--bone); padding: 2.5rem 0 3rem; }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand img { width: 3.5rem; height: 3.5rem; }
.footer-brand strong { display: block; font: 400 1.5rem/1.1 var(--display); }
.footer-brand span { color: var(--mist); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.3rem 0; }
.site-footer h2 { font: 700 0.9rem/1.2 var(--body); margin-bottom: 0.4rem; color: var(--mist); }
.footer-end { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--mist); }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 60rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- sparkles ---------- */
.stardust { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.stardust .star { position: absolute; fill: var(--lilac); opacity: 0; transform: scale(0.3); animation: twinkle 2.6s ease-in-out infinite; will-change: transform, opacity; }
.stardust .star.alt { fill: var(--bone); }
.band-glow { position: relative; overflow: hidden; }
.band-glow > .wrap { position: relative; z-index: 1; }
.stardust > canvas { position: absolute !important; inset: 0; display: block; }
.stardust-canvas { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1) rotate(25deg); }
}
/* ---------- breadcrumbs and related items ---------- */
.crumb ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0; margin: 0; padding: 0; list-style: none; }
.crumb li { display: inline-flex; align-items: center; }
.crumb li + li::before { content: "/"; margin: 0 0.55rem; color: var(--edge); }
.crumb [aria-current] { color: var(--mist); }
.related { padding: 2.5rem 0 3rem; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 5vw, 2.1rem); }

/* ---------- candlelit hero ---------- */
/* Phones: the words, then room below them for the candles. The photo scales with the screen's
   width, so the candles need about 77% of the width below the words, plus a small gap. */
.hero-candle { padding: 2rem 0 max(19.5rem, calc(77vw + 2rem)); border-bottom: 0; }
.hero-candle .hero-bg { overflow: hidden; background: #0C0806; }
.hero-candle .hero-bg::after { display: none; }
.hero-stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 62% 70%; animation: candle-breathe 22s ease-in-out infinite alternate; }
.hero-stage picture, .hero-stage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-stage img { object-fit: cover; opacity: 1; }
.hero-stage .stardust { z-index: 2; }
.hero-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(0deg, #0E1512 0, rgba(14, 21, 18, 0) 3rem, rgba(11, 8, 6, 0) 15rem, rgba(11, 8, 6, 0.78) 22rem, rgba(11, 8, 6, 0.84) 100%); }
.hero-candle .hero-inner { z-index: 4; }
.hero-candle .hero-logo { width: 5.75rem; height: 5.75rem; margin-bottom: 0.9rem; }
.hero-candle .hero-inner { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 2px 18px rgba(0, 0, 0, 0.7); }
.hero-candle .btn { text-shadow: none; }
.hero-candle .btn-quiet { background: rgba(10, 7, 5, 0.55); border-color: rgba(239, 235, 224, 0.55); }
.flame-sprites { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.flame-sprites img { position: absolute; display: block; max-width: none; will-change: transform, filter;
  animation: flame-flare var(--d, 1.9s) ease-in-out var(--o, 0s) infinite, flame-bright var(--g, 1.1s) linear var(--o, 0s) infinite; }
/* the flame stretches up from its wick and narrows, with only the smallest sway */
@keyframes flame-flare {
  0% { transform: scale(1, 1) skewX(0deg); }
  14% { transform: scale(0.97, 1.07) skewX(-0.8deg); }
  27% { transform: scale(1.01, 0.995) skewX(0.6deg); }
  41% { transform: scale(0.955, 1.1) skewX(-0.4deg); }
  55% { transform: scale(1, 1.02) skewX(1deg); }
  68% { transform: scale(0.97, 1.06) skewX(-1deg); }
  82% { transform: scale(1.015, 0.99) skewX(0.3deg); }
  100% { transform: scale(1, 1) skewX(0deg); }
}
/* and brightens in quick, uneven pulses */
@keyframes flame-bright {
  0% { filter: brightness(1); }
  9% { filter: brightness(1.18); }
  17% { filter: brightness(1.04); }
  31% { filter: brightness(1.24); }
  44% { filter: brightness(1.08); }
  52% { filter: brightness(1.2); }
  66% { filter: brightness(1.02); }
  79% { filter: brightness(1.15); }
  100% { filter: brightness(1); }
}
.flames { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.flames-wide { display: none; }
.flame { position: absolute; width: calc(26% * var(--s, 1)); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -58%);
  background: radial-gradient(circle, rgba(255, 214, 150, 0.6) 0%, rgba(255, 176, 80, 0.26) 30%, rgba(255, 140, 40, 0.08) 52%, rgba(255, 140, 40, 0) 68%);
  animation: flicker var(--d, 2.6s) linear var(--o, 0s) infinite; }
.hero-moon { margin: 0.7rem 0 0; font-size: 0.95rem; }
.hero-moon a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--bone); }
.hero-moon a:hover { color: var(--lilac); }
.hero-moon .moon-img { flex: none; filter: drop-shadow(0 0 4px rgba(255, 244, 214, 0.45)); }
@keyframes flicker {
  0% { opacity: 0.78; transform: translate(-50%, -58%) scale(1); }
  9% { opacity: 0.96; transform: translate(-50%, -60%) scale(1.07); }
  17% { opacity: 0.7; transform: translate(-50%, -57%) scale(0.97); }
  29% { opacity: 0.9; transform: translate(-50%, -59%) scale(1.03); }
  41% { opacity: 0.64; transform: translate(-50%, -57%) scale(0.95); }
  53% { opacity: 1; transform: translate(-50%, -61%) scale(1.09); }
  66% { opacity: 0.8; transform: translate(-50%, -58%) scale(1); }
  79% { opacity: 0.93; transform: translate(-50%, -59%) scale(1.04); }
  89% { opacity: 0.68; transform: translate(-50%, -57%) scale(0.96); }
  100% { opacity: 0.78; transform: translate(-50%, -58%) scale(1); }
}
@keyframes candle-breathe { from { transform: scale(1); } to { transform: scale(1.045); } }
@media (min-width: 48rem) {
  .hero-candle { display: flex; align-items: center; min-height: clamp(34rem, 80vh, 46rem); padding: 3.5rem 0; text-align: left; }
  .hero-candle .hero-inner { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 18px rgba(0, 0, 0, 0.5); }
  .hero-candle .hero-inner > * { max-width: 33rem; }
  .hero-candle .hero-logo { margin: 0 0 1.1rem; width: 6.5rem; height: 6.5rem; }
  .hero-candle .tagline { margin-left: 0; }
  .hero-candle .actions { justify-content: flex-start; }
  .hero-shade { background: linear-gradient(90deg, rgba(10, 7, 5, 0.9) 0%, rgba(10, 7, 5, 0.72) 32%, rgba(10, 7, 5, 0.18) 55%, rgba(10, 7, 5, 0) 66%),
    linear-gradient(180deg, rgba(14, 21, 18, 0) 82%, #0E1512 100%); }
  .flames-tall { display: none; }
  .flames-wide { display: block; }
  .flame { width: calc(12% * var(--s, 1)); }
}

/* ---------- the moon ---------- */
.moon-sky { position: relative; overflow: hidden; color: var(--bone); border-bottom: 1px solid var(--line);
  --sky-top: #070C1C; --sky-bottom: #17213F; --glow: 200, 214, 255;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%); }
.moon-sky[data-phase="new"] { --sky-top: #04060D; --sky-bottom: #0B1021; --glow: 150, 165, 205; }
.moon-sky[data-phase="full"] { --sky-top: #0D1631; --sky-bottom: #29365F; --glow: 255, 244, 214; }
.moon-sky[data-phase="waning"] { --sky-top: #080920; --sky-bottom: #1F1C46; --glow: 186, 192, 255; }
.moon-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 110% 65% at 50% 0%, rgba(var(--glow), calc(var(--lit, 0.5) * 0.2)) 0%, rgba(var(--glow), 0) 72%); }
.moon-beam { position: absolute; top: 0; bottom: 0; left: 50%; width: 52%; transform: translateX(-50%); pointer-events: none; opacity: var(--beam, 0);
  background: linear-gradient(180deg, rgba(var(--glow), 0) 6%, rgba(var(--glow), 0.13) 40%, rgba(var(--glow), 0) 92%); filter: blur(22px); transition: opacity 0.6s ease; }
.moon-sky .stardust { transition: opacity 0.3s ease; }
.stardust.glow-swap { opacity: 0; }
.moon-sky-full .moon-layout { position: relative; z-index: 1; display: grid; grid-template-areas: "intro" "panel" "signup"; gap: 2rem; padding: 2.5rem 0 3rem; }
.moon-intro { grid-area: intro; }
.moon-intro h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); }
.moon-panel { grid-area: panel; text-align: center; }
.moon-signup { grid-area: signup; }
.moon-sky .festival-dates { color: #C9D4F5; }
.moon-sky .small { color: #C3CBE3; }
.moon-sky input[type="email"] { background: #0C1226; border-color: #56628C; }
.moon-when { margin: 0; color: #C3CBE3; font-size: 0.95rem; }
.moon-disc { position: relative; width: 13.75rem; max-width: 70%; margin: 1.25rem auto 1rem; }
.moon-disc::before { content: ""; position: absolute; inset: -55%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--glow), calc(0.06 + var(--lit, 0.5) * 0.3)) 0%, rgba(var(--glow), calc(var(--lit, 0.5) * 0.1)) 32%, rgba(var(--glow), 0) 62%); }
.moon-img { border-radius: 50%; }
.moon-disc .moon-svg { position: relative; display: block; width: 100%; height: auto;
  filter: drop-shadow(0 0 calc(3px + var(--lit, 0.5) * 20px) rgba(var(--glow), calc(0.2 + var(--lit, 0.5) * 0.45))); }
.moon-sky[data-phase="full"] .moon-disc::before { animation: moon-pulse 7s ease-in-out infinite; }
@keyframes moon-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: 0.8; } }
.moon-name { margin: 0; font-size: clamp(1.9rem, 7vw, 2.6rem); }
.moon-lit { margin: 0.3rem 0 0; color: #C9D4F5; }
.moon-next { list-style: none; max-width: 30rem; margin: 0.9rem auto 0; padding: 0; color: #DCE1F0; font-size: 0.98rem; }
.moon-next li + li { margin-top: 0.3rem; }
.moon-next strong { color: #FFF4DA; font-weight: 700; }
.moon-path { margin-top: 2rem; }
.moon-path-label { display: block; font: 400 1.45rem/1.2 var(--display); }
.moon-path-hint { margin: 0.3rem auto 0; max-width: 26rem; }
.moon-strip { position: relative; height: 1.75rem; margin: 1rem 12px 0; }
.moon-dot { position: absolute; top: 0; left: calc(var(--i) * 100%); transform: translateX(-50%); width: 1.4rem; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0.7; transition: opacity 0.2s, transform 0.2s; }
.moon-dot .moon-img { display: block; width: 100%; height: auto; }
.moon-dot.is-on { opacity: 1; transform: translateX(-50%) scale(1.3); }
.moon-dot.is-on .moon-img { filter: drop-shadow(0 0 5px rgba(255, 244, 214, 0.8)); }
@media (max-width: 40rem) { .moon-dot:nth-child(even):not(.is-on) { display: none; } }
.moon-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 2.75rem; margin: 0.15rem 0 0; background: transparent; cursor: pointer; }
.moon-range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: rgba(220, 228, 255, 0.45); }
.moon-range::-moz-range-track { height: 2px; border-radius: 2px; background: rgba(220, 228, 255, 0.45); }
.moon-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -11px; border: 0; border-radius: 50%; background: #FFF8E6;
  box-shadow: 0 0 0 5px rgba(255, 248, 230, 0.16), 0 0 20px 5px rgba(255, 238, 196, 0.55); }
.moon-range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #FFF8E6;
  box-shadow: 0 0 0 5px rgba(255, 248, 230, 0.16), 0 0 20px 5px rgba(255, 238, 196, 0.55); }
.moon-range:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; border-radius: 10px; }
.moon-ticks { position: relative; height: 2.4rem; margin: 0 12px; }
.moon-tick { position: absolute; top: 0; left: calc(var(--at) * 100%); transform: translateX(-50%); color: #C3CBE3; font-size: 0.75rem; line-height: 1.2; text-align: center; white-space: nowrap; }
.moon-tick.at-start { transform: translateX(-12px); text-align: left; }
.moon-tick.at-end { transform: translateX(calc(-100% + 12px)); text-align: right; }
.moon-reset-row { min-height: 2.5rem; margin: 0.4rem 0 0; }
.btn-small { min-height: 2.5rem; padding: 0.35rem 1.1rem; font-size: 0.95rem; }
.moon-meaning { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(200, 210, 255, 0.24); border-radius: var(--r); background: rgba(6, 9, 22, 0.5); text-align: left; }
.moon-meaning h3 { font-size: 1.4rem; }
.moon-meaning p { margin: 0.5rem 0 0; }
.moon-note { margin: 0.9rem 0 0; }
.festival-night { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; color: #DCE1F0; }
.festival-night .moon-img { flex: none; }
.moon-mini { order: -1; padding: 2.25rem 0 0; text-align: center; }
.moon-mini .moon-svg { display: block; margin: 0 auto 0.9rem; filter: drop-shadow(0 0 calc(3px + var(--lit, 0.5) * 18px) rgba(var(--glow), calc(0.2 + var(--lit, 0.5) * 0.45))); }
.moon-mini p { margin: 0.25rem 0 0; }
.moon-mini-name { font-size: 1.05rem; }
.festival-band.moon-sky .festival-grid { position: relative; z-index: 1; }
@media (min-width: 48rem) {
  .moon-mini { order: 0; align-self: center; padding: 3rem 0; }
}
@media (min-width: 60rem) {
  .moon-sky-full .moon-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "intro panel" "signup panel"; grid-template-rows: auto 1fr; column-gap: 4rem; row-gap: 1.5rem; padding: 4rem 0 4.5rem; }
  .moon-beam { left: 72%; width: 34%; }
  .moon-disc { width: 16rem; }
}

@media (prefers-reduced-motion: reduce) {
  .stardust .star { animation: none; opacity: 0.6; transform: none; }
  .flame { animation: none; opacity: 0.8; }
  .flame-sprites img { animation: none; }
  .hero-stage { animation: none; }
  .moon-sky[data-phase="full"] .moon-disc::before { animation: none; }
  .moon-dot, .moon-beam, .moon-sky .stardust { transition: none; }
  .tile:hover::after, .tile:focus-visible::after, .tile:active::after { animation: none; }
  .reveal-in, .pick, .mini { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- real photos: festival grid, About, workshops ---------- */
.festival-photos h2 { margin-top: 0; font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
.festival-photos .lede { color: var(--mist); margin-bottom: 1.5rem; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.5rem; grid-auto-flow: dense; gap: 0.5rem; }
@media (min-width: 48rem) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 12.5rem; gap: 0.65rem; } }
.mosaic .m-wide { grid-column: span 2; }
.mosaic .m-tall { grid-row: span 2; }
.mosaic-btn { display: block; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--moss); cursor: zoom-in; }
.mosaic-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; filter: saturate(0.92) brightness(0.94); }
.mosaic-btn:hover img, .mosaic-btn:focus-visible img { transform: scale(1.03); filter: none; }
.mosaic-btn:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; }
.photo-box { width: min(64rem, 94vw); max-height: 94vh; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--night); color: var(--bone); }
.photo-box::backdrop { background: rgba(5, 9, 7, 0.86); }
.photo-box figure { margin: 0; }
.photo-box img { display: block; width: 100%; max-height: 74vh; object-fit: contain; border-radius: 8px; }
.photo-box figcaption { margin-top: 0.6rem; color: var(--mist); font-size: 0.95rem; }
.photo-box-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.photo-box-count { margin-right: auto; color: var(--mist); font-size: 0.95rem; order: -1; }
.about-photo, .stall-photo, .none-photo { margin: 0; }
.about-photo img, .stall-photo img, .none-photo img { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--r); object-fit: cover; }
.about-photo figcaption, .stall-photo figcaption, .none-photo figcaption { margin-top: 0.5rem; color: var(--mist); font-size: 0.95rem; }
.about-layout { display: grid; gap: 0 3rem; padding-top: 1.75rem; }
.about-layout .about-photo img { aspect-ratio: 4 / 5; max-height: 34rem; }
.about-layout .prose { padding-top: 1rem; }
.about-layout .banner { margin: 2rem 0 0; }
@media (min-width: 52rem) { .about-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } .about-layout .about-photo { position: sticky; top: 6rem; } .about-layout .prose { padding-top: 0; } }
.about-home { display: grid; gap: 1.5rem 2.5rem; align-items: center; }
.about-home .about-photo { max-width: 22rem; }
.about-home .about-photo img { aspect-ratio: 4 / 5; }
@media (min-width: 48rem) { .about-home { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); } }
.stall-layout { display: grid; gap: 2rem 3rem; }
.stall-photo img { aspect-ratio: 3 / 2; }
@media (min-width: 52rem) { .stall-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } .stall-photo { position: sticky; top: 6rem; } }
.none-row { display: grid; gap: 1.5rem 2.5rem; }
.none-photo { max-width: 28rem; }
.none-photo img { aspect-ratio: 1; }
@media (min-width: 52rem) { .none-row { grid-template-columns: minmax(0, 36rem) minmax(0, 22rem); align-items: start; } }
@media (prefers-reduced-motion: reduce) { .mosaic-btn img { transition: none; } .mosaic-btn:hover img { transform: none; } }

/* ---------- moving between pages ---------- */
.site-header { view-transition-name: site-header; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 150ms ease-in both vt-out; }
  ::view-transition-new(root) { animation: 320ms cubic-bezier(0.2, 0.7, 0.2, 1) 40ms both vt-in; }
  ::view-transition-group(shelf-photo) { animation-duration: 440ms; animation-timing-function: cubic-bezier(0.2, 0.75, 0.15, 1); z-index: 2; }
  ::view-transition-old(shelf-photo), ::view-transition-new(shelf-photo) { height: 100%; width: 100%; object-fit: cover; overflow: clip; border-radius: 10px; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- foil on the cards ---------- */
:root { --mx: 0.5; --my: 0.5; --foil: 0.4; }
.foil-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.foil-a { stop-color: color-mix(in oklab, #6A4C93, #1F6F78 calc((var(--shine) * 0.7 + var(--mx) * 0.3) * 100%)); }
.foil-b { stop-color: color-mix(in oklab, #8A5A1C, #8E3B5E calc((1 - var(--shine)) * 70% + var(--my) * 30%)); }
.foil-c { stop-color: color-mix(in oklab, #1F6F78, #8A5A1C calc((var(--shine) * 0.7 + var(--mx) * 0.3) * 100%)); }
.reveal-face svg:not(.foil-defs) { stroke: url(#foil-ink); }
.reveal-face svg:not(.foil-defs) * { stroke: url(#foil-ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .reveal-face .card-name {
    background: linear-gradient(100deg, #6A4C93 0%, #1F6F78 25%, #8A5A1C 50%, #8E3B5E 75%, #6A4C93 100%);
    background-size: 320% 100%; background-position: calc((var(--shine) * 0.75 + var(--mx) * 0.25) * 100%) 50%;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  }
}
.reveal-face { overflow: hidden; }
.reveal-face > :not(.foil):not(.foil-defs) { position: relative; z-index: 1; }
.foil {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(118deg, #D9CCF5 0%, #C6EBEE 7%, #F6EAC4 14%, #F4CFDD 21%, #D9CCF5 28%);
  background-size: 280% 280%;
  background-position: calc((var(--shine) * 0.65 + var(--mx) * 0.35) * 100%) calc((var(--shine) * 0.4 + var(--my) * 0.6) * 100%);
  mix-blend-mode: multiply;
  opacity: calc(0.18 + var(--foil) * 0.36);
}
.foil::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(farthest-corner circle at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(0, 0, 0, 0) 30%, rgba(40, 20, 60, 0.16) 100%);
}
.card-back::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(195, 173, 235, 0) 0%, rgba(195, 173, 235, 0.42) 6%, rgba(160, 220, 230, 0.36) 10%, rgba(243, 225, 166, 0.32) 14%, rgba(195, 173, 235, 0) 21%);
  background-size: 300% 300%; background-position: calc((var(--shine) * 0.65 + var(--mx) * 0.35) * 100%) calc((var(--shine) * 0.4 + var(--my) * 0.6) * 100%);
  mix-blend-mode: color-dodge; opacity: calc(0.16 + var(--foil) * 0.4);
}
.mini { position: relative; overflow: hidden; }
.pick { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-open { transform: perspective(1000px) rotateX(calc((0.5 - var(--my)) * 14deg)) rotateY(calc((var(--mx) - 0.5) * 18deg)); }
}
@media (forced-colors: active) {
  .reveal-face .card-name { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  .card-mark { color: CanvasText; }
  .foil, .card-back::after { display: none; }
}

/* ---------- sharing a card ---------- */
.share-panel { margin: 0.5rem auto 1rem; padding: 1rem; max-width: 22rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--night); }
.share-pic { display: block; width: 100%; height: auto; border-radius: 10px; }
.share-do { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0.9rem 0 0.4rem; }
.share-panel .small { margin: 0.4rem 0 0; color: var(--mist); }
.share-wait { margin: 0; color: var(--mist); }
[data-share][aria-busy="true"] { cursor: progress; opacity: 0.75; }
.share-panel .share-pic { max-width: 13rem; margin: 0 auto; }

/* The shimmer runs by itself: the foil colours flow slowly, and every few seconds a band of
   rainbow light sweeps across each card. No tilting needed; moving a mouse or finger adds to it. */
@property --shine { syntax: "<number>"; inherits: true; initial-value: 0; }
:root { --shine: 0; }
.reveal-face::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, #D4BDFF 38%, #A9E8EE 45%, #FFE79A 52%, #FFB8D4 59%, rgba(255, 255, 255, 0) 70%);
  background-size: 260% 100%; background-position: 130% 0; background-repeat: no-repeat;
  mix-blend-mode: multiply; opacity: 0;
}
.card-back { --sweep-delay: 0s; }
.pick:nth-child(2) { --sweep-delay: 0.18s; } .pick:nth-child(3) { --sweep-delay: 0.36s; } .pick:nth-child(4) { --sweep-delay: 0.54s; } .pick:nth-child(5) { --sweep-delay: 0.72s; }
.card-back::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 32%, rgba(214, 196, 255, 0.55) 42%, rgba(178, 240, 244, 0.5) 48%, rgba(255, 236, 170, 0.45) 54%, rgba(255, 255, 255, 0) 64%);
  background-size: 260% 100%; background-position: 130% 0; background-repeat: no-repeat;
  mix-blend-mode: color-dodge; opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .card-table { animation: wts-shine 6s ease-in-out infinite alternate; }
  .reveal.is-open .reveal-face::after { animation: wts-sweep 3.8s cubic-bezier(0.45, 0, 0.2, 1) 1.1s infinite; }
  .card-back::before { animation: wts-sweep 5.4s cubic-bezier(0.45, 0, 0.2, 1) calc(0.6s + var(--sweep-delay)) infinite; }
}
@keyframes wts-shine { from { --shine: 0; } to { --shine: 1; } }
@keyframes wts-sweep {
  0% { background-position: 130% 0; opacity: 0; }
  6% { opacity: 1; }
  34% { background-position: -30% 0; opacity: 1; }
  40%, 100% { background-position: -30% 0; opacity: 0; }
}
@media (forced-colors: active) { .reveal-face::after, .card-back::before { display: none; } }

.about-lede { margin: 0 0 1.25rem; font: italic 400 1.35rem/1.35 var(--display); color: var(--lilac); }

/* ---------- home: the header floats over the candles, then fills in as you scroll ---------- */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--night); transition: opacity 0.35s ease; pointer-events: none; }
.site-header > * { position: relative; z-index: 1; }
html.on-hero .site-header { background: linear-gradient(rgba(8, 6, 5, 0.78), rgba(8, 6, 5, 0)) border-box no-repeat; border-bottom-color: transparent; transition: border-color 0.35s ease; }
html.on-hero .site-header::before { opacity: 0; }
html.on-hero.is-scrolled .site-header, html.on-hero .site-header:has(.site-nav.is-open) { border-bottom-color: var(--line); }
html.on-hero.is-scrolled .site-header::before, html.on-hero .site-header:has(.site-nav.is-open)::before { opacity: 1; }
html.on-hero .hero-candle { margin-top: calc(-1 * var(--head-h, 3.8rem)); padding-top: calc(var(--head-h, 3.8rem) + 2rem); }
@media (min-width: 48rem) { html.on-hero .hero-candle { padding-top: calc(var(--head-h, 3.8rem) + 3.5rem); } }

/* ---------- home: the emblem, and the rating and moon as two quiet chips ---------- */
.hero-candle .hero-emblem { width: 6.5rem; height: 6.5rem; margin-bottom: 1rem; filter: drop-shadow(0 0 14px rgba(230, 212, 164, 0.35)); }
@media (min-width: 48rem) { .hero-candle .hero-emblem { width: 7.25rem; height: 7.25rem; } }
.hero-candle h1 { letter-spacing: -0.01em; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-top: 1.6rem; }
@media (min-width: 48rem) { .hero-candle .hero-meta { justify-content: flex-start; } }
.hero-meta p { margin: 0; }
.hero-meta a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.35rem 0.95rem 0.35rem 0.7rem;
  border: 1px solid rgba(239, 235, 224, 0.22); border-radius: 999px; background: rgba(10, 7, 5, 0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--bone); font-size: 0.9rem; text-decoration: none; text-shadow: none; transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-meta a:hover, .hero-meta a:focus-visible { border-color: rgba(195, 173, 235, 0.7); color: var(--bone); }
.hero-meta .hero-proof svg { width: 0.95rem; height: 0.95rem; }
.hero-meta .moon-img { width: 1.3rem; height: 1.3rem; }

/* ---------- the moon page: title, the festival in brief, and a peek at the photos ---------- */
.moon-title .title-tail { display: block; font-style: italic; font-size: 0.62em; color: var(--lilac); margin-top: 0.15em; }
.fest-facts { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.1rem; margin: 0.9rem 0 1.25rem; padding: 0; color: var(--bone); font-size: 0.95rem; }
.fest-facts li { display: inline-flex; align-items: center; white-space: nowrap; }
.fest-facts li::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.45rem; background: var(--lilac); opacity: 0.85;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.fest-peek { display: none; }
@media (min-width: 52rem) {
  .moon-sky-full .moon-intro, .moon-sky-full .moon-signup { position: relative; }
  .fest-peek { display: flex; align-items: center; gap: 0; margin-top: 2.25rem; padding: 0; border: 0; background: none; color: var(--bone); font: 400 0.95rem/1.3 var(--body); text-align: left; cursor: pointer; }
  .fest-peek img { width: 4.6rem; height: 4.6rem; object-fit: cover; border-radius: 50%; border: 2px solid #1B2440; margin-right: -1rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); transition: transform 0.25s ease; }
  .fest-peek img:nth-child(2) { transform: translateY(-0.35rem); }
  .fest-peek span { margin-left: 1.75rem; text-decoration: underline; text-underline-offset: 0.2em; }
  .fest-peek:hover img { transform: translateY(-0.2rem); }
  .fest-peek:hover img:nth-child(2) { transform: translateY(-0.55rem); }
  .fest-peek:focus-visible { outline: 3px solid var(--lilac); outline-offset: 6px; border-radius: 8px; }
}
.festival-photos { scroll-margin-top: calc(var(--head-h, 3.8rem) + 1rem); }
.festival-photos:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .site-header::before, .fest-peek img { transition: none; } }

@media (min-width: 48rem) { .hero-candle .hero-inner > .hero-meta { max-width: 40rem; } }

/* ---------- the analytics question ---------- */
.consent { position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: 1rem; max-width: 26rem; padding: 1rem 1.1rem; border: 1px solid var(--edge); border-radius: var(--r); background: var(--moss); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); font-size: 0.95rem; }
.consent p { margin: 0; }
.consent-do { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem !important; }
.consent .btn { flex: 1 1 8rem; }
.consent .btn[data-consent="no"] { background: transparent; color: var(--bone); border: 1px solid var(--edge); }
.cookie-box { margin: 1rem 0 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); }
.cookie-box p { margin: 0; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }

/* ---------- scoop drops ---------- */
.drop-label { display: block; font-size: 0.85rem; color: var(--lilac); }
.drop-box { margin-top: 1.25rem; padding: 1.2rem 1.25rem 1rem; border: 1px solid rgba(195, 173, 235, 0.45); border-radius: var(--r); background: linear-gradient(160deg, rgba(106, 76, 147, 0.28), rgba(23, 33, 28, 0.6)); }
.drop-box > p { margin: 0 0 0.7rem; }
.drop-when strong { display: block; font: 400 1.6rem/1.15 var(--display); color: var(--bone); }
.drop-count { display: block; margin-top: 0.3rem; font-size: 1rem; color: var(--rose); font-variant-numeric: tabular-nums; }
.drop-help { color: var(--mist); font-size: 0.95rem; }
.drop-box .signup { margin: 0.4rem 0 0.6rem; }
.status.is-drop { color: var(--rose); }
.status.is-drop::before { background: var(--rose); }
.drop-band { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(106, 76, 147, 0.32), rgba(43, 32, 67, 0.2)); }
.drop-band-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding: 1rem 0; }
.drop-band-in p { margin: 0; }
.drop-band-in .drop-label { display: inline; margin-right: 0.35rem; }
.drop-band-in > p:first-child { font: 400 1.25rem/1.25 var(--display); }
.drop-band .drop-count { margin: 0; }
.drop-band .btn { margin-left: auto; }
@media (max-width: 40rem) { .drop-band .btn { margin-left: 0; } }

/* ---------- gift ---------- */
.gift { margin: 1.25rem 0 0; padding: 0; border: 0; }
.gift-more { margin-top: 0.6rem; }
.gift-more label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.gift-more textarea { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--edge); border-radius: 10px; background: var(--night); color: var(--bone); font: inherit; }
.gift-more .small { margin-top: 0.4rem; color: var(--mist); }

/* On phones the candle photo is as wide as the screen and sits at the bottom of the top section.
   Set here as well as by the script, so the photo is the right size from the very first paint. */
@media (max-width: 47.99rem) {
  .hero-candle .hero-stage { top: auto; bottom: 0; height: auto; aspect-ratio: 1080 / 2491; }
}

/* ---------- contact ---------- */
.contact-layout { display: grid; gap: 0 3rem; }
.contact-layout select { width: 100%; min-height: 3rem; padding: 0.55rem 0.75rem; border: 1px solid var(--edge); border-radius: 10px; background: var(--night); color: var(--bone); font: inherit; }
.contact-side { padding: 0 0 3rem; }
.contact-side h2 { font-size: 1.4rem; margin: 1.5rem 0 0.4rem; }
.contact-side p { margin: 0; }
.contact-links { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.contact-links li { margin: 0.45rem 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 52rem) { .contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); align-items: start; } .contact-side { padding-top: 7.5rem; } }

/* ---------- the top of the home page on phones: calmer ---------- */
.say-short { display: none; }
@media (max-width: 30rem) {
  .hero-candle .hero-emblem { width: 4.5rem; height: 4.5rem; margin-bottom: 0.5rem; }
  .hero-candle .tagline { font-size: 1.15rem; margin-top: 0.75rem; }
  .hero-candle .actions { flex-wrap: nowrap; gap: 0.5rem; margin-top: 1.4rem; }
  .hero-candle .actions .btn { min-height: 2.9rem; padding: 0.55rem 1.05rem; font-size: 0.92rem; white-space: nowrap; }
  .hero-meta { gap: 0 1.1rem; margin-top: 0.9rem; }
  .hero-meta a { min-height: 2.75rem; padding: 0.3rem 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 0.85rem; color: var(--mist); white-space: nowrap; }
  .hero-meta a:hover, .hero-meta a:focus-visible { color: var(--bone); }
  .hero-meta .moon-img { width: 1.05rem; height: 1.05rem; }
  .hero-meta .say-long { display: none; }
  .hero-meta .say-short { display: inline; }
}

/* ---------- free postage ---------- */
.post-band { border-bottom: 1px solid var(--line); background: rgba(195, 173, 235, 0.08); }
.post-band p { display: flex; align-items: center; justify-content: center; gap: 0.55rem; margin: 0; padding: 0.7rem 0; font-size: 0.95rem; text-align: center; }
.post-band a, .post-line a { color: var(--bone); text-decoration-color: var(--lilac); text-underline-offset: 0.2em; }
.post-band svg, .post-line svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--lilac); }
.post-line { display: flex; align-items: center; gap: 0.5rem; margin: 0.6rem 0 1.1rem; font-size: 0.92rem; }
.to-free { margin: 0.6rem 0 0; color: var(--lilac); font-size: 0.92rem; text-align: right; }

/* ---------- guides ---------- */
.guides-head { padding-bottom: 1.5rem; }
.guide-list { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.guide-list.is-small { margin-bottom: 0; }
.guide-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); text-decoration: none; }
.guide-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.guide-card-text { display: block; padding: 1rem 1.1rem 1.2rem; }
.guide-card h2, .guide-card h3 { font-size: 1.45rem; margin-bottom: 0.45rem; }
.guide-card-text > span { display: block; font-size: 0.95rem; color: var(--mist); }
.guide-card:hover { border-color: var(--edge); color: inherit; }
.guide-card:hover h2, .guide-card:hover h3 { color: var(--lilac); }

.guide-top { display: grid; gap: 1.5rem; align-items: center; padding: 1.5rem 0 1rem; }
.guide-title h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.04; margin-bottom: 0.9rem; }
.guide-title .lede { font-size: 1.2rem; }
.guide-by { margin: 0; font-size: 0.9rem; color: var(--mist); }
.guide-by a { color: var(--bone); }
.guide-hero { position: relative; }
.guide-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r); }
.guide-hero figcaption { position: absolute; right: 0.6rem; bottom: 0.5rem; }
.guide-hero .credit { padding: 0.15rem 0.5rem; border-radius: 999px; background: rgba(14, 21, 18, 0.7); font-size: 0.72rem; color: var(--mist); }
.guide-hero .credit a { color: inherit; }
@media (min-width: 60rem) {
  .guide-top { grid-template-columns: minmax(0, 1fr) 27.5rem; gap: 3rem; padding-top: 2rem; }
  .guide-hero img { aspect-ratio: 4 / 5; }
}

.guide-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 3rem; border-top: 1px solid var(--line); }
.guide-body > *, .guide-top > * { min-width: 0; }
.guide-prose { max-width: 41rem; padding-top: 1.25rem; }
.guide-prose h2 { scroll-margin-top: calc(var(--head-h, 3.8rem) + 1rem); font-size: clamp(1.7rem, 5vw, 2.1rem); margin: 2.6rem 0 0.7rem; }
.guide-prose h3 { font-size: 1.35rem; margin: 1.6rem 0 0.5rem; }
.guide-prose ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.guide-prose ol li { margin: 0.55rem 0; padding-left: 0.25rem; }
.guide-prose ol li::marker { font-family: var(--display); color: var(--lilac); }
.guide-prose strong { color: #fff; }
.guide-prose a { color: var(--bone); text-decoration-color: var(--lilac); }
.guide-toc { align-self: start; padding: 1.25rem 0 0.5rem; }
.guide-toc h2 { font: 700 0.9rem/1.3 var(--body); color: var(--mist); margin-bottom: 0.5rem; }
.guide-toc ol { margin: 0; padding-left: 1.3rem; font-size: 0.95rem; }
.guide-toc li { margin: 0.3rem 0; }
.guide-toc li::marker { color: var(--edge); }
.guide-toc a { text-decoration: none; color: var(--mist); }
.guide-toc a:hover { color: var(--lilac); }
@media (max-width: 59.99rem) {
  .guide-toc { padding: 1rem 1.1rem; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); }
}
@media (min-width: 60rem) {
  .guide-body { grid-template-columns: 14rem minmax(0, 1fr); }
  .guide-toc { position: sticky; top: calc(var(--head-h, 3.8rem) + 1rem); padding-top: 2.4rem; }
}

.guide-photo { margin: 1.6rem 0; }
.guide-photo img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.guide-photo figcaption { margin-top: 0.5rem; font-size: 0.875rem; color: var(--mist); }
.guide-photo .credit { margin-left: 0.3rem; opacity: 0.8; }
.guide-photo .credit a { color: inherit; }
.guide-note { margin: 1.4rem 0; padding: 0.9rem 1.1rem; border-left: 3px solid var(--lilac); border-radius: 0 12px 12px 0; background: var(--moss); }
.guide-note p { margin: 0; font-size: 0.95rem; }

.guide-shelf { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 1.5rem; padding: 0.7rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); text-decoration: none; }
.guide-shelf img { flex: none; width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: 10px; }
.guide-shelf > span { display: flex; flex-direction: column; gap: 0.15rem; }
.guide-shelf strong { font: 400 1.35rem/1.15 var(--display); color: var(--bone); }
.guide-shelf .guide-shelf-k { font-size: 0.82rem; color: var(--lilac); }
.guide-shelf span span:last-child { font-size: 0.92rem; color: var(--mist); }
.guide-shelf:hover { border-color: var(--lilac); }
.guide-prose .guide-shelf { text-decoration: none; }

.guide-link { display: flex; align-items: center; gap: 0.5rem; margin: 0.4rem 0 1rem; }
.guide-link svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--lilac); }
.guide-link a { text-decoration-color: var(--lilac); }
.guide-more .head-row { margin-top: 0; }
.guide-more.band { border-bottom: 0; border-top: 1px solid var(--line); margin-top: 1rem; }

/* the full moon calendar */
.moon-answer { display: flex; align-items: center; gap: 1.1rem; margin: 0.5rem 0 1.5rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(195, 173, 235, 0.35); border-radius: var(--r);
  background: radial-gradient(120% 140% at 0% 50%, rgba(255, 240, 194, 0.12), transparent 55%), var(--deep); }
.moon-answer img { flex: none; width: 5.5rem; height: 5.5rem; border-radius: 50%; box-shadow: 0 0 2.5rem rgba(255, 240, 194, 0.35); }
.moon-answer-a { margin: 0 0 0.3rem; font: 400 1.3rem/1.3 var(--display); }
.moon-answer-a strong { font-weight: 400; color: #FFF4DA; }
.moon-answer .drop-count, .moon-answer .small { margin: 0; }
@media (max-width: 30rem) { .moon-answer { align-items: flex-start; } .moon-answer img { width: 3.75rem; height: 3.75rem; } .moon-answer-a { font-size: 1.15rem; } }
.table-wrap { overflow-x: auto; margin: 0.5rem 0 0.5rem; }
.moon-table { width: 100%; min-width: 19rem; border-collapse: collapse; table-layout: fixed; font-size: 0.98rem; }
.moon-table th:first-child { width: 44%; }
.moon-table th:nth-child(2) { width: 24%; }
.moon-table caption { text-align: left; font-size: 0.85rem; color: var(--mist); padding-bottom: 0.5rem; }
.moon-table th { text-align: left; font-weight: 700; font-size: 0.85rem; color: var(--mist); padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--edge); }
.moon-table td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.moon-table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.moon-table tr.is-past td { color: var(--mist); }
.moon-table tr.is-next td { background: rgba(195, 173, 235, 0.1); }
.moon-table tr.is-next td:first-child { box-shadow: inset 3px 0 0 var(--lilac); }
.moon-soon { display: table; margin: 0.2rem 0 0; padding: 0 0.45rem; border-radius: 999px; background: var(--lilac); color: var(--night); font-size: 0.75rem; font-weight: 700; vertical-align: 0.1em; }
.moon-note { display: block; font-size: 0.82rem; color: var(--lilac); }
.moon-ics { margin: 0.6rem 0 0; }
/* the Wheel of the Year guide: the next festival, and the year's eight in a table */
.fest-mark { flex: none; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; border: 1px solid rgba(230, 212, 164, 0.5); color: #E6D4A4; background: radial-gradient(circle, rgba(230, 212, 164, 0.16), rgba(230, 212, 164, 0) 70%); }
.fest-mark svg { width: 2.6rem; height: 2.6rem; }
@media (max-width: 30rem) { .fest-mark { width: 3.75rem; height: 3.75rem; } .fest-mark svg { width: 1.8rem; height: 1.8rem; } }
.wheel-table th:first-child { width: 33%; }
.wheel-table th:nth-child(2) { width: 31%; }
.wheel-table td:nth-child(2) { white-space: normal; font-weight: 700; }
.guide-tonight .moon-mini { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; align-items: center; margin: 0.5rem 0 1rem; padding: 0; text-align: left; }
.guide-tonight .moon-mini .moon-svg { grid-row: 1 / span 3; width: 6rem; height: 6rem; margin: 0; }
.guide-tonight .moon-mini p { margin: 0.15rem 0; }

/* "What goes in" on a scoop, chest or vault page: drawn like one of the shop's cards,
   with a wax seal for the promise */
.inside {
  position: relative; margin: 2.25rem 0 1.75rem; padding: 1.6rem 1.5rem 1.5rem; border-radius: 16px;
  color: var(--ink); background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%2315211C' fill-opacity='.55' d='M5 1l.9 3.1L9 5l-3.1.9L5 9l-.9-3.1L1 5l3.1-.9z'/%3E%3C/svg%3E");
  background-size: 0.6rem 0.6rem; background-repeat: no-repeat;
  background-position: 0.75rem 0.75rem, calc(100% - 0.75rem) 0.75rem, 0.75rem calc(100% - 0.75rem), calc(100% - 0.75rem) calc(100% - 0.75rem);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgba(21, 33, 28, 0.6), inset 0 0 0 9px var(--paper), inset 0 0 0 9.5px rgba(21, 33, 28, 0.32);
}
.inside h2 { color: var(--ink); font-size: 1.65rem; margin: 0.2rem 0 0.55rem; }
.inside-always { margin: 0 0 1rem; font: italic 400 1.2rem/1.4 var(--display); color: rgba(21, 33, 28, 0.88); }
.inside-label { clear: both; margin: 0 0 0.75rem; padding-top: 0.85rem; border-top: 1px solid rgba(21, 33, 28, 0.3); font-size: 0.95rem; color: rgba(21, 33, 28, 0.75); }
.inside-from { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1rem; }
.inside-from li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.98rem; line-height: 1.2; }
.inside-from svg { flex: none; width: 2rem; height: 2rem; color: var(--amethyst); }
.seal {
  /* floats, so the heading and first lines wrap round it and nothing runs underneath */
  float: right; position: relative; width: 5.6rem; height: 5.6rem; margin: -2.75rem -0.6rem 0.5rem 0.9rem; shape-outside: circle(50%);
  display: grid; place-items: center; text-align: center; color: var(--paper);
  transform: rotate(-9deg); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-wax { fill: var(--amethyst); }
.seal-ring { fill: none; stroke: rgba(247, 246, 241, 0.5); stroke-width: 1.2; stroke-dasharray: 2.2 2.4; }
.seal-text { position: relative; display: block; line-height: 1.05; }
.seal-small { display: block; font-size: 0.74rem; }
.seal-big { display: block; margin: 0.05rem 0; font: 400 1.65rem/1 var(--display); }
@media (min-width: 48rem) { .inside-from { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inside-steps { list-style: none; margin: 0.25rem 0 0; padding: 0; counter-reset: step; display: grid; gap: 0.85rem; clear: both; }
.inside-steps li { counter-increment: step; display: grid; grid-template-columns: 1.1rem 1.8rem 1fr; align-items: center; gap: 0.6rem; line-height: 1.4; }
.inside-steps li::before { content: counter(step); font: 400 1.5rem/1 var(--display); color: rgba(21, 33, 28, 0.55); text-align: center; }
.inside-steps svg { width: 1.8rem; height: 1.8rem; color: var(--amethyst); }
@media (forced-colors: active) { .seal-wax { fill: CanvasText; } .seal { color: Canvas; } }


/* hints and (optional) in the order form */
.field .hint { margin: -0.1rem 0 0.5rem; font-size: 0.9rem; line-height: 1.45; color: var(--mist); }
.optional { font-weight: 400; color: var(--mist); }


/* embers rising from a candle photo (a product with glow: "candle") */
.gallery-main.has-glow { position: relative; }
/* The main product photo sits in a frame of its own shape, so flames laid over it stay on their wicks. */
.photo-stage { position: relative; display: block; }
.photo-stage.has-flames { margin: 0 auto; width: min(100%, calc(78vh * var(--pw) / var(--ph))); }
.gallery-main .photo-stage.has-flames img#gallery-img { display: block; width: 100%; height: auto; max-height: none; }
.photo-stage .flame-sprites, .photo-stage .flames, .tile-photo .flame-sprites, .tile-photo .flames { display: block; }
.photo-stage .flame-sprites img, .tile-photo .flame-sprites img { width: auto; height: auto; max-height: none; object-fit: fill; border: 0; border-radius: 0; }
.photo-fx { position: absolute; inset: 0; pointer-events: none; }
.gallery-main.has-glow .stardust { z-index: 1; }

/* ---------- the timing chooser (cord cutting): three cards in a little night sky ---------- */
.timing { margin: 1.5rem 0 0; padding: 0; border: 0; min-width: 0; }
.timing-sky {
  position: relative; overflow: hidden; padding: 1rem 0.7rem 0.95rem;
  border: 1px solid rgba(230, 212, 164, 0.3); border-bottom: 0; border-radius: var(--r) var(--r) 0 0;
  background: radial-gradient(130% 120% at 50% -10%, #3B2B5E 0%, #22183A 55%, #140F1C 100%);
}
.sky-stars svg { position: absolute; width: 8px; height: 8px; fill: #EFEBE0; opacity: 0.2; animation: skyTwinkle 3.8s ease-in-out infinite; }
.sky-stars svg:nth-child(3n) { fill: var(--lilac); width: 6px; height: 6px; }
@keyframes skyTwinkle { 0%, 100% { opacity: 0.12; transform: scale(0.7); } 50% { opacity: 0.9; transform: scale(1.15); } }
.when-cards { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); grid-template-rows: repeat(6, auto); gap: 0.55rem; }
.when-card {
  position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0.3rem; -webkit-tap-highlight-color: transparent;
  justify-items: center; text-align: center; padding: 0.8rem 0.35rem 0.75rem; cursor: pointer;
  border: 1px solid rgba(239, 235, 224, 0.16); border-radius: 14px; background: rgba(14, 10, 22, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.when-card input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.when-moon { width: 3.6rem; height: 3.6rem; margin-bottom: 0.2rem; }
.when-moon img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.when-name { align-self: center; font: 400 1.18rem/1.12 var(--display); color: var(--bone); }
.when-price { font-weight: 600; font-size: 0.98rem; color: var(--bone); }
.when-price em { font-style: normal; font-weight: 400; font-size: 0.8rem; color: var(--mist); }
.when-date { align-self: start; font-size: 0.82rem; line-height: 1.3; color: var(--mist); }
.when-pips { display: inline-flex; gap: 2px; min-height: 0.62rem; }
.when-pips svg { width: 0.62rem; height: 0.62rem; fill: #E6D4A4; filter: drop-shadow(0 0 3px rgba(230, 212, 164, 0.55)); }
.when-pips svg.taken { fill: none; stroke: rgba(230, 212, 164, 0.55); stroke-width: 1.6; filter: none; }
.when-left { font-size: 0.74rem; line-height: 1.2; color: #E6D4A4; }
.when-left > span { display: block; }
.when-closing { margin-top: 0.2rem; font-weight: 600; color: #EBC6BE; }
.info-closing { color: var(--bone) !important; }
.info-closing.is-soon { color: #EBC6BE !important; }
.when-card.is-moon { border-color: rgba(230, 212, 164, 0.42); }
.when-card.is-moon .when-price { color: #E6D4A4; }
.when-card:hover { border-color: rgba(230, 212, 164, 0.75); }
.opt.extra { -webkit-tap-highlight-color: transparent; }
.when-card:has(input:checked) {
  border-color: var(--lilac); background: rgba(44, 34, 64, 0.9); transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--lilac), 0 10px 24px rgba(0, 0, 0, 0.35);
}
/* full moon chosen: silver-gold moonlight */
.when-full:has(input:checked) { border-color: #F4EAD0; background: rgba(74, 62, 98, 0.92); box-shadow: 0 0 0 1px #F4EAD0, 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 34px rgba(255, 244, 214, 0.34); }
.when-full:has(input:checked) .when-moon img { box-shadow: 0 0 24px 8px rgba(255, 246, 220, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.4); }
/* dark moon chosen: deep violet, the moon's rim lit like an eclipse */
.when-dark:has(input:checked) { border-color: #B99DF2; background: rgba(18, 12, 34, 0.96); box-shadow: 0 0 0 1px #B99DF2, 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 34px rgba(150, 108, 232, 0.42); }
.when-dark:has(input:checked) .when-moon img { box-shadow: 0 0 0 1.5px rgba(214, 196, 255, 0.95), 0 0 22px 7px rgba(150, 108, 232, 0.55); }
/* the sky answers the choice: moonlight washes the stars out; a dark moon lets them shine */
.timing-sky::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; }
.timing:has(.when-full input:checked) .timing-sky::after { opacity: 1; background: radial-gradient(90% 70% at 50% 0%, rgba(255, 240, 205, 0.16), transparent 70%); }
.timing:has(.when-dark input:checked) .timing-sky::after { opacity: 1; background: radial-gradient(120% 100% at 50% 100%, rgba(6, 3, 14, 0.55), transparent 75%); }
.timing:has(.when-full input:checked) .sky-stars svg { opacity: 0.08; animation-play-state: paused; }
.timing:has(.when-dark input:checked) .sky-stars svg { animation-duration: 2.4s; fill: #F4EEFF; }
/* the moment of choosing */
.when-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: visible; }
.when-fx i { position: absolute; left: var(--cx); top: var(--cy); display: block; }
.fx-full .bloom { width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 228, 0.9) 0%, rgba(255, 236, 190, 0.35) 45%, transparent 70%); animation: fxBloom 1.1s ease-out forwards; }
@keyframes fxBloom { 0% { transform: scale(0.6); opacity: 0.95; } 100% { transform: scale(2.6); opacity: 0; } }
.fx-full .mote { width: 0; height: 0; animation: fxFly 1.3s cubic-bezier(0.2, 0.7, 0.3, 1) var(--t) forwards; opacity: 0; }
.fx-full .mote svg { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; fill: #FFF1C9; filter: drop-shadow(0 0 4px rgba(255, 236, 180, 0.9)); transform: scale(var(--s)); }
@keyframes fxFly { 0% { opacity: 1; transform: rotate(var(--a)) translateX(calc(var(--r) * 0.6)); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateX(calc(var(--r) + var(--d))); } }
.fx-dark .corona { width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(226, 212, 255, 0.95), 0 0 18px 6px rgba(160, 120, 240, 0.8), 0 0 40px 12px rgba(110, 70, 210, 0.45); animation: fxCorona 1.4s ease-out forwards; }
@keyframes fxCorona { 0% { transform: scale(0.85); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.fx-dark .diamond { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 10px 5px rgba(230, 220, 255, 0.95), 0 0 24px 10px rgba(170, 140, 255, 0.6);
  transform: rotate(-40deg) translateX(var(--r)); animation: fxDiamond 0.9s ease-out forwards; }
@keyframes fxDiamond { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.fx-dark .mote { width: calc(4px * var(--s)); height: calc(4px * var(--s)); margin: -2px 0 0 -2px; border-radius: 50%; background: #C9B4FF; box-shadow: 0 0 6px rgba(170, 140, 255, 0.9);
  opacity: 0; animation: fxFall 1.7s ease-in var(--t) forwards; }
@keyframes fxFall { 0% { opacity: 0; transform: translate(var(--x0), var(--y0)); } 20% { opacity: 0.95; } 100% { opacity: 0; transform: translate(calc(var(--x0) + var(--dx)), calc(var(--y0) + var(--dy))); } }
.fx-soon .candle { width: calc(var(--r) * 2.4); height: calc(var(--r) * 2.4); margin: calc(var(--r) * -1.2) 0 0 calc(var(--r) * -1.2); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 120, 0.55) 0%, rgba(255, 160, 80, 0.18) 45%, transparent 70%); animation: fxCandle 1.2s ease-out forwards; }
@keyframes fxCandle { 0% { opacity: 0; transform: scale(0.8); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
.fx-soon .mote { width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: #FFC27A; box-shadow: 0 0 6px 2px rgba(255, 170, 80, 0.8); opacity: 0;
  animation: fxEmber 1.3s ease-out var(--t) forwards; }
@keyframes fxEmber { 0% { opacity: 0; transform: translate(var(--x0), var(--y0)); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--x0) + var(--dx)), calc(var(--y0) + var(--dy))); } }
.when-card:has(input:focus-visible) { outline: 2px solid var(--lilac); outline-offset: 3px; }
.when-card.is-off { opacity: 0.55; cursor: not-allowed; }
.when-card.is-off input { cursor: not-allowed; }
.when-card:not(.is-moon) .when-moon img { opacity: 0.8; }
.when-full .when-moon img { box-shadow: 0 0 14px 3px rgba(239, 235, 224, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.22); }
/* the dark moon: lit faintly by earthshine, with a violet rim so it reads as a moon */
.when-dark .when-moon img { filter: brightness(2) contrast(1.1) saturate(0.75); box-shadow: 0 0 0 1px rgba(195, 173, 235, 0.75), 0 0 14px 3px rgba(195, 173, 235, 0.35); }
.timing-info {
  padding: 0.95rem 1.1rem 1rem; border: 1px solid rgba(230, 212, 164, 0.3); border-top: 1px solid rgba(230, 212, 164, 0.16);
  border-radius: 0 0 var(--r) var(--r); background: #19131F;
}
.timing-info .info { display: none; }
.timing-info p { margin: 0 0 0.4rem; color: var(--mist); line-height: 1.5; }
.timing-info p:last-child { margin-bottom: 0; }
.info-title { font: 400 1.25rem/1.25 var(--display); color: var(--bone) !important; }
.info-perk { color: #E6D4A4 !important; }
.info-moonline { color: var(--bone) !important; }
.info-perk::before { content: "\2726  "; }
.info-places { display: flex; align-items: center; gap: 0.5rem; color: var(--lilac) !important; }
.timing:has(input:checked) .info-none { display: none; }
.timing:has(.t0 input:checked) .i0, .timing:has(.t1 input:checked) .i1, .timing:has(.t2 input:checked) .i2,
.timing:has(.t3 input:checked) .i3, .timing:has(.t4 input:checked) .i4, .timing:has(.t5 input:checked) .i5 { display: block; }
@media (min-width: 48rem) { .when-moon { width: 4.2rem; height: 4.2rem; } .when-name { font-size: 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .sky-stars svg { animation: none; opacity: 0.45; } .when-card { transition: none; } .when-card:has(input:checked) { transform: none; } }
@media (forced-colors: active) { .timing-sky, .timing-info, .when-card { background: Canvas; } .sky-stars { display: none; } .when-card:has(input:checked) { border: 3px solid Highlight; } }

/* ---------- extras added to a product (a ritual video, a chest with a scoop) ---------- */
.opt.extra { position: relative; display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) auto; align-items: center; gap: 0.85rem; padding: 0.9rem 1rem; border-radius: var(--r); }
/* the whole card is the tick box: the round icon gets a gold tick when it's chosen */
.opt.extra > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; appearance: none; border: 0; background: none; }
.opt.extra:has(input:focus-visible) { outline: 2px solid var(--lilac); outline-offset: 3px; }
.opt.extra:has(input:checked) { border-color: #E6D4A4; background: var(--deep); box-shadow: 0 0 0 1px #E6D4A4; }
.extra-icon { position: relative; }
.extra-tick { position: absolute; right: -0.2rem; bottom: -0.2rem; width: 1.15rem !important; height: 1.15rem !important; padding: 0.15rem; border-radius: 50%; background: #E6D4A4; fill: none; stroke: #1B1426; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(0.5); transition: opacity 0.15s ease, transform 0.15s ease; }
.opt.extra:has(input:checked) .extra-tick { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .extra-tick { transition: none; } }
.extra-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: rgba(195, 173, 235, 0.12); color: var(--lilac); }
.extra-icon svg { width: 1.45rem; height: 1.45rem; }
.extra-name { display: block; font-weight: 600; line-height: 1.3; }
.extra-blurb, .extra-free { display: block; margin-top: 0.15rem; font-size: 0.88rem; line-height: 1.4; color: var(--mist); }
.extra-free { color: #E6D4A4; }
.extra-free.is-free::before { content: "\2726  "; }
.extra-price { white-space: nowrap; font-weight: 600; color: var(--bone); }
.extra-price.is-free { padding: 0.15rem 0.6rem; border: 1px solid #E6D4A4; border-radius: 999px; color: #E6D4A4; }
.opt.extra:has(input:checked) .extra-icon { background: rgba(230, 212, 164, 0.16); color: #E6D4A4; }
/* the candle glow sits behind the moon, as a halo */
.when-moon { position: relative; z-index: 1; }
.when-fx.fx-soon { z-index: 0; }
.when-dim .when-moon img { opacity: 1 !important; filter: brightness(2) contrast(1.1) saturate(0.75); box-shadow: 0 0 0 1px rgba(195, 173, 235, 0.5); }

/* ---------- workshops page: the invitation and the Wheel of the Year ---------- */
.none-yet { position: relative; }
.none-yet h2 { margin: 0 0 0.5rem; font-size: 1.7rem; }
.none-yet.has-seal h2 { padding-right: 4.5rem; }
.none-yet .seal { position: absolute; top: -1.4rem; right: 0.9rem; float: none; margin: 0; width: 5.4rem; height: 5.4rem; shape-outside: none; }
.none-link { margin: 0.6rem 0 0; font-size: 0.95rem; }

.wheel { margin: 3.5rem 0 0; display: grid; gap: 1.4rem 3rem; }
.wheel-text h2 { margin: 0 0 0.6rem; }
.wheel-text p { margin: 0 0 0.6rem; color: var(--mist); max-width: 34rem; }
.wheel-text .wheel-now { color: var(--bone); }
.wheel-dial { position: relative; width: min(100%, 27rem); aspect-ratio: 1; margin: 0 auto; padding: 0; border: 0; min-width: 0; }
.wheel-dial .stardust { border-radius: 50%; }
.wheel-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring-outer { fill: none; stroke: rgba(230, 212, 164, 0.55); stroke-width: 1.2; }
.ring-inner { fill: rgba(43, 32, 67, 0.35); stroke: rgba(230, 212, 164, 0.22); stroke-width: 1; }
.ring-core { fill: rgba(20, 14, 30, 0.75); stroke: rgba(230, 212, 164, 0.4); stroke-width: 1; }
.spokes line { stroke: rgba(230, 212, 164, 0.18); stroke-width: 1; }
.ring-progress { fill: none; stroke: var(--lilac); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(195, 173, 235, 0.8)); }
.today-glow { fill: rgba(195, 173, 235, 0.35); animation: todayPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.today-dot { fill: #FFFFFF; filter: drop-shadow(0 0 4px #C3ADEB); }
@keyframes todayPulse { 0%, 100% { transform: scale(0.7); opacity: 0.4; } 50% { transform: scale(1.5); opacity: 1; } }
.sabbat-node {
  position: absolute; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%);
  border: 1px solid rgba(230, 212, 164, 0.5); border-radius: 50%; background: #1A1326; color: var(--lilac); cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease; -webkit-tap-highlight-color: transparent;
}
.sabbat-node svg { width: 1.45rem; height: 1.45rem; }
.sabbat-node:hover { border-color: #E6D4A4; }
.sabbat-node.is-next::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(195, 173, 235, 0.7); animation: nextRing 2.6s ease-out infinite; }
@keyframes nextRing { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
.sabbat-name { position: absolute; z-index: 1; transform: translate(-50%, -50%); font: 400 clamp(0.82rem, 3.6vw, 0.95rem)/1 var(--display); color: rgba(239, 235, 224, 0.75); white-space: nowrap; cursor: pointer; }
.wheel-info { max-width: 34rem; min-height: 9rem; padding: 1rem 1.15rem; border: 1px solid rgba(230, 212, 164, 0.3); border-radius: var(--r); background: #19131F; }
.sabbat-info { display: none; }
.sabbat-info p { margin: 0 0 0.4rem; color: var(--mist); line-height: 1.5; }
.sabbat-info p:last-child { margin-bottom: 0; }
.sabbat-say { font-style: italic; font-size: 0.92rem; }
.wheel:has(#sab-yule:checked) .sabbat-info.i0 { display: block; }
.wheel-dial:has(#sab-yule:checked) .n0 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-yule:checked) .m0 { color: #E6D4A4; }
.wheel:has(#sab-imbolc:checked) .sabbat-info.i1 { display: block; }
.wheel-dial:has(#sab-imbolc:checked) .n1 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-imbolc:checked) .m1 { color: #E6D4A4; }
.wheel:has(#sab-ostara:checked) .sabbat-info.i2 { display: block; }
.wheel-dial:has(#sab-ostara:checked) .n2 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-ostara:checked) .m2 { color: #E6D4A4; }
.wheel:has(#sab-beltane:checked) .sabbat-info.i3 { display: block; }
.wheel-dial:has(#sab-beltane:checked) .n3 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-beltane:checked) .m3 { color: #E6D4A4; }
.wheel:has(#sab-litha:checked) .sabbat-info.i4 { display: block; }
.wheel-dial:has(#sab-litha:checked) .n4 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-litha:checked) .m4 { color: #E6D4A4; }
.wheel:has(#sab-lughnasadh:checked) .sabbat-info.i5 { display: block; }
.wheel-dial:has(#sab-lughnasadh:checked) .n5 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-lughnasadh:checked) .m5 { color: #E6D4A4; }
.wheel:has(#sab-mabon:checked) .sabbat-info.i6 { display: block; }
.wheel-dial:has(#sab-mabon:checked) .n6 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-mabon:checked) .m6 { color: #E6D4A4; }
.wheel:has(#sab-samhain:checked) .sabbat-info.i7 { display: block; }
.wheel-dial:has(#sab-samhain:checked) .n7 { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.wheel-dial:has(#sab-samhain:checked) .m7 { color: #E6D4A4; }
.wheel-dial:has(input:focus-visible) .sabbat-node { transition: none; }
.wheel-dial input:focus-visible + .sabbat-node { outline: 2px solid var(--lilac); outline-offset: 3px; }
@media (min-width: 52rem) {
  .wheel { grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); grid-template-areas: "dial text" "dial info" "dial foot"; grid-template-rows: auto auto 1fr; align-items: start; }
  .wheel-dial { grid-area: dial; margin: 0; position: sticky; top: 5.5rem; } .wheel-text { grid-area: text; } .wheel-info { grid-area: info; } .wheel-foot { grid-area: foot; }
}
@media (max-width: 24rem) { .sabbat-name { font-size: 0.8rem; } .sabbat-node { width: 2.4rem; height: 2.4rem; } }
@media (prefers-reduced-motion: reduce) { .today-glow, .sabbat-node.is-next::after { animation: none; } }
@media (forced-colors: active) { .sabbat-node { border: 1px solid CanvasText; } .ring-progress { stroke: Highlight; } }
/* tonight's moon at the heart of the wheel */
.wheel-moon { position: absolute; left: 50%; top: 50%; z-index: 1; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.wheel-moon img { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 22px 6px rgba(239, 235, 224, 0.18); }
/* workshops with nothing booked: the invitation, then the wheel, then the festival photo; on wide screens the photo sits beside the invitation */
.ws-flow .wheel { margin-top: 1rem; }
@media (min-width: 52rem) {
  .ws-flow .none-yet { grid-column: 1; grid-row: 1; } .ws-flow .ws-photo { grid-column: 2; grid-row: 1; }
  .ws-flow .wheel { grid-column: 1 / -1; grid-row: 2; margin-top: 2.5rem; }
}
/* the wheel turns to bring the chosen festival to the top; the drawings stay upright */
.wheel-turn { position: absolute; inset: 0; transform: rotate(var(--turn, 0deg)); transition: transform 1.3s cubic-bezier(0.45, 0, 0.2, 1); }
.wheel-turn .sabbat-node, .wheel-turn .sabbat-name { transform: translate(-50%, -50%) rotate(calc(var(--turn, 0deg) * -1)); transition: transform 1.3s cubic-bezier(0.45, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
/* a small gold mark at the top of the wheel, where the chosen festival comes to rest */
.wheel-pointer { position: absolute; left: 50%; top: 0; z-index: 2; width: 0; height: 0; transform: translate(-50%, -2px); border: 6px solid transparent; border-top: 8px solid #E6D4A4; filter: drop-shadow(0 0 4px rgba(230, 212, 164, 0.7)); }
.season-fx { position: absolute; left: 50%; top: 8.33%; z-index: 3; width: 0; height: 0; pointer-events: none; }
.season-fx i { position: absolute; left: 0; top: 0; width: calc(5px * var(--s)); height: calc(5px * var(--s)); margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 8px 2px var(--c); opacity: 0; animation: seasonBurst 1.6s ease-out var(--t) forwards; }
.fx-mabon i, .fx-lughnasadh i { border-radius: 70% 0 70% 0; width: calc(7px * var(--s)); height: calc(5px * var(--s)); box-shadow: 0 0 5px var(--c); }
.fx-yule i { box-shadow: 0 0 6px 1px rgba(220, 232, 255, 0.9); }
.fx-litha i { width: calc(3px * var(--s)); height: calc(10px * var(--s)); border-radius: 2px; }
@keyframes seasonBurst {
  0% { opacity: 0; transform: translate(var(--x0), var(--y0)) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--x0) + var(--dx)), calc(var(--y0) + var(--dy))) rotate(var(--spin)); }
}
@media (prefers-reduced-motion: reduce) { .wheel-turn, .wheel-turn .sabbat-node, .wheel-turn .sabbat-name { transition: none; } }
.sabbat-name.is-long { font-size: clamp(0.74rem, 3.2vw, 0.92rem); letter-spacing: -0.01em; }

/* the light and dark halves of the year on the outer ring, and Bourne's daylight in the middle */
.ring-dark { fill: none; stroke: rgba(150, 120, 220, 0.75); stroke-width: 2.4; }
.ring-light { fill: none; stroke: rgba(240, 200, 110, 0.7); stroke-width: 2.4; }
.daylight { fill: rgba(240, 200, 110, 0.16); stroke: rgba(240, 200, 110, 0.55); stroke-width: 1; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(240, 200, 110, 0.35)); }
.wheel-text .wheel-light { color: #E6D4A4; }
.wheel-text .wheel-halves { font-size: 0.92rem; }
/* one festival's card: the night's moon and date, then the sun, the customs and the altar */
.sabbat-when { display: flex; align-items: center; gap: 0.75rem; margin: 0.25rem 0 0.55rem; }
.sabbat-when p { margin: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.sabbat-when strong { color: #E6D4A4; font-weight: 600; }
.sabbat-moon { flex: none; width: 2.75rem; height: 2.75rem; }
.sabbat-moon img { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 12px 2px rgba(239, 235, 224, 0.14); }
.sabbat-moonname { font-size: 0.86rem; color: var(--mist); }
.sabbat-info .sabbat-extra { color: var(--bone); }
.sabbat-sun { display: flex; gap: 0.55rem; align-items: flex-start; padding: 0.6rem 0.7rem; margin: 0.75rem 0 0.2rem !important; border-radius: calc(var(--r) * 0.6); background: rgba(240, 200, 110, 0.07); border: 1px solid rgba(240, 200, 110, 0.2); font-size: 0.92rem; }
.sabbat-sun svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.1rem; color: #F0C86E; }
.sabbat-h { font: 400 1.15rem/1.2 var(--display); color: #E6D4A4; margin: 1.1rem 0 0.45rem; }
.sabbat-ways { margin: 0; padding: 0; list-style: none; }
.sabbat-ways li { position: relative; padding-left: 1.3rem; margin: 0 0 0.4rem; color: var(--mist); line-height: 1.45; }
.sabbat-ways li::before { content: ""; position: absolute; left: 0.2rem; top: 0.5em; width: 0.45rem; height: 0.45rem; transform: rotate(45deg); background: var(--lilac); box-shadow: 0 0 6px rgba(195, 173, 235, 0.7); }
.sabbat-altar { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 0.9rem; margin: 0; align-items: baseline; }
.sabbat-altar dt { font-size: 0.86rem; color: rgba(239, 235, 224, 0.6); }
.sabbat-altar dd { margin: 0; color: var(--mist); }
.swatches { display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; }
.swatch { display: inline-flex; align-items: center; gap: 0.35rem; }
.swatch i { width: 0.95rem; height: 0.95rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(239, 235, 224, 0.35), 0 0 8px var(--c); }
.sabbat-info .sabbat-shop { display: flex; flex-direction: column; gap: 0.1rem; margin: 1rem 0 0.2rem; padding-left: 0.8rem; border-left: 2px solid var(--lilac); }
.sabbat-shop a { font-weight: 600; }
.sabbat-shop span { font-size: 0.9rem; }
.sabbat-roots, .wheel-origins { margin-top: 0.9rem; }
.sabbat-roots summary, .wheel-origins summary { cursor: pointer; color: #E6D4A4; font-weight: 600; padding: 0.35rem 0; }
.sabbat-roots p, .wheel-origins p { margin: 0.35rem 0 0; color: var(--mist); line-height: 1.5; }
.wheel-foot { max-width: 34rem; }
.wheel-cal { display: inline-flex; align-items: center; gap: 0.5rem; }
.wheel-cal svg { width: 1.2rem; height: 1.2rem; }
@media (forced-colors: active) { .ring-dark, .ring-light, .daylight { stroke: CanvasText; } .swatch i { forced-color-adjust: none; } }

/* ---------- the solstice page ---------- */
.solstice { --sol-a: #1A1A3A; --sol-b: #2B2043; --sol-sun: #F6C55C; }
.sol-summer { --sol-a: #3A2A1E; --sol-b: #5A3A26; }
.sol-hero { position: relative; overflow: hidden; padding: clamp(3rem, 10vw, 6rem) 0 clamp(2.5rem, 8vw, 4.5rem); background:
  radial-gradient(120% 80% at 50% 120%, rgba(246, 197, 92, 0.28), transparent 55%),
  linear-gradient(180deg, var(--night) 0%, var(--sol-a) 45%, var(--sol-b) 100%); border-bottom: 1px solid rgba(230, 212, 164, 0.25); }
.sol-hero::after { content: ""; position: absolute; left: 50%; bottom: -9rem; width: 18rem; height: 18rem; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, #FFF1C2 0%, #F6C55C 22%, rgba(246, 197, 92, 0.35) 42%, transparent 70%); filter: blur(2px); animation: solRise 9s ease-in-out infinite alternate; pointer-events: none; }
.sol-summer .sol-hero::after { bottom: -6rem; width: 24rem; height: 24rem; }
@keyframes solRise { from { transform: translate(-50%, 0.6rem); opacity: 0.85; } to { transform: translate(-50%, -0.4rem); opacity: 1; } }
.sol-hero-in { position: relative; z-index: 1; text-align: center; }
.sol-hero h1 { font-size: clamp(2.6rem, 11vw, 5.2rem); letter-spacing: -0.01em; }
.sol-when { margin: 0.5rem 0 1.6rem; font-size: clamp(1.05rem, 4vw, 1.3rem); color: #E6D4A4; }
.sol-when:has(+ .sol-daylight) { margin-bottom: 0.35rem; }
.sol-daylight { margin: 0 0 1.6rem; color: var(--mist); }
.sol-count { display: flex; justify-content: center; gap: clamp(0.4rem, 2.5vw, 1rem); margin: 0 auto; }
.sol-unit { display: flex; flex-direction: column; align-items: center; min-width: clamp(4.1rem, 19vw, 6.2rem); padding: 0.6rem 0.3rem 0.5rem; border: 1px solid rgba(230, 212, 164, 0.35); border-radius: var(--r); background: rgba(14, 12, 24, 0.55); backdrop-filter: blur(3px); }
.sol-unit b { font: 400 clamp(2rem, 9vw, 3.4rem)/1 var(--display); color: var(--bone); font-variant-numeric: tabular-nums; }
.sol-unit span { margin-top: 0.3rem; font-size: 0.8rem; color: var(--mist); }
.sol-count-label { margin: 0.75rem 0 1.4rem; color: #E6D4A4; font-family: var(--display); font-size: 1.25rem; font-style: italic; }
.sol-stood { font: 400 1.4rem/1.3 var(--display); color: #E6D4A4; }
.sol-hero .lede { margin: 0 auto 1.4rem; color: var(--bone); }
.sol-hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.sol-hero .btn svg { width: 1.15rem; height: 1.15rem; margin-right: 0.45rem; vertical-align: -0.2em; }
.sol-path, .sol-sect { padding-top: clamp(2.5rem, 7vw, 4rem); }
.sol-path h2, .sol-sect > h2 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); margin-bottom: 0.75rem; }
.sol-sect h3 { font-size: 1.45rem; margin: 1.8rem 0 0.6rem; color: #E6D4A4; }
.sol-path-intro, .sol-sect > p { max-width: 42rem; color: var(--mist); }
.sunpath-fig { margin: 1.2rem 0 0; padding: 0; max-width: 60rem; }
.sunpath { display: block; width: 100%; height: auto; border-radius: var(--r) var(--r) 0 0; border: 1px solid rgba(230, 212, 164, 0.25); border-bottom: 0; }
.sp-alt { stroke: rgba(239, 235, 224, 0.08); stroke-dasharray: 2 6; }
.sp-altlab { fill: rgba(239, 235, 224, 0.35); font: 400 12px var(--body); }
.sp-ref { fill: none; stroke-width: 1.5; stroke-dasharray: 3 5; }
.sp-summer { stroke: rgba(246, 197, 92, 0.55); } .sp-winter { stroke: rgba(195, 173, 235, 0.7); }
.sp-reflab { font: italic 400 15px var(--display); text-anchor: middle; }
.sp-summer-lab { fill: rgba(246, 197, 92, 0.85); } .sp-winter-lab { fill: rgba(195, 173, 235, 0.95); }
.sp-day { fill: none; stroke: #FFE7A3; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(246, 197, 92, 0.75)); }
.sp-disc { fill: #FFF6D8; }
.sp-sun { transition: transform 0.35s ease; }
.sp-halo { animation: solPulse 3.2s ease-in-out infinite; transform-origin: 0 0; }
@keyframes solPulse { 50% { transform: scale(1.15); } }
.sp-mark line { stroke: #E6D4A4; stroke-width: 1.5; }
.sp-mark text { fill: #E6D4A4; font: 600 13px var(--body); text-anchor: middle; }
.sp-ground { fill: #10160F; }
.sp-horizon { stroke: rgba(230, 212, 164, 0.6); stroke-width: 1.2; }
.sp-tick { stroke: rgba(230, 212, 164, 0.5); }
.sp-dir { fill: var(--mist); font: 600 13px var(--body); text-anchor: middle; }
.daystrip-wrap { position: relative; height: 4rem; border: 1px solid rgba(230, 212, 164, 0.25); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: #141A16; overflow: hidden; }
.daystrip { position: absolute; inset: 0; width: 100%; height: 100%; }
.strip-area { fill: rgba(246, 197, 92, 0.22); stroke: rgba(246, 197, 92, 0.6); stroke-width: 1; vector-effect: non-scaling-stroke; }
.strip-tick { stroke: rgba(239, 235, 224, 0.18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.strip-tick.is-sol { stroke: rgba(195, 173, 235, 0.7); stroke-dasharray: 3 3; }
.strip-now { stroke: #FFE7A3; stroke-width: 2; vector-effect: non-scaling-stroke; }
#sol-day { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.daystrip-wrap:has(#sol-day:focus-visible) { outline: 3px solid var(--lilac); outline-offset: 2px; }
.sol-jumps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0.6rem; }
.sol-jumps button { font: 600 0.92rem var(--body); color: var(--bone); background: transparent; border: 1px solid var(--edge); border-radius: 999px; padding: 0.45rem 0.95rem; cursor: pointer; min-height: 2.5rem; }
.sol-jumps button:hover { border-color: var(--bone); }
.sol-jumps button.is-on { background: #E6D4A4; border-color: #E6D4A4; color: var(--ink); }
.sol-read { max-width: 42rem; color: var(--mist); line-height: 1.5; min-height: 3em; }
.sol-read strong { display: block; color: var(--bone); font-weight: 600; margin-bottom: 0.15rem; }
.sol-words { margin-top: 1rem; padding-left: 0.9rem; border-left: 2px solid var(--lilac); font-family: var(--display); font-size: 1.2rem; color: var(--bone) !important; max-width: 40rem; }
.table-scroll { overflow-x: auto; margin: 0 -1rem; padding: 0 1rem; }
.sol-table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 0.98rem; }
.sol-table th, .sol-table td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--line); }
.sol-table thead th { font: 400 1.25rem var(--display); color: #E6D4A4; border-bottom-color: rgba(230, 212, 164, 0.4); }
.sol-table tbody th { font-weight: 600; color: var(--mist); font-size: 0.9rem; width: 9.5rem; }
/* the light returning (or waning), festival by festival: each bar is a day, the gold is sunrise to sunset */
.sg-intro { margin: 0.3rem 0 0; color: var(--mist); max-width: 40rem; }
.sol-gain { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 52rem) { .sol-gain { grid-template-columns: 1fr 1fr; } }
.sol-gain li { padding: 0.85rem 1rem 0.8rem; border-radius: var(--r); border: 1px solid rgba(230, 212, 164, 0.28); background: rgba(246, 197, 92, 0.05); }
.sol-gain li.is-base { border-style: dashed; background: transparent; }
.sg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sg-name, .sg-len { font: 400 1.35rem/1.15 var(--display); }
.sg-len { text-align: right; color: #F6D78A; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg-name small, .sg-len small { display: block; margin-top: 0.2rem; font: 400 0.85rem/1.3 var(--body); color: var(--mist); }
.sg-len small { color: #E6D4A4; }
.sol-gain li.is-base .sg-len small { color: var(--mist); }
.sg-bar { position: relative; display: block; height: 0.75rem; margin: 0.75rem 0 0.4rem; border-radius: 999px; background: #121733; overflow: hidden; }
.sg-bar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(239, 235, 224, 0.35); }
.sg-bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #E8873A, #F6D78A 50%, #E8873A); box-shadow: 0 0 10px rgba(246, 197, 92, 0.45); }
.sg-times { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: var(--mist); }
.sg-axis { position: relative; height: 1.2rem; margin: 0.4rem 1rem 0; font-size: 0.75rem; color: var(--mist); }
@media (min-width: 52rem) { .sg-axis { display: none; } }
.sg-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.sg-axis span:first-child { transform: none; }
.sg-axis span:last-child { transform: translateX(-100%); }
@media (forced-colors: active) { .sg-bar { border: 1px solid CanvasText; } .sg-bar i { background: Highlight; } }
.sites { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .sites { grid-template-columns: 1fr 1fr; } }
.site { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); }
.site h3 { margin: 0 0 0.2rem; color: var(--bone); font-size: 1.35rem; }
.site p { margin: 0 0 0.4rem; color: var(--mist); font-size: 0.97rem; }
.site .site-where { color: #E6D4A4; font-size: 0.9rem; }
.site-rose { flex: none; width: 4.5rem; height: 4.5rem; }
.site-ring { fill: rgba(14, 12, 24, 0.5); stroke: rgba(239, 235, 224, 0.25); }
.site-n { fill: var(--mist); font: 700 7px var(--body); text-anchor: middle; }
.site-dot { fill: var(--bone); }
.site-ray { stroke-width: 2; stroke-linecap: round; }
.site-ray.is-winter { stroke: var(--lilac); } .site-ray.is-summer { stroke: var(--sol-sun); }
.site-sun.is-winter { fill: var(--lilac); } .site-sun.is-summer { fill: var(--sol-sun); }
.sol-gather { display: flex; gap: 0.9rem; margin-top: 1.2rem; padding: 1.1rem 1.2rem; border-radius: var(--r); border: 1px solid rgba(195, 173, 235, 0.45); background: linear-gradient(135deg, rgba(43, 32, 67, 0.85), rgba(23, 33, 28, 0.9)); }
.sol-gather > svg { flex: none; width: 1.6rem; height: 1.6rem; color: #E6D4A4; margin-top: 0.15rem; }
.sol-gather h3 { margin: 0 0 0.3rem; font-size: 1.35rem; }
.sol-gather p { margin: 0 0 0.4rem; color: var(--mist); }
.sol-gather a { color: var(--lilac); }
.sol-mark-grid { display: grid; gap: 0.5rem 2.5rem; }
@media (min-width: 52rem) { .sol-mark-grid { grid-template-columns: 1fr 1fr; } }
.sol-vigil { padding-left: 0; list-style: none; counter-reset: vig; margin: 0 0 0.8rem; }
.sol-vigil li { position: relative; counter-increment: vig; padding: 0 0 0.85rem 2.6rem; color: var(--mist); line-height: 1.5; }
.sol-vigil li::before { content: counter(vig); position: absolute; left: 0; top: -0.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center;
  font: 400 1.1rem var(--display); color: var(--ink); background: radial-gradient(circle, #FFF1C2, #F6C55C); box-shadow: 0 0 10px rgba(246, 197, 92, 0.5); }
.sol-mark .sabbat-ways { margin-bottom: 0.8rem; }
.sol-altar { margin: 0.4rem 0 0.8rem; }
.sol-mark a { color: var(--lilac); }
.sol-faq details { border-bottom: 1px solid var(--line); max-width: 46rem; }
.sol-faq summary { cursor: pointer; padding: 0.95rem 0 0.95rem 1.7rem; font-weight: 600; list-style: none; position: relative; }
.sol-faq summary::-webkit-details-marker { display: none; }
.sol-faq summary::before { content: ""; position: absolute; left: 0.2rem; top: 1.35rem; width: 0.55rem; height: 0.55rem; border-right: 2px solid #E6D4A4; border-bottom: 2px solid #E6D4A4; transform: rotate(-45deg); transition: transform 0.2s ease; }
.sol-faq details[open] summary::before { transform: rotate(45deg); }
.sol-faq details p { padding-left: 1.7rem; }
.sol-faq summary:hover { color: var(--lilac); }
.sol-faq details p { color: var(--mist); margin: 0 0 1rem; }
.sol-sign { padding-bottom: 3.5rem; max-width: 34rem; }
.sabbat-info .sabbat-more { margin: 0.2rem 0 0.4rem; }
.sabbat-more a { color: var(--lilac); font-weight: 600; }
.sol-band { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(43, 32, 67, 0.6), rgba(246, 197, 92, 0.12), rgba(43, 32, 67, 0.6)); }
.sol-band p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.2rem 0.55rem; margin: 0; padding: 0.7rem 0; font-size: 0.95rem; text-align: center; }
.sol-band svg { flex: none; width: 1.25rem; height: 1.25rem; color: #F6C55C; }
.sol-band a { color: var(--bone); font-weight: 600; text-decoration-color: #F6C55C; }
.sol-band span { color: var(--mist); }
@media (prefers-reduced-motion: reduce) { .sol-hero::after, .sp-halo { animation: none; } .sp-sun { transition: none; } }
@media (forced-colors: active) { .sp-day, .sp-ref, .strip-area, .site-ray { stroke: CanvasText; } .sp-disc, .site-sun { fill: CanvasText; } #sol-day { opacity: 1; } }
.strip-months { position: absolute; inset: auto 0 0.2rem 0; height: 1rem; pointer-events: none; z-index: 1; }
.strip-months span { position: absolute; transform: translateX(-50%); font-size: 0.68rem; color: rgba(239, 235, 224, 0.55); }
.strip-hint { margin: 0.4rem 0 0; font-size: 0.88rem; color: var(--mist); max-width: 42rem; }
.sol-jumps { align-items: center; }
.sol-jumps-label { font-size: 0.88rem; color: var(--mist); margin-right: 0.15rem; }
.sol-cards { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 44rem) { .sol-cards { grid-template-columns: 1fr 1fr; } }
.sol-card { padding: 1.1rem 1.2rem 0.6rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--moss); }
.sol-card-winter { border-color: rgba(195, 173, 235, 0.4); background: linear-gradient(160deg, rgba(43, 32, 67, 0.75), var(--moss) 60%); }
.sol-card-summer { border-color: rgba(246, 197, 92, 0.4); background: linear-gradient(160deg, rgba(90, 58, 38, 0.6), var(--moss) 60%); }
.sol-sect .sol-card h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.6rem; color: var(--bone); }
.sol-card h3 svg { width: 1.5rem; height: 1.5rem; color: #E6D4A4; }
.sol-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; }
.sol-card dt, .sol-card dd { padding: 0.5rem 0; border-top: 1px solid var(--line); margin: 0; }
.sol-card dt { color: var(--mist); font-size: 0.88rem; padding-right: 1rem; }
.sol-card dd { color: var(--bone); }
/* the solstice page, shaped around Yule and Litha */
.sol-timing-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 48rem) { .sol-timing-grid { grid-template-columns: 1.5fr 1fr; align-items: stretch; } }
.sol-times { list-style: none; margin: 0; padding: 0.4rem 1.1rem; border-radius: var(--r); border: 1px solid rgba(230, 212, 164, 0.3); background: linear-gradient(160deg, rgba(43, 32, 67, 0.7), var(--moss) 70%); }
.sol-times li { display: grid; grid-template-columns: 1.5rem auto 1fr; gap: 0.2rem 0.85rem; align-items: baseline; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.sol-times li:last-child { border-bottom: 0; }
.sol-times svg { width: 1.4rem; height: 1.4rem; color: #E6D4A4; align-self: center; }
.sol-t { font: 400 1.7rem/1 var(--display); color: var(--bone); min-width: 5.2rem; }
.sol-what { color: var(--bone); line-height: 1.35; }
.sol-what small { display: block; color: var(--mist); font-size: 0.86rem; margin-top: 0.15rem; }
.sol-times li.is-key .sol-t, .sol-times li.is-key svg { color: #F6D78A; }
.sol-times li.is-key .sol-t { text-shadow: 0 0 14px rgba(246, 197, 92, 0.55); }
.sol-moon { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line); background: #10131C; }
.sol-moon-pic { flex: none; width: 5rem; height: 5rem; }
.sol-moon-pic img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 22px 4px rgba(239, 235, 224, 0.15); }
.sol-moon p { margin: 0; color: var(--mist); font-size: 0.95rem; }
.sol-moon strong { display: block; color: var(--bone); font-weight: 600; margin-bottom: 0.2rem; }
.sol-timing .small { margin-top: 0.8rem; color: var(--mist); }
.sol-ritual-grid { display: grid; gap: 1.2rem 2.5rem; margin-top: 0.6rem; }
@media (min-width: 52rem) { .sol-ritual-grid { grid-template-columns: 18rem 1fr; } }
.sol-need { padding: 1rem 1.15rem; border-radius: var(--r); border: 1px dashed rgba(230, 212, 164, 0.45); align-self: start; }
.sol-sect .sol-need h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.sol-need ul { margin: 0; padding-left: 1.1rem; color: var(--mist); }
.sol-need li { margin-bottom: 0.3rem; }
.sol-ritual .sol-vigil { margin: 0; }
.sol-jodie { margin: 0.6rem 0 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--lilac); background: rgba(195, 173, 235, 0.07); border-radius: 0 var(--r) var(--r) 0; }
.sol-jodie p { font: italic 400 1.25rem/1.45 var(--display); color: var(--bone); margin: 0 0 0.5rem; }
.sol-jodie footer { color: var(--mist); font-size: 0.9rem; }
.sol-altar-list { max-width: 40rem; margin-top: 0.8rem; }
.sol-altar-list dd { color: var(--bone); }
.sol-roots { margin-top: 1rem; color: var(--mist); max-width: 42rem; font-size: 0.97rem; }
.kings-row { display: flex; gap: 1.2rem; align-items: flex-start; max-width: 46rem; }
.kings-row p { color: var(--mist); margin: 0; }
.king-mark { position: relative; flex: none; width: 4.2rem; height: 4.2rem; border-radius: 50%; border: 1px solid rgba(230, 212, 164, 0.4); background: radial-gradient(circle, rgba(43, 32, 67, 0.9), rgba(14, 18, 16, 0.9)); display: grid; place-items: center; }
.king-mark > svg { width: 2rem; height: 2rem; color: #8FC79A; }
.king-mark i { position: absolute; right: -0.35rem; bottom: -0.35rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--night); border: 1px solid rgba(230, 212, 164, 0.4); display: grid; place-items: center; }
.king-mark i svg { width: 1.15rem; height: 1.15rem; color: #E6B866; }
.sol-path .sol-chips { margin-bottom: 1.4rem; }
@media (max-width: 34rem) { .kings-row { flex-direction: column; gap: 0.8rem; } }
/* Jodie's own words and photos for the festival */
.sol-jodie-grid { display: grid; gap: 1.4rem 2.5rem; margin-top: 0.8rem; align-items: start; }
@media (min-width: 52rem) { .sol-jodie-grid { grid-template-columns: 1fr 1.15fr; } }
.sol-jodie-sect .sol-jodie { margin: 0; }
.sol-photos { margin: 0; }
.sol-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.sol-photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); border: 1px solid rgba(230, 212, 164, 0.3); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.sol-photo-row img:nth-child(2) { transform: translateY(1.2rem); }
.sol-photos figcaption { margin-top: 1.7rem; font-size: 0.9rem; color: var(--mist); }
.sol-boxes { margin-top: 1.6rem; padding: 1.2rem 1.3rem; max-width: 40rem; border-radius: var(--r); border: 1px solid rgba(246, 197, 92, 0.4); background: linear-gradient(150deg, rgba(90, 58, 38, 0.45), var(--moss) 65%); }
.sol-sect .sol-boxes h3 { margin: 0 0 0.4rem; }
.sol-boxes p { color: var(--mist); }

/* ---------- Wheel of the Year boxes ---------- */
.status.is-season::before { background: #F6C55C; box-shadow: 0 0 6px rgba(246, 197, 92, 0.7); }
.status.is-season.is-gone::before { background: transparent; box-shadow: inset 0 0 0 1px #E6D4A4; }
.inside-list { grid-template-columns: minmax(0, 1fr); margin-bottom: 1rem; }
.inside-list li { align-items: flex-start; }
.inside-list svg { width: 1.6rem; height: 1.6rem; }
.season-line { display: flex; gap: 0.5rem; align-items: flex-start; margin: -0.4rem 0 1rem; color: #E6D4A4; font-weight: 600; font-size: 0.95rem; }
.season-line svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.1rem; }
.season-read { margin: 0.6rem 0 1rem; }
.season-read a { color: var(--lilac); font-weight: 600; }
.season-promo { margin: 2.2rem 0 0; }
.season-card { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1rem; border-radius: var(--r); text-decoration: none; color: var(--bone);
  border: 1px solid rgba(246, 197, 92, 0.45); background: linear-gradient(120deg, rgba(90, 58, 38, 0.55), rgba(43, 32, 67, 0.55) 55%, var(--moss)); transition: border-color 0.2s; }
.season-card:hover { border-color: #F6C55C; }
.season-pic { flex: none; width: 4.6rem; height: 4.6rem; border-radius: calc(var(--r) * 0.7); overflow: hidden; background: #10131C; display: grid; place-items: center; }
.season-pic img { width: 100%; height: 100%; object-fit: cover; }
.season-glyph svg { width: 2.6rem; height: 2.6rem; color: #F6C55C; }
.season-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.season-k { font-size: 0.82rem; color: #F6D78A; font-weight: 600; }
.season-text strong { font: 400 1.3rem/1.15 var(--display); }
.season-text span:last-child { font-size: 0.9rem; color: var(--mist); }
.season-go { margin-left: auto; flex: none; }
.season-go svg { width: 1.3rem; height: 1.3rem; color: #F6C55C; }
.wheel-strip { margin-top: 2.5rem; }
.wheel-strip > p { color: var(--mist); max-width: 40rem; }
.wheel-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.2rem, 1fr)); gap: 0.6rem; }
.wheel-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 0.8rem 0.85rem; height: 100%; border-radius: var(--r); text-decoration: none; color: var(--bone); border: 1px solid var(--line); background: var(--moss); }
.wheel-chip svg { width: 1.6rem; height: 1.6rem; color: var(--lilac); margin-bottom: 0.2rem; }
.wheel-chip .wc-name { font: 400 1.2rem/1.1 var(--display); }
.wheel-chip .wc-when { font-size: 0.82rem; color: var(--mist); }
.wheel-chip.is-on { border-color: rgba(246, 197, 92, 0.6); background: linear-gradient(150deg, rgba(90, 58, 38, 0.6), var(--moss) 70%); box-shadow: 0 0 18px rgba(246, 197, 92, 0.15); }
.wheel-chip.is-on svg { color: #F6C55C; }
.wheel-chip.is-on .wc-when { color: #F6D78A; font-weight: 600; }
.wheel-chip:hover { border-color: var(--bone); }
.season-band .season-band-fest { color: #E6D4A4; font-weight: 400; }
.season-box .drop-label { color: #F6D78A; }
.shelf-intro { color: var(--mist); max-width: 42rem; margin: 0 0 1.2rem; }
.sabbat-box a { color: #F6D78A !important; }
.sol-buy .season-k { margin: 0 0 0.2rem; }
.sol-buy h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.7rem; }
.sol-buy-price { font: 700 1.05rem var(--body); color: var(--lilac); }
.sol-buy-list { list-style: none; margin: 0.6rem 0 0.9rem; padding: 0; display: grid; gap: 0.45rem; }
.sol-buy-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--bone); font-size: 0.96rem; }
.sol-buy-list svg { flex: none; width: 1.35rem; height: 1.35rem; color: #E6D4A4; }
.sol-buy-list li.more { color: var(--mist); }
.sol-buy .season-line { margin: 0 0 0.9rem; }
.sol-buy .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.sol-need-box { margin: 0.8rem 0 0; font-size: 0.92rem; color: var(--mist); }
.sol-need-box a { color: #F6D78A; font-weight: 600; }
.basket .season-promo { margin-top: 2rem; }
/* choosing a town for the sunrise and sunset times */
.place-btn { display: inline-flex; align-items: center; gap: 0.15em; font: inherit; color: #F6D78A; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 0.06em; text-underline-offset: 0.14em; }
.place-btn svg { width: 0.7em; height: 0.7em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.place-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.wheel-light .place-btn { font-size: 0.92rem; font-weight: 600; margin-left: 0.2rem; }
.place-panel { margin: 0.4rem 0 1.2rem; padding: 1rem 1.1rem; max-width: 30rem; border-radius: var(--r); border: 1px solid rgba(246, 197, 92, 0.45); background: #141A16; }
.place-panel label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.place-panel input { width: 100%; font: inherit; color: var(--bone); background: var(--night); border: 1px solid var(--edge); border-radius: calc(var(--r) * 0.6); padding: 0.7rem 0.8rem; }
.place-results { list-style: none; margin: 0.5rem 0 0.8rem; padding: 0; display: grid; gap: 0.3rem; }
.place-hit { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; text-align: left; font: inherit; color: var(--bone);
  background: var(--moss); border: 1px solid var(--line); border-radius: calc(var(--r) * 0.6); padding: 0.6rem 0.8rem; cursor: pointer; min-height: 2.75rem; }
.place-hit:hover, .place-hit:focus-visible { border-color: #F6C55C; }
.place-hit span { font-size: 0.82rem; color: var(--mist); }
.place-none { color: var(--mist); font-size: 0.92rem; }
.place-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0 0 0.6rem; }
.place-row .btn svg { width: 1.1rem; height: 1.1rem; margin-right: 0.4rem; vertical-align: -0.2em; }
.place-panel .small { color: var(--mist); margin: 0; }
.place-head { margin: 0.5rem 0 0.05rem; font-size: 0.8rem; font-weight: 600; color: #E6D4A4; }
.place-head:first-child { margin-top: 0; }
.place-hit:focus-visible { outline: 3px solid var(--lilac); outline-offset: 1px; }

/* ---------- the Wheel of the Year shelf ---------- */
.wb-hero { display: grid; gap: 1.6rem; align-items: center; margin: 0.5rem 0 1rem; padding: 1.6rem 1.2rem; border-radius: calc(var(--r) * 1.4); border: 1px solid rgba(230, 212, 164, 0.25);
  background: radial-gradient(90% 70% at 50% 0%, rgba(106, 76, 147, 0.4), transparent 70%), linear-gradient(180deg, #151226, var(--moss)); overflow: hidden; }
@media (min-width: 52rem) { .wb-hero { grid-template-columns: 21rem 1fr; padding: 2rem 2.2rem; gap: 2.6rem; } }
.mini-wheel { position: relative; width: min(100%, 19rem); aspect-ratio: 1; margin: 0.6rem auto; }
.mini-wheel .stardust { border-radius: 50%; }
.mw-node { text-decoration: none; }
.mw-node.is-on { border-color: #F6C55C; color: #F6D78A; background: #2A2030; box-shadow: 0 0 0 1px #F6C55C, 0 0 18px rgba(246, 197, 92, 0.6); animation: lantern 3.2s ease-in-out infinite; }
@keyframes lantern { 50% { box-shadow: 0 0 0 1px #F6C55C, 0 0 28px rgba(246, 197, 92, 0.9); } }
/* the shelf's wheel turns to the festival tapped: it wears a gold halo, its sparkle plays, and its card shows below */
.mw-node.is-chosen { border-color: #E6D4A4; background: var(--deep); color: #E6D4A4; box-shadow: 0 0 0 1px #E6D4A4, 0 0 18px rgba(230, 212, 164, 0.35); }
.mw-node.is-on.is-chosen { color: #F6D78A; box-shadow: 0 0 0 1px #F6C55C, 0 0 0 6px rgba(246, 197, 92, 0.22), 0 0 24px rgba(246, 197, 92, 0.7); }
.mw-col { min-width: 0; }
.mw-cards { width: min(100%, 24rem); margin: 0.3rem auto 0; }
.mw-card { padding: 1rem 1.1rem; border: 1px solid rgba(230, 212, 164, 0.3); border-radius: var(--r); background: rgba(25, 19, 31, 0.85); animation: mwIn 0.6s ease both; }
@keyframes mwIn { from { opacity: 0; transform: translateY(6px); } }
.mw-card-head { display: flex; align-items: center; gap: 0.8rem; }
.mw-card-head p { display: flex; flex-direction: column; margin: 0; }
.mw-card-head strong { font: 400 1.65rem/1.1 var(--display); color: var(--bone); }
.mw-also { color: var(--mist); font-size: 0.9rem; }
.mw-when { margin-top: 0.15rem; color: #E6D4A4; font-size: 0.9rem; font-weight: 600; }
.mw-card-moon { flex: none; width: 2.75rem; height: 2.75rem; }
.mw-card-moon img, .mw-card-moon svg { display: block; width: 100%; height: 100%; border-radius: 50%; }
.mw-about { margin: 0.75rem 0 0.5rem; color: var(--mist); }
.mw-card .swatches { color: var(--mist); font-size: 0.88rem; }
.mw-status { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0.75rem 0 0; font-size: 0.92rem; }
.mw-status svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: var(--lilac); }
.mw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem; margin: 0.9rem 0 0; }
.mw-ritual { color: var(--lilac); font-size: 0.92rem; }
@media (prefers-reduced-motion: reduce) { .mw-card { animation: none; } }
.wb-lede { font: 400 1.35rem/1.4 var(--display); color: var(--bone); margin: 0 0 0.9rem; }
.wb-hero .wheel-now { color: #E6D4A4; font-weight: 600; margin: 0 0 0.5rem; }
.wb-moon { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.8rem; color: var(--mist); }
.wb-moon svg { width: 1.15rem; height: 1.15rem; color: var(--lilac); }
.wb-hero .small { color: var(--mist); margin: 0; }
.wb-sect { padding-top: 2.4rem; }
.wb-sect > h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-bottom: 0.9rem; }
.wb-feature { display: grid; margin-bottom: 1.2rem; border-radius: calc(var(--r) * 1.2); overflow: hidden; border: 1px solid rgba(246, 197, 92, 0.45);
  background: linear-gradient(160deg, rgba(90, 58, 38, 0.5), rgba(43, 32, 67, 0.45) 55%, var(--moss)); box-shadow: 0 0 34px rgba(246, 197, 92, 0.08); }
@media (min-width: 52rem) { .wb-feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.wb-pic { position: relative; display: block; min-height: 15rem; background: #10131C; }
.wb-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wb-pic .tile-art, .wb-pic .tile-letter { position: absolute; inset: 0; display: grid; place-items: center; }
.wb-seal { float: none; position: absolute; right: 0.9rem; bottom: -1.4rem; margin: 0; z-index: 1; }
@media (min-width: 52rem) { .wb-seal { bottom: 0.9rem; } }
.wb-body { padding: 1.5rem 1.2rem 1.3rem; }
.wb-body .season-k { margin: 0 0 0.25rem; }
.wb-body h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.7rem; font-size: 1.7rem; margin: 0 0 0.5rem; }
.wb-body h3 a { color: var(--bone); text-decoration: none; }
.wb-about { color: var(--mist); margin: 0 0 0.7rem; }
.wb-body .swatches { margin-bottom: 0.4rem; color: var(--mist); font-size: 0.9rem; }
.wb-body .season-line { margin: 0 0 0.9rem; }
.wb-body .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.wb-turn { list-style: none; margin: 0; padding: 0 0 0 1.35rem; border-left: 1px solid rgba(230, 212, 164, 0.3); display: grid; gap: 0.8rem; }
.wb-turn li { position: relative; }
.wb-turn-card { display: flex; gap: 0.9rem; align-items: center; padding: 0.9rem 1rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--moss); text-decoration: none; color: var(--bone); }
.wb-turn-card:hover { border-color: #E6D4A4; }
.wb-dot { position: absolute; left: -2.45rem; top: 50%; transform: translateY(-50%); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--night); border: 1px solid rgba(230, 212, 164, 0.5); color: var(--lilac); }
.wb-dot svg { width: 1.2rem; height: 1.2rem; }
.wb-turn-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; flex: 1; padding-left: 0.4rem; }
.wb-turn-text strong { font: 400 1.4rem/1.1 var(--display); }
.wb-date { color: #E6D4A4; font-size: 0.9rem; }
.wb-line { color: var(--mist); font-size: 0.92rem; line-height: 1.4; }
.wb-opens { color: var(--bone); font-size: 0.88rem; margin-top: 0.15rem; }
.wb-thumb { flex: none; width: 4.6rem; height: 4.6rem; border-radius: calc(var(--r) * 0.7); overflow: hidden; }
.wb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wb-how .sol-vigil { max-width: 40rem; }
.wb-how a { color: var(--lilac); }
@media (prefers-reduced-motion: reduce) { .mw-node.is-on { animation: none; } }
.photo-note { margin: 0.6rem 0 0; color: var(--mist); font-style: italic; }

/* ---------- a page for each festival ---------- */
.fest-hero-mark { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 0.9rem; border-radius: 50%; border: 1px solid rgba(230, 212, 164, 0.5); color: #E6D4A4; background: radial-gradient(circle, rgba(230, 212, 164, 0.18), rgba(230, 212, 164, 0) 70%); }
.fest-hero-mark svg { width: 2rem; height: 2rem; }
.fest-say { margin: 0.4rem 0 0; font-size: 0.95rem; color: var(--mist); }
.fest-when { margin: 0 0 1rem; color: var(--mist); }
.fest-box-grid { display: grid; gap: 1.25rem; }
.fest-box-pic { margin: 0; }
.fest-box-pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 1px solid rgba(230, 212, 164, 0.3); }
.fest-box-pic figcaption { margin-top: 0.4rem; font-size: 0.85rem; font-style: italic; color: var(--mist); }
.fest-box-grid .sol-boxes { margin-top: 0; }
@media (min-width: 52rem) { .fest-box-grid { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); align-items: start; } .fest-box-pic img { aspect-ratio: 4 / 5; } }
.fest-turn { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 2.5rem 0 0; }
.fest-turn a { display: block; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); text-decoration: none; font: 400 1.25rem/1.2 var(--display); color: var(--bone); }
.fest-turn a:last-child { text-align: right; }
.fest-turn a:hover { border-color: #E6D4A4; }
.fest-turn small { display: block; margin-bottom: 0.2rem; font: 400 0.8rem/1.2 var(--body); color: var(--mist); }
.fest-all ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
@media (min-width: 48rem) { .fest-all ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fest-all a { display: flex; align-items: center; gap: 0.65rem; min-height: 3.4rem; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--moss); text-decoration: none; color: var(--bone); }
.fest-all a:hover { border-color: #E6D4A4; }
.fest-all a[aria-current] { border-color: #E6D4A4; background: rgba(230, 212, 164, 0.1); }
.fest-all svg { flex: none; width: 1.3rem; height: 1.3rem; color: #E6D4A4; }
.fest-all strong { display: block; font-weight: 700; font-size: 0.98rem; }
.fest-all small { display: block; font-size: 0.8rem; color: var(--mist); }
.fest-all .guide-link { margin-top: 1rem; }

/* ---------- each festival's own sky ---------- */
.has-sky .sol-hero { padding-bottom: calc(clamp(2.5rem, 8vw, 4.5rem) + 5.5rem); }
.fest-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fest-scene { position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; height: 7.5rem; }
.fest-bits { position: absolute; inset: 0; }
.fest-bits i { position: absolute; left: var(--x); top: -1.5rem; display: block; width: calc(0.4rem * var(--s)); height: calc(0.4rem * var(--s)); border-radius: 50%; background: #fff; opacity: 0.75; will-change: transform;
  animation: festFall var(--d) linear var(--o) infinite; }
@keyframes festFall { 0% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(var(--w), 28rem, 0); } 100% { transform: translate3d(0, 56rem, 0); } }
@keyframes festTumble { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(var(--w), 28rem, 0) rotate(200deg); } 100% { transform: translate3d(calc(var(--w) * -1), 56rem, 0) rotate(420deg); } }
@keyframes festRise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: 1; } 60% { transform: translate3d(var(--w), -16rem, 0); opacity: 0.8; } 100% { transform: translate3d(calc(var(--w) * 1.6), -28rem, 0); opacity: 0; } }
@keyframes festFloat { from { transform: translate3d(0, 0, 0); opacity: 0.15; } 50% { opacity: 0.95; } to { transform: translate3d(var(--w), -3rem, 0); opacity: 0.3; } }
@keyframes festBlow { 0% { transform: translate3d(-8rem, 0, 0) rotate(-8deg); opacity: 0; } 15% { opacity: 0.9; } 85% { opacity: 0.9; } 100% { transform: translate3d(16rem, -2.5rem, 0) rotate(14deg); opacity: 0; } }
@keyframes festWander { 0% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0; } 20% { opacity: 0.9; } 50% { transform: translate3d(calc(var(--w) * 2), -1.5rem, 0) scale(1.1); opacity: 0.55; } 80% { opacity: 0.9; } 100% { transform: translate3d(calc(var(--w) * -2), 1rem, 0) scale(0.9); opacity: 0; } }
@keyframes festDrift { from { transform: translate3d(-12%, 0, 0); } to { transform: translate3d(12%, 0, 0); } }
@keyframes festKindle { from { opacity: 0; } to { opacity: 1; } }
@keyframes festFlick { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(0.9, 1.12); } 60% { transform: scale(1.06, 0.94); } 80% { transform: scale(0.95, 1.08); } }
@keyframes festPulse { from { opacity: 0.55; } to { opacity: 1; } }
@keyframes festGrow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes festSway { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
@keyframes festFire { 0% { transform: scale(1, 1) skewX(0deg); } 35% { transform: scale(0.94, 1.1) skewX(-3deg); } 70% { transform: scale(1.05, 0.93) skewX(2.5deg); } 100% { transform: scale(0.97, 1.06) skewX(-1.5deg); } }
@keyframes festSpin { to { transform: rotate(360deg); } }
/* what drifts through each sky */
.fest-bits.is-petals i { width: calc(0.7rem * var(--s)); height: calc(0.45rem * var(--s)); border-radius: 80% 20% 80% 20%; background: #F7D9E3; opacity: 0.85; animation-name: festTumble; }
.fest-bits.is-petals i:nth-child(3n) { background: #FFF6D6; }
.fest-bits.is-embers i { left: calc(22% + var(--x) * 0.56); top: auto; bottom: 4.5rem; width: calc(0.26rem * var(--s)); height: calc(0.26rem * var(--s)); background: #FFC06A; box-shadow: 0 0 6px 1px rgba(255, 140, 40, 0.8); animation: festRise calc(var(--d) * 0.55) ease-out var(--o) infinite; }
.fest-bits.is-motes i { top: var(--y); width: calc(0.28rem * var(--s)); height: calc(0.28rem * var(--s)); background: #FFE39A; box-shadow: 0 0 8px 2px rgba(246, 197, 92, 0.65); animation: festFloat calc(var(--d) * 0.5) ease-in-out var(--o) infinite alternate; }
.fest-bits.is-chaff i { top: calc(42% + var(--y) * 0.45); width: calc(0.55rem * var(--s)); height: 1.5px; border-radius: 1px; background: #F3D58A; animation: festBlow var(--d) linear var(--o) infinite; }
.fest-bits.is-leaves i { width: calc(0.8rem * var(--s)); height: calc(0.8rem * var(--s)); border-radius: 0 75% 0 75%; background: #C9562B; opacity: 0.9; animation-name: festTumble; }
.fest-bits.is-leaves i:nth-child(3n) { background: #E0902E; }
.fest-bits.is-leaves i:nth-child(3n + 1) { background: #8E2C2A; }
.fest-bits.is-wisps i { top: calc(28% + var(--y) * 0.5); width: calc(1.15rem * var(--s)); height: calc(1.15rem * var(--s)); background: radial-gradient(circle, rgba(220, 255, 238, 0.95), rgba(150, 230, 200, 0.35) 45%, rgba(150, 230, 200, 0) 70%); opacity: 0;
  animation: festWander calc(var(--d) * 1.3) ease-in-out var(--o) infinite alternate; }
.fest-mist { position: absolute; left: -50%; right: -50%; bottom: 0; height: 62%; animation: festDrift 46s ease-in-out infinite alternate;
  background: radial-gradient(40% 70% at 30% 100%, rgba(196, 184, 232, 0.24), transparent 70%), radial-gradient(35% 60% at 70% 100%, rgba(196, 184, 232, 0.17), transparent 70%); }
.fest-mist.is-b { height: 40%; animation-duration: 63s; animation-direction: alternate-reverse; }
/* the scene at the foot of each sky */
.fest-scene .earth { fill: #0C0F0D; }
.fest-scene .halo { fill: rgba(255, 170, 80, 0.2); animation: festPulse 2.6s ease-in-out infinite alternate; }
.fest-scene .wax { fill: #EFE8D8; }
.fest-scene .flame { fill: #FFE2A0; transform-box: fill-box; transform-origin: 50% 100%; animation: festFlick 2.3s ease-in-out infinite; }
.fest-sky-yule .far { fill: #1D1A3A; }
.fest-sky-yule .near { fill: #0B0D1C; }
.fest-sky-imbolc .snowbank { fill: rgba(244, 241, 234, 0.16); }
.fest-sky-imbolc .halo { fill: rgba(255, 224, 160, 0.22); animation: festKindle 0.9s ease-out both, festPulse 2.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 0.45s + 0.6s), calc(var(--i) * 0.45s + 1.5s); }
.fest-sky-imbolc .flame { animation: festKindle 0.9s ease-out both, festFlick 2.3s ease-in-out infinite; animation-delay: calc(var(--i) * 0.45s + 0.6s), calc(var(--i) * -0.4s); }
.fest-sky-ostara .earth { fill: #10201A; }
.fest-sky-ostara g { transform-box: fill-box; transform-origin: 50% 100%; animation: festSway calc(4.5s + var(--i) * 0.3s) ease-in-out calc(var(--i) * -0.5s) infinite alternate; }
.fest-sky-ostara .stem { fill: none; stroke: #9CCB7A; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; animation: festGrow 1.8s ease-out both; animation-delay: calc(var(--i) * 0.22s + 0.3s); }
.fest-sky-ostara .leaf { fill: #B6DB8E; animation: festKindle 0.8s ease-out both; animation-delay: calc(var(--i) * 0.22s + 1.7s); }
.fest-sky-beltane .halo { fill: rgba(255, 130, 40, 0.2); }
.fest-sky-beltane .f { animation: festFire 1.3s ease-in-out infinite alternate; }
.fest-sky-beltane .f1 { fill: #E4572E; }
.fest-sky-beltane .f2 { fill: #FF9A3C; animation-duration: 0.95s; }
.fest-sky-beltane .f3 { fill: #FFE08A; animation-duration: 0.7s; }
.fest-sky-beltane .log { fill: none; stroke: #24150E; stroke-width: 6; stroke-linecap: round; }
.fest-sky-litha .rays { animation: festSpin 140s linear infinite; }
.fest-sky-litha .rays path { fill: none; stroke: #F6C55C; stroke-width: 3; stroke-linecap: round; opacity: 0.75; }
.fest-sky-litha .disc { fill: #FAD57A; }
.fest-sky-lughnasadh .stalk { transform-box: fill-box; transform-origin: 50% 100%; animation: festSway calc(3.2s + var(--i) * 0.35s) ease-in-out calc(var(--i) * -0.6s) infinite alternate; }
.fest-sky-lughnasadh .stem { fill: none; stroke: #C89B3C; stroke-width: 1.6; }
.fest-sky-lughnasadh .ear { fill: #E6B94E; }
.fest-sky-lughnasadh .awn { fill: none; stroke: #E6B94E; stroke-width: 1; stroke-linecap: round; }
.fest-sky-mabon .disc { fill: #EE9440; }
.fest-sky-mabon .hill { fill: #1C0F0D; }
.fest-sky-mabon .hill.far { fill: #3A1C16; }
.fest-sky-mabon .fallen.c0 { fill: #C9562B; }
.fest-sky-mabon .fallen.c1 { fill: #E0902E; }
.fest-sky-mabon .fallen.c2 { fill: #8E2C2A; }
.fest-sky-samhain .earth { fill: #07060C; }
.fest-sky-samhain .wall { fill: #0A0812; }
.fest-sky-samhain .pane { fill: #F0A24A; animation: festPulse 1.9s ease-in-out infinite alternate; }
.fest-sky-samhain .frame, .fest-sky-samhain .sill { fill: none; stroke: #0A0812; stroke-width: 3; stroke-linecap: round; }
.fest-sky-samhain .halo { fill: rgba(240, 150, 60, 0.2); }
/* the glow sits low, behind the scene, and the quiet button keeps its own dark ground over any light */
.has-sky .sol-hero::after { bottom: -11.5rem; }
.has-sky .sol-hero .btn-quiet { background: rgba(10, 8, 12, 0.6); border-color: rgba(239, 235, 224, 0.5); }
/* pages whose scene has its own light don't need the rising glow as well */
.sol-fest-imbolc .sol-hero::after, .sol-fest-beltane .sol-hero::after, .sol-fest-litha .sol-hero::after, .sol-fest-mabon .sol-hero::after, .sol-fest-samhain .sol-hero::after { display: none; }
.has-sky .sol-vigil li::before { background: var(--sol-sun); }
@media (prefers-reduced-motion: reduce) { .fest-bits, .fest-mist { display: none; } .fest-scene * { animation: none !important; } }
@media (forced-colors: active) { .fest-sky { display: none; } }

/* ---------- the order summary on the thank-you page ---------- */
.order-sum { max-width: 40rem; padding-bottom: 3rem; }
.order-sum h2 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.order-ref { font: 700 0.95rem/1.2 var(--body); letter-spacing: 0.04em; color: var(--lilac); }
.order-ref-inline { white-space: nowrap; }
.order-wait { color: var(--mist); text-align: center; }
.order-test { margin: 0 0 1rem; padding: 0.5rem 0.8rem; border-radius: var(--r); background: rgba(242, 193, 78, 0.15); color: #F2C14E; font-size: 0.92rem; }
.order-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.order-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.25rem 1rem; align-items: baseline; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.ol-name { font: 400 1.15rem/1.3 var(--display); }
.ol-name small { display: block; margin-top: 0.2rem; font: 400 0.88rem/1.4 var(--body); color: var(--mist); }
.ol-qty { color: var(--mist); white-space: nowrap; }
.ol-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-totals { margin: 0.6rem 0 1.4rem; }
.order-totals div { display: flex; justify-content: space-between; padding: 0.3rem 0; }
.order-totals dt { color: var(--mist); }
.order-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.order-totals .is-total { padding-top: 0.6rem; border-top: 1px solid var(--line); font-weight: 700; }
.order-totals .is-total dt { color: var(--bone); }
.order-more { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
@media (min-width: 36rem) { .order-more { grid-template-columns: 1fr 1fr; } }
.order-more h3 { margin: 0 0 0.3rem; font: 700 0.85rem/1.2 var(--body); color: var(--mist); }
.order-more p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
