/* Ep2 Art – portfolio, shop, live */
/* Self-hosted fonts (same-origin) so the site looks correct without Google Fonts / cache issues. */
@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/permanent-marker-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rubik Spray Paint';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rubik-spray-paint-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --parallax-x: 0;
  --parallax-y: 0;
  /* Fall / Halloween: warm night, ember, harvest gold */
  --bg: #140a08;
  --bg-wash: #2a120c;
  --surface: #1c0f0c;
  --surface-elevated: #271510;
  --text: #fff6ea;
  --text-muted: #e8c9a8;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --pop-cyan: #ffd7a8;
  --pop-magenta: #be185d;
  --pop-gold: #f59e0b;
  --pop-lime: #84cc16;
  --pop-violet: #7c2d12;
  --display-gradient: linear-gradient(115deg, #ffd7a8 0%, #fdba74 28%, #fde68a 58%, #fff7ed 100%);
  --display-gradient-hover: linear-gradient(115deg, #fed7aa 0%, #fbcfe8 36%, #fef3c7 70%, #fffbeb 100%);
  --display-gradient-on-dark: linear-gradient(115deg, #fdba74 0%, #f9a8d4 40%, #fef08a 75%, #fff7ed 100%);
  --border: #5c3a28;
  --text-pop-outline: rgba(20, 10, 8, 0.92);
  --text-pop-glow-cyan: 0 0 14px rgba(245, 158, 11, 0.34);
  --text-pop-glow-magenta: 0 0 14px rgba(190, 24, 93, 0.3);
  --shadow: 0 1px 2px rgba(80, 20, 10, 0.12);
  --shadow-hover: 0 20px 40px -18px rgba(194, 65, 12, 0.28),
    0 8px 20px -8px rgba(245, 158, 11, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-bg: url(/images/hero-bg.jpg);
  --page-bg: url(/images/page-bg.jpg);
  --paisley-bg: url(/images/bg-fall-pattern.svg?v=moonbats3);
  --bg-parallax-image: url(/images/bg-parallax-layer.svg?v=moonbats3);
  --bg-parallax-opacity: 0.78;
  --bg-parallax-blend-mode: normal;
  --bg-parallax-max-shift: 16px;
}

@keyframes motion-rise-fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes motion-header-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes motion-hero-bar {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 0.95;
  }
}

@keyframes motion-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes motion-lightbox-panel {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes motion-lightbox-img {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bg-parallax-drift {
  0%,
  100% {
    background-position: 48% 52%;
  }
  50% {
    background-position: 52% 48%;
  }
}

@keyframes bg-fall-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 0 0, 0 0, 0 0, 720px 360px;
  }
}

* {
  box-sizing: border-box;
}

code {
  font-family: var(--font-body);
}

html {
  min-height: 100%;
  background-color: var(--bg);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: transparent;
}

a,
a:link,
a:visited,
.about-block a,
.about-block a:link,
.about-block a:visited {
  color: var(--pop-cyan) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--pop-cyan) !important;
}

a:hover,
a:focus,
.about-block a:hover,
.about-block a:focus {
  color: #fff7ed !important;
  text-decoration-color: #fff7ed !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

/* Fixed decorative stack: moon/ember washes + tiled fall leaves */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle 9rem at 88% 11%, rgba(255, 252, 232, 0.72) 0%, rgba(253, 224, 71, 0.28) 34%, transparent 68%),
    radial-gradient(ellipse 70% 48% at 88% 12%, rgba(255, 236, 179, 0.32), transparent 64%),
    radial-gradient(ellipse 70% 55% at 8% 92%, rgba(234, 88, 12, 0.32), transparent 58%),
    radial-gradient(ellipse 50% 40% at 52% 48%, rgba(190, 24, 93, 0.08), transparent 70%),
    var(--paisley-bg);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto, auto, 560px 560px;
  animation: bg-fall-drift 90s linear infinite;
}

/* Depth art + mouse parallax (see site.js --parallax-x/y). */
body::after {
  content: '';
  position: fixed;
  inset: -4%;
  z-index: 0;
  pointer-events: none;
  background-image: var(--bg-parallax-image);
  background-size: cover;
  background-position: center;
  opacity: var(--bg-parallax-opacity);
  mix-blend-mode: var(--bg-parallax-blend-mode);
  transform: translate3d(
    calc(var(--parallax-x) * var(--bg-parallax-max-shift)),
    calc(var(--parallax-y) * var(--bg-parallax-max-shift)),
    0
  );
  animation: bg-parallax-drift 28s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
    transform: none;
  }
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

/* Header */
header {
  background: linear-gradient(
    105deg,
    rgba(28, 15, 12, 0.94) 0%,
    rgba(20, 10, 8, 0.86) 40%,
    rgba(42, 18, 12, 0.92) 100%
  );
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

header .wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  animation: motion-header-in 0.55s var(--ease-out) backwards;
}

/* Green → yellow fill for spray / display font (background-clip) */
.logo,
main .page-title,
main .misfit-wall-title,
.hero h1,
.about-block h2,
.gallery-item h2,
.shop-main .contact-block > p:first-child strong,
.shop-main .contact-facebook strong,
.shop-main .contact-instagram strong {
  background-image: var(--display-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Dark outline + glow improves readability over textured backgrounds. */
  -webkit-text-stroke: 1px rgba(7, 4, 14, 0.9);
  text-shadow: 0 1px 0 var(--text-pop-outline), var(--text-pop-glow-cyan);
}

.logo,
main .page-title,
main .misfit-wall-title,
.hero h1,
.about-block h2,
.gallery-item h2,
.shop-main .contact-block > p:first-child strong,
.shop-main .contact-facebook strong,
.shop-main .contact-instagram strong {
  background-image: none !important;
  color: #f5f8ff !important;
  -webkit-text-fill-color: #f5f8ff !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 255, 255, 0.18);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.05;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background-image 0.25s var(--ease-out), filter 0.2s var(--ease-out);
}

.logo-mark {
  width: auto;
  height: 2.5rem;
  max-width: min(11rem, 38vw);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(45, 20, 80, 0.12));
  transition: transform 0.25s var(--ease-out), filter 0.25s var(--ease-out);
}

.logo:hover {
  background-image: var(--display-gradient-hover);
}

.logo:hover .logo-mark {
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(148, 163, 184, 0.25));
}

nav {
  display: flex;
  gap: 0.25rem 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s var(--ease-out);
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--pop-magenta), var(--pop-gold), var(--pop-cyan));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

nav a:hover,
nav a.active {
  color: var(--pop-magenta);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

/* Main */
main {
  flex: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3rem;
  width: 100%;
}

main .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.tagline {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1.1rem;
  max-width: 42rem;
}

.tagline code {
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}

/* About / Contact / Privacy — narrower reading column */
main.content-page {
  max-width: 42rem;
  animation: motion-rise-fade 0.55s var(--ease-out) 0.06s backwards;
}

main.content-page.content-page--imaginarium {
  max-width: min(56rem, 100%);
}

main.content-page .about-block {
  margin-top: 0;
}

.imaginarium-video-dek {
  margin: 0.35rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.imaginarium-official-link {
  margin: -0.75rem 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.imaginarium-official-link a {
  color: var(--pop-magenta);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.imaginarium-official-link a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--pop-gold);
}

.imaginarium-official-link-hint {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.98rem;
}

.imaginarium-video-wrap {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover), 0 0 0 2px rgba(148, 163, 184, 0.35), 0 0 24px rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(8, 145, 178, 0.35);
  background: #0c0614;
}

.imaginarium-video-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 860px) {
  .imaginarium-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.imaginarium-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.about-more {
  margin: 1rem 0 0;
}

.about-more a {
  color: var(--pop-magenta);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.about-more a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--pop-gold);
}

.policy-page h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.policy-page p,
.policy-page li {
  color: var(--text-muted);
}

.policy-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.policy-page .policy-updated {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: -0.25rem 0 1.5rem;
}

/* Blog index */
.blog-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
}

.blog-card {
  display: block;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.blog-card--has-thumb {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.blog-card-thumb {
  display: block;
  min-height: 6.5rem;
  background: var(--bg);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  min-height: 6.5rem;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  display: block;
  padding: 1.1rem 1.25rem 1.25rem;
}

.blog-card--has-thumb .blog-card-meta {
  margin-top: 0.75rem;
}

@media (max-width: 420px) {
  .blog-card--has-thumb {
    grid-template-columns: 5.5rem 1fr;
  }
}

.blog-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(8, 145, 178, 0.35);
  transform: translateY(-2px);
}

.blog-card h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.blog-card .blog-card-dek {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.blog-card .blog-card-meta {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

main:has(.blog-grid) > .page-title {
  animation: motion-rise-fade 0.55s var(--ease-out) 0.05s backwards;
}

main:has(.blog-grid) > .tagline {
  animation: motion-rise-fade 0.52s var(--ease-out) 0.11s backwards;
}

main:has(.blog-grid) .blog-card {
  animation: motion-rise-fade 0.48s var(--ease-out) backwards;
}

main:has(.blog-grid) .blog-card:nth-child(1) {
  animation-delay: 0.14s;
}

main:has(.blog-grid) .blog-card:nth-child(2) {
  animation-delay: 0.17s;
}

main:has(.blog-grid) .blog-card:nth-child(3) {
  animation-delay: 0.2s;
}

main:has(.blog-grid) .blog-card:nth-child(4) {
  animation-delay: 0.23s;
}

main:has(.blog-grid) .blog-card:nth-child(5) {
  animation-delay: 0.26s;
}

main:has(.blog-grid) .blog-card:nth-child(6) {
  animation-delay: 0.29s;
}

main:has(.blog-grid) .blog-card:nth-child(7) {
  animation-delay: 0.32s;
}

main:has(.blog-grid) .blog-card:nth-child(8) {
  animation-delay: 0.35s;
}

main:has(.blog-grid) .blog-card:nth-child(9) {
  animation-delay: 0.38s;
}

main:has(.blog-grid) .blog-card:nth-child(10) {
  animation-delay: 0.41s;
}

main:has(.blog-grid) .blog-card:nth-child(11) {
  animation-delay: 0.44s;
}

main:has(.blog-grid) .blog-card:nth-child(12) {
  animation-delay: 0.47s;
}

main:has(.blog-grid) .blog-card:nth-child(13) {
  animation-delay: 0.5s;
}

main:has(.blog-grid) .blog-card:nth-child(14) {
  animation-delay: 0.53s;
}

main:has(.blog-grid) .blog-card:nth-child(15) {
  animation-delay: 0.56s;
}

main:has(.blog-grid) .blog-card:nth-child(16) {
  animation-delay: 0.59s;
}

main:has(.blog-grid) .blog-card:nth-child(17) {
  animation-delay: 0.62s;
}

main:has(.blog-grid) .blog-card:nth-child(18) {
  animation-delay: 0.65s;
}

main:has(.blog-grid) .blog-card:nth-child(19) {
  animation-delay: 0.68s;
}

main:has(.blog-grid) .blog-card:nth-child(20) {
  animation-delay: 0.71s;
}

main:has(.blog-grid) .blog-card:nth-child(21) {
  animation-delay: 0.74s;
}

main:has(.blog-grid) .blog-card:nth-child(22) {
  animation-delay: 0.77s;
}

main:has(.blog-grid) .blog-card:nth-child(23) {
  animation-delay: 0.8s;
}

main:has(.blog-grid) .blog-card:nth-child(24) {
  animation-delay: 0.83s;
}

/* Article posts */
.article-page .article-meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.article-page .article-meta a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 145, 178, 0.35);
}

.article-page .article-meta a:hover {
  color: var(--pop-magenta);
  border-bottom-color: rgba(148, 163, 184, 0.4);
}

.article-body {
  margin-top: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 1.1rem;
}

.article-body h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
  color: var(--text);
}

.article-body ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

.article-read-next {
  margin: 2.25rem 0 0;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-read-next-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.article-read-next ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
  line-height: 1.6;
}

.article-read-next li {
  margin-bottom: 0.4rem;
}

.article-read-next a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(8, 145, 178, 0.3);
}

.article-read-next a:hover {
  color: var(--pop-magenta);
  border-bottom-color: rgba(219, 39, 119, 0.45);
}

.article-gallery-link {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.article-gallery-link a {
  color: var(--pop-magenta);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.3);
}

.article-gallery-link a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--pop-gold);
}

.article-back {
  margin: 2.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.article-back a {
  color: var(--pop-magenta);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.3);
}

.article-back a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--pop-gold);
}

/* Hero (home) */
.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  margin-bottom: 0.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 4.5rem;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--pop-magenta),
    var(--pop-gold),
    var(--pop-lime),
    var(--pop-cyan)
  );
  border-radius: 3px;
  opacity: 0.95;
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.35);
}

/* Hero with background image: add class "with-bg" to <section class="hero"> in index.html */
.hero.with-bg {
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  color: var(--text);
  padding: 3rem 1.5rem 4rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.hero.with-bg::before {
  display: none;
}

.hero.with-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 252, 0.9);
  pointer-events: none;
  border-radius: var(--radius);
}

.hero.with-bg .hero-eyebrow,
.hero.with-bg h1,
.hero.with-bg .hero-lede,
.hero.with-bg .hero-actions {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.5vw, 4rem);
  font-weight: 400;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  max-width: 14ch;
}

.hero-lede {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.62;
  max-width: 32rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem 1.15rem;
  flex-wrap: wrap;
}

/* Home hero action links styled to match "Studio articles". */
.hero-actions .btn {
  padding: 0.15rem 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: var(--pop-cyan);
  text-shadow: 0 1px 0 var(--text-pop-outline), var(--text-pop-glow-cyan);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 3px solid rgba(8, 145, 178, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.hero-actions .btn:hover {
  background: none;
  color: var(--pop-magenta);
  text-shadow: 0 1px 0 var(--text-pop-outline), var(--text-pop-glow-magenta);
  border-bottom-color: rgba(219, 39, 119, 0.45);
  box-shadow: none;
  transform: none;
}

.hero-actions .btn:active {
  transform: none;
  box-shadow: none;
}

.hero-start-here {
  margin: 1.35rem 0 0;
  max-width: 32rem;
}

.hero-start-here-label {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-start-here-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 1.05rem;
}

.hero-start-here-list a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(8, 145, 178, 0.35);
}

.hero-start-here-list a:hover {
  color: var(--pop-magenta);
  border-bottom-color: rgba(219, 39, 119, 0.45);
}

.hero-articles-link {
  margin: 1.1rem 0 0;
  font-size: 2.5rem;
  line-height: 1.15;
}

.home-recent-work .home-panel-intro {
  margin-bottom: 1rem;
}

.home-recent-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 22rem;
  margin-top: 0.25rem;
}

@media (min-width: 520px) {
  .home-recent-work-grid {
    max-width: 26rem;
    gap: 0.75rem;
  }
}

.home-recent-work .shop-showcase-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-recent-work .shop-showcase-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
}

.home-recent-work .shop-showcase-frame {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow);
  background: rgba(12, 6, 20, 0.35);
}

.home-recent-work .shop-showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-recent-work .shop-showcase-link:hover .shop-showcase-frame img,
.home-recent-work .shop-showcase-link:focus-visible .shop-showcase-frame img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.home-recent-work .shop-showcase-frame img {
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.home-recent-work .shop-showcase-caption {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-muted);
}

.gallery-toolbar-hint {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-articles-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(44, 232, 255, 0.35);
  text-shadow: 0 1px 0 var(--text-pop-outline), var(--text-pop-glow-cyan);
  transition: color 0.2s, border-color 0.2s;
}

.hero-articles-link a:hover {
  color: var(--accent-hover);
  border-bottom-color: rgba(255, 191, 64, 0.55);
  text-shadow: 0 1px 0 var(--text-pop-outline), 0 0 16px rgba(255, 191, 64, 0.18);
}


/* Home — staggered entrance (page has .hero) */
body:has(.hero) .hero::before {
  transform-origin: left center;
  animation: motion-hero-bar 0.78s var(--ease-out) 0.05s backwards;
}

body:has(.hero) .hero.with-bg::before {
  animation: none;
}

body:has(.hero) .hero > .hero-eyebrow {
  animation: motion-rise-fade 0.65s var(--ease-out) 0.08s backwards;
}

body:has(.hero) .hero:not(.hero--split) > h1 {
  animation: motion-rise-fade 0.68s var(--ease-out) 0.14s backwards;
}

body:has(.hero) .hero:not(.hero--split) > .hero-lede {
  animation: motion-rise-fade 0.65s var(--ease-out) 0.22s backwards;
}

body:has(.hero) .hero:not(.hero--split) > .hero-actions {
  animation: motion-rise-fade 0.65s var(--ease-out) 0.3s backwards;
}

body:has(.hero) .hero:not(.hero--split) > .hero-articles-link {
  animation: motion-rise-fade 0.6s var(--ease-out) 0.38s backwards;
}

body.home-page .hero--split .hero-split-copy > h1 {
  animation: motion-rise-fade 0.68s var(--ease-out) 0.14s backwards;
}

body.home-page .hero--split .hero-split-copy > .hero-lede {
  animation: motion-rise-fade 0.65s var(--ease-out) 0.22s backwards;
}

body.home-page .hero--split .hero-split-copy > .hero-actions {
  animation: motion-rise-fade 0.65s var(--ease-out) 0.3s backwards;
}

body.home-page .hero--split .hero-split-copy > .hero-articles-link {
  animation: motion-rise-fade 0.6s var(--ease-out) 0.38s backwards;
}

body.home-page .hero--split .hero-split-live {
  animation: motion-rise-fade 0.58s var(--ease-out) 0.12s backwards;
}

body:has(.hero) .about-block {
  animation: motion-rise-fade 0.65s var(--ease-out) 0.44s backwards;
}

body.home-page .about-block--home-top {
  margin-top: 1.35rem;
  margin-bottom: 2rem;
  animation: motion-rise-fade 0.65s var(--ease-out) 0.42s backwards;
}

.home-unique-lede {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-muted, #555);
  margin: -0.25rem 0 1.25rem;
  max-width: 42rem;
}

.home-unique-subhead {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  margin: 1.35rem 0 0.4rem;
  letter-spacing: 0.01em;
}

.home-unique-subhead:first-of-type {
  margin-top: 0.5rem;
}

.home-unique-close {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.home-page .home-layout {
  animation: motion-rise-fade 0.6s var(--ease-out) 0.52s backwards;
}

body.gallery-page main > .page-title {
  animation: motion-rise-fade 0.55s var(--ease-out) 0.08s backwards;
}

body.gallery-page .gallery-announcement {
  animation: motion-rise-fade 0.52s var(--ease-out) 0.12s backwards;
}

body.gallery-page main > .tagline {
  animation: motion-rise-fade 0.52s var(--ease-out) 0.14s backwards;
}

body.gallery-page .gallery .gallery-item {
  animation: motion-rise-fade 0.52s var(--ease-out) backwards;
  animation-delay: calc(0.22s + var(--stagger, 0) * 0.036s);
}

/* Optional: full-page background. Add class "with-bg" to <body> in index.html */
body.with-bg {
  background-image: var(--page-bg);
  background-size: cover;
  background-attachment: fixed;
}

body.with-bg main {
  background: rgba(248, 245, 252, 0.94);
  border-radius: var(--radius);
  margin: 2rem auto;
  padding: 2rem 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn-primary,
.btn-secondary {
  background: linear-gradient(125deg, var(--pop-gold) 0%, var(--accent) 50%, var(--pop-magenta) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 18px -4px rgba(234, 88, 12, 0.55), 0 2px 8px -2px rgba(190, 24, 93, 0.35);
}

.btn-primary:hover,
.btn-secondary:hover {
  background: linear-gradient(125deg, #f59e0b 0%, var(--accent-hover) 40%, #9f1239 100%);
  color: #fff;
  box-shadow: 0 8px 28px -6px rgba(234, 88, 12, 0.45), 0 4px 14px -4px rgba(190, 24, 93, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 12px -4px rgba(148, 163, 184, 0.4), 0 1px 6px -2px rgba(148, 163, 184, 0.25);
}

/* About block */
.about-block {
  background: linear-gradient(145deg, var(--surface) 0%, rgba(245, 158, 11, 0.07) 55%, rgba(194, 65, 12, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 3rem;
  box-shadow: var(--shadow), inset 4px 0 0 var(--pop-magenta), inset 8px 0 0 var(--pop-gold);
}

.about-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

.about-block p {
  margin: 0;
  color: var(--text-muted);
}

.about-block code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* Home page — events column (live sits in .hero--split) */
.home-layout {
  margin: 0 0 2rem;
}

.home-columns {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.home-panel {
  background: linear-gradient(148deg, var(--surface) 0%, rgba(209, 213, 219,  0.07) 50%, rgba(8, 145, 178, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.home-panel-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  background-image: var(--display-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-panel-intro {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.home-event-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-event-list li {
  margin-bottom: 0.65rem;
}

.home-event-list li:last-child {
  margin-bottom: 0;
}

.home-event-label {
  display: inline-block;
  min-width: 4.5rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pop-cyan);
  margin-right: 0.35rem;
  vertical-align: top;
}

.home-panel-friends .home-friend-link {
  color: var(--pop-magenta);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.home-panel-friends .home-friend-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--pop-gold);
}

.home-friend-cards {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-friend-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }
}

.home-friend-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-friend-figure {
  position: relative;
  margin: 0 0 0.75rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 10;
}

.home-friend-figure > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-friend-figure > .home-friend-logo-link {
  position: absolute;
  inset: 0;
  display: block;
  line-height: 0;
  border-radius: inherit;
}

.home-friend-figure > .home-friend-logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logos / tall art — show full graphic without cropping (letterbox inside 16:10). */
.home-friend-figure--contain {
  background: #0c0c0f;
  border-color: rgba(22, 16, 30, 0.45);
}

.home-friend-figure--contain > img,
.home-friend-figure--contain > .home-friend-logo-link img {
  object-fit: contain;
  object-position: center;
}

/* Slight zoom so the Maximus flyer reads larger (clipping stays in the side gutters). */
.home-friend-figure--contain-maximus > img {
  transform: scale(2.2);
  transform-origin: center center;
}

.home-friend-logo-link {
  border-radius: inherit;
}

.home-friend-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.home-friend-name {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.home-friend-desc {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-friend-contact {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.home-friend-contact-sep {
  opacity: 0.55;
}

/* Supported events (home) */
.home-supported-events .home-panel-title {
  font-size: 1.14rem;
}

.home-supported-events .home-panel-intro {
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.supported-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.supported-event-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--bg) 0%, rgba(209, 213, 219,  0.04) 100%);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.supported-event-media {
  margin: 0;
  background: transparent;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.45rem 0.65rem;
}

.supported-event-img-link {
  display: block;
  line-height: 0;
}

.supported-event-img-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.supported-event-media .supported-event-img-link img {
  display: block;
  max-height: 220px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.supported-event-figures {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  background: transparent;
  width: 100%;
}

.supported-event-figures--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .supported-event-figures--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.supported-event-figure {
  margin: 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.supported-event-figures--2 img {
  display: block;
  max-height: 200px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .supported-event-figures--2 img {
    max-height: 190px;
  }
}

/* Taller / wider caps for screenshot pairs that need readable text (e.g. Hike Away). */
.supported-event-figures--2.supported-event-figures--readable {
  gap: 0.75rem;
}

.supported-event-figures--2.supported-event-figures--readable .supported-event-figure {
  width: 100%;
}

.supported-event-figures--2.supported-event-figures--readable img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 420px);
  object-fit: contain;
  object-position: top center;
}

@media (min-width: 640px) {
  .supported-event-figures--2.supported-event-figures--readable img {
    max-height: min(62vh, 480px);
  }
}

@media (min-width: 900px) {
  .supported-event-figures--2.supported-event-figures--readable img {
    max-height: min(65vh, 520px);
  }
}

.supported-event-body {
  padding: 0.75rem 0.95rem 0.9rem;
}

.supported-event-title {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  margin: 0 0 0.28rem;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.supported-event-meta {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--pop-cyan);
  line-height: 1.45;
}

.supported-event-desc {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.supported-event-promo {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
}

.supported-event-promo strong {
  color: var(--pop-cyan);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.supported-event-actions {
  margin: 0;
}

.supported-event-link {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--pop-magenta);
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.supported-event-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--pop-gold);
}

.home-panel code {
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}


.troy-events-foot {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.troy-events-foot a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 145, 178, 0.35);
}

.troy-events-foot a:hover {
  color: var(--pop-magenta);
  border-bottom-color: rgba(148, 163, 184, 0.4);
}

.troy-ev-when {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-right: 0.35rem;
}

.troy-ev-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.troy-events-list a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 145, 178, 0.35);
}

.troy-events-list a:hover {
  color: var(--pop-magenta);
  border-bottom-color: rgba(148, 163, 184, 0.4);
}

/* Troy events page — community Google Calendar embed */
.troy-events-page-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.5rem 0 0.65rem;
}

.troy-events-page-section h2:first-child {
  margin-top: 0;
}

.troy-events-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.troy-events-source-links a {
  font-weight: 600;
}

.troy-calendar-embed-wrap {
  margin: 1rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 24px rgba(45, 20, 80, 0.08);
}

.troy-calendar-embed {
  display: block;
  width: 100%;
  height: min(70vh, 680px);
  min-height: 480px;
  border: 0;
}

.troy-calendar-embed-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.troy-calendar-embed-note a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 145, 178, 0.35);
}

.troy-calendar-embed-note a:hover {
  color: var(--pop-magenta);
}

.troy-events-guides {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(122, 107, 140, 0.2);
}

.troy-events-guides-title {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.troy-events-guides-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-body, #e8dff5);
}

.troy-events-guides-list li {
  margin: 0.35rem 0;
}

.troy-events-guides a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 145, 178, 0.35);
}

.troy-events-guides a:hover {
  color: var(--pop-magenta);
  border-bottom-color: rgba(148, 163, 184, 0.4);
}


/* Gallery comments section */
.gallery-comments {
  margin-top: 2rem;
}

.gallery-comments-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
  background-image: var(--display-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gallery-comments-intro {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

.gallery-comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 640px;
  margin-bottom: 2rem;
}

.gallery-comment-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gallery-comment-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-comment-input,
.gallery-comment-textarea {
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: inherit;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  transition: border-color 0.18s;
}

.gallery-comment-input:focus,
.gallery-comment-textarea:focus {
  border-color: rgba(139, 92, 246, 0.55);
}

.gallery-comment-submit {
  align-self: flex-start;
  padding: 0.55rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s, filter 0.18s;
}

.gallery-comment-submit:hover {
  background: rgba(139, 92, 246, 0.9);
}

.gallery-comment-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.gallery-comment-status {
  font-size: 0.875rem;
  color: var(--pop-cyan);
  margin: 0;
  min-height: 1.2em;
}

.gallery-comment-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 640px;
}

.gallery-comment-loading,
.gallery-comment-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gallery-comment-item {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius);
  transition: background 0.15s;
}

.gallery-comment-item:hover {
  background: rgba(139, 92, 246, 0.05);
}

.gallery-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.gallery-comment-who {
  font-weight: 700;
  color: #a78bfa;
  font-size: 0.9rem;
}

.gallery-comment-when {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.gallery-comment-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Gallery: sectioned layout + grid per block */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 2.35rem;
}

.gallery-block {
  margin: 0;
}

.gallery-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.2;
  background-image: var(--display-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gallery-section-dek {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.gallery-section-title + .gallery-grid {
  margin-top: 0.65rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* Collapsible album folders */
.gallery-folder {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.gallery-folder:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover), 0 -3px 0 0 var(--pop-cyan), 0 0 0 1px rgba(148, 163, 184, 0.15);
  border-color: rgba(8, 145, 178, 0.45);
}

.gallery-folder[open] {
  grid-column: 1 / -1;
  transform: none;
  box-shadow: var(--shadow-hover), 0 -3px 0 0 var(--pop-cyan), 0 0 0 1px rgba(219, 39, 113, 0.15);
  border-color: rgba(8, 145, 178, 0.45);
}

.gallery-folder-summary::-webkit-details-marker {
  display: none;
}

.gallery-folder-summary {
  position: relative;
  padding: 0;
}

/* Album folders — square cover on top, title below (matches open-folder thumb style) */
.gallery-folder-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.gallery-folder-cover {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    145deg,
    rgba(8, 145, 178, 0.15),
    var(--bg-wash) 35%,
    rgba(219, 39, 113, 0.12) 70%,
    rgba(217, 119, 6, 0.1)
  );
  overflow: hidden;
}

.gallery-folder-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    -32deg,
    transparent 0 52px,
    rgba(255, 255, 255, 0.055) 52px 53px
  );
}

.gallery-folder-cover img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  position: relative;
  transition: transform 0.45s var(--ease-out);
}

.gallery-folder:hover .gallery-folder-cover img {
  transform: scale(1.04);
}

.gallery-folder-count {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  font-size: clamp(0.68rem, 2vw, 0.8rem);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  background: rgba(22, 12, 38, 0.72);
  border-radius: 4px;
  pointer-events: none;
}

.gallery-folder-head {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  overflow-wrap: break-word;
}

.gallery-folder-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--text);
  background-image: var(--display-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .gallery-folder-title {
    -webkit-text-fill-color: unset;
    color: var(--text);
    background-image: none;
  }
}

.gallery-folder-dek {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-folder-hint {
  font-size: 0.82rem;
  color: var(--pop-cyan);
  opacity: 0.9;
  letter-spacing: 0.03em;
}

.gallery-folder[open] .gallery-folder-hint {
  color: var(--text-muted);
}

.gallery-folder-body {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.12);
}

.gallery-grid--nested {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .gallery-folder-cover {
    max-height: none;
    aspect-ratio: 1;
  }
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.gallery-item:hover {
  box-shadow: var(--shadow-hover), 0 -3px 0 0 var(--pop-cyan), 0 0 0 1px rgba(148, 163, 184, 0.15);
  border-color: rgba(8, 145, 178, 0.45);
  transform: translateY(-3px);
}

.gallery-item .thumb {
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(
    145deg,
    rgba(8, 145, 178, 0.15),
    var(--bg-wash) 35%,
    rgba(148, 163, 184, 0.12) 70%,
    rgba(217, 119, 6, 0.1)
  );
  overflow: hidden;
}

/* Light diagonal wash + corner label — visible on saves/screenshots; not a substitute for embedded image rights metadata. */
.gallery-item .thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    -32deg,
    transparent 0 52px,
    rgba(255, 255, 255, 0.055) 52px 53px
  );
}

.gallery-item .thumb::after {
  content: '© Ep2 Art';
  position: absolute;
  bottom: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  font-size: clamp(0.62rem, 2.1vw, 0.78rem);
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  background: rgba(22, 12, 38, 0.5);
  border-radius: 4px;
  pointer-events: none;
}

.gallery-item .thumb img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover .thumb img {
  transform: scale(1.04);
}

.gallery-grid--nested .gallery-item--video {
  grid-column: 1 / -1;
}

.gallery-item--video .thumb {
  aspect-ratio: auto;
  height: auto;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0612;
}

.gallery-item--video .thumb::before {
  display: none;
}

.gallery-item--video .thumb::after {
  content: 'Video';
  z-index: 4;
}

.gallery-item-video-player {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: min(75vh, 640px);
  margin: 0 auto;
  display: block;
  object-fit: contain;
  background: #0a0612;
  pointer-events: auto;
}

.gallery-video-fallback {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.gallery-video-fallback a {
  color: var(--pop-cyan);
}

.gallery-item .meta {
  padding: 1.25rem 1.35rem;
}

.gallery-item h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
  transition: background-image 0.25s var(--ease-out), filter 0.25s var(--ease-out);
}

.gallery-item:hover h2 {
  background-image: var(--display-gradient-hover);
}

.gallery-item .desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gallery-item .thumb:focus {
  outline: none;
}

.gallery-item .thumb:focus-visible {
  outline: 3px solid var(--pop-cyan);
  outline-offset: 2px;
  z-index: 1;
}

/* Gallery lightbox (index) */
.gallery-lightbox {
  width: min(96vw, 1100px);
  max-height: min(92vh, 900px);
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--surface-elevated);
  color: var(--text);
  box-shadow: 0 25px 80px -20px rgba(45, 20, 80, 0.45), 0 0 0 1px var(--border);
}

.gallery-lightbox::backdrop {
  background: rgba(22, 12, 38, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery-lightbox[open]::backdrop {
  animation: motion-backdrop-in 0.38s var(--ease-out) forwards;
}

.gallery-lightbox[open] .gallery-lightbox-panel {
  animation: motion-lightbox-panel 0.42s var(--ease-out) forwards;
}

.gallery-lightbox[open] .gallery-lightbox-img-wrap img {
  animation: motion-lightbox-img 0.52s var(--ease-out) 0.07s backwards;
}

.gallery-lightbox-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 900px);
}

.gallery-lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(248, 245, 252, 0.95);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.gallery-lightbox-close:hover {
  background: var(--surface);
  border-color: var(--pop-cyan);
  color: var(--pop-magenta);
}

.gallery-lightbox-close:focus-visible {
  outline: 3px solid var(--pop-cyan);
  outline-offset: 2px;
}

.gallery-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.gallery-lightbox-img-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(68vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    rgba(8, 145, 178, 0.08),
    var(--bg-wash) 40%,
    rgba(148, 163, 184, 0.06)
  );
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.gallery-lightbox-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    -32deg,
    transparent 0 52px,
    rgba(255, 255, 255, 0.045) 52px 53px
  );
}

.gallery-lightbox-img-wrap::after {
  content: '© Ep2 Art';
  position: absolute;
  bottom: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  padding: 0.25rem 0.5rem;
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  background: rgba(22, 12, 38, 0.5);
  border-radius: 4px;
  pointer-events: none;
}

.gallery-lightbox-img-wrap img {
  position: relative;
  z-index: 0;
  max-width: 100%;
  max-height: min(68vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-caption {
  flex: 0 0 auto;
  padding: 1.15rem 1.35rem 1.35rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
}

.gallery-lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
  background-image: var(--display-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gallery-lightbox-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Shop / contact */
.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 520px;
  box-shadow: var(--shadow);
}

.contact-block p {
  margin: 0 0 1rem;
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-block a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.4);
  transition: border-color 0.2s, color 0.2s;
}

.contact-block a:hover {
  color: var(--pop-magenta);
  border-bottom-color: var(--pop-gold);
}

.contact-block a.contact-email {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.contact-facebook,
.contact-instagram {
  margin-top: 1.5rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.contact-qr-link {
  display: inline-block;
  margin-top: 0.5rem;
  line-height: 0;
  border-bottom: none !important;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.contact-qr-link:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.contact-qr {
  display: block;
  width: 220px;
  max-width: min(220px, 70vw);
  height: auto;
}

.contact-qr-hint {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-block code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.donations-page > .tagline,
.about-page > .tagline {
  margin-bottom: 1.25rem;
}

/* ── Artist Bio (About page) ─────────────────────────────────────────── */
.artist-bio-main {
  max-width: 52rem;
}

.artist-bio-hero {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.artist-bio-portrait {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}

.artist-bio-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.artist-bio-portrait figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  line-height: 1.45;
}

.artist-bio-intro {
  padding-top: 0.25rem;
}

.artist-bio-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pop-cyan);
  font-weight: 600;
}

.artist-bio-name.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
}

.artist-bio-alias {
  display: block;
  font-size: 0.55em;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: 0.15em;
}

.artist-bio-lede {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.artist-bio-location {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.artist-bio-tagline {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--pop-magenta);
  padding-left: 1rem;
}

.artist-bio-story h2 {
  margin-top: 0;
}

.artist-bio-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.artist-bio-list li {
  line-height: 1.6;
  color: var(--text-muted);
}

.artist-bio-list strong {
  color: var(--text);
}

.artist-bio-gallery {
  margin: 2.5rem 0;
}

.artist-bio-gallery-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: 0 0 0.35rem;
}

.artist-bio-gallery-dek {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.artist-bio-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.artist-bio-photo-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.artist-bio-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.artist-bio-photo-card--wide {
  grid-column: span 2;
}

.artist-bio-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.artist-bio-photo-card--wide img {
  aspect-ratio: 16 / 10;
  object-position: center 20%;
}

.artist-bio-photo-card figcaption {
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.artist-bio-photo-card figcaption strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.15rem;
}

@media (max-width: 720px) {
  .artist-bio-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .artist-bio-portrait {
    max-width: 320px;
  }

  .artist-bio-photo-card--wide {
    grid-column: span 1;
  }

  .artist-bio-photo-card--wide img {
    aspect-ratio: 4 / 3;
  }
}

/* Hero video (About + Donations) */
.page-hero-video-wrap {
  width: 100%;
  margin: 0 0 2.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
  box-shadow: var(--shadow);
}

/* About + Donations — modest video inside the reading column */
.about-page .page-hero-video-wrap,
.donations-page .page-hero-video-wrap {
  max-width: 100%;
}

.about-page .page-hero-video-stage,
.donations-page .page-hero-video-stage {
  aspect-ratio: 37 / 27;
  max-height: min(52vw, 280px);
}

.page-hero-video-stage {
  position: relative;
  width: 100%;
  margin-inline: auto;
  background: #000;
}

.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.page-hero-video-meta:has(.page-hero-video-play-btn[hidden]) {
  display: none;
}

.page-hero-video-play-btn {
  margin: 0;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.page-hero-video-play-btn:hover {
  border-color: rgba(8, 145, 178, 0.45);
  color: var(--pop-cyan);
}

.page-hero-video-play-btn[hidden] {
  display: none;
}

/* Donations — Cash App: dark section card; white tile behind QR for scan contrast */
.donations-page section.contact-block.donations-cashapp {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 48px -18px rgba(0, 0, 0, 0.55);
}

.donations-page .donations-cashapp-qr-wrap {
  margin-bottom: 0;
}

.donations-page .donations-cashapp .contact-qr-hint {
  color: rgba(255, 255, 255, 0.72);
}

.donations-page .donations-cashapp .contact-qr-hint strong {
  color: #f5f5f5;
  font-weight: 700;
}

.donations-page .donations-cashapp .contact-qr-link {
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.35);
}

.donations-page .donations-cashapp .contact-qr-link:hover {
  box-shadow: 0 8px 32px -10px rgba(0, 0, 0, 0.45), var(--shadow-hover);
}

.donations-page .donations-cashapp .contact-qr {
  max-width: min(260px, 85vw);
  width: 260px;
}

/* Shop page — extra color (scoped so other pages unchanged) */
.shop-main {
  position: relative;
  animation: motion-rise-fade 0.55s var(--ease-out) 0.06s backwards;
}

.shop-main > .page-title::before {
  content: '';
  display: block;
  width: 4.5rem;
  height: 5px;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--pop-magenta), var(--pop-gold), var(--pop-lime), var(--pop-cyan));
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.35);
}

.shop-main > .tagline {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(
    125deg,
    rgba(8, 145, 178, 0.22) 0%,
    rgba(148, 163, 184, 0.16) 45%,
    rgba(148, 163, 184, 0.2) 100%
  );
  border: 1px solid rgba(8, 145, 178, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: var(--text);
}

.shop-main > .tagline p {
  margin: 0;
  line-height: 1.55;
}

.shop-main > .tagline p + p {
  margin-top: 0.9rem;
}

.shop-main > .tagline strong {
  font-weight: 700;
}

.shop-main .shop-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

.shop-main .shop-section-dek {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 38rem;
}

/* ── Genius Repair ───────────────────────────────────────────────────── */
.gr-page { background: #0f0f0f; color: #e8e8e8; }
.gr-page header { background: #0f0f0f; border-bottom: 1px solid #2a2a2a; }
.gr-page header a { color: #e8e8e8; }
.gr-page header a:hover { color: #e8a020; }
.gr-page footer { background: #0a0a0a; border-top: 1px solid #222; color: #888; }
.gr-page footer a { color: #999; }
.gr-page footer a:hover { color: #e8a020; }

/* Hero */
.gr-hero {
  background: linear-gradient(160deg, #1a1a1a 0%, #111 60%, #0a0a0a 100%);
  border-bottom: 3px solid #e8a020;
  padding: 5rem 1rem 4rem;
  text-align: center;
}
.gr-hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8a020;
  border: 1px solid #e8a020;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1.1rem;
}
.gr-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.gr-hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #e8a020;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}
.gr-hero-sub {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 38rem;
}
.gr-hero-cta {
  background: #e8a020;
  color: #000;
  font-weight: 700;
  border-color: #e8a020;
  font-size: 1rem;
  padding: 0.75rem 2rem;
}
.gr-hero-cta:hover { background: #ffb733; border-color: #ffb733; color: #000; }

/* Trust strip */
.gr-trust-strip {
  background: #e8a020;
  padding: 0.7rem 1rem;
}
.gr-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}
.gr-trust-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.gr-trust-divider { color: rgba(0,0,0,0.3); font-weight: 300; }
@media (max-width: 600px) { .gr-trust-divider { display: none; } }

/* Section title */
.gr-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 1.75rem;
  letter-spacing: 0.01em;
}

/* Services */
.gr-services {
  padding: 4rem 1rem;
}
.gr-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.gr-service-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-top: 3px solid #e8a020;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
}
.gr-service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.gr-service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 0.65rem;
  font-weight: 600;
}
.gr-service-card p {
  color: #aaa;
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.gr-service-card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Pickup & delivery */
.gr-pickup {
  padding: 0 1rem 3.5rem;
}
.gr-pickup-banner {
  background: linear-gradient(145deg, #1e1a14 0%, #141414 55%, #111 100%);
  border: 1px solid #3a3020;
  border-radius: 12px;
  padding: 2.25rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.gr-pickup-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e8a020, #ffb733, #e8a020);
}
.gr-pickup-banner-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.gr-pickup-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8a020;
  background: rgba(232, 160, 32, 0.12);
  border: 1px solid rgba(232, 160, 32, 0.45);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.85rem;
}
.gr-pickup-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #fff;
  margin: 0 0 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.gr-pickup-lede {
  color: #bbb;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
.gr-pickup-lede strong {
  color: #e8a020;
  font-weight: 600;
}
.gr-pickup-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.gr-pickup-price-card {
  background: rgba(232, 160, 32, 0.08);
  border: 1px solid rgba(232, 160, 32, 0.35);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  text-align: center;
}
.gr-pickup-price-card--auto {
  background: rgba(0, 0, 0, 0.35);
  border-color: #444;
}
.gr-pickup-price-label {
  margin: 0 0 0.35rem;
  color: #aaa;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gr-pickup-price-amount {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  color: #e8a020;
  line-height: 1.1;
}
.gr-pickup-price-card--auto .gr-pickup-price-amount {
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}
.gr-pickup-price-note {
  margin: 0;
  color: #888;
  font-size: 0.88rem;
  line-height: 1.45;
}
.gr-pickup-price-note a {
  color: #e8a020;
  font-weight: 600;
}
.gr-pickup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.gr-pickup-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gr-pickup-card:hover {
  border-color: #e8a020;
  transform: translateY(-2px);
}
.gr-pickup-card-icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
  line-height: 1;
}
.gr-pickup-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.55rem;
  font-weight: 600;
}
.gr-pickup-card p {
  color: #aaa;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 0.85rem;
}
.gr-pickup-card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: #ccc;
  font-size: 0.88rem;
  line-height: 1.75;
}
.gr-pickup-foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid #333;
  margin-bottom: 1.25rem;
}
.gr-pickup-foot-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gr-pickup-foot-item strong {
  color: #e8a020;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gr-pickup-foot-item span {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
}
.gr-pickup-cta-note {
  margin: 0;
  color: #888;
  font-size: 0.92rem;
  line-height: 1.55;
}
.gr-pickup-cta-note a {
  color: #e8a020;
  font-weight: 600;
}
.gr-pickup-cta-note a:hover {
  color: #ffb733;
}

/* Pre-inspection callout */
.gr-inspection {
  padding: 0 1rem 3.5rem;
}
.gr-inspection-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #1a1a1a;
  border: 1px solid #333;
  border-left: 5px solid #e8a020;
  border-radius: 8px;
  padding: 2rem;
}
.gr-inspection-icon { font-size: 2.5rem; flex-shrink: 0; }
.gr-inspection-text h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 0.6rem;
}
.gr-inspection-text p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* How it works */
.gr-how {
  padding: 0 1rem 4rem;
}
.gr-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.gr-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.gr-step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #e8a020;
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gr-step-body strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.gr-step-body p {
  color: #aaa;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Quote */
.gr-philosophy {
  padding: 0 1rem 4rem;
}
.gr-quote {
  border-left: 4px solid #e8a020;
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: #141414;
  border-radius: 0 8px 8px 0;
}
.gr-quote p {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 0.75rem;
}
.gr-quote footer {
  color: #e8a020;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: none;
  border: none;
  padding: 0;
}

/* CTA section */
.gr-cta-section {
  padding: 0 1rem 5rem;
  text-align: center;
}
.gr-cta-dek {
  color: #aaa;
  font-size: 1rem;
  margin: -0.75rem 0 1.5rem;
}
.gr-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.gr-cta-btns .btn-primary {
  background: #e8a020;
  color: #000;
  font-weight: 700;
  border-color: #e8a020;
}
.gr-cta-btns .btn-primary:hover { background: #ffb733; border-color: #ffb733; }
.gr-cta-btns .btn-secondary { border-color: #444; color: #ccc; }
.gr-cta-btns .btn-secondary:hover { border-color: #e8a020; color: #e8a020; }

@media (max-width: 600px) {
  .gr-inspection-inner { flex-direction: column; gap: 1rem; }
  .gr-hero { padding: 3.5rem 1rem 3rem; }
  .gr-pickup-banner { padding: 1.75rem 1.25rem 1.5rem; }
}

/* ── Gnome Lightbox ──────────────────────────────────────────────────── */
.gnome-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.gnome-lightbox[hidden] { display: none; }

.gnome-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: zoom-out;
}

.gnome-lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(92vw, 520px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: gnome-lb-pop 0.18s ease;
}
@keyframes gnome-lb-pop {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.gnome-lightbox-figure img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #111;
  display: block;
}

.gnome-lightbox-figure figcaption {
  background: #1a1a1a;
  color: #ccc;
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 0.65rem 0.9rem;
  text-align: center;
}

.gnome-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.gnome-lightbox-close:hover { background: rgba(0,0,0,0.85); }

/* ── Custom Order Form ───────────────────────────────────────────────── */
.custom-order-main {
  padding: 2rem 1rem 4rem;
}
.custom-order-main .wrap {
  max-width: 680px;
  margin: 0 auto;
}
.custom-order-intro {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 56rem;
}
.custom-order-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.co-fieldset {
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 8px;
  padding: 1.25rem 1.5rem 1.5rem;
  margin: 0;
}
.co-legend {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent, #8b5e3c);
  padding: 0 0.5rem;
}
.co-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}
.co-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading, #1a1a1a);
}
.co-required { color: #c0392b; }
.co-optional { color: var(--text-muted); font-weight: 400; font-size: 0.85em; }
.co-field input,
.co-field select,
.co-field textarea {
  border: 1px solid var(--border, #ddd);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--text, #222);
  background: #fff;
  transition: border-color 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus {
  outline: none;
  border-color: var(--accent, #8b5e3c);
  box-shadow: 0 0 0 3px rgba(139,94,60,0.12);
}
.co-field textarea { resize: vertical; min-height: 130px; }
.co-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 520px) {
  .co-field-row { grid-template-columns: 1fr; }
  .co-fieldset { padding: 1rem; }
}
.co-actions { display: flex; gap: 1rem; align-items: center; }
.co-submit { min-width: 180px; }
.co-status { margin: 0; font-size: 0.93rem; min-height: 1.4em; }
.co-status--error { color: #c0392b; }
.co-success {
  text-align: center;
  padding: 3rem 1rem;
}
.co-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.co-success h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}
.co-success p { color: var(--text-muted); line-height: 1.6; }

/* ── Crafts by Randi ─────────────────────────────────────────────────── */
.shop-main .randi-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border, #e5e5e5);
}

.randi-collection-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 1.2rem 0 0.3rem;
  color: var(--text-heading, #1a1a1a);
}

.randi-collection-dek {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.randi-cover-btn {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  max-width: 360px;
  margin: 0 0 1.5rem;
  text-align: left;
}
.randi-cover-btn:hover .randi-cover,
.randi-cover-btn:focus-visible .randi-cover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  transform: translateY(-3px);
}

.randi-cover {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.randi-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.randi-cover figcaption {
  background: #c8a87a;
  color: #fff;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.randi-gnome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.randi-gnome-grid[hidden],
.randi-cta[hidden],
.shop-page [hidden] {
  display: none;
}

.randi-gnome-card {
  margin: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.randi-gnome-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.16);
}
.randi-gnome-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.randi-gnome-card figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.randi-gnome-card figcaption strong {
  font-size: 0.97rem;
  color: var(--text-heading, #1a1a1a);
  letter-spacing: 0.01em;
}
.randi-gnome-card figcaption span {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.randi-gnome-card figcaption .catalog-price {
  color: var(--accent, #8b5e3c);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}
.randi-gnome-card figcaption .catalog-availability {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(46, 125, 50, 0.3);
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.09);
  color: #2e6b32;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}
.catalog-order-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  background: var(--accent, #8b5e3c);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.catalog-order-link:hover,
.catalog-order-link:focus-visible {
  filter: brightness(1.1);
  color: #fff;
}
.shop-terms-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent, #8b5e3c);
  background: rgba(139, 94, 60, 0.08);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.cashapp-order-flow {
  margin: 1rem 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(139, 94, 60, 0.22);
  border-radius: 9px;
  background: rgba(139, 94, 60, 0.06);
}
.cashapp-order-flow > strong {
  color: var(--text-heading);
}
.cashapp-order-flow ol {
  margin: 0.55rem 0 0;
  padding-left: 1.35rem;
}
.cashapp-order-flow li {
  margin: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.co-product-price {
  margin: 0.35rem 0 0;
  color: var(--accent, #8b5e3c);
  font-weight: 700;
}

.gallery-commerce-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(139, 94, 60, 0.22);
  border-radius: var(--radius);
  background: rgba(139, 94, 60, 0.06);
}
.gallery-commerce-path strong,
.gallery-commerce-path span {
  display: block;
}
.gallery-commerce-path strong {
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}
.gallery-commerce-path span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.gallery-commerce-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.gallery-lightbox-commission {
  display: inline-flex;
  margin-top: 0.65rem;
  color: var(--accent, #8b5e3c);
  font-size: 0.9rem;
  font-weight: 700;
}
@media (max-width: 650px) {
  .gallery-commerce-path {
    align-items: stretch;
    flex-direction: column;
  }
  .gallery-commerce-actions {
    display: grid;
  }
}

/* ── Ep2Art 3D Print Shop ──────────────────────────────────────────────── */
.print-shop-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border, #e5e5e5);
}

.print-shop-footer {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #f5f1ec;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.print-shop-photo-sm {
  margin: 0;
  flex: 0 0 120px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}
.print-shop-photo-sm img { width: 100%; height: auto; display: block; }
.print-shop-photo-sm figcaption {
  background: #1a1a1a;
  color: #aaa;
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
  text-align: center;
}

.print-shop-custom-cta {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.print-shop-custom-cta strong { font-size: 1rem; color: var(--text-heading, #1a1a1a); }
.print-shop-custom-cta p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 600px) {
  .print-product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
}

.randi-cta {
  font-size: 1rem;
  padding: 1rem 1.25rem;
  background: #f5f1ec;
  border-left: 3px solid #c8a87a;
  border-radius: 4px;
  max-width: 42rem;
}
.randi-cta a {
  color: var(--accent, #8b5e3c);
  font-weight: 600;
}

.randi-close-btn {
  display: inline-block;
  background: none;
  border: 1px solid var(--accent, #8b5e3c);
  color: var(--accent, #8b5e3c);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-size: 0.85rem;
  cursor: pointer;
  margin-left: 0.75rem;
  vertical-align: middle;
  transition: background 0.15s ease, color 0.15s ease;
}
.randi-close-btn:hover {
  background: var(--accent, #8b5e3c);
  color: #fff;
}

@media (max-width: 600px) {
  .randi-gnome-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .randi-cover {
    max-width: 100%;
  }
}

.shop-main .shop-showcase {
  margin-top: 0.5rem;
}

.shop-main .shop-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 520px) {
  .shop-main .shop-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .shop-main .shop-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.shop-main .shop-showcase-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.shop-main .shop-showcase-link {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  display: block;
}

.shop-main .shop-showcase-frame {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: rgba(12, 6, 20, 0.35);
}

.shop-main .shop-showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.shop-main .shop-showcase-link:hover .shop-showcase-frame img,
.shop-main .shop-showcase-link:focus-visible .shop-showcase-frame img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.shop-main .shop-showcase-link:focus-visible {
  outline: 2px solid var(--pop-cyan);
  outline-offset: 3px;
}

.shop-main .shop-showcase-caption {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.35;
}

.shop-main .shop-gallery-cta {
  margin: 1.25rem 0 0;
  text-align: center;
}

.shop-main .shop-offer {
  margin-top: 1.5rem;
}

.shop-main .shop-offer-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
  line-height: 1.55;
}

.shop-main .shop-offer-list li + li {
  margin-top: 0.65rem;
}

.shop-main .shop-steps {
  margin-top: 1.5rem;
}

.shop-main .shop-steps-list {
  margin: 0;
  padding-left: 1.35rem;
  line-height: 1.55;
}

.shop-main .shop-steps-list li + li {
  margin-top: 0.75rem;
}

.shop-main .shop-steps-list strong {
  font-weight: 700;
}

.shop-main .shop-commission {
  margin: 1.75rem 0 1.5rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.14) 0%,
    rgba(8, 145, 178, 0.18) 50%,
    rgba(148, 163, 184, 0.12) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.38);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.shop-main .shop-commission-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.shop-main .shop-commission-lede {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.5;
}

.shop-main .shop-commission-checklist {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  line-height: 1.55;
}

.shop-main .shop-commission-checklist li + li {
  margin-top: 0.45rem;
}

.shop-main .shop-commission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.shop-main .contact-block {
  background: linear-gradient(
    155deg,
    var(--surface) 0%,
    rgba(209, 213, 219,  0.22) 42%,
    rgba(8, 145, 178, 0.16) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow), inset 4px 0 0 var(--pop-magenta), inset 8px 0 0 var(--pop-gold);
}

.shop-main .contact-block > p:first-child strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.shop-main .contact-facebook,
.shop-main .contact-instagram {
  border-top-color: rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem 1rem;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}

.shop-main .contact-facebook {
  background: linear-gradient(160deg, rgba(8, 102, 255, 0.16) 0%, rgba(8, 145, 178, 0.12) 100%);
  border: 1px solid rgba(8, 102, 255, 0.28);
  border-top: 1px solid rgba(8, 102, 255, 0.32);
  margin-top: 1.35rem !important;
}

.shop-main .contact-facebook strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.shop-main .contact-instagram {
  background: linear-gradient(
    145deg,
    rgba(225, 48, 108, 0.18) 0%,
    rgba(253, 203, 92, 0.14) 40%,
    rgba(131, 58, 180, 0.14) 100%
  );
  border: 1px solid rgba(225, 48, 108, 0.3);
  border-top: 1px solid rgba(225, 48, 108, 0.36);
}

.shop-main .contact-instagram strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.shop-main .contact-qr-link {
  box-shadow: 0 4px 16px -4px rgba(148, 163, 184, 0.25), 0 0 0 2px rgba(148, 163, 184, 0.12);
}

.shop-main .contact-qr-hint {
  color: var(--text-muted);
  font-weight: 700;
}

/* Contact page — intro + phone + quick links */
.shop-main.contact-page .contact-page-intro {
  margin-top: 0.35rem;
  margin-bottom: 1.5rem;
}

.shop-main.contact-page .contact-page-intro p + p {
  margin-top: 1rem;
}

.shop-main.contact-page .contact-page-intro a {
  color: var(--pop-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(148, 163, 184, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.shop-main.contact-page .contact-page-intro a:hover {
  color: var(--pop-magenta);
  border-bottom-color: var(--pop-gold);
}

.shop-main.contact-page .contact-misfit-phone {
  margin-top: 1.35rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.shop-main.contact-page .contact-misfit-phone strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.shop-main.contact-page .contact-phone {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  border-bottom-width: 2px;
}

.shop-main.contact-page .contact-phone-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.shop-main.contact-page .contact-quick-links {
  margin-top: 1.35rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.shop-main.contact-page .contact-quick-links-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.shop-main.contact-page .contact-quick-links-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.shop-main.contact-page .contact-quick-links-list li {
  margin-bottom: 0.45rem;
}

.shop-main.contact-page .contact-quick-links-list li:last-child {
  margin-bottom: 0;
}

.shop-main.contact-page .contact-quick-links-list a {
  font-weight: 700;
}

main:has(#live-player-wrap) {
  animation: motion-rise-fade 0.55s var(--ease-out) 0.06s backwards;
}

/* Live page: TV-guide schedule */
.live-schedule {
  margin: 1.5rem 0 1.75rem;
}

.live-commerce {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 1rem 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(159, 240, 255, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(159, 240, 255, 0.08), rgba(139, 92, 246, 0.08));
}
.live-commerce strong,
.live-commerce span {
  display: block;
}
.live-commerce strong {
  margin-bottom: 0.25rem;
  color: var(--text-heading);
}
.live-commerce span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.live-commerce-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.live-commerce-actions .btn {
  white-space: nowrap;
}

.live-schedule-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.live-schedule-grid {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.live-schedule-row {
  display: grid;
  grid-template-columns: 10rem 1fr 6rem;
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.15s;
}

.live-schedule-row:last-child {
  border-bottom: none;
}

.live-schedule-header {
  background: rgba(15, 10, 24, 0.7);
}

.live-schedule-row:not(.live-schedule-header):hover {
  background: rgba(139, 92, 246, 0.06);
}

.live-schedule-row--featured {
  background: rgba(139, 92, 246, 0.05);
}

.live-schedule-cell {
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.live-schedule-header .live-schedule-cell {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
}

.live-schedule-cell--time {
  font-variant-numeric: tabular-nums;
  color: var(--pop-cyan);
  font-weight: 600;
  font-size: 0.8125rem;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
}

.live-schedule-cell--days {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  border-left: 1px solid rgba(148, 163, 184, 0.1);
}

.live-schedule-show-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.live-schedule-show-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.live-schedule-badge {
  display: inline-block;
  padding: 0.1em 0.5em;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  vertical-align: middle;
}

.live-schedule-badge--movie {
  background: rgba(249, 115, 22, 0.2);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.35);
  font-size: 0.8rem;
  padding: 0.05em 0.35em;
}

@media (max-width: 600px) {
  .live-commerce {
    align-items: stretch;
    flex-direction: column;
  }
  .live-commerce-actions {
    display: grid;
  }

  .live-schedule-row {
    grid-template-columns: 1fr;
  }

  .live-schedule-cell--time {
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--pop-cyan);
    font-size: 0.75rem;
    padding-bottom: 0.35rem;
  }

  .live-schedule-cell--days {
    border-left: none;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    text-align: left;
    padding-top: 0.35rem;
    font-size: 0.75rem;
  }

  .live-schedule-header {
    display: none;
  }
}

/* Live page: TikTok-style single-column layout */
.live-stage-wrap {
  position: relative;
  margin-top: 0.5rem;
  background: linear-gradient(180deg, #2a120c 0%, #140a08 100%);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow-hover), 0 0 0 2px rgba(148, 163, 184, 0.35), 0 0 24px rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(8, 145, 178, 0.35);
}

/* Legacy sidebar layout — kept for OBS dock and fallback */
.live-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .live-layout {
    grid-template-columns: 1fr;
  }
}

.live-primary {
  min-width: 0;
}

.live-chat-aside {
  min-width: 0;
  min-height: 280px;
}

/* Live player */
.player-wrap {
  margin: 0;
  background: linear-gradient(180deg, #2a120c 0%, #140a08 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover), 0 0 0 2px rgba(148, 163, 184, 0.35), 0 0 24px rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(8, 145, 178, 0.35);
}

.live-player-stage {
  position: relative;
  background: #0c0614;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
}

.live-player-stage [data-live-video] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.live-player-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 75% 55% at 50% 35%, rgba(148, 163, 184, 0.28), transparent 62%),
    radial-gradient(ellipse 50% 45% at 85% 75%, rgba(148, 163, 184, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 40% at 12% 80%, rgba(8, 145, 178, 0.12), transparent 50%),
    linear-gradient(168deg, #2a120c 0%, #140a08 48%, #1c0f0c 100%);
  transition: opacity 0.45s var(--ease-out), visibility 0.45s var(--ease-out);
}

.live-player-placeholder:has([data-live-idle]) {
  background: #000;
  padding: 0;
}

.live-player-idle {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

@media (prefers-reduced-motion: reduce) {
  .live-player-idle {
    display: none;
  }

  .live-player-placeholder:has([data-live-idle]) {
    background:
      radial-gradient(ellipse 75% 55% at 50% 35%, rgba(148, 163, 184, 0.28), transparent 62%),
      radial-gradient(ellipse 50% 45% at 85% 75%, rgba(148, 163, 184, 0.14), transparent 55%),
      radial-gradient(ellipse 45% 40% at 12% 80%, rgba(8, 145, 178, 0.12), transparent 50%),
      linear-gradient(168deg, #2a120c 0%, #140a08 48%, #1c0f0c 100%);
  }
}

.player-wrap.is-live .live-player-placeholder,
.live-stage-wrap.is-live .live-player-placeholder {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.live-player-placeholder-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  box-shadow: 0 0 0 0 rgba(100, 116, 139, 0.45);
  animation: live-placeholder-pulse 2.2s ease-in-out infinite;
}

@keyframes live-placeholder-pulse {
  0%,
  100% {
    opacity: 0.55;
    box-shadow: 0 0 0 0 rgba(100, 116, 139, 0.35);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(100, 116, 139, 0);
  }
}

.live-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 1rem 1.35rem;
  background: linear-gradient(90deg, rgba(20, 22, 28, 0.95), rgba(15, 10, 24, 0.98));
  color: #ddd4f0;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.9375rem;
}

.live-status-offair-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4b8dc;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}

.live-status-offline-msg {
  font-weight: 600;
  color: #ddd4f0;
}

.live-status.live {
  color: #7befb5;
  text-shadow: 0 0 12px rgba(123, 239, 181, 0.45);
}

/* ── TikTok overlay controls ─────────────────────────────────── */

/* Floating chat messages layered over the bottom-left of the video */
.live-chat-overlay {
  position: absolute;
  bottom: 4.5rem;
  left: 1rem;
  width: min(55%, 420px);
  max-height: 58%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3rem;
  overflow: hidden;
  pointer-events: none;
}

.live-chat-overlay.chat-hidden {
  display: none;
}

/* Individual floating message — bare text, no bubble */
.chat-row {
  display: inline-block;
  max-width: 100%;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
  animation: slide-up-fade 0.3s ease-out both;
  pointer-events: none;
  /* thin outline so text stays readable over any video frame */
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.75),
     1px -1px 0 rgba(0,0,0,0.75),
    -1px  1px 0 rgba(0,0,0,0.75),
     1px  1px 0 rgba(0,0,0,0.75);
}

.chat-row-who {
  font-weight: 700;
  color: #c4b5fd;
  margin-right: 0.25rem;
}

.chat-row-body {
  color: #f8fafc;
}

@keyframes slide-up-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-row {
    animation: none;
  }
}

/* Control buttons (top-right corner of the video) */
.live-player-controls {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.live-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #e2e8f0;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.live-ctrl-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.live-ctrl-btn:hover,
.live-ctrl-btn:focus-visible {
  background: rgba(139, 92, 246, 0.65);
  border-color: rgba(167, 139, 250, 0.6);
  color: #fff;
  outline: none;
}

.live-ctrl-btn[aria-pressed="true"] {
  background: rgba(139, 92, 246, 0.4);
  border-color: rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
}

.live-ctrl-btn.is-casting {
  background: rgba(8, 145, 178, 0.65);
  border-color: rgba(34, 211, 238, 0.7);
  color: #a5f3fc;
}

/* Viewer count badge — non-interactive pill sitting in the control bar */
.live-viewer-count {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.65rem;
  height: 2.1rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
}

.live-viewer-count svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Input bar below the video */
.live-chat-input-bar {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 0.6rem 0.85rem;
  background: rgba(15, 10, 24, 0.85);
  border-radius: 0 0 var(--radius) var(--radius);
}

.live-chat-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.live-chat-bar .live-chat-name-label {
  font-size: 0;
}

.live-chat-bar .live-chat-name {
  width: 9rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius);
  color: #e2e8f0;
  outline: none;
  transition: border-color 0.18s;
}

.live-chat-bar .live-chat-name:focus {
  border-color: rgba(139, 92, 246, 0.6);
}

.live-chat-bar .live-chat-form {
  display: flex;
  flex: 1;
  gap: 0.4rem;
  min-width: 0;
}

.live-chat-bar .live-chat-input {
  flex: 1;
  min-width: 0;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius);
  color: #e2e8f0;
  outline: none;
  transition: border-color 0.18s;
}

.live-chat-bar .live-chat-input:focus {
  border-color: rgba(139, 92, 246, 0.6);
}

.live-chat-bar .live-chat-send {
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.75);
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s;
}

.live-chat-bar .live-chat-send:hover {
  background: rgba(139, 92, 246, 0.95);
  border-color: rgba(167, 139, 250, 0.8);
}

.live-chat-bar .live-chat-error {
  width: 100%;
  font-size: 0.8rem;
  color: #f87171;
  margin: 0;
  min-height: 1.2em;
}

/* Fullscreen overrides */
.live-stage-wrap:fullscreen,
.live-stage-wrap:-webkit-full-screen {
  border-radius: 0;
  border: none;
  box-shadow: none;
  margin: 0;
  max-width: 100vw;
}

.live-stage-wrap:fullscreen .live-player-stage,
.live-stage-wrap:-webkit-full-screen .live-player-stage {
  max-height: 100vh;
  aspect-ratio: unset;
  height: 100vh;
}

.live-stage-wrap:fullscreen .live-chat-input-bar,
.live-stage-wrap:-webkit-full-screen .live-chat-input-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border-radius: 0;
  background: rgba(10, 6, 18, 0.88);
}

/* ── Live chat (Supabase / iframe / setup hint) ───────────────── */
.live-chat-setup {
  height: 100%;
  min-height: 280px;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(165deg, rgba(20, 22, 28, 0.92) 0%, rgba(15, 10, 24, 0.98) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(8, 145, 178, 0.2);
  color: #ddd4f0;
  font-size: 0.9375rem;
  line-height: 1.58;
}

.live-chat-setup p {
  margin: 0 0 0.75rem;
}

.live-chat-setup p:last-child {
  margin-bottom: 0;
}

.live-chat-setup code {
  font-size: 0.82em;
  padding: 0.12em 0.35em;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  color: #e8dff5;
}

.live-chat-setup-hint {
  color: #c4b6dc;
  font-size: 0.875rem;
}

.live-chat-embed-wrap {
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(8, 145, 178, 0.2);
  background: #140a08;
}

.live-chat-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.live-chat-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  max-height: min(70vh, 640px);
  background: linear-gradient(165deg, rgba(20, 22, 28, 0.95) 0%, rgba(15, 10, 24, 0.99) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-hover), 0 0 24px rgba(148, 163, 184, 0.08);
  overflow: hidden;
}

/* OBS dock: /live-chat-dock.html — chat only, fills dock height */
body.live-chat-dock {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #08050f;
  color: #ddd4f0;
}

body.live-chat-dock .live-chat-dock-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body.live-chat-dock .live-chat-dock-bar {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(105deg, rgba(26, 16, 48, 0.98), rgba(15, 10, 24, 0.99));
}

body.live-chat-dock .live-chat-dock-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  background-image: var(--display-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

body.live-chat-dock .live-chat-dock-meta {
  font-size: 0.75rem;
  color: #9a8bad;
  letter-spacing: 0.04em;
}

body.live-chat-dock .live-chat-dock-meta a {
  color: #5eead4;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(94, 234, 212, 0.35);
}

body.live-chat-dock .live-chat-dock-meta a:hover {
  color: #f9a8d4;
  border-bottom-color: rgba(249, 168, 212, 0.5);
}

body.live-chat-dock #live-chat-root,
body.live-chat-dock .live-chat-dock-root {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.live-chat-dock .live-chat-panel,
body.live-chat-dock .live-chat-setup {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  height: auto;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: none;
}

body.live-chat-dock .live-chat-setup {
  min-height: 0;
}

body.live-chat-dock .live-chat-messages {
  min-height: 0;
}

.live-chat-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(0, 0, 0, 0.2);
}

.live-chat-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  background-image: var(--display-gradient-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.live-chat-name-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9bdd8;
}

.live-chat-name {
  width: 8.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(8, 145, 178, 0.35);
  background: rgba(15, 10, 24, 0.8);
  color: #f0e8ff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
}

.live-chat-name:focus {
  outline: 2px solid rgba(148, 163, 184, 0.5);
  outline-offset: 1px;
}

.live-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem 1rem;
  scroll-behavior: smooth;
  font-size: 0.875rem;
  line-height: 1.5;
}

.live-chat-msg {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.live-chat-msg:last-child {
  border-bottom: none;
}

.live-chat-msg-meta {
  margin-bottom: 0.2rem;
}

.live-chat-msg-time {
  color: #9a8bad;
  font-size: 0.75rem;
}

.live-chat-msg-who {
  color: #7befb5;
  font-weight: 600;
  margin-left: 0.25rem;
}

.live-chat-msg-text {
  color: #ebe4f7;
  word-break: break-word;
}

.live-chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(0, 0, 0, 0.25);
}

.live-chat-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(8, 145, 178, 0.35);
  background: rgba(15, 10, 24, 0.9);
  color: #f5f0ff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.live-chat-input:focus {
  outline: 2px solid rgba(148, 163, 184, 0.45);
  outline-offset: 1px;
}

.live-chat-send {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(125deg, var(--pop-magenta) 0%, var(--accent) 50%, var(--pop-violet) 100%);
  box-shadow: 0 2px 12px -2px rgba(148, 163, 184, 0.45);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.live-chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px -4px rgba(148, 163, 184, 0.5);
}

.live-chat-error {
  margin: 0;
  padding: 0 1rem 0.65rem;
  font-size: 0.8125rem;
  color: #ffb3cc;
  min-height: 1.25rem;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 1.5rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(28, 15, 12, 0.92), rgba(20, 10, 8, 0.78));
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

footer .wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: min(100%, 26rem);
}

.footer-copy {
  margin: 0;
}

.footer-rights {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  opacity: 0.92;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  align-items: center;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--pop-gold);
}

.footer-links a + a {
  border-left: 1px solid var(--border);
  padding-left: 0.85rem;
  margin-left: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .gallery-item:hover,
  .gallery-item:hover .thumb img,
  .btn-primary:hover,
  .btn-secondary:hover,
  .live-chat-send:hover,
  .shop-main .contact-qr-link:hover,
  .logo:hover .logo-mark {
    transform: none;
  }

  .live-chat-messages {
    scroll-behavior: auto;
  }

  .gallery-lightbox::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .btn-primary:active,
  .btn-secondary:active {
    transform: none;
  }

  .live-player-placeholder-dot {
    animation: none;
    opacity: 0.75;
  }
}

/* The Misfit Collective — community wall */
.misfit-page .misfit-intro {
  max-width: 42rem;
}

.misfit-wall {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 42rem;
}

.misfit-wall-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.misfit-wall-dek {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.misfit-wall-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.misfit-wall-section-label {
  list-style: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.5rem 0 0.15rem;
  padding: 0;
}

.misfit-wall-section-label:first-child {
  margin-top: 0;
}

.misfit-wall-item {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.misfit-wall-item:last-child {
  border-bottom: none;
}

.misfit-wall-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}

.misfit-wall-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  color: var(--pop-magenta, #9ca3af);
}

.misfit-wall-badge--local {
  color: var(--accent, #0891b2);
}

.misfit-wall-who {
  font-weight: 700;
  color: var(--text);
}

.misfit-wall-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* Muted lime wall copy — reset clip so site “gradient text” rules can’t wash it out */
main.misfit-page .misfit-wall-list .misfit-wall-item p.misfit-wall-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  color: #5a9a52;
  -webkit-text-fill-color: #5a9a52;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.misfit-wall-empty {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-style: italic;
}

.misfit-wall-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.misfit-wall-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.35rem;
}

.misfit-wall-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.misfit-wall-input,
.misfit-wall-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border);
  background: rgba(20, 13, 34, 0.88);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.misfit-wall-textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

.misfit-wall-input:focus,
.misfit-wall-textarea:focus {
  outline: 2px solid rgba(148, 163, 184, 0.35);
  outline-offset: 2px;
  border-color: rgba(148, 163, 184, 0.35);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.live-status-badge {
  margin-left: auto;
  margin-right: 1rem;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(20, 13, 34, 0.9);
}

.live-status-badge.is-live {
  border-color: rgba(74, 222, 128, 0.55);
  color: #b7ffca;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.2);
}

/* MoonBloom festival banner */
.moonbloom-banner {
  margin: 1rem 0 1.25rem;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 80% 60% at 15% 40%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 60%, rgba(251, 191, 36, 0.2), transparent 55%),
    linear-gradient(135deg, #1a0f2e 0%, #0f1a10 55%, #1a1000 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 4px 32px rgba(251, 191, 36, 0.1);
  animation: moonbloom-pulse 4s ease-in-out infinite;
}

@keyframes moonbloom-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 4px 32px rgba(251, 191, 36, 0.1); }
  50%       { box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 4px 40px rgba(251, 191, 36, 0.22); }
}

@media (prefers-reduced-motion: reduce) {
  .moonbloom-banner { animation: none; }
}

.moonbloom-banner-inner {
  padding: 1.35rem 1.5rem 1.4rem;
}

.moonbloom-banner-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24;
}

.moonbloom-banner-heading {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  background: linear-gradient(105deg, #fbbf24 0%, #f472b6 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.moonbloom-banner-body {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd4f0;
  max-width: 62ch;
}

.moonbloom-code {
  display: inline-block;
  padding: 0.1em 0.5em;
  font-family: var(--font-mono, monospace);
  font-size: 0.95em;
  letter-spacing: 0.08em;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 4px;
  color: #fbbf24;
  font-weight: 700;
}

.moonbloom-banner-btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  background: linear-gradient(105deg, #d97706, #b45309);
  border: 1px solid rgba(251, 191, 36, 0.6);
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: filter 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.25);
}

.moonbloom-banner-btn:hover,
.moonbloom-banner-btn:focus-visible {
  filter: brightness(1.15);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
  outline: none;
}

.home-update-block {
  margin-top: 1rem;
  margin-bottom: 1.4rem;
}

.home-update-ticker {
  margin: 0;
  font-size: 1.05rem;
}

.home-update-label {
  color: var(--pop-cyan);
  font-weight: 700;
}

.home-engagement-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1rem;
}

.home-poll form,
.home-signup form {
  display: grid;
  gap: 0.55rem;
}

.home-signup input[type="email"],
.gallery-toolbar input[type="search"] {
  background: rgba(20, 13, 34, 0.88);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
}

.reaction-status {
  color: var(--text-muted);
  min-height: 1.2em;
}

.reaction-totals {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  color: var(--text-muted);
}

.reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reaction-row button {
  background: rgba(20, 13, 34, 0.88);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.gallery-toolbar {
  margin-bottom: 1.2rem;
}

.gallery-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.gallery-toolbar .btn {
  padding: 0.4rem 0.8rem;
}

.gallery-toolbar .btn.is-active {
  border-color: var(--pop-cyan);
  box-shadow: 0 0 8px rgba(8, 145, 178, 0.2);
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  background: rgba(20, 13, 34, 0.88);
  color: var(--text);
  border-radius: 999px;
  width: 2.2rem;
  height: 2.2rem;
}

.gallery-lightbox-prev { left: 0.5rem; }
.gallery-lightbox-next { right: 0.5rem; }

.troy-event-reminders {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.78rem;
}

.mobile-quick-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  justify-content: space-around;
  background: rgba(15, 10, 24, 0.96);
  border-top: 1px solid var(--border);
  padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
}

.mobile-quick-actions a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .mobile-quick-actions {
    display: flex;
  }
  body {
    padding-bottom: 3.4rem;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--pop-cyan);
  outline-offset: 2px;
}

.about-block,
.home-panel,
.gallery-item,
.blog-card {
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.about-block:hover,
.home-panel:hover,
.gallery-item:hover,
.blog-card:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.misfit-wall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.misfit-wall-status {
  min-height: 1.25rem;
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.misfit-wall-status--error {
  color: #b91c1c;
}

@media (max-width: 520px) {
  .misfit-wall-time {
    margin-left: 0;
    width: 100%;
  }
}

/* Force highly visible site links */
a,
a:link,
a:visited,
.about-block a,
.about-block a:link,
.about-block a:visited {
  color: #ffd7a8 !important;
  text-decoration: underline !important;
  text-decoration-color: #ffd7a8 !important;
  text-shadow: 0 0 2px rgba(255, 247, 237, 0.18) !important;
}

a:hover,
a:focus,
.about-block a:hover,
.about-block a:focus {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}

/* Force readable heading text in case older gradient rules are cached */
.logo,
main .page-title,
main .misfit-wall-title,
.hero h1,
.about-block h2,
.gallery-item h2,
.shop-main .contact-block > p:first-child strong,
.shop-main .contact-facebook strong,
.shop-main .contact-instagram strong {
  background-image: none !important;
  color: #f5f8ff !important;
  -webkit-text-fill-color: #f5f8ff !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55) !important,
    0 0 24px rgba(255, 255, 255, 0.18) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Auth / Members — v20260622auth
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Nav member badge ──────────────────────────────────────────────────────── */
.nav-member-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  white-space: nowrap;
  text-decoration: none !important;
  color: #e0f4ff !important;
}
.nav-member-badge:hover,
.nav-member-badge:focus {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
}
.nav-member-name {
  font-weight: 600;
  color: #ffd7a8;
}
.nav-member-logout {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffd7a8 !important;
  font-size: 0.75rem;
  padding: 0;
  text-decoration: underline !important;
}
.nav-member-logout:hover { color: #fff !important; }
.nav-member-join {
  font-weight: 600;
}

/* ── Members hero ──────────────────────────────────────────────────────────── */
.members-hero {
  padding: 3.5rem 1rem 2rem;
  text-align: center;
}
.members-hero-heading {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: #f5f8ff;
  margin-bottom: 0.75rem;
}
.members-hero-sub {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ── Auth card ─────────────────────────────────────────────────────────────── */
.auth-section {
  max-width: 480px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}
.auth-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}
.auth-already-in {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--text-muted);
}
.auth-already-in strong { color: #ffd7a8; }
.auth-already-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* ── Auth tabs ─────────────────────────────────────────────────────────────── */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.auth-tab {
  flex: 1;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  text-align: center;
}
.auth-tab:hover { color: #e0f4ff; background: rgba(255,255,255,0.04); }
.auth-tab--active {
  color: #ffd7a8;
  background: rgba(159, 240, 255, 0.06);
  border-bottom: 2px solid #ffd7a8;
}

/* ── Auth panels ───────────────────────────────────────────────────────────── */
.auth-panel {
  padding: 1.75rem 1.5rem 1.5rem;
}
.auth-panel--hidden { display: none; }
.auth-panel-intro {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.auth-panel-footer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
.auth-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffd7a8 !important;
  text-decoration: underline !important;
  font-size: inherit;
  padding: 0;
}

/* ── Auth form fields ──────────────────────────────────────────────────────── */
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-field { display: flex; flex-direction: column; gap: 0.3rem; }
.auth-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d0e8f5;
}
.auth-input {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px;
  color: #f0f8ff;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.auth-input:focus {
  outline: none;
  border-color: #ffd7a8;
  box-shadow: 0 0 0 3px rgba(159, 240, 255, 0.15);
}
.auth-input::placeholder { color: rgba(255,255,255,0.3); }
.auth-field-hint {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.auth-status {
  min-height: 1.2em;
  font-size: 0.875rem;
  text-align: center;
}
.auth-status--error { color: #f87171; }
.auth-status--ok    { color: #86efac; }
.auth-submit {
  margin-top: 0.25rem;
  width: 100%;
}

/* ── Members gate (full-page and inline variants) ──────────────────────────── */
.members-gate {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  padding: 2rem 1rem;
}
.members-gate-inner {
  max-width: 420px;
  text-align: center;
}
.members-gate-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.members-gate-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5f8ff;
  margin-bottom: 0.75rem;
}
.members-gate-body {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.members-gate-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Inline gate (used in gallery, etc.) */
.members-gate--inline {
  min-height: unset;
  padding: 1rem 0;
  justify-content: flex-start;
}
.members-gate--inline .members-gate-body { margin-bottom: 0; }

/* ── Members perks section ─────────────────────────────────────────────────── */
.members-perks {
  max-width: 520px;
  margin: 0 auto 4rem;
  padding: 2rem 1rem;
  text-align: center;
}
.members-perks-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f5f8ff;
  margin-bottom: 1rem;
}
.members-perks-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.members-perks-list li {
  padding: 0.65rem 1rem;
  background: rgba(159, 240, 255, 0.06);
  border: 1px solid rgba(159, 240, 255, 0.12);
  border-radius: 8px;
  color: #d0e8f5;
  font-size: 0.95rem;
}
.members-perks-list li::before { content: '✓  '; color: #ffd7a8; font-weight: 700; }

/* ── Live viewer list panel ────────────────────────────────────────────────── */
.live-viewers-panel {
  max-width: 520px;
  margin: 1.5rem auto;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}
.live-viewers-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.live-viewers-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.live-viewer-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: rgba(159, 240, 255, 0.08);
  border: 1px solid rgba(159, 240, 255, 0.15);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #ffd7a8;
}
.live-viewer-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.live-viewers-empty {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Live chat gate ────────────────────────────────────────────────────────── */
.live-chat-gate {
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ── Gallery "posting as" hint ─────────────────────────────────────────────── */
.gc-posting-as {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Movie suggestion box ────────────────────────────────────────────────────── */
.movie-suggest-section {
  max-width: 520px;
  margin: 1.5rem auto 3rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}
.movie-suggest-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f5f8ff;
  margin: 0 0 0.35rem;
}
.movie-suggest-intro {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}
.movie-suggest-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.movie-suggest-input {
  flex: 1;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px;
  color: #f0f8ff;
  font-size: 0.95rem;
  padding: 0.55rem 0.8rem;
  min-width: 0;
}
.movie-suggest-input:focus {
  outline: none;
  border-color: #ffd7a8;
  box-shadow: 0 0 0 3px rgba(159,240,255,0.15);
}
.movie-suggest-input::placeholder { color: rgba(255,255,255,0.3); }
.movie-suggest-btn { white-space: nowrap; }
.movie-suggest-status {
  min-height: 1.2em;
  font-size: 0.8rem;
  color: #ffd7a8;
  margin: 0 0 0.75rem;
}
.movie-suggest-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}
.movie-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: background 0.15s;
}
.movie-suggest-item:hover { background: rgba(255,255,255,0.07); }
.movie-vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  min-width: 42px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.movie-vote-btn svg { width: 14px; height: 14px; }
.movie-vote-btn:hover {
  background: rgba(159,240,255,0.1);
  border-color: rgba(159,240,255,0.3);
  color: #ffd7a8;
}
.movie-vote-btn--voted {
  background: rgba(159,240,255,0.15);
  border-color: #ffd7a8;
  color: #ffd7a8;
}
.movie-suggest-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.movie-suggest-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0f8ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-suggest-who {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.movie-suggest-loading,
.movie-suggest-empty {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.5rem 0;
}
