/* --- Brand fonts --- */
@font-face {
  font-family: "Dalek Pinpoint";
  src: url("../fonts/DalekPinpointBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NIKAO Garamond";
  src: url("../fonts/AppleGaramond.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Phalanx color palette --- */
:root {
  --obsidian: #000000;
  --dark-grey: #111111;
  --crimson: #9e1316;
  --gold: #d4af37;
  --bronze: #aa7939;

  /* Semantic tokens */
  --bg: var(--obsidian);
  --bg-elevated: var(--dark-grey);
  --surface: #1a1a1a;
  --border: #3a2e1e;
  --text: #f2ebe0;
  --text-muted: #b8a88a;
  --accent: var(--gold);
  --accent-hover: #e8c656;
  --primary: var(--crimson);
  --primary-hover: #c41a1e;
  --secondary: var(--bronze);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  --font-body: "NIKAO Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-heading: "Dalek Pinpoint", Impact, "Arial Black", sans-serif;
  --font: var(--font-body);
  --max-width: 1200px;
  --header-h: 88px;
  --logo-nav-height: 58px;
  --site-cursor: url("../images/cursors/spartan-arrow-cursor.png?v=5") 2 2, auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: var(--site-cursor);
}

html.custom-cursor-active.custom-cursor-ready,
html.custom-cursor-active.custom-cursor-ready * {
  cursor: none !important;
}

html.custom-cursor-dialog.custom-cursor-ready dialog[open],
html.custom-cursor-dialog.custom-cursor-ready dialog[open]::backdrop,
html.custom-cursor-dialog.custom-cursor-ready dialog[open] * {
  cursor: var(--site-cursor) !important;
}

body,
body * {
  cursor: var(--site-cursor);
}

.spartan-arrow-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 2147483647;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.6));
}

.spartan-arrow-cursor.is-visible {
  opacity: 1;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #1a1410 0%, var(--obsidian) 55%);
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-wordmark,
.hero-title,
.hero-subtitle,
.hero-eyebrow,
.hero h1:not(.hero-title),
.room-hero__title,
.room-hero__tagline,
.stories-hero__title,
.stories-hero__tagline,
.blog-hero__title,
.blog-hero__eyebrow,
.shop-hero__eyebrow,
.page-cards__title,
.about-section__title,
.about-block__title,
.about-how-split__copy .about-block__title,
.shop-card-title,
.shop-card-unlock-step__title,
.shop-card-reflection__title,
.tale-unlock-banner__title,
.section-heading,
.story-title,
.viewer-title,
.card-title,
.post-title,
.tale-series,
.tale-meros,
.tale-product-cta h2,
.feature-card h2,
.footer-heading,
.blog-auth-dialog__header h2,
.room-narration-playback__title,
#featured-heading {
  font-family: var(--font-heading);
  font-weight: 700;
}

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

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 3px 0 0 var(--crimson);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  gap: 0.65rem;
  text-decoration: none;
  line-height: 1;
  min-width: 0;
}

.footer-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  line-height: 1;
}

.brand-logo-img {
  display: block;
  height: min(56px, 9vh);
  width: auto;
  max-width: 3.75rem;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-lockup img {
  display: block;
  height: min(112px, 18vh);
  width: auto;
  max-width: 7rem;
  object-fit: contain;
}

.brand-wordmark {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
}

.brand-wordmark--footer {
  display: none;
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.header-nav-wrap .nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: var(--site-cursor);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link--active {
  color: var(--gold);
  background: rgba(158, 19, 22, 0.3);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.35rem;
  padding-left: 0.65rem;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-auth__signed-out {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-auth__signed-out[hidden] {
  display: none !important;
}

.nav-auth__log-in,
.nav-auth__register,
.nav-auth__sign-in {
  color: var(--gold);
  white-space: nowrap;
  background: transparent;
  border: none;
  font: inherit;
  cursor: var(--site-cursor);
}

.nav-auth__log-in:hover,
.nav-auth__register:hover,
.nav-auth__sign-in:hover {
  color: var(--accent-hover);
  background: rgba(158, 19, 22, 0.2);
}

.nav-auth__register {
  color: var(--text-muted);
}

.nav-auth__register:hover {
  color: var(--text);
}

.nav-auth__signed-in {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-auth__sign-in[hidden],
.nav-auth__signed-in[hidden] {
  display: none !important;
}

.nav-auth__greeting {
  font-size: 1rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-auth__user {
  color: var(--gold);
  font-weight: 600;
}

.nav-auth__sign-out {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: var(--site-cursor);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nav-auth__sign-out:hover {
  color: var(--primary-hover);
  background: rgba(158, 19, 22, 0.15);
}

.hero--compact {
  padding-bottom: 1.25rem;
}

.hero-lead--wide,
.hero--socials .hero-lead,
.hero--shop .hero-lead,
.hero--shop .shop-hero__lead,
.hero--room .hero-lead,
.hero--room .room-hero__lead {
  max-width: none;
}

.room-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.room-hero__tagline {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--gold);
  font-style: italic;
}

.room-hero__lead p {
  margin: 0 0 1rem;
}

.room-hero__lead p:last-child {
  margin-bottom: 0;
}

.shop-hero__lead p {
  margin: 0 0 1rem;
}

.shop-hero__lead p:last-child {
  margin-bottom: 0;
}

/* Split hero — Stories: 1/3 copy, 2/3 video; Agora: 3/5 copy, 2/5 video */
.hero--split-stories,
.hero--split-blog {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
}

.hero-split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.hero--split-stories .hero-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.hero--split-blog .hero-split {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.hero-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.stories-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.stories-hero__tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--gold);
  font-style: italic;
}

.hero--split-stories .hero-lead,
.hero--split-stories .stories-hero__lead,
.hero--split-blog .hero-lead,
.hero--split-blog .blog-hero__lead {
  margin-bottom: 0;
  max-width: none;
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-split__copy .hero-actions {
  margin-top: 1.25rem;
}

.hero-actions .btn {
  display: inline-block;
  text-align: center;
}

.blog-hero__eyebrow,
.shop-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  line-height: 1.4;
}

.blog-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.hero--split-blog .blog-hero__lead p {
  margin: 0 0 1rem;
}

.hero--split-blog .blog-hero__lead p:last-child {
  margin-bottom: 0;
}

.hero-split__media {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.stories-hero-video,
.blog-hero-video {
  width: 100%;
  height: 100%;
  min-height: min(52vh, 420px);
  max-height: calc(100vh - var(--header-h) - 8rem);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

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

  .hero-split__copy {
    order: 1;
  }

  .hero-split__media {
    order: 2;
  }

  .stories-hero-video,
  .blog-hero-video {
    min-height: 280px;
    max-height: 55vh;
  }
}

.room-viewer-section--featured + .gallery-section {
  padding-top: 0.5rem;
}

.hero-actions--row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions--row .btn {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

/* --- Home feature cards --- */
.page-cards--video {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
}

.page-cards__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-cards__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-cards__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(17, 17, 17, 0.72) 50%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.page-cards__title {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto 1.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--gold);
  text-align: center;
}

.page-cards__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}

.page-cards__grid .feature-card:nth-child(1) {
  grid-column: 1 / 3;
}

.page-cards__grid .feature-card:nth-child(2) {
  grid-column: 3 / 5;
}

.page-cards__grid .feature-card:nth-child(3) {
  grid-column: 5 / 7;
}

.page-cards__grid .feature-card:nth-child(4) {
  grid-column: 2 / 4;
}

.page-cards__grid .feature-card:nth-child(5) {
  grid-column: 4 / 6;
}

@media (max-width: 900px) {
  .page-cards__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .page-cards__grid .feature-card:nth-child(n) {
    grid-column: 1 / -1;
  }
}

.feature-card {
  display: block;
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}

.page-cards--animate .feature-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.page-cards--animate.page-cards--inview .feature-card {
  opacity: 1;
  transform: translateY(0);
}

.page-cards--animate.page-cards--inview .feature-card:nth-child(1) {
  transition-delay: 0ms;
}

.page-cards--animate.page-cards--inview .feature-card:nth-child(2) {
  transition-delay: 150ms;
}

.page-cards--animate.page-cards--inview .feature-card:nth-child(3) {
  transition-delay: 300ms;
}

.page-cards--animate.page-cards--inview .feature-card:nth-child(4) {
  transition-delay: 450ms;
}

.page-cards--animate.page-cards--inview .feature-card:nth-child(5) {
  transition-delay: 600ms;
}

.page-cards--animate.page-cards--entered .feature-card {
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .page-cards--animate .feature-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .story-cover img,
  .tale-cover img {
    transform: none;
    transition: none;
    animation: none;
  }

  html.custom-cursor-active.custom-cursor-ready,
  html.custom-cursor-active.custom-cursor-ready * {
    cursor: var(--site-cursor) !important;
  }
}

.feature-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
}

.feature-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

/* --- Home: About Us --- */
.about-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.about-section__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.about-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--gold);
}

.about-section__tagline {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--crimson);
  text-transform: uppercase;
  line-height: 1.4;
}

.about-section__body {
  max-width: none;
}

.about-block:not(.about-block--why):not(.about-block--how):not(.about-block--offer) {
  max-width: 44rem;
}

.about-block {
  margin-bottom: 2.5rem;
}

/* Why we exist — 2/3 copy, 1/3 video */
.about-why-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.about-why-split__copy {
  min-width: 0;
}

.about-why-split__copy p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-why-split__copy p:last-child {
  margin-bottom: 0;
}

.about-why-split__media {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

/* How we do it — 1/3 video left, 2/3 title + copy right */
.about-how-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.about-how-split__copy {
  min-width: 0;
}

.about-how-split__copy .about-block__title {
  margin-top: 0;
}

.about-how-split__copy p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-how-split__copy p:last-child {
  margin-bottom: 0;
}

.about-how-split__media {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.about-why-video,
.about-how-video {
  width: 100%;
  height: 100%;
  min-height: min(48vh, 380px);
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

/* What we offer — 2/3 copy, 1/3 CTAs */
.about-offer-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.about-offer-split__copy {
  min-width: 0;
}

.about-offer-split__copy p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-offer-split__copy p:last-child {
  margin-bottom: 0;
}

.about-offer-split__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.about-offer-cta {
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-size: 1.0625rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .about-why-split,
  .about-how-split,
  .about-offer-split {
    grid-template-columns: 1fr;
  }

  .about-offer-split__actions {
    order: 2;
  }

  .about-why-split__media {
    order: 2;
  }

  .about-how-split__copy {
    order: 1;
  }

  .about-how-split__media {
    order: 2;
  }

  .about-offer-split__actions .about-offer-cta {
    max-width: 20rem;
  }

  .about-offer-split__actions {
    align-items: stretch;
  }

  .about-why-video,
  .about-how-video {
    min-height: 280px;
    max-height: 55vh;
  }
}

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

.about-block__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.about-block p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

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

.about-block em {
  font-style: italic;
  color: var(--gold);
}

.about-values {
  margin: 0 0 1rem;
  padding: 0;
}

.about-values__item {
  position: relative;
  margin: 0 0 1rem;
  padding: 0 0 0 3.75rem;
  border-left: none;
}

.about-values__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 3.15rem;
  height: 1.05em;
  min-height: 1.15rem;
  background: url(../images/about-value-arrow.png) no-repeat left center / contain;
  pointer-events: none;
}

.about-values__item:last-child {
  margin-bottom: 0;
}

.about-values dt {
  display: inline;
  font-weight: 700;
  color: var(--text);
}

.about-values dt::after {
  content: " ";
}

.about-values dd {
  display: inline;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-section__close {
  margin: 2rem 0 0 !important;
  font-size: 1.125rem !important;
  font-weight: 700;
  color: var(--gold) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

/* --- Shop --- */
.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

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

.shop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shop-card-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--obsidian);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.shop-card:hover .shop-card-image img {
  transform: scale(1.04);
}

.shop-card-title {
  margin: 0;
  font-size: 1.125rem;
}

.shop-card-price {
  margin: 0;
  font-weight: 600;
  color: var(--gold);
}

.shop-card-fear {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
}

.shop-card-desc {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.shop-card-desc em {
  font-style: italic;
  color: var(--gold);
}

.shop-card-desc--wear {
  color: var(--text);
  font-size: 0.8125rem;
}

.shop-card-tale {
  font-size: 0.8125rem;
  color: var(--gold);
  text-decoration: none;
}

.shop-card-tale:hover {
  text-decoration: underline;
}

.shop-card .btn {
  margin-top: 0.35rem;
}

.shop-card-lock,
.story-card-lock {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--crimson);
  font-weight: 600;
}

.shop-card--locked .shop-card-image::after {
  content: "Sealed";
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  border-radius: 2px;
}

.shop-card--reflection-pending .shop-card-image::after,
.story-card--reflection-pending .shop-card-image::after {
  content: "Reflection";
  background: rgba(158, 19, 22, 0.88);
}

/* Two-step unlock journey (shop + stories) */
.shop-card-unlock-journey {
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shop-card-unlock-journey[hidden] {
  display: none !important;
}

.shop-card-unlock-journey__heading {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.shop-card-unlock-step {
  padding: 1rem 1rem 1.1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--crimson);
  text-align: center;
  box-shadow: 0 8px 28px rgba(158, 19, 22, 0.45);
}

.shop-card-unlock-step--pending {
  opacity: 0.45;
  pointer-events: none;
}

.shop-card-unlock-step--complete {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: none;
  padding: 0.65rem 1rem;
}

.shop-card-unlock-step--complete .shop-card-unlock-step__panel {
  display: none;
}

.shop-card-unlock-step__banner,
.shop-card-reflection__header {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: none;
}

.shop-card-unlock-step--complete .shop-card-unlock-step__banner {
  margin: 0;
  font-size: 1rem;
  color: var(--gold);
}

.shop-card-unlock-step__panel,
.shop-card-reflection__panel {
  padding: 1rem 1rem 1.05rem;
  border: 2px solid var(--gold);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.shop-card-unlock-step__title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.shop-card-unlock-step__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.shop-card-unlock-step__text em {
  font-style: italic;
  color: var(--gold);
}

.shop-card-unlock-step__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shop-card-unlock-step__btn,
.shop-card-reflection__btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff !important;
  background: transparent !important;
  border: 2px solid var(--gold) !important;
  border-radius: var(--radius);
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}

.shop-card-unlock-step__btn:hover,
.shop-card-reflection__btn:hover {
  background: rgba(212, 175, 55, 0.15) !important;
  color: var(--gold) !important;
}

/* Step 2 inside journey */
.shop-card-unlock-journey .shop-card-unlock-step--2 {
  margin: 0;
}

.shop-card-reflection,
.shop-card-unlock-step--2 {
  padding: 1rem 1rem 1.1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--crimson);
  text-align: center;
  box-shadow: 0 8px 28px rgba(158, 19, 22, 0.45);
}

.shop-card-reflection__header {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: none;
}

.shop-card-reflection__panel {
  padding: 1rem 1rem 1.05rem;
  border: 2px solid var(--gold);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.shop-card-reflection__title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.shop-card-reflection__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.shop-card-reflection__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}

.shop-card-reflection__discord-done {
  text-decoration: none;
  opacity: 0.95;
}

.shop-card--locked .shop-card-buy[hidden],
.shop-card--reflection-pending .shop-card-buy[hidden],
.story-card--locked .story-card-buy[hidden],
.story-card--reflection-pending .story-card-buy[hidden] {
  display: none !important;
}

.blog-reflect-banner {
  max-width: var(--max-width);
  margin: 0 auto 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(212, 175, 55, 0.1);
}

.blog-reflect-banner__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-reflect-banner__text {
  margin: 0;
  line-height: 1.5;
}

.form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-tale-tag {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-author-fears {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin: 0.35rem 0 0.75rem;
}

.post-author-fears__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-fear-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.08);
}

.blog-author-fears {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
}

.blog-author-fears__label {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-author-fears__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-author-fears__empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-author-fears__empty a {
  color: var(--gold);
}

.tale-unlock-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tale-product-cta--read {
  border-color: var(--accent);
}

.shop-card--unlocked .shop-card-image::after {
  content: "Unlocked";
  background: var(--crimson);
  color: #fff;
}

.btn--locked {
  opacity: 0.92;
  cursor: var(--site-cursor);
}

.story-card--locked .story-product img {
  filter: grayscale(0.35) brightness(0.85);
}

.tale-product-cta--unlocked {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.tale-unlock-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  width: min(420px, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.tale-unlock-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.tale-unlock-banner--fade {
  opacity: 0;
  pointer-events: none;
}

.tale-unlock-banner__title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--gold);
}

.tale-unlock-banner__text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tale-unlock-banner__btn {
  text-decoration: none;
  display: inline-block;
}

/* --- Socials page: links left, video right --- */
.content-section--socials {
  max-width: min(1280px, 96vw);
}

.socials-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
}

.socials-col--links {
  flex: 0 0 380px;
  width: 380px;
  max-width: 42%;
}

.socials-col--video {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.social-list--page {
  max-width: none;
  width: 100%;
}

.socials-video {
  width: 100%;
  flex: 1;
  min-height: 480px;
  max-height: calc(100vh - var(--header-h) - 12rem);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

@media (max-width: 720px) {
  .socials-row {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .socials-col--links {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .socials-col--video {
    width: 100%;
    min-height: 280px;
  }

  .socials-video {
    min-height: 300px;
    max-height: 55vh;
  }
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
}

.social-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.social-link:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.social-name {
  font-weight: 600;
  font-size: 1rem;
}

.social-handle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Blog --- */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.post-date {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.post-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.post-excerpt {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.post-author {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 600;
}

.post-details {
  margin-top: 0.25rem;
}

.post-details summary {
  cursor: var(--site-cursor);
  list-style: none;
}

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

.post-body {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

.post-delete {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.post-card--loading,
.post-card--empty {
  color: var(--text-muted);
  font-style: italic;
}

.content-section--tight {
  padding-top: 0;
  margin-top: -0.5rem;
}

.section-heading {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--gold);
}

.blog-auth-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.blog-auth-bar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.blog-auth-bar__group[hidden] {
  display: none !important;
}

.blog-auth-bar__label {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.blog-write-section {
  padding-top: 0;
}

.blog-write-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 640px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}

.form-field input,
.form-field textarea,
.form-field select,
.form-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--obsidian);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color-scheme: dark;
}

.form-field select,
.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
  cursor: var(--site-cursor);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4af37' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
}

.form-field select option,
.form-select option {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.form-select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

/* Branded custom select (Agora fear picker) */
.nikao-select {
  position: relative;
  width: 100%;
}

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

.nikao-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
  background: var(--obsidian);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: var(--site-cursor);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nikao-select__value {
  flex: 1;
  min-width: 0;
}

.nikao-select.is-open .nikao-select__trigger,
.nikao-select__trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.nikao-select__trigger::after {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}

.nikao-select.is-open .nikao-select__trigger::after {
  transform: rotate(-135deg) translateY(1px);
}

.nikao-select__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 16rem;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.nikao-select__list[hidden] {
  display: none !important;
}

.nikao-select__option {
  padding: 0.6rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  cursor: var(--site-cursor);
  transition: background 0.12s, color 0.12s;
}

.nikao-select__option:hover {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
}

.nikao-select__option.is-selected {
  background: rgba(158, 19, 22, 0.4);
  color: var(--gold);
}

.form-hint {
  margin: -0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-error {
  margin: 0;
  font-size: 0.875rem;
  color: var(--crimson);
  font-weight: 600;
}

.blog-auth-dialog {
  width: min(420px, calc(100vw - 2rem));
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.blog-auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.blog-auth-dialog__intro {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.blog-auth-form {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-auth-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.blog-auth-dialog__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.blog-auth-dialog__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5625rem;
  line-height: 1;
  cursor: var(--site-cursor);
  padding: 0.15rem 0.35rem;
}

.blog-auth-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.blog-auth-dialog__toggle {
  margin: 0.5rem 0 0;
  text-align: center;
}

.blog-auth-dialog__link {
  background: none;
  border: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.9375rem;
  cursor: var(--site-cursor);
  text-decoration: underline;
}

.post-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.post-link:hover {
  color: var(--accent-hover);
}

/* --- Stories --- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

@keyframes cover-zoom-out {
  from {
    transform: scale(1.045);
  }

  to {
    transform: scale(1.025);
  }
}

.story-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.story-cover {
  margin: -1.5rem -1.5rem 1.25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.story-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: 340px;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.025);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  animation: cover-zoom-out 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-card:hover .story-cover img {
  transform: scale(1);
  animation: none;
}

.story-title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.story-meta {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--gold);
}

.story-excerpt {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.story-tagline {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--bronze);
}

.story-product {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--obsidian);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.story-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #000;
}

.story-product-label {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--crimson);
}

.story-product-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.story-product-desc {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.story-product-price {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

.story-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.story-card-actions .btn {
  flex: 1 1 auto;
  min-width: 7rem;
  text-align: center;
  text-decoration: none;
}

.story-card-actions .btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.story-card-actions .btn--ghost:hover {
  color: var(--text);
  border-color: var(--gold);
}

/* --- Full tale pages --- */
.tale-page {
  padding-bottom: 4rem;
}

.tale-article {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.tale-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.tale-cover {
  margin: 0 auto 1.5rem;
  max-width: 13.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.tale-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.025);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  animation: cover-zoom-out 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tale-cover:hover img {
  transform: scale(1);
  animation: none;
}

.tale-series {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bronze);
}

.tale-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  color: var(--text);
}

.tale-subtitle {
  margin: 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--gold);
}

.tale-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.tale-body p {
  margin: 0 0 1.25rem;
}

.tale-meros {
  margin: 2.5rem 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.tale-back {
  margin: 3rem 0 0;
  text-align: center;
}

.tale-product-cta {
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(158, 19, 22, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tale-product-cta img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto 1rem;
  display: block;
  background: var(--obsidian);
}

.tale-product-cta-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--crimson);
}

.tale-product-cta-fear {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.tale-product-cta-wear {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
}

.tale-product-cta h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: var(--text);
}

.tale-product-cta-price {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}

.tale-product-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tale-product-cta-actions .btn {
  text-decoration: none;
}

/* --- Pre-order page --- */
.preorder-section {
  max-width: min(1100px, 96vw);
}

.preorder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.preorder-product {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.preorder-product__fear {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
}

.preorder-product__image-wrap {
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.preorder-product__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.preorder-product__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.preorder-product__price {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gold);
}

.preorder-product__wear {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.preorder-product__tale {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.preorder-product__tale a {
  color: var(--gold);
}

.preorder-form-wrap {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.preorder-form__lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.preorder-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preorder-form__back {
  text-align: center;
  text-decoration: none;
}

.preorder-locked,
.preorder-missing,
.preorder-success {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.preorder-locked__text,
.preorder-missing__text,
.preorder-success__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.preorder-locked__actions,
.preorder-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.preorder-picker {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.preorder-picker__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.preorder-picker__item:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.preorder-picker__item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

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

.shop-card[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.shop-card:target {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav--open {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }

  .brand-logo-img {
    height: 48px;
  }

  .brand-wordmark {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }

  :root {
    --header-h: 72px;
    --logo-nav-height: 48px;
  }

  .header-nav-wrap {
    position: static;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .header-nav-wrap .nav {
    justify-content: stretch;
  }

  .nav-link {
    padding: 0.75rem 1rem;
  }

  .nav-auth {
    border-left: none;
    padding-left: 0;
    margin-left: 0.15rem;
  }

  .nav-auth__greeting {
    font-size: 0.9375rem;
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* --- Hero --- */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.hero--video {
  position: relative;
  max-width: none;
  width: 100%;
  min-height: min(92vh, 820px);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(17, 17, 17, 0.65) 45%,
    rgba(0, 0, 0, 0.94) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem 3.5rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  margin: 0.15em 0 1.25rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  margin: 0 0 2rem;
  max-width: 42ch;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(232, 236, 244, 0.9);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.btn--on-video {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--on-video:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero h1:not(.hero-title) {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 36ch;
  color: var(--text-muted);
  font-size: 1.1875rem;
}

.hero-lead a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 175, 55, 0.55);
}

.hero-lead a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

.hero-lead a:visited {
  color: var(--bronze);
}

.hero-lead a:visited:hover {
  color: var(--accent-hover);
}

.search-wrap input {
  width: min(100%, 320px);
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.search-wrap input::placeholder {
  color: var(--text-muted);
}

/* --- HD load banner --- */
.hd-banner {
  max-width: var(--max-width);
  margin: 0 auto 1rem;
  padding: 1rem 1.25rem;
  background: rgba(158, 19, 22, 0.12);
  border: 1px solid rgba(158, 19, 22, 0.45);
  border-radius: var(--radius);
}

.hd-banner[hidden] {
  display: none;
}

.hd-banner-text {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hd-banner-text code {
  font-size: 0.875em;
  color: var(--accent);
}

.hd-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hd-load-btn {
  cursor: var(--site-cursor);
  margin: 0;
}

.hd-status {
  max-width: var(--max-width);
  margin: 0 auto 0.75rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: var(--gold);
}

.hd-status[hidden] {
  display: none;
}

/* --- Inline room viewer --- */
.room-viewer-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.room-viewer-section--featured {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 3rem;
}

.section-head.section-head--viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  row-gap: 0.35rem;
  align-items: end;
  max-width: var(--max-width);
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
}

.section-head.section-head--viewer h3 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.section-head.section-head--viewer .room-featured-desc {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 42ch;
}

.section-head.section-head--viewer .viewer-hint--inline {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  text-align: right;
}

.room-featured-desc {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.room-panorama-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#room-panorama-mount.room-panorama-shell {
  min-height: 480px;
}

.room-panorama-shell .room-panorama,
.room-panorama-shell .panorama-container {
  width: 100%;
}

.room-panorama,
.panorama-container {
  position: relative;
}

.room-panorama {
  width: 100%;
  height: min(70vh, 520px);
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
}

.room-panorama--large {
  height: min(92vh, 960px);
  min-height: 480px;
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

.room-panorama--large .pnlm-container,
.room-panorama--large canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Basic Pannellum info hotspots */
.pnlm-hotspot.pnlm-info {
  background: var(--gold);
  border: 2px solid #fff;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.pnlm-hotspot.pnlm-info:hover {
  background: var(--accent-hover);
}

.pnlm-tooltip {
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  max-width: 16rem;
}

.pnlm-tooltip span {
  border-top-color: var(--gold) !important;
}

/* Room-to-room navigation hotspots */
.pnlm-hotspot.panorama-room-nav-hotspot {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.panorama-room-nav-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  background: #d4af37;
  border: 2px solid #fff;
  border-radius: 999px;
  cursor: var(--site-cursor);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  line-height: 1.2;
}

.panorama-room-nav-btn:hover {
  background: #e8c656;
}

.panorama-room-nav-btn__arrow {
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1;
}

/* Tale I narration — hotspot on the 360° scene (near warrior) */
.room-panorama--hotspot-cta .panorama-narration-ui,
.room-panorama--hotspot-cta [data-panorama-narration-ui] {
  display: none !important;
}

.pnlm-hotspot.panorama-narration-hotspot {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.panorama-narration-hotspot-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: auto;
  width: min(200px, 38vw);
}

.panorama-narration-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.85);
  border: 2px solid #fff;
}

.panorama-narration-cover {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
}

.panorama-narration-speed {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
}

.panorama-narration-speed-btn {
  pointer-events: auto;
  margin: 0;
  padding: 0.2rem 0.45rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: var(--site-cursor);
}

.panorama-narration-speed-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.panorama-narration-speed-btn.is-active {
  background: var(--primary);
  border-color: var(--gold);
  color: var(--gold);
}

.room-narration-playback__speed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.room-narration-speed-btn {
  pointer-events: auto;
  cursor: var(--site-cursor);
  min-width: 2.75rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
}

.room-narration-speed-btn.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(158, 19, 22, 0.2);
}

.panorama-narration-hotspot .panorama-narration-btn {
  pointer-events: auto;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.5rem 0.55rem;
  font: inherit;
  font-size: clamp(0.625rem, 1.6vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000 !important;
  background: #d4af37 !important;
  border: none !important;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
  cursor: var(--site-cursor);
  box-shadow: none;
  width: 100%;
  max-width: none;
  text-align: left;
  line-height: 1.15;
  white-space: normal;
}

.panorama-narration-hotspot .panorama-narration-btn:hover {
  background: #e8c656 !important;
}

.panorama-narration-hotspot .panorama-narration-btn.is-playing {
  background: #9e1316 !important;
  color: #fff !important;
}

.panorama-narration-hotspot .panorama-narration-btn__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  font-size: 0.6875rem;
}

.panorama-narration-btn {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.5rem;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000 !important;
  background: #d4af37 !important;
  border: 3px solid #fff !important;
  border-radius: 12px;
  cursor: var(--site-cursor);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  max-width: calc(100% - 2rem);
  text-align: left;
  line-height: 1.25;
}

.panorama-narration-btn:hover {
  background: #e8c656 !important;
}

.panorama-narration-btn.is-playing {
  background: #9e1316 !important;
  color: #fff !important;
}

.panorama-narration-btn__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  font-size: 0.9375rem;
}

.panorama-narration-btn__text {
  display: block;
}

#tale01-audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Legacy overlay (unused) */
.room-narration-cta-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 1rem 1.25rem;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
}

.room-panorama:fullscreen .room-narration-cta-overlay,
.room-panorama:-webkit-full-screen .room-narration-cta-overlay,
.panorama-container:fullscreen .room-narration-cta-overlay,
.panorama-container:-webkit-full-screen .room-narration-cta-overlay {
  z-index: 99999;
  padding-bottom: 2rem;
}

.room-panorama:fullscreen,
.room-panorama:-webkit-full-screen,
.panorama-container:fullscreen,
.panorama-container:-webkit-full-screen,
.pnlm-container:fullscreen,
.pnlm-container:-webkit-full-screen {
  cursor: none !important;
}

.room-panorama:fullscreen *,
.room-panorama:-webkit-full-screen *,
.panorama-container:fullscreen *,
.panorama-container:-webkit-full-screen *,
.pnlm-container:fullscreen *,
.pnlm-container:-webkit-full-screen * {
  cursor: none !important;
}

.room-panorama:fullscreen .spartan-arrow-cursor,
.room-panorama:-webkit-full-screen .spartan-arrow-cursor,
.panorama-container:fullscreen .spartan-arrow-cursor,
.panorama-container:-webkit-full-screen .spartan-arrow-cursor,
.pnlm-container:fullscreen .spartan-arrow-cursor,
.pnlm-container:-webkit-full-screen .spartan-arrow-cursor,
:fullscreen > .spartan-arrow-cursor,
:-webkit-full-screen > .spartan-arrow-cursor {
  z-index: 2147483647;
  pointer-events: none;
}

/* Leonidas narration — hotspot inside Pannellum 360° */
.narration-hotspot {
  width: auto !important;
  height: auto !important;
}

.narration-hotspot__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  border: 2px solid #fff;
  border-radius: 10px;
  cursor: var(--site-cursor);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.narration-hotspot__btn:hover {
  background: var(--accent-hover);
}

.narration-hotspot__btn--playing {
  background: var(--crimson);
  color: #fff;
}

.narration-hotspot__icon {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent currentColor;
  margin-bottom: 0.1rem;
}

.narration-hotspot__btn--playing .narration-hotspot__icon {
  width: 10px;
  height: 12px;
  border: none;
  background: currentColor;
  box-shadow: 4px 0 0 currentColor;
}

.narration-hotspot__sub {
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0.85;
}

.viewer-hint--hotspot {
  max-width: var(--max-width);
  margin: -1.5rem auto 1rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.room-narration-playback {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}

.room-narration-playback__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

.room-narration-playback__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.room-narration-playback__progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 180px;
  min-width: 140px;
}

.room-narration-playback__progress progress {
  flex: 1;
  height: 6px;
  accent-color: var(--gold);
}

.room-narration-playback__progress span {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.room-narration-playback__status {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--crimson);
}

.room-narration-playback__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

/* Legacy overlay (unused) */
.room-narration {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1.25rem 1rem 1.5rem;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    transparent 55%
  );
}

.room-narration--modal {
  top: auto;
  min-height: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
}

.room-panorama .pnlm-container,
.panorama-container .pnlm-container {
  z-index: 1 !important;
}

.room-narration-cta-overlay .room-narration__cta {
  pointer-events: auto;
}

.room-narration__cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 999px;
  cursor: var(--site-cursor);
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s, background 0.2s;
  animation: narration-cta-pulse 2.5s ease-in-out infinite;
}

@keyframes narration-cta-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(212, 175, 55, 0.35),
      0 8px 32px rgba(0, 0, 0, 0.65);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(212, 175, 55, 0.55),
      0 8px 40px rgba(0, 0, 0, 0.75);
  }
}

.room-narration__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.room-narration__cta--playing {
  background: var(--crimson);
  color: #fff;
  animation: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.room-narration__read-tale {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  text-decoration: none;
}

.room-narration__read-tale:hover {
  text-decoration: underline;
}

.room-narration__shield {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 2px 2px 4px 4px;
  background: var(--crimson);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.room-narration__panel {
  pointer-events: auto;
  width: min(100%, 380px);
  padding: 1rem 1.15rem;
  background: rgba(17, 17, 17, 0.94);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.room-narration__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--crimson);
  text-align: center;
}

.room-narration__tale-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 1.3;
}

.room-narration__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.room-narration__controls .btn {
  text-decoration: none;
}

.room-narration__progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.room-narration__progress {
  flex: 1;
  height: 6px;
  accent-color: var(--gold);
}

.room-narration__time {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.room-narration__status {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}

.viewer-dialog .room-panorama-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.viewer-dialog .room-narration {
  padding-bottom: 0.75rem;
}

.viewer-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 320px;
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.viewer-hint--inline {
  margin: 0;
  padding: 0;
  border: none;
  text-align: left;
  font-size: 0.8125rem;
}

/* --- Gallery --- */
.gallery-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.gallery-count {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.gallery-card {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: var(--site-cursor);
  text-align: left;
  color: inherit;
  font: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery-card.is-active {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.card-thumb {
  position: relative;
  aspect-ratio: 2 / 1;
  background: var(--bg-elevated);
  overflow: hidden;
}

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

.card-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 130px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.card-body {
  padding: 1rem 1.125rem;
}

.card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.card-desc {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.card-meta {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.gallery-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.gallery-empty code {
  font-size: 0.875em;
  color: var(--accent);
}

/* --- About --- */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  border-top: 1px solid var(--border);
}

.about h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.about p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 65ch;
}

.about-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.about-list li {
  margin-bottom: 0.5rem;
}

/* --- Footer --- */
.site-footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--dark-grey);
  box-shadow: inset 3px 0 0 var(--crimson);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-lockup {
  margin: 0 auto;
}

.footer-heading {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.footer-social-link:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.footer-social-link img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.footer-social-link:hover img {
  filter: brightness(1.15);
}

.footer-dispatch {
  width: min(100%, 28rem);
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
}

.footer-dispatch__lead {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-dispatch__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.footer-dispatch__input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.footer-dispatch__input::placeholder {
  color: var(--text-muted);
}

.footer-dispatch__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
}

.footer-dispatch__submit {
  flex: 0 0 auto;
}

.footer-dispatch__status {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--gold);
}

.footer-dispatch__status--error {
  color: var(--crimson);
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bronze);
}

.footer-copy a {
  color: var(--bronze);
  text-decoration: none;
}

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

/* --- Viewer dialog --- */
.viewer-dialog {
  width: min(96vw, 1100px);
  max-width: none;
  height: min(92vh, 800px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow);
}

.viewer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.viewer-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.viewer-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-toolbar {
  display: flex;
  gap: 0.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: var(--site-cursor);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn--primary {
  background: var(--primary);
  color: var(--text);
  border: 1px solid var(--gold);
}

.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--accent-hover);
}

.btn--gold {
  background: var(--gold);
  color: var(--text);
  border: 1px solid var(--primary);
}

.btn--gold:hover {
  background: var(--accent-hover);
  border-color: var(--primary-hover);
  color: var(--text);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.panorama-container {
  width: 100%;
  height: calc(100% - 88px);
  min-height: 400px;
  background: #000;
}

.viewer-hint {
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Pannellum overrides inside modal */
.viewer-dialog .pnlm-container {
  border-radius: 0;
}

/* --- Profile page --- */
.hero--profile .hero-lead {
  max-width: 36rem;
}

.profile-section {
  max-width: min(960px, 96vw);
}

.profile-gate {
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-gate__text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.profile-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.profile-layout__full {
  grid-column: 1 / -1;
}

.profile-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.profile-card--identity {
  text-align: center;
}

.profile-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.profile-avatar {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.profile-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: linear-gradient(145deg, #1a1210 0%, #0d0a09 100%);
}

.profile-avatar-upload {
  cursor: pointer;
}

.profile-avatar-remove {
  font-size: 0.875rem;
}

.profile-name {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.profile-email,
.profile-meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.profile-meta {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
}

.profile-fears__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.profile-fears {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.profile-fears__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.profile-fear-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.profile-fear-option:hover {
  border-color: var(--gold-dim, rgba(201, 162, 39, 0.45));
}

.profile-fear-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.profile-fear-option input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.profile-fear-option__text {
  font-size: 1rem;
  line-height: 1.4;
}

.profile-status {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.9375rem;
}

.nav-auth__profile-link {
  color: var(--gold);
  text-decoration: none;
}

.nav-auth__profile-link:hover {
  text-decoration: underline;
}

.profile-talismans__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.profile-talismans__empty {
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

.profile-talismans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-talisman-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.profile-talisman-card--ready {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.12);
}

.profile-talisman-card--reflection {
  border-color: rgba(180, 60, 50, 0.45);
}

.profile-talisman-card__image-wrap {
  display: block;
  background: #000;
}

.profile-talisman-card__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-talisman-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}

.profile-talisman-card__fear {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
}

.profile-talisman-card__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.25;
}

.profile-talisman-card__price {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}

.profile-talisman-card__status {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.profile-talisman-card--ready .profile-talisman-card__status {
  color: var(--gold);
  font-weight: 600;
}

.profile-talisman-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.profile-talisman-card__actions .btn {
  text-decoration: none;
}

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

@media (max-width: 600px) {
  .hero:not(.hero--video) {
    padding-top: 2.5rem;
  }

  .hero--video {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-video {
    object-position: center center;
  }

  .viewer-dialog {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .panorama-container {
    height: calc(100vh - 88px);
  }
}
