@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --ink: #0a080d;
  --surface: #130e18;
  --surface-2: #1b1422;
  --surface-card: rgba(22, 16, 26, 0.85);
  --plum: #281223;
  --wine: #3d1627;
  --rust: #9e4b2d;
  --gold: #d6ad52;
  --gold-light: #f5d688;
  --gold-glow: rgba(214, 173, 82, 0.35);
  --rose: #b06979;
  --text-main: #f3ecf2;
  --text-muted: #b7a9b4;
  --text-dim: #8b7d88;
  --line: rgba(214, 173, 82, 0.22);
  --line-subtle: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image: 
    radial-gradient(circle at 12% 10%, rgba(158, 75, 45, 0.16), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(61, 22, 39, 0.38), transparent 34%),
    radial-gradient(circle at 50% 70%, rgba(40, 18, 35, 0.25), transparent 45%);
  color: var(--text-main);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Film Grain Texture Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 100;
}

.container {
  width: min(calc(100% - 48px), var(--container-max));
  margin: 0 auto;
}

/* Typography Helpers */
.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold-light);
  font-weight: 600;
  line-height: 1.02;
  margin: 16px 0;
  letter-spacing: -0.01em;
}

.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Reading Progress Bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), #fff);
  z-index: 120;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 12px var(--gold);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(10, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  transform: rotate(45deg);
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(214, 173, 82, 0.08);
}

.brand-mark::after {
  content: '✦';
  position: absolute;
  transform: rotate(-45deg);
  color: var(--gold-light);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-toggle-btn {
  background: rgba(214, 173, 82, 0.12);
  border: 1px solid var(--line);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cart-toggle-btn:hover {
  background: var(--gold);
  color: #120b12;
  border-color: var(--gold);
  transform: translateY(-1px);
}

.cart-badge {
  background: var(--gold);
  color: #120b12;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
}

.cart-toggle-btn:hover .cart-badge {
  background: #120b12;
  color: var(--gold);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.28s ease;
  border: 1px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #150d15;
  box-shadow: 0 8px 24px rgba(214, 173, 82, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(214, 173, 82, 0.4);
  background: linear-gradient(135deg, #fff, var(--gold-light));
}

.btn-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(214, 173, 82, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-subtle);
  background: transparent;
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 94vh;
  padding: 145px 0 85px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 173, 82, 0.14), transparent 70%);
  right: -150px;
  top: 80px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.2rem, 6.5vw, 6.4rem);
  margin: 14px 0 20px;
}

.hero-copy {
  font-size: 1.15rem;
  max-width: 580px;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-copy strong {
  color: var(--gold-light);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stage {
  position: relative;
  min-height: 540px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #140e16;
  transition: transform 0.4s ease, border-color 0.3s ease;
}

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

.hero-card:hover {
  border-color: var(--gold-light);
}

.hero-card.main {
  inset: 20px 20px 0 90px;
  transform: rotate(2deg);
}

.hero-card.main:hover {
  transform: rotate(1deg) scale(1.02);
}

.hero-card.side {
  width: 250px;
  height: 330px;
  left: 0;
  bottom: 10px;
  transform: rotate(-6deg);
  z-index: 3;
}

.hero-card.side:hover {
  transform: rotate(-3deg) scale(1.03);
}

.hero-card.top {
  width: 210px;
  height: 250px;
  right: -5px;
  top: 10px;
  transform: rotate(7deg);
  z-index: 4;
}

.hero-card.top:hover {
  transform: rotate(4deg) scale(1.03);
}

.hero-badge {
  position: absolute;
  z-index: 8;
  right: 15px;
  bottom: 25px;
  background: rgba(19, 13, 22, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  max-width: 270px;
}

.hero-badge strong {
  display: block;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
  margin-top: 4px;
}

/* Animated Banner Ticker */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(61, 22, 39, 0.28);
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 50px;
  width: max-content;
  padding: 14px 0;
  animation: tickerSlide 35s linear infinite;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-family: 'Cinzel', serif;
}

@keyframes tickerSlide {
  to {
    transform: translateX(-50%);
  }
}

/* Shared Section Elements */
.section {
  padding: 100px 0;
  position: relative;
}

.section.dark {
  background: linear-gradient(145deg, #0e0a12, #180d19 55%, #0d1a18);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.section.plum {
  background: linear-gradient(135deg, #130a13, #240e1d);
  border-top: 1px solid var(--line-subtle);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 45px;
}

.section-head h2 {
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  margin: 10px 0 0;
}

.section-head p {
  max-width: 500px;
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Small Hero for Interior Pages */
.hero-small {
  padding: 155px 0 65px;
  background: linear-gradient(180deg, #170e1a, #0b080d);
  border-bottom: 1px solid var(--line);
}

.hero-small h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  max-width: 900px;
  margin: 14px 0;
}

/* Interactive Story Switcher */
.story-tabs {
  display: inline-flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 30px;
}

.tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s ease;
}

.tab.active {
  background: var(--gold);
  color: #140d15;
  box-shadow: 0 4px 16px rgba(214, 173, 82, 0.35);
}

.story-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #120c15;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.story-panel[hidden] {
  display: none;
}

.story-panel-image {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.story-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-panel:hover .story-panel-image img {
  transform: scale(1.04);
}

.story-panel-copy {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #160e18, #261120);
}

.story-panel-copy h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--gold-light);
  line-height: 1.05;
  margin: 10px 0 16px;
}

.story-panel-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.mini-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0 26px;
  color: var(--gold-light);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: 'Cinzel', serif;
}

/* Gallery & Mosaic */
.gallery-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #140d15;
  border-color: var(--gold);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #140d16;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.tile:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  z-index: 2;
}

.tile:hover img {
  transform: scale(1.07);
}

.tile::after {
  content: '✦ Enlarge';
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(10, 8, 13, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Cinzel', serif;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

.tile:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.t1 { grid-column: span 4; grid-row: span 4; }
.t2 { grid-column: span 4; grid-row: span 4; }
.t3 { grid-column: span 4; grid-row: span 4; }
.t4 { grid-column: span 3; grid-row: span 3; }
.t5 { grid-column: span 3; grid-row: span 3; }
.t6 { grid-column: span 3; grid-row: span 3; }
.t7 { grid-column: span 3; grid-row: span 3; }
.t8 { grid-column: span 6; grid-row: span 4; }
.t9 { grid-column: span 6; grid-row: span 4; }

.gallery-item.hidden {
  display: none !important;
}

/* Feature Grid (For Readers) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #150d18, #20101d);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
}

.feature-card .icon {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  margin: 0 0 10px;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Book Shelf on Index and Store */
.book-shelf {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.book-card {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #110b14;
  box-shadow: var(--shadow);
}

.book-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.book-card:hover .book-card-bg {
  transform: scale(1.04);
  opacity: 0.68;
}

.book-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0e0911 10%, rgba(14, 9, 17, 0.88) 45%, rgba(14, 9, 17, 0.15) 85%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
}

.book-overlay h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 3.8vw, 3.5rem);
  line-height: 1.02;
  color: var(--gold-light);
  margin: 10px 0 12px;
}

.book-overlay p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 20px;
  max-width: 480px;
}

/* Format Picker inside Book Cards */
.format-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 22px;
}

.format-option {
  position: relative;
}

.format-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.format-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(20, 14, 24, 0.6);
}

.format-option input[type="radio"]:checked + .format-label {
  background: var(--gold);
  color: #120b12;
  border-color: var(--gold);
  font-weight: 700;
}

.price-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}

.price-pill {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}

/* Editions Detail Grid */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.edition-box {
  padding: 34px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #140d18;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.edition-box .type {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
}

.edition-box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  color: var(--gold-light);
  margin: 10px 0;
}

.edition-box .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.edition-box ul {
  padding-left: 20px;
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 0.95rem;
}

.edition-box ul li {
  margin-bottom: 6px;
}

/* Quote Callout */
.quote-box {
  padding: 80px 10%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #1c0e1a, #2f1323);
  text-align: center;
  box-shadow: var(--shadow);
  margin: 20px 0;
}

.quote-box blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold-light);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.15;
  margin: 0 auto 24px;
  max-width: 900px;
  font-style: italic;
}

.quote-box cite {
  color: var(--rose);
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-style: normal;
  display: block;
}

/* Videos Page & Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.video-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #130d17;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
}

.video-thumb {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.88;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
  opacity: 1;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(14, 10, 16, 0.78);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.video-card:hover .play-btn {
  background: var(--gold);
  color: #120b12;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card-body {
  padding: 24px;
}

.video-card-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold-light);
  font-size: 2rem;
  margin: 0 0 8px;
}

.video-card-body p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Page Elements */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.stat-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  color: var(--gold-light);
  line-height: 1;
}

.stat-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Cinzel', serif;
  margin-top: 6px;
  display: block;
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.form-card,
.info-card {
  padding: 45px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #140d18, #221120);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: #0c0810;
  color: var(--text-main);
  border: 1px solid rgba(214, 173, 82, 0.25);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(214, 173, 82, 0.15);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.info-list {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.info-item {
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 16px;
}

.info-item strong {
  display: block;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Modals (Video & Lightbox) */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 150;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.open {
  display: grid;
}

.modal-dialog {
  width: min(960px, 95vw);
  background: #120b16;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #170f1c;
  border-bottom: 1px solid var(--line);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.close-btn {
  background: none;
  border: 0;
  color: var(--gold-light);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s, transform 0.2s;
}

.close-btn:hover {
  color: #fff;
  transform: scale(1.15);
}

.video-shell {
  aspect-ratio: 16 / 9;
  background: #050306;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  width: 100%;
}

.video-placeholder {
  text-align: center;
  padding: 50px 30px;
}

.video-placeholder strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.video-placeholder p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}

/* Lightbox Specifics */
.lightbox .modal-dialog {
  max-width: fit-content;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.lightbox-content {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold);
  background: #110914;
  box-shadow: var(--shadow);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 76vh;
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  padding: 14px 20px;
  background: rgba(14, 9, 18, 0.95);
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-align: center;
  border-top: 1px solid var(--line);
}

/* Story Bag (Cart) Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: #130d17;
  border-left: 1px solid var(--gold);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.7);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 4, 8, 0.65);
  backdrop-filter: blur(6px);
  z-index: 155;
  display: none;
}

.cart-backdrop.open {
  display: block;
}

.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: #180f1e;
}

.cart-drawer-head h3 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
}

.cart-empty-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.cart-item-info h4 {
  margin: 0 0 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.cart-item-info .edition-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-item-info .item-price {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0d0810;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}

.qty-btn {
  background: none;
  border: 0;
  color: var(--gold-light);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 4px;
}

.qty-num {
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

.cart-remove-btn {
  background: none;
  border: 0;
  color: var(--rose);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 2px;
}

.cart-remove-btn:hover {
  text-decoration: underline;
}

.cart-drawer-foot {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: #170f1c;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.cart-subtotal strong {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-subtotal span {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold-light);
}

.cart-drawer-foot .btn {
  width: 100%;
}

.cart-drawer-foot small {
  display: block;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 12px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #190f1d;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 200;
  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Back-to-Top Floating Button */
.back-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(18, 12, 22, 0.9);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  text-decoration: none;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--gold);
  color: #120b12;
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  padding: 60px 0;
  background: #08060a;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand strong {
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  display: block;
}

.footer-brand small {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  transition: color 0.2s;
}

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

/* Reveal on Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-stage {
    min-height: 480px;
    max-width: 600px;
    margin: 0 auto;
  }
  .story-panel {
    grid-template-columns: 1fr;
  }
  .story-panel-copy {
    padding: 40px;
  }
  .book-shelf {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .mosaic {
    grid-template-columns: repeat(6, 1fr);
  }
  .t1, .t2, .t3, .t8, .t9 {
    grid-column: span 3;
    grid-row: span 3;
  }
  .t4, .t5, .t6, .t7 {
    grid-column: span 3;
    grid-row: span 3;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 24px;
    background: rgba(14, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-stage {
    min-height: 380px;
  }

  .hero-card.main {
    inset: 15px 10px 0 50px;
  }

  .hero-card.side {
    width: 170px;
    height: 230px;
  }

  .hero-card.top {
    width: 140px;
    height: 180px;
  }

  .hero-badge {
    right: 5px;
    bottom: 10px;
    padding: 12px 14px;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .feature-grid,
  .editions-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    min-height: 520px;
  }

  .book-overlay {
    padding: 28px;
  }

  .form-card,
  .info-card {
    padding: 30px 24px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
