/* Halloween collection styles, extracted from halloween.html. */
:root {
  color-scheme: dark;
  --pageBg: #0b080e;
  --surface: #140e18;
  --accent: #ff912e;
  --text: #fff5e9;
  --muted: #b8a9bc;
  --line: rgba(213, 176, 224, .13);
  --imageBg: #18121d;
  --displayFont: "Gemunu Libre", sans-serif;
  --bodyFont: "Inter", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--pageBg); color: var(--text); font-family: var(--bodyFont); font-size: .875rem; }
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 52rem; pointer-events: none; background: radial-gradient(ellipse at 76% 12%, #8b32c421, transparent 48%), radial-gradient(ellipse at 20% 10%, #ff912e0b, transparent 55%); z-index: -1; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select, a { touch-action: manipulation; }
button, a { color: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; }
::selection { background: #ff912e40; color: white; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--pageBg); }
::-webkit-scrollbar-thumb { background: #604152; border-radius: 6px; }
.wrap { width: min(1380px, 90%); margin-inline: auto; }
.siteHeader { border-bottom: 1px solid var(--line); }
.headerInner { min-height: 94px; display: flex; align-items: center; gap: 3rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand img { width: 56px; height: 62px; object-fit: contain; filter: drop-shadow(0 0 12px #ff912e35); }
.brandWords { display: grid; gap: .25rem; }
.brandWords strong { font-family: "Gloss And Bloom", var(--displayFont); font-weight: 400; font-size: 1.9rem; color: var(--accent); line-height: 1.1; }
.brandWords small { font-size: .56rem; font-weight: 700; letter-spacing: .46em; text-transform: uppercase; }
.siteNav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.siteNav a { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.siteNav a:hover, .siteNav a[aria-current] { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 44px; padding: .85rem 1.2rem; border: 1px solid #ff912e55; border-radius: 6px; background: #ff912e12; color: var(--accent); font-size: .75rem; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: #ff912e25; transform: translateY(-2px); }
.button svg, .iconButton svg { width: 18px; height: 18px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 72% 46%, #652b801a, transparent 49%), linear-gradient(110deg, #ff912e04, transparent 55%); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 76% 38%, transparent 20%, #0b080e80 80%), repeating-linear-gradient(115deg, #ff912e02 0 1px, transparent 1px 72px); pointer-events: none; }
.heroInner { min-height: 440px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; position: relative; padding-block: 3.5rem; }
.heroBrand { margin: 0 0 .35rem; color: var(--accent); font-family: "Gloss And Bloom", var(--displayFont); font-size: clamp(4.2rem, 6.3vw, 6.7rem); font-weight: 400; line-height: 1.3; text-shadow: 0 0 45px #ff912e30; }
h1 { margin: 0; font-family: var(--displayFont); font-weight: 600; font-size: clamp(2.5rem, 3.9vw, 4rem); line-height: .98; letter-spacing: .06em; text-transform: uppercase; }
h1 span { color: #b6a0bb; font-weight: 400; }
.heroDescription { max-width: 27rem; margin: 1.5rem 0 1.8rem; font-size: .82rem; line-height: 1.85; color: var(--muted); }
.heroFootnote { display: inline-flex; align-items: center; gap: .7rem; margin-left: 1.2rem; color: #ae95b1; font-size: .65rem; }
.heroFootnote::before { content: "+"; color: var(--accent); font-size: 1rem; }
.showcase { position: relative; height: 330px; isolation: isolate; }
.showcase::before { content: ""; position: absolute; width: 78%; height: 90%; left: 10%; top: 5%; border-radius: 50%; background: radial-gradient(ellipse, #ff912e22, #8c31ca14 45%, transparent 72%); }
.showcaseOrbit { position: absolute; width: 275px; height: 275px; border: 1px solid #ff912e22; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff912e12, #8c31ca08 65%, transparent 70%); box-shadow: 0 0 95px #9a35c21a; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.showcaseOrbit::before, .showcaseOrbit::after { content: ""; position: absolute; border: 1px dashed #ff912e0e; border-radius: 50%; inset: -38px; }
.showcaseOrbit::after { inset: 30px; }
.showcase img { position: absolute; object-fit: contain; filter: drop-shadow(0 24px 20px #0009); transition: transform .5s; }
.showcase .featureMain { width: 285px; height: 310px; left: calc(50% - 142px); top: -3px; z-index: 2; transform: rotate(-4deg); filter: drop-shadow(0 18px 28px #0009) drop-shadow(0 0 22px #ff912e12); }
.showcase .featureLeft { width: 160px; height: 190px; left: -1%; top: 98px; transform: rotate(-15deg); }
.showcase .featureRight { width: 190px; height: 190px; right: -1%; top: 114px; transform: rotate(12deg); }
.showcase:hover .featureMain { transform: rotate(0deg) translateY(-8px); }
.showcaseCaption { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); color: #a586a7; font-size: .55rem; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.cornerWeb { position: absolute; top: 0; width: clamp(100px, 13vw, 185px); height: auto; fill: none; stroke: #cdb2d5; stroke-width: .8; opacity: .14; pointer-events: none; z-index: 0; }
.cornerWebLeft { left: 0; transform: scaleX(-1); opacity: .08; }
.cornerWebRight { right: 0; }
.nightBats { position: absolute; width: 155px; height: 75px; top: 13px; right: 23%; fill: #a986b8; opacity: .3; pointer-events: none; }
.heroCopy { animation: enter .65s ease both; }
.showcase { animation: enter .8s .1s ease both; }
.collection { padding-top: 2.8rem; padding-bottom: 4rem; }
.collectionHeading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
h2 { font-family: var(--displayFont); text-transform: uppercase; font-size: 1.8rem; font-weight: 600; letter-spacing: .05em; margin: 0; }
.collectionHeading p { margin: 0; color: var(--muted); font-size: .7rem; }
.collectionHeading strong { color: var(--accent); font-weight: 600; }
.toolbar { position: sticky; top: 0; z-index: 5; background: #0b080ef7; padding: .9rem 0; border-block: 1px solid var(--line); }
.toolbarTop { display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.categoryFilters { display: flex; gap: .35rem; flex-wrap: wrap; }
.categoryButton { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 42px; padding: .6rem 1rem; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted); font-size: .75rem; transition: color .2s, background .2s; }
.categoryButton:hover { color: white; background: #ffffff06; }
.categoryButton[aria-pressed="true"] { border-color: #ff912e35; color: var(--accent); background: #ff912e0c; }
.categoryButton span { font-size: .6rem; opacity: .6; }
.search { display: flex; align-items: center; gap: .6rem; min-width: 15rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 5px; background: #ffffff03; color: var(--muted); }
.search svg { width: 17px; height: 17px; flex-shrink: 0; }
.search input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: white; font-size: .75rem; }
.search input::placeholder { color: #9a829e; }
.search:focus-within { border-color: var(--accent); }
.toolbarBottom { display: flex; align-items: center; gap: 1rem; justify-content: space-between; padding-top: 1rem; }
.genderFilters { display: flex; align-items: center; gap: .3rem; }
.filterLabel { font-size: .625rem; color: #9b839e; margin-right: .6rem; }
.genderButton { min-height: 40px; border: 0; background: transparent; color: #b6a4ba; padding: .55rem .75rem; border-radius: 4px; font-size: .7rem; }
.genderButton[aria-pressed="true"] { color: white; background: #ffffff09; }
.displayControls { display: flex; align-items: center; gap: .75rem; }
.sortSelect { color: #b5a2b9; border: 0; background: var(--pageBg); font-size: .7rem; min-height: 40px; padding-right: .4rem; cursor: pointer; max-width: 12rem; }
.backgroundButton { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 40px; border: 1px solid var(--line); background: #ffffff03; color: #d6c5d9; border-radius: 5px; font-size: .65rem; padding: .5rem .75rem; white-space: nowrap; }
.backgroundDot { width: 13px; height: 13px; border: 1px solid #c2a9c5; border-radius: 50%; background: linear-gradient(90deg, #e8d8cb 50%, #241729 50%); }
.resultsRow { display: flex; align-items: center; gap: 1rem; justify-content: space-between; min-height: 58px; color: #aa8fae; font-size: .65rem; }
.clearButton { border: 0; background: transparent; color: var(--accent); min-height: 40px; padding: .4rem 0; font-size: .7rem; }
.clearButton:disabled { visibility: hidden; }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.item { position: relative; width: 100%; min-width: 0; padding: 0; border: 0; text-align: left; background: transparent; animation: enter .35s ease both; }
.itemVisual { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.04; background: radial-gradient(ellipse at 50% 45%, #ffffff04, transparent 70%), var(--imageBg); border: 1px solid #ffffff08; border-radius: 7px; overflow: hidden; transition: border-color .25s, background-color .25s; }
.itemVisual::after { content: ""; position: absolute; inset: auto 16% 0; height: 1px; background: linear-gradient(90deg, transparent, #ff912e66, transparent); opacity: 0; transition: opacity .25s; }
.item:hover .itemVisual { border-color: #ff912e40; }
.item:hover .itemVisual::after { opacity: 1; }
.itemVisual img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 12px 12px #0005); transition: transform .35s; }
.item:hover img { transform: translateY(-5px) scale(1.055); }
.itemExpand { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: #ff912e15; color: var(--accent); opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .25s; }
.itemExpand svg { width: 15px; height: 15px; }
.item:hover .itemExpand, .item:focus-visible .itemExpand { opacity: 1; transform: none; }
.itemName { display: block; color: #f3e5f2; font-family: var(--displayFont); font-size: 1.15rem; font-weight: 500; line-height: 1.2; margin: .8rem .1rem .35rem; }
.itemCategory { display: block; color: #ab90b0; font-size: .6rem; margin-left: .1rem; }
.imageFallback { display: none; color: #ab90b0; font-size: .7rem; text-align: center; padding: 1rem; line-height: 1.8; }
.imageMissing img { display: none; }
.imageMissing .imageFallback { display: block; }
body.lightImages { --imageBg: #ded1c6; }
.lightImages .imageFallback { color: #60483f; }
.emptyState { text-align: center; padding: 5rem 1rem; border-block: 1px solid var(--line); }
.emptyState h3 { font-family: var(--displayFont); font-size: 1.9rem; font-weight: 500; margin: 0 0 .7rem; }
.emptyState p { color: var(--muted); line-height: 1.8; font-size: .8rem; }
[hidden] { display: none !important; }
dialog { width: min(850px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid #ff912e30; border-radius: 12px; background: var(--surface); color: var(--text); overflow: auto; box-shadow: 0 30px 120px #000a; }
dialog::backdrop { background: #08030cef; }
dialog[open] { animation: enter .2s ease both; }
.dialogTop { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem .75rem 1.5rem; border-bottom: 1px solid var(--line); }
.dialogTop span { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #b295b7; }
.iconButton { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 5px; background: #ffffff04; color: #dfcce2; }
.iconButton:hover { border-color: var(--accent); color: var(--accent); }
.dialogBody { display: grid; grid-template-columns: 1.1fr 1fr; }
.dialogVisual { position: relative; display: grid; place-items: center; background: var(--imageBg); min-height: 350px; padding: 1rem; transition: background-color .25s; }
.dialogVisual img { position: absolute; inset: 1rem; width: calc(100% - 2rem); height: calc(100% - 2rem); object-fit: contain; filter: drop-shadow(0 15px 15px #0004); }
.dialogDetails { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem; min-width: 0; }
.dialogKicker { color: var(--accent); font-size: .6rem; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 1rem; }
.dialogDetails h2 { font-size: 2.1rem; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.1; }
.dialogMeta { color: var(--muted); font-size: .75rem; line-height: 1.8; margin-bottom: .8rem; }
.availabilityTag { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.5rem; padding: .5rem .65rem; border: 1px solid #ff912e35; border-radius: 4px; background: #ff912e0c; color: #ffc28d; font-size: .65rem; line-height: 1.6; }
.availabilityTag::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.itemIdLabel { color: #aa8caf; font-size: .6rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: .6rem; }
.itemId { width: 100%; background: #0b080e70; color: #d1b6d5; border: 1px solid var(--line); border-radius: 4px; padding: .8rem; font-family: monospace; font-size: .72rem; }
.dialogActions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.dialogLink { display: inline-flex; align-items: center; min-height: 44px; color: #c9afce; font-size: .7rem; text-decoration: underline; text-underline-offset: 4px; }
.dialogBottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border-top: 1px solid var(--line); }
.dialogNavigation { display: flex; align-items: center; gap: 1rem; }
.dialogPosition { font-size: .65rem; color: #bca0c1; min-width: 4rem; text-align: center; }
.screenReader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
a.screenReader:focus { position: fixed; top: 1rem; left: 1rem; z-index: 20; width: auto; height: auto; margin: 0; padding: 1rem; clip-path: none; background: var(--surface); color: var(--accent); }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1650px) { .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .toolbarTop { flex-wrap: wrap; }
  .search { flex: 1; }
  .heroInner { min-height: 400px; }
  .showcase .featureLeft { width: 125px; left: -5%; }
  .showcase .featureRight { width: 145px; right: -5%; }
  .showcase .featureMain { width: 250px; left: calc(50% - 125px); }
  .heroFootnote { display: none; }
}
@media (max-width: 760px) {
  .headerInner { min-height: 80px; gap: 1rem; }
  .siteNav { display: none; }
  .headerInner > .button { margin-left: auto; font-size: .65rem; padding-inline: .8rem; }
  .heroInner { grid-template-columns: 1fr; gap: 0; padding-block: 2rem 1.5rem; }
  .heroCopy { position: relative; z-index: 2; }
  .heroBrand { font-size: 4.5rem; margin-top: .7rem; }
  h1 { font-size: 2.75rem; }
  .heroDescription { margin: 1.2rem 0; max-width: 24rem; }
  .showcase { height: 245px; margin-top: 1.3rem; max-width: 430px; width: 100%; justify-self: center; }
  .showcase .featureMain { width: 210px; height: 240px; left: calc(50% - 105px); top: -8px; }
  .showcase .featureLeft { left: 0; top: 45px; width: 135px; height: 165px; }
  .showcase .featureRight { right: 0; top: 70px; width: 145px; height: 165px; }
  .showcaseOrbit { width: 205px; height: 205px; }
  .showcaseCaption { bottom: 1px; }
  .collection { padding-top: 2rem; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem .75rem; }
  .categoryFilters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding: 3px; }
  .categoryButton { white-space: nowrap; padding-inline: .8rem; }
  .toolbarTop { gap: .8rem; }
  .search { width: 100%; min-width: 0; }
  .toolbarBottom { flex-wrap: wrap; gap: .4rem; padding-top: .5rem; }
  .displayControls { width: 100%; justify-content: space-between; }
  .collectionHeading { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .filterLabel { display: none; }
  .dialogBody { grid-template-columns: 1fr; }
  .dialogVisual { min-height: 0; height: min(34dvh, 320px); }
  .dialogDetails { padding: 1.4rem; }
  .dialogDetails h2 { font-size: 1.8rem; }
  .dialogKicker { margin-bottom: .6rem; }
  .dialogMeta { margin-block: .5rem 1rem; }
  .dialogBottom { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .wrap { width: 90%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .itemName { font-size: 1.1rem; }
  .brandWords strong { font-size: 1.5rem; }
  .brand img { width: 42px; height: 48px; }
  .brandWords small { font-size: .45rem; }
  .heroBrand { font-size: 4.1rem; }
  h1 { font-size: 2.4rem; }
  .itemExpand { opacity: 1; transform: none; }
  .dialogBottom > .backgroundButton { padding-inline: .5rem; font-size: .6rem; }
  .dialogNavigation { gap: .4rem; }
  .dialogPosition { min-width: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
