/* =========================================================
   AfterLife Ink — styles
   Mobile layout first (matches the phone mockup),
   desktop layout from 900px up (matches the desktop mockup).
   ========================================================= */

:root {
  --bg: #060606;
  --panel: #0e0d10;
  --stone: #17151a;
  --line: #2c2832;
  --text: #f3eff6;
  --muted: #b3acbb;
  --mag: #ff2bd6;
  --mag-deep: #b8139a;
  --grn: #39ff88;
  --cyan: #2ee6d6;
  --paper: #d9c39a;

  --f-logo: "Pirata One", "UnifrakturMaguntia", serif;
  --f-head: "Cinzel", Georgia, serif;
  --f-brush: "Permanent Marker", "Brush Script MT", cursive;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: 64px; /* room for the sticky Book Now bar on phones */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, p, figure, blockquote, ol, dl, dd { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* ---------- image placeholders (show the filename until your art is added) ---------- */
.ph { position: relative; overflow: hidden; background: #111014 var(--noise); }
.ph::before {
  content: attr(data-label);
  position: absolute; inset: 8px;
  display: grid; place-items: center; text-align: center;
  border: 1px dashed #3a3442; border-radius: inherit;
  font: 600 11px/1.3 var(--f-body); letter-spacing: .04em; color: #6f6878;
  padding: 6px;
}
.ph[data-label=""]::before { display: none; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph > img.missing { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 22px;
  font: 700 13px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: 3px; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--mag); color: #16000f;
  box-shadow: 0 0 18px rgba(255, 43, 214, .55), 0 0 40px rgba(255, 43, 214, .25);
}
.btn-primary:hover { box-shadow: 0 0 26px rgba(255, 43, 214, .8), 0 0 60px rgba(255, 43, 214, .35); }
.btn-outline {
  border-color: var(--mag); color: var(--text); background: rgba(0, 0, 0, .35);
  box-shadow: 0 0 12px rgba(255, 43, 214, .35), inset 0 0 12px rgba(255, 43, 214, .15);
}
.btn svg { width: 16px; height: 16px; }
.btn .skull-ico { width: auto; height: 22px; margin: -4px 0; }
:focus-visible { outline: 2px solid var(--grn); outline-offset: 3px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 var(--gutter);
  background: rgba(4, 4, 5, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #16141a;
}
.logo { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; }
.logo-skull { display: none; width: auto; height: 30px; align-self: center; filter: drop-shadow(0 0 6px rgba(57,255,136,.55)); }
.logo-after {
  font: 400 30px/1 var(--f-logo); color: var(--grn);
  text-shadow: 0 0 6px rgba(57, 255, 136, .8), 0 0 18px rgba(57, 255, 136, .45);
}
.logo-ink {
  font: 600 20px/1 var(--f-head); letter-spacing: .08em; color: var(--mag);
  text-shadow: 0 0 6px rgba(255, 43, 214, .8), 0 0 16px rgba(255, 43, 214, .4);
}
.nav-links, .nav-book { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 60px 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px var(--gutter);
  background: rgba(5, 5, 6, .97);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  font: 600 22px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 0; border-bottom: 1px solid #1c1a20;
}
.mobile-menu .btn { margin-top: 24px; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    radial-gradient(circle at 74% 14%, #e9e6f0 0 3.5%, rgba(220,220,255,.25) 4.5%, transparent 16%),
    radial-gradient(ellipse at 70% 60%, #2a1630 0%, #0d0b12 55%, #050506 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas: "copy sign" "ctas ctas";
  align-items: center; gap: 22px 8px;
  padding-top: 28px; padding-bottom: 30px;
}
.hero-copy { grid-area: copy; }
.hero h1 {
  font: 700 clamp(28px, 8.8vw, 60px)/1 var(--f-head);
  text-transform: uppercase; letter-spacing: .01em;
  text-shadow: 0 4px 24px #000;
}
.hero h1 span { display: inline; }
.hero h1 em { font-style: normal; }
.hero-tag {
  margin-top: 14px;
  font: 600 11px/1.6 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #ddd6e3;
}
.hero-ctas { grid-area: ctas; display: grid; gap: 12px; }
.hero-ctas .btn { width: 100%; }

/* neon sign */
.neon-sign {
  grid-area: sign; justify-self: center;
  display: flex; flex-direction: column; align-items: center;
  transform: rotate(-2deg);
}
.sign-after {
  font: 400 clamp(36px, 11vw, 120px)/.9 var(--f-logo); color: #c9ffe0;
  text-shadow:
    0 0 2px #fff, 0 0 8px var(--grn), 0 0 18px var(--grn),
    0 0 36px rgba(57, 255, 136, .8), 0 0 70px rgba(57, 255, 136, .5);
}
.sign-after b { font-weight: 400; animation: flicker 6s infinite; }
.sign-ink {
  margin-top: 6px;
  font: 700 clamp(26px, 7.5vw, 86px)/1 var(--f-head); letter-spacing: .1em; color: #ffd0f6;
  padding: 2px 14px 4px;
  border: 3px solid var(--mag); border-radius: 6px;
  text-shadow: 0 0 2px #fff, 0 0 10px var(--mag), 0 0 26px var(--mag), 0 0 50px rgba(255, 43, 214, .6);
  box-shadow: 0 0 12px var(--mag), 0 0 30px rgba(255, 43, 214, .5), inset 0 0 14px rgba(255, 43, 214, .6);
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .25; }
}

/* fog */
.fog { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fog i {
  position: absolute; bottom: -10%; left: -50%;
  width: 200%; height: 55%;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(200, 190, 220, .14), transparent 55%),
    radial-gradient(ellipse at 60% 70%, rgba(200, 190, 220, .1), transparent 50%),
    radial-gradient(ellipse at 85% 50%, rgba(255, 43, 214, .06), transparent 45%);
  filter: blur(18px);
  animation: drift 38s linear infinite;
}
.fog i:nth-child(2) { bottom: 10%; height: 40%; opacity: .7; animation-duration: 55s; animation-direction: reverse; }
.fog i:nth-child(3) { bottom: -20%; opacity: .9; animation-duration: 70s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(25%); } }
@media (prefers-reduced-motion: reduce) {
  .fog i, .sign-after b { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- SECTIONS & HEADINGS ---------- */
.section { position: relative; padding: 28px 0; isolation: isolate; }
.sec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 16px;
}
.sec-head h2 {
  font: 600 22px/1.15 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
}
.sec-skull, .sec-note { display: none; }
.see-all {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text);
}
.see-all svg { width: 14px; height: 14px; }

/* carousels & dots (phone) */
.track {
  display: grid; grid-auto-flow: column; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #4a4552; cursor: pointer; }
.dots button.on { background: var(--mag); box-shadow: 0 0 8px var(--mag); }

/* ---------- ARTISTS ---------- */
.artist-track { grid-auto-columns: 74%; }
.artist {
  position: relative;
  padding: 12px 12px 0;
  background: linear-gradient(#24212a, #121015) , var(--noise);
  background-blend-mode: overlay;
  border: 2px solid #3d3844;
  border-radius: 50% 50% 8px 8px / 15% 15% 8px 8px;
  box-shadow: inset 0 0 0 5px #0c0b0e, inset 0 0 0 7px #2b2731, 0 18px 40px rgba(0,0,0,.7);
}
.artist-photo {
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 4px 4px / 14% 14% 4px 4px;
}
.artist-photo img { filter: grayscale(1) contrast(1.08); transition: filter .4s, transform .6s; }
.artist:hover .artist-photo img { filter: grayscale(.2) contrast(1.05); transform: scale(1.03); }
.artist-info {
  position: absolute; left: 12px; right: 12px; bottom: 0; z-index: 2;
  padding: 50px 14px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.92) 55%);
}
.artist-name {
  font: 600 24px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase;
  display: inline-block; padding-bottom: 6px; border-bottom: 3px solid var(--mag);
}
.artist-style { margin-top: 10px; font: 600 12px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: #ddd6e3; }
.artist-ig { display: inline-flex; margin-top: 10px; }
.artist-ig svg { width: 22px; height: 22px; }
.artist-arrow { display: none; }

/* ---------- GALLERY ---------- */
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter); }
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; min-height: 34px; padding: 0 14px;
  font: 600 11px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: #e4dee9;
  border: 1px solid #4a4552; border-radius: 3px; cursor: pointer;
}
.pill.is-active { background: var(--mag); border-color: var(--mag); color: #16000f; box-shadow: 0 0 12px rgba(255, 43, 214, .5); }
.pill .lg { display: none; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-item { aspect-ratio: 4 / 3; border-radius: 2px; }
.g-item[hidden] { display: none; }
.gallery[data-filter="all"] .g-item:nth-child(n+9) { display: none; }
.g-item img { transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }

/* ---------- FLASH ---------- */
.flash-track { grid-auto-columns: 40%; }
.flash-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 8px 8px;
  background:
    radial-gradient(ellipse at center, #e8d6ae 0%, #cfb483 70%, #a98a5a 100%);
  border-radius: 3px;
  box-shadow: inset 0 0 18px rgba(80, 50, 20, .55), 0 10px 24px rgba(0,0,0,.6);
  color: #1d140b;
}
.flash-art { width: 100%; aspect-ratio: 1; background: transparent; }
.flash-art::before { border-color: rgba(60, 40, 20, .35); color: rgba(60, 40, 20, .6); }
.flash-art img { object-fit: contain; mix-blend-mode: multiply; }
.flash-price { margin: 6px 0 6px; font: 700 18px/1 var(--f-head); }
.claim {
  width: 100%; min-height: 32px; padding: 0 6px;
  font: 700 9px/1 var(--f-head); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  color: var(--mag); background: #19060f;
  border: 1px solid var(--mag); border-radius: 2px; cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 43, 214, .35);
}
.claim:hover { background: var(--mag); color: #16000f; }

/* ---------- HOW IT WORKS ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; }
.step-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1.5px solid #d9d2df; border-radius: 50%;
  background: var(--bg); position: relative; z-index: 1;
}
.step-icon svg { width: 24px; height: 24px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 2px; background: var(--mag); box-shadow: 0 0 6px var(--mag);
}
.step-num { margin-top: 8px; font: 700 15px/1 var(--f-head); color: var(--mag); }
.step h3 { margin-top: 4px; font: 700 13px/1.1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.step p { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: #d6cfdc; }

/* ---------- BOOKING (coffin) ---------- */
.book { position: relative; padding: 34px 0 40px; isolation: isolate; overflow: hidden; }
.book-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(var(--bg), transparent 12%, transparent 88%, var(--bg)),
    radial-gradient(circle at 6% 30%, rgba(255, 170, 60, .35), transparent 14%),
    radial-gradient(circle at 94% 30%, rgba(255, 170, 60, .35), transparent 14%),
    radial-gradient(circle at 8% 75%, rgba(255, 170, 60, .25), transparent 12%),
    radial-gradient(circle at 92% 75%, rgba(255, 170, 60, .25), transparent 12%),
    #0a0809;
}
.coffin-wrap { filter: drop-shadow(0 0 14px rgba(0,0,0,.9)) drop-shadow(0 0 2px rgba(255, 43, 214, .25)); max-width: 440px; margin: 0 auto; }
.coffin {
  padding: 3px;
  background: linear-gradient(160deg, #5a4f5e, #231e26 40%, #4a3f4c);
  clip-path: polygon(10% 0, 90% 0, 100% 7%, 96% 100%, 4% 100%, 0 7%);
}
.coffin-inner {
  display: block;
  padding: 26px 8% 26px;
  background: linear-gradient(#1c181e, #0e0c10), var(--noise);
  background-blend-mode: overlay;
  clip-path: polygon(10% 0, 90% 0, 100% 7%, 96% 100%, 4% 100%, 0 7%);
}
.book-title { text-align: center; margin-bottom: 18px; }
.book-title h2 { font: 600 21px/1.1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.book-sub {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font: 600 10px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: #cfc7d6;
}
.book-sub::before, .book-sub::after { content: ""; width: 26px; height: 1px; background: var(--mag); }
.claimed {
  margin: -6px 0 14px; padding: 8px 12px; text-align: center;
  font-size: 13px; color: #ffd0f6; border: 1px dashed var(--mag); border-radius: 3px;
}
.claimed button { margin-left: 6px; background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 12px; }
.fields { display: grid; gap: 10px; }
.field > span {
  display: none;
  font: 700 11px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px;
}
.ctrl { position: relative; display: flex; align-items: center; }
.ctrl > svg:first-child { position: absolute; left: 12px; width: 18px; height: 18px; color: #a39cab; pointer-events: none; }
.ctrl input, .ctrl select {
  width: 100%; min-height: 46px; padding: 0 36px 0 40px;
  background: rgba(5, 4, 6, .85); color: var(--text);
  border: 1px solid #3a3540; border-radius: 3px;
  font-size: 15px; appearance: none; -webkit-appearance: none;
}
.ctrl select { cursor: pointer; }
.ctrl select:invalid, .ctrl select option[value=""] { color: #9a93a3; }
.ctrl input::placeholder { color: #9a93a3; }
.ctrl input:focus, .ctrl select:focus { outline: none; border-color: var(--mag); box-shadow: 0 0 0 1px var(--mag), 0 0 14px rgba(255, 43, 214, .35); }
.ctrl .chev { position: absolute; right: 12px; width: 16px; height: 16px; pointer-events: none; color: #cfc7d6; }
.field.err input { border-color: #ff4d6a; }
.drop {
  position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  min-height: 46px; padding: 10px 12px;
  background: rgba(5, 4, 6, .85);
  border: 1px solid #3a3540; border-radius: 3px; cursor: pointer;
  font-size: 15px; color: #9a93a3;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 18px; height: 18px; color: #a39cab; }
.drop b { font-weight: 400; }
.drop small { display: none; }
.drop em { flex-basis: 100%; font-style: normal; font-size: 13px; color: var(--grn); }
.drop em:empty { display: none; }
.drop.over { border-color: var(--mag); box-shadow: 0 0 14px rgba(255, 43, 214, .35); }
.summon { width: 100%; margin-top: 14px; font-size: 12px; }
.form-msg { margin-top: 10px; text-align: center; font-size: 14px; min-height: 1em; }
.form-msg.ok { color: var(--grn); }
.form-msg.bad { color: #ff7a90; }

/* ---------- REVIEWS ---------- */
.reviews-wrap { display: grid; grid-template-columns: 1fr 108px; gap: 12px; align-items: center; }
.review-track { grid-auto-columns: 100%; margin: 0; padding: 0; }
.review {
  position: relative; padding: 16px 16px 16px 80px;
  background: #0f0e12; border: 1px solid #2a2630; border-radius: 4px;
}
.review p { font-size: 14px; line-height: 1.45; }
.review footer > div { margin-top: 8px; }
.avatar { position: absolute; left: 16px; top: 16px; width: 50px; height: 50px; border-radius: 50%; }
.stars { color: #ffc93c; letter-spacing: 2px; font-size: 14px; }
.review cite { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }
.review .stars { display: block; }
.g-badge { display: flex; flex-direction: column; gap: 3px; }
.g-word { font: 500 24px/1 var(--f-body); letter-spacing: -.02em; }
.g-word b { font-weight: 500; }
.g-score { font-size: 15px; }
.g-badge .stars { color: var(--text); }
.g-badge small { font-size: 10.5px; color: var(--muted); line-height: 1.3; }
#review-dots { justify-content: flex-start; padding-left: 40%; }

/* ---------- FAQ + MERCH ---------- */
.duo-grid { display: grid; gap: 30px; }
.faq-statue { display: none; }
.faq-list { display: grid; gap: 8px; }
.faq details {
  background: #0d0c10; border: 1px solid #2a2630; border-radius: 3px;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--mag); }
.faq details p { padding: 0 14px 14px; color: #d6cfdc; font-size: 14.5px; }
.faq:not(.show-all) details.more { display: none; }

.merch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.merch-card {
  display: grid; grid-template-columns: 44% 1fr; gap: 8px; align-items: center;
  padding: 10px; background: #0d0c10; border: 1px solid #2a2630; border-radius: 4px;
}
.merch-img { aspect-ratio: 1; background: transparent; }
.merch-img::before { font-size: 9px; }
.merch-img img { object-fit: contain; }
.merch-name { font: 600 11px/1.35 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.merch-name b { font-family: var(--f-body); font-size: 14px; }
.merch-info .btn { width: 100%; min-height: 34px; margin-top: 8px; padding: 0 6px; font-size: 9.5px; letter-spacing: .08em; }
.btn-merch, .btn-gift { background: var(--mag); color: #16000f; box-shadow: 0 0 12px rgba(255, 43, 214, .45); }

/* ---------- LOCATION ---------- */
.loc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: start; }
.storefront { display: none; }
.loc-row { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.loc-row svg { width: 20px; height: 20px; color: var(--mag); margin-top: 2px; filter: drop-shadow(0 0 4px var(--mag)); }
.loc-row address { font-style: normal; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 10px; font-size: 12.5px; white-space: nowrap; }
.hours dt { color: var(--muted); }
.walkins {
  display: inline-block; padding: 7px 14px;
  font: 700 10.5px/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase;
  color: #ffd0f6; border: 1.5px solid var(--mag); border-radius: 3px;
  box-shadow: 0 0 10px rgba(255, 43, 214, .5), inset 0 0 8px rgba(255, 43, 214, .3);
}
.map { display: block; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 1px solid #222; }
.map svg { width: 100%; height: 100%; }
.map-pin { filter: drop-shadow(0 0 8px #ff2bd6); }

/* ---------- FOOTER ---------- */
.footer { position: relative; padding: 70px 0 28px; isolation: isolate; overflow: hidden; }
.footer-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(var(--bg), transparent 30%, rgba(0,0,0,.6)),
    url("assets/bg/footer.webp") center bottom / cover no-repeat,
    radial-gradient(ellipse at 50% 30%, #1d1a26, #070708 70%);
}
.fence {
  position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='70' viewBox='0 0 40 70'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='22' width='40' height='3'/%3E%3Crect x='0' y='58' width='40' height='3'/%3E%3Crect x='9' y='10' width='3' height='60'/%3E%3Cpath d='M10.5 0 L14 11 L7 11Z'/%3E%3Crect x='29' y='16' width='2.5' height='54'/%3E%3Cpath d='M30.2 8 L33 17 L27.5 17Z'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom / 40px 70px;
  opacity: .95;
}
.footer-inner { display: grid; gap: 20px; justify-items: center; text-align: center; }
.logo-stack { flex-direction: column; align-items: center; gap: 0; }
.logo-stack .logo-after { font-size: 40px; }
.logo-stack .logo-ink { font-size: 22px; }
.socials { display: flex; gap: 18px; }
.socials svg { width: 26px; height: 26px; }
.socials a:hover { color: var(--mag); }
.newsletter { width: 100%; max-width: 420px; }
.newsletter label { display: block; margin-bottom: 8px; font: 600 12px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; }
.nl-row { display: flex; }
.nl-row input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 12px;
  background: rgba(0,0,0,.7); border: 1px solid #3a3540; border-right: 0; border-radius: 3px 0 0 3px; font-size: 15px;
}
.nl-row input:focus { outline: none; border-color: var(--mag); }
.nl-row .btn { min-height: 44px; border-radius: 0 3px 3px 0; padding: 0 16px; font-size: 11px; }
.nl-msg { margin-top: 8px; font-size: 13px; color: var(--grn); min-height: 1em; }
.est { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--f-head); letter-spacing: .06em; }
.est .skull-ico { width: auto; height: 30px; filter: drop-shadow(0 0 6px rgba(255,43,214,.45)); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 600 11px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #cfc7d6; }
.footer-links a { padding: 6px 0; }
.footer-links a:hover { color: var(--mag); }

/* sticky book bar (phones) */
.sticky-book {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; border-radius: 26px;
  background: var(--mag); color: #16000f;
  font: 700 15px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 0 22px rgba(255, 43, 214, .7), 0 6px 24px rgba(0,0,0,.6);
  transition: transform .3s, opacity .3s;
}
.sticky-book svg { width: 18px; height: 18px; }
.sticky-book.away { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* small phones */
@media (max-width: 359px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "copy" "sign" "ctas"; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .step:nth-child(2)::after { display: none; }
  .merch-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   DESKTOP (matches the desktop mockup)
   ========================================================= */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  body { padding-bottom: 0; }
  .sticky-book { display: none; }

  /* nav */
  .nav { height: 64px; padding: 0 max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
  .burger, .mobile-menu { display: none !important; }
  .logo-skull { display: block; }
  .logo-ink { border: 2px solid var(--mag); border-radius: 3px; padding: 2px 6px 3px; font-size: 17px;
    box-shadow: 0 0 8px rgba(255,43,214,.5), inset 0 0 6px rgba(255,43,214,.3); }
  .nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
  .nav-links a { font: 600 12px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #ddd6e3; padding: 8px 0; position: relative; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--mag); box-shadow: 0 0 6px var(--mag); transition: right .25s; }
  .nav-links a:hover::after { right: 0; }
  .nav-book { display: inline-flex; min-height: 40px; }

  /* hero */
  .hero { min-height: min(760px, 88vh); display: flex; align-items: center; }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 45%, transparent 70%),
      linear-gradient(0deg, var(--bg) 0%, transparent 22%),
      radial-gradient(circle at 36% 12%, #e9e6f0 0 2.6%, rgba(220,220,255,.22) 3.4%, transparent 12%),
      radial-gradient(ellipse at 65% 55%, #2a1630 0%, #0d0b12 55%, #050506 100%);
  }
  .hero-inner {
    grid-template-columns: 1fr 1.1fr;
    grid-template-areas: "copy sign" "ctas sign";
    align-content: center; gap: 30px 40px;
    padding-top: 60px; padding-bottom: 90px;
  }
  .hero h1 {
    font: 400 clamp(64px, 7.4vw, 104px)/.92 var(--f-brush);
    transform: rotate(-4deg); transform-origin: left center;
  }
  .hero h1 span { display: block; }
  .hero h1 em { color: var(--mag); text-shadow: 0 0 18px rgba(255,43,214,.55); }
  .hero-tag { margin-top: 26px; margin-left: 60px; font-size: 14px; }
  .hero-ctas { display: flex; gap: 14px; align-self: start; margin-left: 4px; }
  .hero-ctas .btn { width: auto; min-width: 190px; }
  .neon-sign { align-self: start; margin-top: -10px; }

  .section::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(var(--bg), transparent 14%, transparent 86%, var(--bg)), var(--sec-bg, none) center / cover no-repeat;
  }

  .section { padding: 56px 0; }

  /* centered ornamental headings */
  .sec-head { position: relative; flex-direction: column; justify-content: center; gap: 6px; margin-bottom: 30px; }
  .sec-head h2 {
    display: flex; align-items: center; gap: 18px;
    font-size: 30px; letter-spacing: .14em;
  }
  .sec-head h2::before, .sec-head h2::after {
    content: ""; width: 70px; height: 9px;
    background:
      linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
      linear-gradient(45deg, transparent 40%, currentColor 40% 60%, transparent 60%) center / 9px 9px no-repeat;
    opacity: .75;
  }
  .sec-skull { display: block; width: auto; height: 30px; filter: drop-shadow(0 0 6px rgba(255,43,214,.4)); }
  .sec-note {
    display: block; position: absolute; right: 0; top: 4px; text-align: right;
    font: 600 11px/1.5 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #a59fae;
  }
  .see-all { display: none; }
  .sec-head.left { align-items: flex-start; flex-direction: row; justify-content: flex-start; gap: 16px; margin-bottom: 18px; }
  .sec-head.left h2 { font-size: 22px; white-space: nowrap; }
  .sec-head.left h2::before, .sec-head.left h2::after { display: none; }
  .sec-head.left .sec-note { position: static; text-align: left; font-size: 10px; }

  /* carousels become grids */
  .track { grid-auto-flow: row; overflow: visible; margin: 0; padding: 0; }
  .dots { display: none; }

  /* artists: 4 tombstones */
  .artist-track { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .artist { padding: 14px 14px 0; transition: transform .3s, box-shadow .3s; }
  .artist:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 5px #0c0b0e, inset 0 0 0 7px #2b2731, 0 0 30px rgba(255,43,214,.25), 0 24px 50px rgba(0,0,0,.8); }
  .artist-photo { aspect-ratio: 4 / 4.6; }
  .artist-info { position: relative; left: 0; right: 0; padding: 14px 4px 18px; background: none; text-align: center; }
  .artist-name {
    font: 400 34px/1 var(--f-brush); letter-spacing: 0; text-transform: uppercase;
    border: 0; padding: 0;
  }
  .n-mag { color: var(--mag); text-shadow: 0 0 10px rgba(255,43,214,.7); }
  .n-grn { color: var(--grn); text-shadow: 0 0 10px rgba(57,255,136,.6); }
  .artist-style { margin-top: 8px; padding-top: 10px; border-top: 1px solid #3a3540; font-size: 12px; }
  .artist-ig { display: none; }
  .artist-arrow { display: block; position: absolute; right: 8px; bottom: 18px; width: 16px; height: 16px; color: #a59fae; }

  /* gallery: masonry with neon frames */
  .pills { justify-content: center; overflow: visible; margin: -14px 0 24px; padding: 0; }
  .pill .lg { display: inline; }
  .pill .sm { display: none; }
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 104px; grid-auto-flow: dense; gap: 10px;
  }
  .gallery[data-filter="all"] .g-item:nth-child(n+9) { display: block; }
  .g-item { aspect-ratio: auto; grid-row: span 2; }
  .g-item.tall { grid-row: span 3; }
  .g-item.sm { grid-row: span 1; }
  .glow-c { outline: 1.5px solid var(--cyan); box-shadow: 0 0 14px rgba(46,230,214,.45); }
  .glow-m { outline: 1.5px solid var(--mag); box-shadow: 0 0 14px rgba(255,43,214,.45); }

  /* flash: row of 6 */
  .flash-track { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .flash-card { padding: 14px 12px 12px; transition: transform .3s; }
  .flash-card:hover { transform: translateY(-6px) rotate(-1deg); }
  .flash-price { display: none; }
  .flash-art { aspect-ratio: 3 / 4; margin-bottom: 10px; }
  .claim { font-size: 9px; }

  /* how it works: tombstone arches joined by a thorny neon vine */
  .steps { gap: 30px; }
  .step-icon {
    width: 96px; height: 110px;
    border: 2px solid #3d3844;
    border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px;
    background: linear-gradient(#23202a, #0f0d12), var(--noise);
    background-blend-mode: overlay;
    color: var(--mag);
    box-shadow: inset 0 0 0 4px #0c0b0e, 0 10px 30px rgba(0,0,0,.7);
  }
  .step-icon svg { width: 38px; height: 38px; filter: drop-shadow(0 0 6px var(--mag)); }
  .step:not(:last-child)::after {
    top: 52px; left: calc(50% + 56px); right: calc(-50% + 56px); height: 14px;
    background:
      radial-gradient(circle, var(--grn) 0 2px, transparent 2.5px) 0 50% / 22px 14px repeat-x,
      linear-gradient(var(--mag), var(--mag)) center / 100% 2px no-repeat;
    box-shadow: none;
    filter: drop-shadow(0 0 4px var(--mag));
  }
  .step-num { margin-top: 14px; font-size: 18px; }
  .step h3 { font-size: 17px; margin-top: 6px; }
  .step p { font-size: 14px; max-width: 220px; }

  /* booking: horizontal coffin lid */
  .book { padding: 70px 0; }
  .book-bg {
    background:
      linear-gradient(var(--bg), transparent 12%, transparent 88%, var(--bg)),
      radial-gradient(circle at 4% 30%, rgba(255,170,60,.35), transparent 8%),
      radial-gradient(circle at 96% 30%, rgba(255,170,60,.35), transparent 8%),
      radial-gradient(circle at 3% 80%, rgba(255,170,60,.25), transparent 7%),
      radial-gradient(circle at 97% 80%, rgba(255,170,60,.25), transparent 7%),
      #0a0809;
  }
  .coffin-wrap { max-width: 1100px; }
  .coffin, .coffin-inner { clip-path: polygon(5% 0, 95% 0, 100% 30%, 100% 70%, 95% 100%, 5% 100%, 0 70%, 0 30%); }
  .coffin { padding: 4px; }
  .coffin-inner {
    display: grid; grid-template-columns: 240px 1fr; gap: 10px 40px; align-items: center;
    padding: 40px 7% 34px;
  }
  .book-title { grid-row: 1 / span 3; text-align: left; margin: 0; }
  .book-title h2 {
    font: 400 64px/.88 var(--f-brush); letter-spacing: 0; transform: rotate(-6deg);
    text-shadow: 0 4px 20px #000;
  }
  .book-title h2 span { display: block; }
  .book-sub { display: none; }
  .claimed { grid-column: 2; margin: 0; }
  .fields {
    grid-column: 2;
    grid-template-columns: 1fr 1fr 0.9fr;
    grid-template-areas: "name place upload" "artist size upload" "contact contact upload";
    gap: 14px 18px;
  }
  .f-name { grid-area: name; } .f-place { grid-area: place; } .f-artist { grid-area: artist; }
  .f-size { grid-area: size; } .f-contact { grid-area: contact; } .f-upload { grid-area: upload; display: flex; flex-direction: column; }
  .field > span { display: block; }
  .ctrl input, .ctrl select { min-height: 42px; font-size: 14px; }
  .drop {
    flex: 1; flex-direction: column; justify-content: center; text-align: center; gap: 6px;
    border-style: dashed; border-color: #5a5363; font-size: 13px; color: #d6cfdc;
  }
  .drop svg { width: 30px; height: 30px; }
  .drop small { display: block; color: #8f8898; font-size: 12px; }
  .summon { grid-column: 2; justify-self: center; width: auto; min-width: 360px; margin-top: 6px; font-size: 13px; }
  .form-msg { grid-column: 2; margin: 0; }

  /* reviews: 3 stone plaques */
  .reviews .sec-head { margin-bottom: 30px; }
  .reviews-wrap { display: block; position: relative; }
  .review-track { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .avatar { position: relative; left: auto; top: auto; flex: none; }
  .review {
    padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px;
    background: linear-gradient(#24212a, #121015), var(--noise); background-blend-mode: overlay;
    border: 2px solid #3d3844; box-shadow: inset 0 0 0 4px #0c0b0e, 0 14px 30px rgba(0,0,0,.6);
  }
  .review p { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.5; color: #e9e3ee; }
  .review footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
  .avatar { width: 46px; height: 46px; }
  .g-badge { position: absolute; right: 0; top: -84px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 8px; max-width: 220px; }
  .g-badge .stars { order: -1; color: #ffc93c; }
  .g-word { font-size: 20px; }
  .g-badge small { flex-basis: 100%; }

  /* faq + merch side by side */
  .duo-grid { grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
  .faq { display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
  .faq-statue { display: block; grid-row: 1; align-self: stretch; min-height: 360px; background: transparent; }
  .faq-statue img { object-fit: contain; object-position: bottom; }
  .faq .see-all { display: none; }
  .faq details.more { display: block !important; }
  .faq summary { font-size: 14px; padding: 11px 14px; }

  .merch-grid { grid-template-columns: 1.15fr 1fr; gap: 20px; }
  .merch-card { grid-template-columns: 1fr; background: none; border: 0; padding: 0; text-align: center; }
  .merch-img { aspect-ratio: 1 / .85; }
  .merch-name { display: none; }
  .merch-info .btn { min-height: 40px; font-size: 11px; width: auto; min-width: 170px; }
  .btn-merch { background: rgba(0,0,0,.5); color: var(--mag); border: 1.5px solid var(--mag); }
  .btn-gift { background: rgba(0,0,0,.5); color: var(--text); border: 1.5px solid #d6cfdc; box-shadow: none; }

  /* location: storefront | info | map */
  .loc-grid { grid-template-columns: 1.15fr .8fr 1.1fr; gap: 34px; align-items: center; }
  .storefront { display: block; aspect-ratio: 4 / 3; border-radius: 4px; }
  .loc-row { font-size: 16px; margin-bottom: 22px; }
  .loc-row svg { width: 24px; height: 24px; }
  .hours { font-size: 15px; gap: 4px 22px; }
  .walkins { display: none; }

  /* footer: single row */
  .footer { padding: 90px 0 30px; }
  .fence { height: 90px; background-size: 52px 90px; }
  .footer-inner {
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas: "logo social news est" "links links links links";
    align-items: center; justify-items: start; text-align: left; gap: 22px 40px;
  }
  .logo-stack { grid-area: logo; }
  .socials { grid-area: social; }
  .newsletter { grid-area: news; justify-self: center; }
  .est { grid-area: est; }
  .footer-links { grid-area: links; justify-self: center; gap: 6px 30px; }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .coffin-inner { grid-template-columns: 1fr; }
  .book-title { grid-row: auto; text-align: center; }
  .book-title h2 { transform: none; font-size: 52px; }
  .book-title h2 span { display: inline; }
  .claimed, .fields, .summon, .form-msg { grid-column: 1; }
  .flash-track { grid-template-columns: repeat(3, 1fr); }
  .duo-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ART PACK — real artwork wired in (overrides the placeholder styling above)
   ========================================================= */

/* nav: horizontal logo art (all screen sizes) */
.logo-img { display: none; height: 38px; width: auto; }
.nav .logo:has(.logo-img:not(.missing)) .logo-img { display: block; }
.nav .logo:has(.logo-img:not(.missing)) .logo-skull,
.nav .logo:has(.logo-img:not(.missing)) .logo-after,
.nav .logo:has(.logo-img:not(.missing)) .logo-ink { display: none; }
@media (min-width: 900px) { .logo-img { height: 44px; } }

/* hero: painted cemetery; phones show the angel + moon side with the logo art as the sign */
.hero-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    url("assets/bg/hero.webp") 44% center / cover no-repeat,
    #050506;
}
.neon-sign { transform: none; width: 100%; }
.neon-sign img {
  width: 100%; max-width: 250px; margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(57,255,136,.45)) drop-shadow(0 0 24px rgba(255,43,214,.3));
}

/* artists: portrait inside the carved tombstone frame */
.artist {
  aspect-ratio: 2 / 3; padding: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
.artist-photo {
  position: absolute; left: 19%; top: 9%; width: 62%; height: 80%;
  aspect-ratio: auto; border-radius: 50% 50% 0 0 / 26% 26% 0 0;
  object-fit: cover; object-position: center 18%;
  filter: grayscale(1) contrast(1.08); transition: filter .4s;
}
.artist:hover .artist-photo { filter: grayscale(.15) contrast(1.05); }
.artist-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.artist-info {
  position: absolute; left: 20%; right: 20%; bottom: 11.5%; z-index: 2;
  padding: 50px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.92) 55%);
}
.artist-name { font-size: 22px; }
.artist-style { font-size: 11px; }

/* gallery */
.g-item { aspect-ratio: 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-empty { padding: 30px 0; text-align: center; color: var(--muted); }

/* flash: the art already includes the aged paper */
.flash-card { padding: 0 0 8px; overflow: hidden; }
.flash-art { aspect-ratio: 2 / 3; }
.flash-art img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.flash-card .claim { width: calc(100% - 16px); }

/* how it works icons */
.step-icon { width: 60px; height: 60px; border: 0; background: none; }
.step-icon img { width: 100%; height: 100%; }
.step:not(:last-child)::after { top: 30px; }

/* booking: candles flank the coffin on phones/tablets */
.candles {
  position: absolute; bottom: 4%; z-index: 0; width: 52%; max-width: 380px; pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(255,150,50,.3));
}
.candles-l { left: -22%; }
.candles-r { right: -22%; transform: scaleX(-1); }
.book .wrap { z-index: 1; }

/* merch, map, storefront */
.merch-img img { width: 100%; height: 100%; object-fit: contain; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.storefront img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 55%; }

/* hide art slots that are still empty */
.faq-statue:has(img.missing) { display: none !important; }

@media (min-width: 900px) {
  /* hero: the sign is painted into the background on desktop */
  .hero { min-height: clamp(560px, 44vw, 780px); }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 30%, transparent 55%),
      linear-gradient(0deg, var(--bg) 0%, transparent 20%),
      url("assets/bg/hero.webp") 85% center / cover no-repeat,
      #050506;
  }
  .neon-sign { visibility: hidden; }

  .artist { padding: 0; }
  .artist:hover { box-shadow: none; transform: translateY(-6px); }
  .artist-photo { aspect-ratio: auto; }
  .artist-info { position: absolute; left: 20%; right: 20%; bottom: 11.5%; padding: 60px 4px 8px; }
  .artist-name { font-size: clamp(26px, 2.4vw, 34px); }
  .artist-style { font-size: 11px; }
  .artist-arrow { right: 2px; bottom: 10px; }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 18px; padding-bottom: 40px; }
  .g-item, .g-item.tall, .g-item.sm { grid-row: auto; aspect-ratio: 4 / 5; }
  .g-item:nth-child(even) { transform: translateY(40px); }

  .flash-card { padding: 0 0 10px; }
  .flash-art { aspect-ratio: 2 / 3; margin-bottom: 0; }
  .claim { margin-top: 10px; }

  .step-icon { width: 110px; height: 124px; }
  .step-icon img { width: 80px; height: 80px; filter: none; }
  .step:not(:last-child)::after { top: 56px; left: calc(50% + 62px); right: calc(-50% + 62px); }

  .faq:has(.faq-statue img.missing) { grid-template-columns: 1fr; }
}

/* booking on wide screens: the carved coffin artwork holds the form */
@media (min-width: 1100px) {
  .candles { display: none; }
  .coffin-wrap {
    position: relative; max-width: 1240px; aspect-ratio: 2000 / 667; filter: none;
    background: url("assets/bg/booking-coffin.webp") center / 100% 100% no-repeat;
  }
  .coffin {
    position: absolute; left: 14.5%; right: 14.5%; top: 21%; bottom: 19%;
    display: flex; padding: 0; background: none; clip-path: none;
  }
  .coffin-inner {
    width: 100%; padding: 0 1.5%; background: none; clip-path: none;
    grid-template-columns: minmax(150px, 210px) 1fr 1fr 1fr;
    grid-template-areas:
      "title claimed claimed claimed"
      "title name contact place"
      "title artist size upload"
      "title submit submit submit"
      "title msg msg msg";
    gap: 8px 12px; align-content: center;
  }
  .book-title { grid-area: title; grid-row: 1 / -1; }
  .book-title h2 { font-size: clamp(40px, 3.8vw, 54px); }
  .claimed { grid-area: claimed; }
  .fields { display: contents; }
  .field > span { display: none; }
  .ctrl input, .ctrl select { min-height: 40px; }
  .f-upload { display: block; }
  .drop {
    flex-direction: row; justify-content: flex-start; text-align: left;
    min-height: 40px; padding: 0 12px; border-style: solid; border-color: #3a3540; font-size: 14px; color: #9a93a3;
  }
  .drop svg { width: 18px; height: 18px; }
  .drop small { display: none; }
  .drop { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .drop em { flex-basis: auto; }
  .summon { grid-area: submit; justify-self: center; min-width: 320px; min-height: 42px; margin: 2px 0 0; }
  .form-msg { grid-area: msg; margin: 0; font-size: 13px; }
}

/* =========================================================
   INNER PAGES — artists, gallery, about, aftercare, shop, book
   ========================================================= */

/* active nav link */
.nav-links a[aria-current="page"] { color: var(--mag); }
.nav-links a[aria-current="page"]::after { right: 0; }

/* homepage artist cards link to profiles */
.artist-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.artist-ig { position: relative; z-index: 4; }

.eyebrow {
  font: 700 11px/1.4 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--mag);
  text-shadow: 0 0 10px rgba(255,43,214,.5);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* page hero banner */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 46px; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.4) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 45%),
    url("assets/bg/hero.webp");
  background-size: cover; background-repeat: no-repeat;
}
.page-hero h1 {
  margin-top: 10px;
  font: 400 clamp(42px, 11vw, 92px)/.95 var(--f-brush);
  text-shadow: 0 4px 30px #000;
}
.lead { margin-top: 14px; max-width: 560px; font-size: 17px; color: #e4dee9; }

/* CTA band */
.cta-band {
  position: relative; padding: 60px 0; text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,43,214,.28), transparent 60%),
    linear-gradient(#0b090c, #050505);
  border-top: 1px solid #1d1a21;
}
.cta-band h2 { font: 400 clamp(32px, 7vw, 56px)/1 var(--f-brush); }
.cta-band p { margin: 14px auto 22px; max-width: 520px; color: #d6cfdc; }
.cta-band .cta-row { justify-content: center; }

/* ---- artists page ---- */
.profiles .wrap { display: grid; gap: 56px; }
.profile { display: grid; gap: 22px; scroll-margin-top: 80px; }
.profile-card { max-width: 340px; width: 100%; justify-self: center; }
.profile-card .artist { width: 100%; }
.profile-name { font: 400 clamp(44px, 10vw, 72px)/1 var(--f-brush); margin: 6px 0 12px; text-transform: uppercase; }
.profile-quote {
  margin: 0 0 14px; padding-left: 14px; border-left: 3px solid var(--mag);
  font: italic 500 18px/1.45 Georgia, serif; color: #f1ecf4;
}
.profile-body > p { color: #d6cfdc; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; }
.tags li {
  padding: 6px 12px; border: 1px solid #4a4552; border-radius: 3px;
  font: 600 11px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
}
.facts { display: flex; gap: 28px; margin: 0 0 18px; }
.facts dt { font: 600 10.5px/1.3 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font: 700 18px/1.3 var(--f-head); }
.profile-work { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.profile-shot { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.profile-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.profile-shot:hover img { transform: scale(1.05); }

.guest-inner {
  display: grid; gap: 18px; padding: 28px; align-items: center;
  border: 1px solid #2a2630; border-radius: 4px; background: #0d0c10 var(--noise);
}
.guest-inner h2 { margin: 6px 0 8px; font: 600 22px/1.25 var(--f-head); letter-spacing: .06em; }
.guest-inner p { color: #d6cfdc; }

/* ---- gallery page ---- */
.gallery-page { padding-top: 10px; }
.gallery-page .g-item { position: relative; cursor: zoom-in; }
.gallery-page figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 10px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  font: 600 11px/1.3 var(--f-head); letter-spacing: .06em; text-transform: uppercase;
}
.gallery-page figcaption span { display: block; color: var(--mag); }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(0,0,0,.92);
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(900px, 100%); max-height: 100%; display: grid; gap: 10px; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; box-shadow: 0 0 40px rgba(255,43,214,.3); }
.lightbox figcaption { text-align: center; font: 600 14px/1.4 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.lightbox figcaption span { color: var(--mag); margin-left: 6px; }
.lb-close {
  position: absolute; top: 14px; right: 16px; width: 48px; height: 48px;
  font-size: 36px; line-height: 1; color: var(--text); background: none; border: 0; cursor: pointer;
}

/* ---- about page ---- */
.split { display: grid; gap: 26px; align-items: center; }
.split-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; border: 1px solid #2a2630; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split > .split-img:first-child img { object-position: 48% 55%; }
.split-body h2 { margin: 8px 0 14px; font: 400 clamp(34px, 7vw, 54px)/1 var(--f-brush); }
.split-body p { color: #d6cfdc; margin-bottom: 12px; }
.stats { padding: 30px 0; border-block: 1px solid #1d1a21; background: #0b0a0d; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-align: center; }
.stats b { display: block; font: 700 clamp(30px, 7vw, 46px)/1 var(--f-head); color: var(--mag); text-shadow: 0 0 16px rgba(255,43,214,.5); }
.stats span { font: 600 11px/1.4 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.values { display: grid; gap: 14px; }
.value {
  padding: 22px; border: 1px solid #2a2630; border-radius: 4px;
  background: linear-gradient(#17151b, #0d0c10), var(--noise); background-blend-mode: overlay;
}
.value-num { font: 700 14px/1 var(--f-head); color: var(--mag); }
.value h3 { margin: 10px 0 8px; font: 700 17px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.value p { color: #d6cfdc; font-size: 15px; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: #e4dee9; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--grn); box-shadow: 0 0 8px rgba(57,255,136,.5);
}
.standards-wrap .split-img { border: 0; background: radial-gradient(ellipse, #1a1014, transparent 70%); }
.standards-wrap .split-img img { object-fit: contain; }
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.crew-card { display: grid; gap: 4px; text-align: center; }
.crew-card img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); border-radius: 4px; transition: filter .4s; margin-bottom: 8px; }
.crew-card:hover img { filter: none; }
.crew-card b { font: 400 26px/1 var(--f-brush); }
.crew-card span { font: 600 11px/1.3 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---- aftercare page ---- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { position: relative; padding: 0 0 26px 30px; border-left: 2px solid rgba(255,43,214,.5); margin-left: 9px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -10px; top: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--mag); box-shadow: 0 0 10px var(--mag);
}
.tl-when { font: 700 11px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--mag); }
.timeline h3 { margin: 6px 0; font: 700 18px/1.2 var(--f-head); letter-spacing: .05em; }
.timeline p { color: #d6cfdc; max-width: 640px; }
.dos { display: grid; gap: 14px; }
.do-card, .dont-card { padding: 22px; border-radius: 4px; background: #0d0c10; border: 1px solid #2a2630; }
.do-card { border-top: 3px solid var(--grn); }
.dont-card { border-top: 3px solid var(--mag); }
.do-card h3, .dont-card h3 { font: 700 20px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.do-card h3 { color: var(--grn); }
.dont-card h3 { color: var(--mag); }
.do-card ul, .dont-card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: #e4dee9; }
.warning {
  margin-top: 16px; padding: 16px 18px; border-radius: 4px;
  background: rgba(255, 77, 106, .08); border: 1px solid rgba(255, 77, 106, .45); color: #ffd9df;
}
.faq-wrap { max-width: 860px; }

/* ---- shop page ---- */
.products { display: grid; gap: 18px; }
.product {
  display: flex; flex-direction: column; padding: 18px; border: 1px solid #2a2630; border-radius: 4px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,43,214,.12), transparent 60%), #0d0c10;
  scroll-margin-top: 80px;
}
.product-img { aspect-ratio: 1; margin-bottom: 14px; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product h3 { font: 700 18px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.price { margin: 6px 0 8px; font: 700 22px/1 var(--f-body); color: var(--mag); }
.product p:not(.price) { color: #d6cfdc; font-size: 15px; margin-bottom: 16px; }
.product .btn { margin-top: auto; }
.shop-note { margin-top: 20px; text-align: center; color: var(--muted); }

/* ---- book page ---- */
.policies { display: grid; gap: 14px; }
.policies article { padding: 20px; border: 1px solid #2a2630; border-radius: 4px; background: #0d0c10; border-left: 3px solid var(--mag); }
.policies h3 { font: 700 15px/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.policies p { color: #d6cfdc; font-size: 15px; }
.contact-grid { display: grid; gap: 18px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; padding: 16px; border: 1px solid #2a2630; border-radius: 4px; background: #0d0c10; }
.contact-card svg { width: 24px; height: 24px; color: var(--mag); margin-top: 2px; filter: drop-shadow(0 0 5px var(--mag)); }
.contact-card h3 { font: 700 13px/1.2 var(--f-head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.contact-card address, .contact-card p { font-style: normal; color: #e4dee9; }
.contact-card a { color: var(--text); text-decoration: underline; text-decoration-color: var(--mag); text-underline-offset: 3px; }
.contact-grid .map { aspect-ratio: 16 / 10; }

@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: 1fr 1fr; }
  .crew { grid-template-columns: repeat(4, 1fr); }
  .dos { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .policies { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .page-hero { padding: 110px 0 80px; }
  .profile { grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
  .profile.flip { grid-template-columns: 1fr 340px; }
  .profile.flip .profile-card { order: 2; }
  .profile-work { grid-template-columns: repeat(2, 160px); }
  .guest-inner { grid-template-columns: 1fr auto; padding: 34px 40px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .values { grid-template-columns: repeat(4, 1fr); }
  .policies { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .contact-grid .map { aspect-ratio: auto; min-height: 100%; }
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .timeline li { border-left: 0; margin-left: 0; padding: 30px 0 0; border-top: 2px solid rgba(255,43,214,.5); }
  .timeline li:last-child { border-top-color: transparent; }
  .timeline li::before { left: 0; top: -10px; }
}

.faq-page .faq { display: grid; grid-template-columns: 1fr; gap: 8px; }

/* =========================================================
   MOTION — premium feel (all skipped when the device asks for reduced motion)
   ========================================================= */

/* nav tightens after scrolling */
.nav { transition: height .3s, background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(3,3,4,.97); box-shadow: 0 8px 30px rgba(0,0,0,.6), 0 1px 0 rgba(255,43,214,.25); }
@media (min-width: 900px) { .nav.scrolled { height: 56px; } }

/* hero video: graded black & white, bleeding into the cemetery art */
.hero-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-video video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.35) brightness(.72);
}
.hero-video::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 45% 55%, #ff2bd6, #5a0b4f 70%);
  mix-blend-mode: color; opacity: .42;
}
.hero-video::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 45%, transparent 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero-video { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
@media (min-width: 900px) {
  .hero-video { right: 30%; -webkit-mask-image: linear-gradient(90deg, #000 20%, rgba(0,0,0,.55) 55%, transparent 92%); mask-image: linear-gradient(90deg, #000 20%, rgba(0,0,0,.55) 55%, transparent 92%); }
}

/* parallax hooks (vars set by motion.js) */
.js-motion .hero-bg, .js-motion .page-hero-bg {
  transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--sy, 0) * .35px + var(--py, 0) * -12px), 0) scale(1.08);
  will-change: transform;
}
.js-motion .hero-video { transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--sy, 0) * .2px), 0); }
.js-motion .hero-inner, .js-motion .page-hero .wrap {
  transform: translate3d(0, calc(var(--sy, 0) * .18px), 0);
  opacity: calc(1 - var(--sy, 0) / 700);
}


/* headline "ink stroke" reveal on load */
.js-motion .hero h1 > span, .js-motion .page-hero h1 {
  clip-path: inset(-10% 100% -10% 0);
  animation: inkReveal 1.1s cubic-bezier(.7,0,.2,1) forwards;
}
.js-motion .hero h1 > span:nth-child(2) { animation-delay: .25s; }
.js-motion .hero-tag, .js-motion .hero-ctas, .js-motion .page-hero .lead, .js-motion .page-hero .eyebrow, .js-motion .neon-sign {
  opacity: 0; translate: 0 18px;
  animation: riseIn .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.js-motion .hero-tag, .js-motion .page-hero .lead { animation-delay: .7s; }
.js-motion .hero-ctas { animation-delay: .9s; }
.js-motion .neon-sign { animation-delay: .4s; }
@keyframes inkReveal { to { clip-path: inset(-10% -5% -10% 0); } }
@keyframes riseIn { to { opacity: 1; translate: 0 0; } }

/* scroll reveals */
.js-motion .reveal {
  opacity: 0; translate: 0 34px; filter: blur(6px);
  transition: opacity .9s ease, translate .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js-motion .reveal.in { opacity: 1; translate: 0 0; filter: none; }

/* section heading flourishes draw in */
.js-motion .sec-head.reveal h2::before, .js-motion .sec-head.reveal h2::after { transform: scaleX(0); transition: transform 1s .3s cubic-bezier(.2,.7,.2,1); }
.js-motion .sec-head.reveal h2::before { transform-origin: right; }
.js-motion .sec-head.reveal h2::after { transform-origin: left; }
.js-motion .sec-head.reveal.in h2::before, .js-motion .sec-head.reveal.in h2::after { transform: scaleX(1); }

/* tilt + glare */
.tilt { transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.tilt:hover { transition: transform .12s linear; }
.tilt::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.16), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.tilt:hover::after { opacity: 1; }
.flash-card, .product, .value { position: relative; }

/* magnetic buttons glide back */
.btn, .sticky-book { transition: transform .15s, box-shadow .2s, background .2s, translate .35s cubic-bezier(.2,.7,.2,1); }

/* gallery hover: color bleeds in */
.js-motion .g-item img { filter: grayscale(.55) contrast(1.05); transition: filter .6s, transform .6s; }
.js-motion .g-item:hover img { filter: none; transform: scale(1.06); }

/* neon cursor */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor .g-item { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--grn); box-shadow: 0 0 10px var(--grn); }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid rgba(255,43,214,.85); box-shadow: 0 0 14px rgba(255,43,214,.55), inset 0 0 10px rgba(255,43,214,.3);
  display: grid; place-items: center;
  transition: width .25s, height .25s, margin .25s, background .25s, opacity .25s;
}
.cursor-ring span { font: 700 10px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor-ring.hover { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(255,43,214,.08); }
.cursor-ring.label { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: rgba(255,43,214,.85); border-color: var(--mag); }
.cursor-ring.label span { opacity: 1; }
.cursor-ring.off, .cursor-ring.off + .cursor-dot { opacity: 0; }

/* page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #040404;
  transition: opacity .38s ease, visibility .38s;
}
.curtain img { width: min(240px, 50vw); filter: drop-shadow(0 0 16px rgba(57,255,136,.5)); animation: curtainPulse 1.2s ease-in-out infinite alternate; }
.curtain.gone { opacity: 0; visibility: hidden; }
@keyframes curtainPulse { from { opacity: .55; } to { opacity: 1; } }

/* neon ticker */
.ticker {
  overflow: hidden; border-block: 1px solid rgba(255,43,214,.35);
  background: linear-gradient(90deg, #07060a, #120812, #07060a);
  box-shadow: 0 0 30px rgba(255,43,214,.12) inset;
}
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span, .ticker-track i {
  padding: 14px 18px; white-space: nowrap;
  font: 400 clamp(20px, 3.4vw, 34px)/1 var(--f-brush); text-transform: uppercase; color: #f3eff6;
}
.ticker-track i { font-style: normal; color: var(--mag); text-shadow: 0 0 10px var(--mag); }
.ticker-track span:nth-of-type(3n+2) { color: var(--grn); text-shadow: 0 0 12px rgba(57,255,136,.6); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .curtain { display: none; }
}

/* homepage booking: link to the full ritual */
.ritual-link { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: #e4dee9; text-decoration: underline; text-decoration-color: var(--mag); text-underline-offset: 4px; }
.ritual-link:hover { color: var(--mag); }
@media (min-width: 1100px) { .ritual-link { grid-column: 2 / -1; margin-top: 0; } }

/* review cards on the carved plaque art */
.reviews .review {
  aspect-ratio: 900 / 519; padding: 9% 9.5% 7.5%;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: url("assets/bg/review-plaque.webp") center / 100% 100% no-repeat;
  border: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.7));
}
.reviews .review p {
  font: italic 14px/1.45 Georgia, "Times New Roman", serif; color: #ece6f0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.reviews .review footer { display: flex; align-items: center; gap: 10px; margin: 0; }
.reviews .review footer > div { margin: 0; }
.reviews .avatar { position: relative; left: auto; top: auto; flex: none; width: 38px; height: 38px; box-shadow: 0 0 0 2px #3d3844; }
.reviews .review .stars { font-size: 12px; }
@media (max-width: 899px) {
  .reviews-wrap { grid-template-columns: 1fr; gap: 16px; }
  .reviews .g-badge { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 10px; text-align: center; }
  .reviews .g-badge small { flex-basis: 100%; }
  #review-dots { justify-content: center; padding-left: 0; }
}
@media (min-width: 900px) {
  .reviews .review-track { gap: 22px; }
  .reviews .review p { font-size: clamp(13px, 1.15vw, 15px); }
}

/* homepage booking on phones/tablets: painted vertical coffin.
   border-image keeps the shoulders, skulls and rose corners intact and only stretches the straight sides. */
@media (max-width: 1099px) {
  .coffin-wrap { container-type: inline-size; max-width: 480px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.85)); }
  .coffin {
    clip-path: none; background: none; padding: 0;
    border-style: solid; border-color: transparent;
    border-width: 37.5cqw 13.75cqw 41.25cqw;
    border-image-source: url("assets/bg/coffin-vertical.webp");
    border-image-slice: 300 110 330 110 fill;
    border-image-width: 37.5cqw 13.75cqw 41.25cqw;
    border-image-repeat: stretch;
  }
  .coffin-inner { clip-path: none; background: none; margin: -11cqw -2.5cqw -21cqw; padding: 0; }
  .coffin-inner .book-title h2 { font-size: clamp(16px, 5.2cqw, 22px); letter-spacing: .08em; }
  .coffin-inner .ritual-link { padding: 0 7%; }
}

/* footer uses the logo art */
.footer-logo { width: 190px; height: auto; filter: drop-shadow(0 0 14px rgba(57,255,136,.3)) drop-shadow(0 0 22px rgba(255,43,214,.2)); }
@media (min-width: 900px) { .footer-logo { width: 170px; } }

/* hero headline: each line is its own block so the ink-reveal never crops a wrapped word (e.g. "YOU" on phones) */
.hero h1 > span { display: block; }
.js-motion .hero h1 > span { clip-path: inset(-15% 100% -25% -2%); }
@keyframes inkReveal { to { clip-path: inset(-15% -10% -25% -2%); } }

/* homepage merch: three products (tee, print, gift cards) in a row */
.merch-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.merch-card { grid-template-columns: 1fr; gap: 8px; padding: 10px 8px 12px; text-align: center; align-content: start; }
.merch-img { aspect-ratio: 1; }
.merch-name { display: block; font-size: 10.5px; }
.merch-info .btn { margin-top: 8px; font-size: 9px; padding: 0 4px; }
@media (max-width: 359px) { .merch-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .merch-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .merch-img { aspect-ratio: 1 / 1.05; }
  .merch-name { display: block; font-size: 11px; margin-top: 4px; }
  .merch-info .btn { width: 100%; min-width: 0; min-height: 38px; font-size: 10px; }
}

/* phones: keep the painted neon sign out from behind inner-page titles, and darken behind the words */
@media (max-width: 899px) {
  .page-hero-bg { background-position: 16% 40% !important; }
  .page-hero-bg { background-image:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.6) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 45%),
    url("assets/bg/hero.webp"); }
}

/* headline reveal waits for the fonts, so a slow connection never shows a half-drawn fallback */
.fonts-pending .hero h1 > span, .fonts-pending .page-hero h1 { animation-play-state: paused; }

/* artists page: lighter overlay so the banner art reads (text side keeps enough shade) */
.page-hero-lite .page-hero-bg { background-image:
  linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.05) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 30%),
  url("assets/bg/hero.webp"); }
@media (max-width: 899px) {
  .page-hero-lite .page-hero-bg { background-image:
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.4) 70%, rgba(0,0,0,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    url("assets/bg/hero.webp"); }
  .page-hero-lite h1, .page-hero-lite .lead, .page-hero-lite .eyebrow { text-shadow: 0 2px 12px #000, 0 0 2px #000; }
}
.page-hero-lite h1, .page-hero-lite .lead { text-shadow: 0 2px 14px rgba(0,0,0,.9); }

/* phones use the same brush lettering as desktop for the big headlines (it reads better and matches the inner pages) */
@media (max-width: 899px) {
  .hero h1 { font: 400 clamp(38px, 11vw, 60px)/.95 var(--f-brush); letter-spacing: 0; transform: rotate(-3deg); transform-origin: left center; }
  .hero h1 em { color: var(--mag); text-shadow: 0 0 16px rgba(255,43,214,.55); }
  .artist-name { font: 400 32px/1 var(--f-brush); letter-spacing: 0; border-bottom: 0; padding-bottom: 2px; }
  .n-mag { color: var(--mag); text-shadow: 0 0 10px rgba(255,43,214,.7); }
  .n-grn { color: var(--grn); text-shadow: 0 0 10px rgba(57,255,136,.6); }
  .book-title h2 { font: 400 28px/1.1 var(--f-brush); letter-spacing: .02em; transform: rotate(-2deg); margin-top: 6px; }
}
