/* ========================================
   ArtOfMG.com — Front Page
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0b0b0f;
  --bg-elevated: #121218;
  --text: #f2f0f5;
  --text-muted: #a8a3b3;
  --accent: #c084fc;
  --accent-bright: #e879f9;
  --teal: #2dd4bf;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}
.narrow { max-width: 720px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,11,15,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-social {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  width: 9.8rem;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e8f0ff;
  white-space: nowrap;
}

.logo-accent {
  color: var(--accent-bright);
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* ---------- Social Bar (next to logo) ---------- */
.social-bar {
  display: flex;
  flex-direction: row;
  gap: 0.45rem;
  align-items: center;
}
.social-bar a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #e8f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.social-bar a:hover {
  background: var(--accent-bright);
  color: #1a0a1f;
  border-color: var(--accent-bright);
  transform: scale(1.08);
}

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 5rem;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
  will-change: transform;
}

/* Subtle Ken Burns — only on the active slide */
.slide.active .hero-image {
  animation: kenBurns 28s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1.05) translate(0%, 0%);
  }
  33% {
    transform: scale(1.12) translate(-1.2%, 0.8%);
  }
  66% {
    transform: scale(1.08) translate(1%, -0.6%);
  }
  100% {
    transform: scale(1.14) translate(-0.5%, 0.4%);
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .slide.active .hero-image {
    animation: none;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #0b0b0f 0%,
    rgba(11,11,15,0.98) 6%,
    rgba(11,11,15,0.88) 14%,
    rgba(11,11,15,0.65) 28%,
    rgba(11,11,15,0.45) 45%,
    rgba(11,11,15,0.28) 70%,
    rgba(11,11,15,0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 740px;
  pointer-events: auto;
  margin-top: -4vh; /* lift text/buttons higher on the slide */
}

.hero-ctas a {
  position: relative;
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
  font-weight: 600;
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
}

.hero-title { margin-bottom: 1.6rem; }

.title-line-1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #dce6ff;
  line-height: 1.15;
  margin-bottom: 0.08em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.title-line-2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.5rem, 6.4vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #eef4ff;
  line-height: 1.0;
  text-shadow: 0 3px 18px rgba(0,0,0,0.5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Arrows + Dots */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(11,11,15,0.45);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}
.slider-arrow:hover {
  background: rgba(232,121,249,0.25);
  border-color: var(--accent-bright);
}
.slider-arrow.prev { left: 1.3rem; }
.slider-arrow.next { right: 1.3rem; }

.slider-dots {
  position: absolute;
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.dot.active {
  background: var(--accent-bright);
  transform: scale(1.25);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent-bright);
  color: #1a0a1f;
}
.btn-primary:hover {
  background: #f0abfc;
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: rgba(255,255,255,0.28);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.06);
}
.btn-lg {
  padding: 1rem 2.3rem;
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
  scroll-margin-top: 90px;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.philosophy-text p {
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.75;
  margin-bottom: 1.3rem;
}
.philosophy-text em { color: var(--text); font-style: italic; }
.philosophy-text strong { color: var(--text); }

/* ---------- Work ---------- */
.work-section { background: var(--bg-elevated); }

.work-block { margin-bottom: 4rem; }
.work-block.alt {
  background: var(--bg-elevated);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 3.2rem calc(50vw - 50%);
}

.work-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
}
.work-block-grid.reverse { direction: rtl; }
.work-block-grid.reverse > * { direction: ltr; }

.work-block-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}
.work-block-text p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  font-size: 1.04rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}
.project-text p {
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.project-text strong { color: var(--text); font-weight: 600; }
.rounded-img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
  text-align: center;
}

/* ---------- Print Tiers ---------- */
.print-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.tier-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.tier-card.featured {
  border-color: rgba(192,132,252,0.45);
  background: linear-gradient(180deg, rgba(192,132,252,0.08) 0%, var(--bg-elevated) 100%);
}
.tier-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.tier-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.9rem;
}
.tier-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1.3rem;
  flex: 1;
}
.tier-card .btn { width: 100%; text-align: center; }

/* ---------- Books ---------- */
.book-slider { overflow: hidden; max-width: 900px; margin: 0 auto; }
.book-track {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.book-card {
  width: 150px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.2s;
}
.book-card:hover { transform: translateY(-4px); }
.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.book-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

/* ---------- Music ---------- */
.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  max-width: 720px;
  margin: 0 auto;
}
.music-card { aspect-ratio: 1; }
.cd-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.footer-brand .logo-mark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text); }
.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .print-tiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .project-grid,
  .work-block-grid,
  .work-block-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    padding: 1.4rem;
    gap: 0.9rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .slider-arrow { width: 40px; height: 40px; font-size: 1.5rem; }
  .slider-arrow.prev { left: 0.7rem; }
  .slider-arrow.next { right: 0.7rem; }
  .music-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .print-tiers { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; }
  .hero-slider { min-height: 520px; }
  .slide { padding-bottom: 4.5rem; padding-top: 90px; }
  .logo-social { gap: 0.6rem; }
  .social-bar a { width: 28px; height: 28px; }
  .logo { width: 8.5rem; }
  .logo-mark { font-size: 0.95rem; letter-spacing: 0.03em; }
  .logo-sub { font-size: 0.58rem; }
}


/* Thin horizontal scanline overlay (deters clean screenshots) */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.045) 0px,
    rgba(0, 0, 0, 0.045) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* Global light scanline on body content images */
.protect-scan {
  position: relative;
}
.protect-scan::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.04) 0px,
    rgba(0, 0, 0, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 2;
}

/* Discourage drag / selection of images */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.hero-image {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none; /* clicks pass through to content; overlay still visible */
}


/* Book Buy Now button */
.book-card .btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--accent-bright);
  color: #1a0a1f;
  border: none;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  width: auto;
}
.book-card .btn-buy:hover {
  background: #f0abfc;
  transform: translateY(-1px);
}
.book-card {
  text-decoration: none;
}


/* Size / Price shop blocks under Collector's Prints */
.size-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.size-price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.size-price-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.size-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.size-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.size-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.size-list li:last-child { border-bottom: none; }
.size-list strong {
  min-width: 5.5rem;
  color: var(--text);
}
.size-list span {
  color: var(--text-muted);
  font-size: 0.88rem;
}
.tier-price {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.gift-slide-list {
  color: rgba(220, 230, 255, 0.85);
  font-size: 1rem;
  margin: -0.6rem 0 1.4rem;
  max-width: 28rem;
}
@media (max-width: 700px) {
  .size-price-grid { grid-template-columns: 1fr; }
}


/* The Work category cards — layout match */
.work-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-bottom: 4rem;
}
.work-cat-card {
  background: #0e0e14;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.work-cat-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}
.work-cat-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  color: #fff;
}
.work-cat-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
.work-cat-body em {
  font-style: italic;
  color: var(--text-muted);
}

/* Classy white outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* Text link (Angie Blue) */
.text-link {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.text-link:hover {
  color: #f0abfc;
}

#work-visual,
#work-animation,
#work-books,
#work-music,
#work-games {
  scroll-margin-top: 90px;
}

@media (max-width: 1100px) {
  .work-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .work-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .work-cards-grid {
    grid-template-columns: 1fr;
  }
}


/* ========== Section sliders ========== */
.section-slider-wrap {
  position: relative;
  min-height: 100vh;
  scroll-margin-top: 72px;
}
.section-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.sec-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  align-items: center;
  padding: 100px 1.5rem 5rem;
}
.sec-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.sec-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.sec-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  pointer-events: none;
  user-select: none;
}
.sec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,11,15,0.78) 0%, rgba(11,11,15,0.55) 40%, rgba(11,11,15,0.28) 100%);
}
.sec-bg.dark::after {
  background: rgba(11,11,15,0.82);
}
.sec-panel {
  position: relative;
  z-index: 3;
  max-width: 520px;
  margin-left: min(8vw, 4rem);
}
.sec-panel-wide {
  max-width: 920px;
}
.sec-panel-gallery {
  max-width: 900px;
  width: 100%;
}
.sec-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.sec-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
}
.sec-panel p {
  color: rgba(230, 230, 240, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.sec-lead {
  color: var(--text-muted) !important;
  font-size: 1rem !important;
}
.sec-panel .btn {
  margin-right: 0.6rem;
  margin-bottom: 0.5rem;
}
.print-tiers.compact {
  margin: 1rem 0 0.5rem;
}
.print-tiers.compact .tier-card {
  padding: 1.1rem 1rem;
}
.section-slider > .slider-arrow {
  z-index: 12;
}
.section-slider > .slider-dots {
  z-index: 12;
  bottom: 1.4rem;
}

/* Inner gallery */
.inner-gallery {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/10;
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.gallery-track {
  position: absolute;
  inset: 0;
}
.gallery-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}
.gallery-item.active {
  opacity: 1;
  visibility: visible;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.slider-arrow.gal {
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
}
.gal-dots {
  bottom: 0.8rem !important;
}

@media (max-width: 700px) {
  .sec-panel {
    margin-left: 0;
    max-width: 100%;
  }
  .sec-slide {
    padding: 90px 1rem 4.5rem;
  }
  .print-tiers.compact {
    grid-template-columns: 1fr;
  }
}


/* Ensure only active main slide receives clicks */
.main-slider > .slide {
  pointer-events: none;
}
.main-slider > .slide.active {
  pointer-events: auto;
}
.main-slider .hero-content,
.main-slider .hero-ctas,
.main-slider .hero-ctas a {
  pointer-events: auto;
  position: relative;
  z-index: 20;
}
.main-slider .hero-bg,
.main-slider .hero-image,
.main-slider .hero-overlay {
  pointer-events: none;
}

.books-in-slide, .music-in-slide {
  margin: 1rem 0 1.2rem;
}
.books-in-slide {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-start;
}
.music-in-slide {
  grid-template-columns: repeat(4, 1fr);
  max-width: 520px;
  margin-left: 0;
}
.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,0,0,0.45);
  background: rgba(255,0,0,0.12);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-yt:hover {
  background: rgba(255,0,0,0.25);
  border-color: #ff0000;
}
@media (max-width: 700px) {
  .music-in-slide { grid-template-columns: repeat(2, 1fr); }
}


/* ========== Page number navigation (section sliders) ========== */
.page-nav {
  position: absolute !important;
  bottom: 1.5rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 50 !important;
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
  pointer-events: auto !important;
}
.page-arrow {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #ffffff !important;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
}
.page-arrow:hover {
  background: rgba(232, 121, 249, 0.45);
  color: #fff !important;
}
.page-nums {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.page-num {
  min-width: 32px;
  height: 32px;
  padding: 0 0.4rem;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.65) !important;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 32px;
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
}
.page-num.active {
  color: #1a0a1f !important;
  background: #e879f9 !important;
}
.page-num:hover:not(.active) {
  color: #fff !important;
  background: rgba(255,255,255,0.15);
}

/* Gallery right overlay */
.gallery-overlay-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 44vw);
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem 5.5rem;
  background: linear-gradient(90deg, transparent 0%, rgba(11,11,15,0.72) 15%, rgba(11,11,15,0.94) 100%);
  pointer-events: auto;
}
.gallery-overlay-panel h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.7rem;
  color: #fff;
  font-weight: 800;
}
.gallery-overlay-panel p {
  color: rgba(230,230,240,0.88);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.6;
}
.gallery-page-nav {
  position: absolute;
  bottom: 4.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 51;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0;
  background: rgba(8,8,12,0.8);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.gallery-bg img,
.gallery-full-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cleaner Size & Price slide */
.prints-panel {
  max-width: 960px;
}
.prints-panel .size-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0 1.5rem;
}
.prints-panel .size-price-card {
  background: rgba(18, 18, 26, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.35rem;
}
.prints-panel .size-price-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.prints-panel .size-lead {
  color: rgba(168,163,179,0.95);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.prints-panel .size-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.prints-panel .size-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.92rem;
  color: rgba(230,230,240,0.9);
}
.prints-panel .size-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.prints-panel .size-list strong {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.prints-panel .size-list .dim {
  color: rgba(200,195,210,0.85);
  grid-column: 2;
}
.prints-panel .size-list span:not(.dim) {
  grid-column: 2;
  color: rgba(160,155,170,0.9);
  font-size: 0.84rem;
}
/* two-line rows: size label | dimensions, then note on next visual line via flex wrap */
.prints-panel .size-list li {
  grid-template-columns: 4.2rem minmax(0, 1fr);
}
.prints-panel .size-list li strong {
  grid-row: 1;
}
.prints-panel .size-list .dim {
  grid-row: 1;
}
.prints-panel .size-list span:not(.dim) {
  grid-column: 2;
  grid-row: 2;
  margin-top: -0.15rem;
  margin-bottom: 0.15rem;
}

.section-slider > .slider-arrow {
  display: none !important;
}

@media (max-width: 800px) {
  .prints-panel .size-price-grid {
    grid-template-columns: 1fr;
  }
  .gallery-overlay-panel {
    width: 100%;
    background: linear-gradient(to top, rgba(11,11,15,0.96) 0%, rgba(11,11,15,0.75) 50%, transparent 100%);
    justify-content: flex-end;
    padding-bottom: 5.5rem;
  }
}

.size-list.clean li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.size-list.clean li:last-child { border-bottom: none; }
.size-list.clean .sz {
  grid-row: 1 / span 2;
  align-self: center;
  font-weight: 700;
  color: #e879f9;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.size-list.clean .sz-main {
  grid-column: 2;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.size-list.clean .sz-note {
  grid-column: 2;
  color: rgba(168,163,179,0.95);
  font-size: 0.82rem;
}
.section-slider {
  overflow: visible;
}
.section-slider-wrap {
  overflow: hidden;
}

/* Gallery image numbers sit just above section page numbers */
.sec-slide > .gallery-page-nav {
  position: absolute;
  bottom: 4.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 52;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(8,8,12,0.85);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  pointer-events: auto;
}
.sec-panel .tier-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e879f9;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.sec-panel .tier-price {
  color: #e879f9;
  font-size: 0.9rem;
  margin: -0.4rem 0 1.2rem;
  font-weight: 500;
}


/* FORCE section backgrounds visible */
.section-slider-wrap {
  position: relative;
  min-height: 100vh;
  height: auto;
}
.section-slider {
  position: relative !important;
  min-height: 100vh !important;
  height: 100vh !important;
  overflow: hidden !important;
  background: #121218;
}
.sec-slide {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  min-height: 100vh;
}
.sec-bg {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0 !important;
  overflow: hidden;
  background: #1a1a22;
}
.sec-bg img {
  display: block !important;
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1.04);
  z-index: 0;
}
.sec-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11,11,15,0.72) 0%, rgba(11,11,15,0.45) 42%, rgba(11,11,15,0.2) 100%) !important;
  pointer-events: none;
}
.sec-panel {
  position: relative !important;
  z-index: 3 !important;
}


/* ===== DEFINITIVE section slider backgrounds (mirror hero) ===== */
.section-slider-wrap {
  position: relative;
  min-height: 100vh;
  scroll-margin-top: 72px;
}
.section-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #0b0b0f;
}
.section-slider .sec-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  display: block !important;
}
.section-slider .sec-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.section-slider .sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.section-slider .sec-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border: 0;
  transform: scale(1.05);
  pointer-events: none;
  user-select: none;
}
.section-slider .sec-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(11, 11, 15, 0.82) 0%,
    rgba(11, 11, 15, 0.55) 38%,
    rgba(11, 11, 15, 0.25) 100%
  );
  pointer-events: none;
}
.section-slider .sec-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
  /* Extra right padding + solid left inset keeps text clear of both arrows */
  padding: 6rem 2.25rem 5.5rem max(3.25rem, min(8vw, 4.5rem));
  margin: 0;
  pointer-events: auto;
}
.section-slider .sec-panel-wide {
  max-width: 960px;
}
.section-slider .gallery-overlay-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 44vw);
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem 5.5rem;
  background: linear-gradient(90deg, transparent 0%, rgba(11,11,15,0.72) 15%, rgba(11,11,15,0.94) 100%);
  pointer-events: auto;
}

/* Restore side arrows on section sliders */
.section-slider > .slider-arrow {
  display: flex !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(11,11,15,0.55);
  color: #fff;
  font-size: 1.75rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}
.section-slider > .slider-arrow:hover {
  background: rgba(232, 121, 249, 0.45);
  border-color: rgba(232, 121, 249, 0.8);
}
.section-slider > .slider-arrow.prev { left: 1.25rem; }
.section-slider > .slider-arrow.next { right: 1.25rem; }

.page-nav {
  z-index: 25 !important;
}


/* Shorter sliders so they fit the screen */
.hero-slider.main-slider {
  height: 90vh !important;
  min-height: 600px !important;
  max-height: 840px;
}
.section-slider-wrap {
  min-height: 0 !important;
}
.section-slider {
  height: 82vh !important;
  min-height: 520px !important;
  max-height: 760px !important;
}
.section-slider .sec-slide {
  min-height: 0 !important;
}
@media (max-width: 700px) {
  .hero-slider.main-slider {
    height: 86vh !important;
    min-height: 560px !important;
    max-height: none !important;
  }
  .section-slider {
    height: 78vh !important;
    min-height: 480px !important;
    max-height: none !important;
  }
}

/* House icon buttons */
.btn-home {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(11,11,15,0.45);
  color: #fff;
  margin-top: 0.75rem;
}
.btn-home:hover {
  background: rgba(232, 121, 249, 0.35);
  border-color: #e879f9;
  color: #fff;
}
.btn-home .icon-home {
  width: 22px;
  height: 22px;
}
.nav-home {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.4rem !important;
  color: inherit;
}
.nav-home .icon-home {
  width: 20px;
  height: 20px;
}
.nav-home:hover {
  color: #e879f9;
}

/* Mobile: stack section CTAs, avoid overlap */
@media (max-width: 700px) {
  .section-slider .sec-panel {
    /* Generous side padding so 40px arrows never cover text */
    padding: 5rem 1.75rem 4.5rem 1.75rem !important;
    max-width: 100% !important;
  }
  .section-slider .sec-panel .btn {
    margin: 0.35rem 0.35rem 0.35rem 0;
  }
  .section-slider .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .music-in-slide {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .books-in-slide {
    gap: 0.6rem;
  }
  .book-card {
    width: calc(50% - 0.4rem);
  }
  .section-slider > .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .section-slider > .slider-arrow.prev { left: 0.5rem; }
  .section-slider > .slider-arrow.next { right: 0.5rem; }
}

/* Gallery page numbers look different from section page-nav */
.gallery-page-nav,
.sec-slide > .gallery-page-nav {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  gap: 0.35rem !important;
  padding: 0 !important;
}
.gallery-page-nav .page-arrow {
  width: 26px;
  height: 26px;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.gallery-page-nav .page-num {
  min-width: 26px;
  height: 26px;
  line-height: 26px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 4px;
  color: rgba(255,255,255,0.5) !important;
  background: transparent !important;
  border-bottom: 2px solid transparent;
}
.gallery-page-nav .page-num.active {
  color: #fff !important;
  background: transparent !important;
  border-bottom: 2px solid #e879f9;
  border-radius: 0;
}

/* Static Prints panel */
.section-static {
  position: relative;
  padding: 4.5rem 0 4rem;
  scroll-margin-top: 72px;
  overflow: hidden;
}
.prints-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.prints-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prints-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11,11,15,0.72);
}
.prints-static-inner {
  position: relative;
  z-index: 1;
}
.prints-card {
  background: rgba(18, 18, 26, 0.88);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 1100px;
  margin: 0 auto;
}
.prints-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  color: #fff;
}
.prints-card .sec-lead {
  color: rgba(180,175,190,0.95);
  margin-bottom: 1.5rem;
}
.prints-card .print-tiers {
  margin-bottom: 1.5rem;
}
.prints-card .size-price-grid {
  margin-bottom: 1rem;
}
@media (max-width: 700px) {
  .prints-card {
    padding: 1.4rem 1.1rem 1.2rem;
    border-radius: 16px;
  }
}

/* Single book slides — cover in a centered column */
.single-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin: 0.8rem auto 1.4rem;
  text-align: center;
  width: 100%;
  max-width: 220px;
}
.book-cover-lg {
  width: 170px;
  max-width: 48vw;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  display: block;
}
.single-book .btn {
  min-width: 140px;
}
/* On book slides, center the panel content more */
.section-slider .sec-panel:has(.single-book) {
  max-width: 560px;
  align-items: center;
  text-align: center;
}
.section-slider .sec-panel:has(.single-book) p,
.section-slider .sec-panel:has(.single-book) h2 {
  text-align: center;
}
.section-slider .sec-panel:has(.single-book) .btn-home {
  margin-left: auto;
  margin-right: auto;
}

/* Music platform buttons */
.btn-amazon {
  background: #ff9900;
  color: #111;
  border: none;
}
.btn-amazon:hover {
  background: #ffb84d;
  color: #111;
  transform: translateY(-1px);
}
.btn-spotify {
  background: #1DB954;
  color: #fff;
  border: none;
}
.btn-spotify:hover {
  background: #1ed760;
  color: #fff;
  transform: translateY(-1px);
}
.music-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.music-in-slide {
  margin-bottom: 0.5rem;
}
.music-in-slide .cd-cover {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
@media (max-width: 700px) {
  .book-cover-lg {
    width: 130px;
  }
  .music-in-slide {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Shop Now button with cart icon */
.btn-shop {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
}
.btn-shop .icon-cart {
  flex-shrink: 0;
}

/* Shorter outline buttons in Work section */
.section-slider .sec-panel .btn-outline {
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  white-space: nowrap;
}


/* ========== The Artist — two-column text (no cell chrome) ========== */
#artist-section .artist-panel {
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 0 !important;
  transform: translateX(-50%);
  width: min(1040px, 94%) !important;
  max-width: 1040px !important;
  margin: 0 !important;
  /* Horizontal padding keeps text clear of the side arrows (48px + gap) */
  padding: 5.2rem 3.5rem 5.2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  z-index: 3 !important;
  pointer-events: auto;
}
#artist-section .artist-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  width: 100%;
  align-items: start;
}
#artist-section .artist-col {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
#artist-section .artist-col-main h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  margin-bottom: 0.7rem;
}
#artist-section .artist-col-main p {
  color: rgba(242, 240, 245, 0.92);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 1rem;
}
#artist-section .artist-lorem {
  color: rgba(230, 230, 240, 0.88);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
@media (max-width: 800px) {
  #artist-section .artist-panel {
    width: min(100%, 94%) !important;
    /* Extra side padding so arrows never sit on text on small screens */
    padding: 4.5rem 1.75rem 4.75rem !important;
  }
  #artist-section .artist-two-col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Gallery quote styling */
.gallery-quote {
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
  font-style: italic;
  color: rgba(242, 240, 245, 0.95) !important;
}

/* ========== The Work — 2-column card layout ========== */
#work-section .section-slider {
  position: relative;
  height: 82vh !important;
  min-height: 520px !important;
  max-height: 760px !important;
}
#work-section .section-slider::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5.5rem;
  z-index: 24;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #0b0b0f 0%,
    rgba(11, 11, 15, 0.95) 22%,
    rgba(11, 11, 15, 0.55) 55%,
    rgba(11, 11, 15, 0) 100%
  );
}
#work-section .work-panel {
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 0 !important;
  transform: translateX(-50%);
  width: min(1040px, 94%) !important;
  max-width: 1040px !important;
  margin: 0 !important;
  /* Horizontal padding keeps text & cards clear of the side arrows */
  padding: 5.2rem 3.5rem 5.2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  z-index: 3 !important;
  pointer-events: auto;
}
#work-section .work-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  width: 100%;
  align-items: stretch;
  min-height: min(480px, 55vh);
}
#work-section .work-col {
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 1.75rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: none;
}
#work-section .work-col-text { justify-content: flex-start; }
#work-section .work-col-text h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
#work-section .work-col-text p {
  color: rgba(242, 240, 245, 0.92);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
#work-section .work-col-text p.work-lorem {
  color: rgba(220, 215, 230, 0.88);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 1.15rem;
  flex: 1 1 auto;
}
#work-section .work-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
#work-section .work-actions .btn { margin: 0 !important; }
#work-section .work-col-media {
  align-items: center;
  justify-content: center;
  padding: 0.35rem; /* reduced so covers display larger */
  background: transparent;
}
/* Override shared .work-col padding on image column only — leave text column untouched */
#work-section .work-col.work-col-media {
  padding: 0.35rem 0.25rem;
}
/* Slides 7 & 8: fully flush (album covers) */
#work-section .sec-slide:nth-child(7) .work-col-media,
#work-section .sec-slide:nth-child(8) .work-col-media {
  padding: 0;
}
#work-section .work-cover {
  display: block;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: min(460px, 62vh);
  object-fit: contain;
  object-position: center center;
  border-radius: 12px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  background: transparent;
}

#work-section .music-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}
#work-section .music-btns .btn { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
#work-section .page-nav { bottom: 1.1rem !important; z-index: 30 !important; }
#work-section .section-slider > .slider-arrow { z-index: 28 !important; }

@media (max-width: 800px) {
  #work-section .section-slider {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  #work-section .section-slider .sec-slide {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  #work-section .section-slider .sec-slide.active {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 78vh;
  }
  #work-section .work-panel {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    /* Extra side padding so arrows never sit on text on small screens */
    padding: 4.5rem 1.75rem 4.75rem !important;
  }
  #work-section .work-two-col {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    min-height: 0 !important;
  }
  #work-section .work-col-media { order: -1; padding: 0.25rem; }
  #work-section .work-col.work-col-media { padding: 0.25rem; }
  #work-section .work-cover {
    width: min(78%, 280px);
    max-height: min(320px, 42vh);
    margin: 0 auto;
  }
}

