/* Campaigns hub + project story pages — v4.4 archive row stack (Navaan sage/forest)
   Hover policy: NEVER scale/zoom images. Prefer opacity, brightness, border, underline. */

/* ── Shared ─────────────────────────────────────────────── */
.cp-page {
  background: var(--bg-dark, #060806);
}

.cp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 1.15rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
}

.cp-breadcrumb a {
  color: var(--primary-sage);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cp-breadcrumb a:hover {
  color: var(--primary-ivory);
}

.cp-breadcrumb-sep {
  opacity: 0.35;
}

.cp-badge {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-sage);
}

.cp-badge--done {
  color: var(--primary-ivory);
}

.cp-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.55rem;
  vertical-align: 1px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(149, 173, 99, 0.18);
}

.cp-badge--done::before {
  box-shadow: 0 0 0 3px rgba(247, 231, 182, 0.15);
}

.cp-area-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(149, 173, 99, 0.85);
  border: 1px solid rgba(149, 173, 99, 0.28);
  padding: 0.22rem 0.55rem;
  margin-bottom: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 2px;
}

.cp-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-sage);
  margin-bottom: 0.85rem;
}

.cp-rule {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-sage), rgba(149, 173, 99, 0.15));
  margin: 0 0 1.45rem;
  border: 0;
}

.cp-lead {
  font-size: clamp(1.14rem, 2.1vw, 1.38rem);
  line-height: 1.68;
  color: rgba(238, 240, 231, 0.9);
  margin-bottom: 1.45rem;
  letter-spacing: -0.01em;
}

.cp-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(238, 240, 231, 0.88);
  margin-bottom: 1.25rem;
}

.cp-hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  max-width: 38rem;
  margin-top: 1.35rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.cp-index {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(149, 173, 99, 0.75);
  margin-bottom: 0.65rem;
}

/* Soft sage atmosphere on heroes — no image zoom */
.cp-hero-atmosphere {
  isolation: isolate;
}

.cp-hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(149, 173, 99, 0.16), transparent 70%),
    radial-gradient(ellipse 42% 38% at 88% 72%, rgba(52, 108, 45, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(3, 8, 5, 0.35), transparent 55%);
}

.cp-hero-atmosphere .hero-overlay {
  z-index: 2;
}

.cp-hero-atmosphere .hero-content {
  z-index: 3;
  position: relative;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.cp-hero-atmosphere > .hero-video {
  /* static crop — never ken-burns / scale */
  transform: none;
}

/* Motion — content entrance only */
.cp-enter {
  opacity: 0;
  transform: translateY(18px);
  animation: cpFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cp-enter-1 { animation-delay: 0.12s; }
.cp-enter-2 { animation-delay: 0.28s; }
.cp-enter-3 { animation-delay: 0.44s; }
.cp-enter-4 { animation-delay: 0.58s; }

@keyframes cpFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body:not(.revealed-ui) .cp-enter {
  animation: none;
}

body.revealed-ui .cp-enter {
  animation-name: cpFadeUp;
}

/* Instant visibility & crisp rendering on campaign pages */
.cp-page .animate-in,
.cp-page .reveal-on-scroll,
.cp-page .cp-enter,
.cp-page .stagger-text .line,
.cp-page .hero-stagger-line,
.cp-page .hero-cta-row,
.cp-page .cp-hero-desc {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ── Unified Editorial Impact Metrics Bar (No clunky boxes) ── */
.cp-editorial-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 16, 11, 0.65);
  border: 1px solid rgba(149, 173, 99, 0.22);
  border-radius: 14px;
  padding: 1.1rem 1.6rem;
  margin: 1.45rem 0 1.35rem;
  width: 100%;
  max-width: 920px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.cp-em-item {
  flex: 1;
  text-align: center;
  padding: 0.2rem 0.5rem;
}

.cp-em-val {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.cp-em-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.3rem;
  white-space: nowrap;
}

.cp-em-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Fallback cp-stats */
.cp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 5;
}

/* ── Magazine story ──────────────────────────────────────── */
.cp-story {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(149, 173, 99, 0.05), transparent 60%),
    linear-gradient(180deg, #030805 0%, #060806 55%, #040504 100%);
}

.cp-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: start;
}

.cp-story-main {
  min-width: 0;
}

.cp-story-sidebar {
  position: sticky;
  top: calc(var(--header-bottom, calc(var(--header-strip-height, 0px) + var(--nav-height, 82px))) + 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
  transition: top 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: top;
}

body.nav-hidden .cp-story-sidebar {
  top: 2rem;
}

.cp-story-media {
  position: sticky;
  top: calc(var(--header-bottom, calc(var(--header-strip-height, 0px) + var(--nav-height, 82px))) + 1.75rem);
  overflow: hidden;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  aspect-ratio: 4 / 5;
  max-height: 640px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45);
  transition: border-color 0.35s ease, top 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: top;
}

body.nav-hidden .cp-story-media {
  top: 2rem;
}

.cp-story-media:hover {
  border-color: rgba(149, 173, 99, 0.35);
}

.cp-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.96) saturate(0.94);
  transition: filter 0.4s ease;
}

.cp-story-media:hover img {
  filter: brightness(1.04) saturate(1.02);
}

.cp-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 8, 5, 0.5) 100%);
  pointer-events: none;
}

.cp-story-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--primary-ivory, #F7E7B6);
  margin: 0 0 1rem;
  font-weight: 700;
}

.cp-quote {
  margin: 1.75rem 0 1.85rem;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--primary-sage);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: rgba(247, 231, 182, 0.88);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 34rem;
}

.cp-kit-list {
  list-style: none;
  padding: 0;
  margin: 1.7rem 0 0;
}

.cp-kit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.98rem;
}

.cp-kit-list li i {
  color: var(--primary-sage);
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.cp-finance {
  margin-top: 2.15rem;
  padding: 1.7rem 0 0;
  border-top: 1px solid rgba(149, 173, 99, 0.25);
}

.cp-finance-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-family: 'Outfit', sans-serif;
}

.cp-finance-row span:first-child {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cp-finance-row strong {
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 600;
}

.cp-finance-row strong.text-sage {
  color: var(--primary-sage);
}

.cp-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin: 1.2rem 0 0.65rem;
}

.cp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-sage), rgba(149, 173, 99, 0.55));
  box-shadow: 0 0 14px rgba(149, 173, 99, 0.28);
}

.cp-finance-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.65rem;
}

/* ── Timeline ────────────────────────────────────────────── */
.cp-how {
  padding: clamp(3.75rem, 8vw, 6rem) 0;
  background:
    radial-gradient(ellipse 40% 50% at 100% 30%, rgba(149, 173, 99, 0.04), transparent 55%),
    #010804;
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.cp-how-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.cp-timeline {
  max-width: 780px;
  margin: 0 auto;
  border-left: 1px solid rgba(149, 173, 99, 0.38);
  padding-left: clamp(1.6rem, 4vw, 2.75rem);
}

.cp-timeline-item {
  position: relative;
  margin-bottom: 2.75rem;
  padding-bottom: 0.15rem;
}

.cp-timeline-item:last-child {
  margin-bottom: 0;
}

.cp-timeline-dot {
  position: absolute;
  left: calc(-1 * clamp(1.6rem, 4vw, 2.75rem) - 5px);
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary-sage);
  border: 2px solid #010804;
  box-shadow: 0 0 0 3px rgba(149, 173, 99, 0.22);
}

.cp-timeline-item h3 {
  color: var(--text-light);
  font-size: 1.22rem;
  margin-bottom: 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.cp-timeline-item p {
  color: rgba(238, 240, 231, 0.82);
  line-height: 1.7;
  font-size: 1.02rem;
}

.cp-timeline-meta {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-sage);
  margin-bottom: 0.4rem;
}

/* ── Gallery — brightness/caption only, NO zoom ──────────── */
.cp-gallery {
  padding: clamp(3.75rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, #060806 0%, #030805 100%);
}

.cp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.cp-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md, 8px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  min-height: 190px;
  transition: border-color 0.35s ease;
}

.cp-gallery-item:hover {
  border-color: rgba(149, 173, 99, 0.4);
}

.cp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) brightness(0.94);
  transition: filter 0.4s ease;
}

.cp-gallery-item:hover img {
  filter: saturate(1.04) brightness(1.02);
}

.cp-gallery-item:nth-child(1) { grid-column: span 7; min-height: 320px; }
.cp-gallery-item:nth-child(2) { grid-column: span 5; min-height: 320px; }
.cp-gallery-item:nth-child(3) { grid-column: span 4; }
.cp-gallery-item:nth-child(4) { grid-column: span 4; }
.cp-gallery-item:nth-child(5) { grid-column: span 4; }

.cp-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.15rem;
  background: linear-gradient(transparent, rgba(3, 8, 5, 0.94));
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.01em;
  opacity: 0.88;
  transition: opacity 0.35s ease;
}

.cp-gallery-item:hover .cp-gallery-caption {
  opacity: 1;
}

/* ── Multi-column Google / Pinterest Masonry Cards ──── */
.cp-masonry-gallery {
  column-count: 5;
  column-gap: 12px;
  width: 100%;
  margin-top: 1.5rem;
}

@media (max-width: 1399px) {
  .cp-masonry-gallery {
    column-count: 4;
    column-gap: 10px;
    margin-top: 1.25rem;
  }
}

@media (max-width: 991px) {
  .cp-masonry-gallery {
    column-count: 3;
    column-gap: 7px;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .cp-masonry-gallery {
    column-count: 3;
    column-gap: 5px;
    margin-top: 0.75rem;
  }
  .cp-masonry-card {
    margin-bottom: 6px !important;
  }
  .cp-masonry-img-wrap {
    border-radius: 6px !important;
  }
  .cp-masonry-pill {
    bottom: 3px !important;
    left: 3px !important;
    padding: 1px 3px !important;
    font-size: 0.46rem !important;
    gap: 2px !important;
    border-radius: 3px !important;
  }
  .cp-masonry-pill i {
    font-size: 0.42rem !important;
  }
  .cp-masonry-info {
    padding: 3px 1px 1px !important;
  }
  .cp-masonry-title {
    font-size: 0.62rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cp-masonry-badge {
    font-size: 0.52rem !important;
    gap: 2px !important;
  }
  .cp-masonry-badge-icon {
    width: 10px !important;
    height: 10px !important;
    font-size: 0.42rem !important;
  }
}

.cp-masonry-card {
  break-inside: avoid;
  margin-bottom: 18px;
  display: inline-block;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: none;
  contain: layout paint;
}

.cp-masonry-card:hover {
  transform: none !important;
  box-shadow: none;
  border-color: transparent;
}

.cp-masonry-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #080f0a;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  border: 2px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.cp-masonry-card:hover .cp-masonry-img-wrap {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 8px 24px rgba(255, 255, 255, 0.18);
  transform: none !important;
}

.cp-masonry-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 0.25s ease;
  filter: brightness(0.95) saturate(0.95);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: none !important;
}

.cp-masonry-card:hover .cp-masonry-img-wrap img {
  transform: none !important;
  filter: brightness(1.02) saturate(1);
}

.cp-masonry-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Outfit', 'Hind Siliguri', sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.cp-masonry-pill i {
  font-size: 0.62rem;
  color: var(--primary-sage, #95ad63);
}

.cp-masonry-info {
  padding: 8px 4px 2px;
}

.cp-masonry-title {
  font-size: 0.84rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.32;
  margin: 0 0 4px;
  font-family: 'Outfit', 'Hind Siliguri', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.cp-masonry-card:hover .cp-masonry-title {
  color: #fff;
}

.cp-masonry-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Outfit', 'Hind Siliguri', sans-serif;
}

.cp-masonry-badge-icon {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: rgba(149, 173, 99, 0.18);
  color: var(--primary-sage, #95ad63);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  flex-shrink: 0;
}


/* ── Sibling nav ─────────────────────────────────────────── */
.cp-siblings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.cp-sibling {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.35rem 1.45rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cp-sibling:hover {
  border-color: rgba(149, 173, 99, 0.4);
  background: rgba(149, 173, 99, 0.055);
}

.cp-sibling--next {
  text-align: right;
  align-items: flex-end;
}

.cp-sibling-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.cp-sibling-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.cp-sibling:hover .cp-sibling-title {
  color: var(--primary-sage);
}

/* ── CTA panel ───────────────────────────────────────────── */
.cp-cta {
  margin: 0 auto;
  padding: clamp(2.35rem, 5vw, 3.5rem) clamp(1.35rem, 4vw, 2.75rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(144, 169, 85, 0.32);
  box-shadow:
    0 1px 0 rgba(236, 243, 158, 0.06) inset,
    0 18px 48px rgba(0, 0, 0, 0.28);
  background: #0a140a;
}

.cp-cta h2 {
  color: #ecf39e;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.cp-cta p {
  color: rgba(238, 240, 231, 0.78);
  max-width: 540px;
  margin: 0 auto 1.85rem;
  line-height: 1.65;
  font-size: 1.05rem;
}

.cp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.cp-cta-wrap {
  background: #030805;
  padding: 0 0 clamp(3.5rem, 7vw, 5rem);
}

.cp-detail-hero {
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  margin-top: calc(-1 * (var(--header-strip-height, 0px) + var(--nav-height, 72px))) !important;
  padding-top: calc(var(--header-strip-height, 0px) + var(--nav-height, 72px) + clamp(2rem, 4vh, 3.5rem)) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem) !important;
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(149, 173, 99, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(149, 173, 99, 0.06), transparent 60%),
    linear-gradient(180deg, #010603 0%, #030805 60%, #040905 100%) !important;
}

.cp-detail-hero .container {
  max-width: 1320px;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.cp-hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.cp-hero-main-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.cp-hero-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cp-detail-hero .cp-breadcrumb {
  margin-bottom: 0.4rem;
}

.cp-detail-hero .stagger-text {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-top: 0.15rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.cp-detail-hero .cp-hero-desc {
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  line-height: 1.6;
  margin-top: 0.2rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}

.cp-detail-hero .hero-cta-row {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Executive Impact & Verification Dashboard (Right Column) ── */
.cp-hero-dashboard-col {
  width: 100%;
  min-width: 0;
}

.cp-hero-dashboard-card {
  background: rgba(10, 18, 12, 0.75);
  border: 1px solid rgba(149, 173, 99, 0.28);
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(236, 243, 158, 0.08) inset;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cp-hero-dashboard-card:hover {
  border-color: rgba(149, 173, 99, 0.48);
  transform: none !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.cp-hero-dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(149, 173, 99, 0.8), transparent);
}

.cp-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cp-dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-sage);
}

.cp-dash-location {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.cp-dash-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.cp-dash-metric {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(149, 173, 99, 0.14);
  border-radius: 10px;
  padding: 1rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cp-dash-metric:hover {
  background: rgba(149, 173, 99, 0.06);
  border-color: rgba(149, 173, 99, 0.32);
}

.cp-dash-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(149, 173, 99, 0.12);
  color: var(--primary-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.cp-dash-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cp-dash-val {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.cp-dash-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-dash-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cp-dash-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cp-dash-status-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cp-dash-audit-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-sage);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cp-dash-audit-link:hover {
  color: #ecf39e;
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════
   HUB — campaigns.html (Minimalist & Clean Project Archive)
   ═══════════════════════════════════════════════════════════ */

.cp-hub-hero {
  min-height: 75vh;
  padding-top: calc(var(--nav-height, 72px) + 4.5rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #011409 0%, #010603 100%);
  border-bottom: 1px solid rgba(149, 173, 99, 0.12);
}

/* campaigns.html hub — body already clears nav; no tall empty band */
.cp-archive--hub {
  padding-top: clamp(0.65rem, 1.6vw, 1rem) !important;
  padding-bottom: clamp(1.5rem, 3vw, 2.35rem) !important;
  border-top: none;
  background: #010804;
}

.cp-archive-header--hub {
  margin-bottom: 0.95rem;
  max-width: 40rem;
}

.cp-archive-header--hub .section-title {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  margin: 0 0 0.4rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cp-archive-header--hub .cp-eyebrow {
  margin-bottom: 0.3rem;
}

.cp-archive-header--hub .cp-body {
  margin: 0 0 0.8rem;
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
  line-height: 1.5;
  color: rgba(238, 240, 231, 0.72);
  max-width: 34rem;
}

.cp-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cp-hub-actions .btn-sage,
.cp-hub-actions .btn-glass {
  min-height: 42px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.cp-page .cp-archive--hub .cp-archive-toolbar {
  margin-bottom: 0.95rem;
  gap: 0.65rem;
}

.cp-hub-hero--compact {
  min-height: auto !important;
  padding-top: clamp(0.5rem, 1.5vw, 0.85rem) !important;
  padding-bottom: clamp(0.85rem, 2vw, 1.25rem);
  align-items: flex-end;
}

.cp-hub-hero--compact .hero-content {
  text-align: left;
  margin: 0;
  max-width: 40rem;
  padding-top: 0;
}

.cp-hub-hero--compact .stagger-text {
  font-size: clamp(2rem, 5vw, 2.85rem);
  margin-bottom: 0.5rem;
  line-height: 1.05;
}

.cp-hub-hero--compact .cp-hero-desc {
  margin: 0 0 1rem;
  text-align: left;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  max-width: 36rem;
}

.cp-hub-hero--compact .hero-cta-row {
  justify-content: flex-start;
  margin-top: 0;
  gap: 0.65rem;
}

.cp-hub-hero--compact .cp-scroll-cue {
  display: none !important;
}

.cp-page .cp-archive {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-top: none;
}

.cp-archive-header {
  margin-bottom: 1.15rem;
}

.cp-archive-header .cp-body {
  margin-bottom: 0;
  max-width: 40rem;
}

.cp-archive-header--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.cp-history-section {
  padding: clamp(1.65rem, 3.2vw, 2.6rem) 0 clamp(1.85rem, 3.5vw, 2.85rem);
  background: #030805;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cp-history-section .cp-timeline-item {
  margin-bottom: 1.45rem;
}

.cp-history-section .cp-timeline-item:last-child {
  margin-bottom: 0;
}

.cp-timeline-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cp-timeline-btn {
  font-size: 0.8rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
}

.cp-timeline-btn i {
  font-size: 0.75rem;
}

.cp-rail-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.25rem;
}

.cp-rail-status {
  margin: 0;
}

.cp-rail-status--live {
  color: var(--primary-sage);
}

.cp-rail-item-top .cp-area-tag {
  margin-bottom: 0;
}

.cp-rail-media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-sage);
  font-size: 2.4rem;
  background: radial-gradient(circle at center, rgba(149, 173, 99, 0.22) 0%, rgba(3, 10, 6, 0.9) 100%);
}

.cp-rail-cta {
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cp-rail-cta i {
  font-size: 0.7rem;
}

.cp-rail-item.is-hidden {
  display: none !important;
}

@supports (transition-behavior: allow-discrete) {
  .cp-rail-item {
    transition:
      opacity 0.22s ease,
      transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
      border-color 0.3s ease,
      background 0.3s ease,
      box-shadow 0.3s ease,
      display 0.22s allow-discrete;
  }

  .cp-rail-item.is-hidden {
    opacity: 0;
    transform: translateY(8px);
    display: none !important;
  }

  .cp-rail-item:not(.is-hidden) {
    opacity: 1;
  }
}

.cp-page .animate-in {
  opacity: 0;
  transform: translateY(12px);
}

.cp-page .animate-in[data-cp-revealed="1"] {
  opacity: 1;
  transform: translateY(0);
}

/* History must never stay invisible if IO misses */
.cp-history-section.animate-in,
.cp-history-section .cp-archive-header {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .cp-rail-item:hover .cp-rail-media img {
    transform: scale(1.04);
  }
}

@media (hover: none) {
  .cp-rail:hover .cp-rail-item:not(.is-hidden) {
    opacity: 1;
  }

  .cp-rail:hover .cp-rail-item:not(.is-hidden):hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 767px) {
  .cp-rail {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .cp-rail-item {
    padding: 1rem;
  }

  .cp-rail-media {
    height: 148px;
  }

  .cp-rail-footer {
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .cp-rail-meta {
    white-space: normal;
  }

  .cp-filter {
    min-height: 44px;
    padding: 0.55rem 1.05rem;
  }

  .cp-hub-actions {
    width: 100%;
  }

  .cp-hub-actions .btn-sage,
  .cp-hub-actions .btn-glass {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
  }

  .cp-hub-hero--compact .hero-cta-row .btn-sage,
  .cp-hub-hero--compact .hero-cta-row .btn-glass {
    min-height: 44px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cp-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.cp-hub-hero .hero-content {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
  padding-top: 1rem;
}

.cp-hub-hero .stagger-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.cp-hub-hero .cp-hero-desc {
  max-width: 40rem;
  margin: 1.15rem auto 2rem;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: rgba(238, 240, 231, 0.8);
  line-height: 1.65;
}

.cp-hub-hero .hero-cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.cp-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 2.5vw, 1.8rem);
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(238, 240, 231, 0.5);
  text-decoration: none;
  transition: color 0.25s ease;
}

.cp-scroll-cue:hover {
  color: var(--primary-sage);
}

.cp-scroll-cue::after {
  content: "";
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--primary-sage), transparent);
  animation: cpScrollPulse 2.2s ease-in-out infinite;
}

@keyframes cpScrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Featured spotlight — Minimalist Editorial Showcase */
.cp-spotlight {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #010804;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cp-spotlight-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 10, 6, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}

.cp-spotlight-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  overflow: hidden;
}

.cp-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
  filter: brightness(0.55) saturate(0.92) contrast(1.05);
  transition: filter 0.5s ease;
}

.cp-spotlight:hover .cp-spotlight-media img {
  filter: brightness(0.65) saturate(0.98) contrast(1.05);
}

.cp-spotlight-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(2, 7, 3, 0.96) 0%,
      rgba(2, 7, 3, 0.82) 42%,
      rgba(2, 7, 3, 0.35) 75%,
      rgba(2, 7, 3, 0.15) 100%),
    linear-gradient(180deg,
      rgba(2, 7, 3, 0.3) 0%,
      rgba(2, 7, 3, 0.85) 85%,
      rgba(2, 7, 3, 0.98) 100%);
}

.cp-spotlight-watermark {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(0.5rem, 1.5vw, 1rem);
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(7rem, 20vw, 14rem);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
}

.cp-spotlight-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3.5vw, 3rem);
}

.cp-spotlight-panel h2,
.cp-spotlight-status,
.cp-spotlight-blurb,
.cp-spotlight-meta,
.cp-spotlight-actions {
  max-width: 36rem;
}

.cp-spotlight-panel h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: var(--primary-ivory, #F7E7B6);
  line-height: 1.08;
  margin: 0 0 0.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cp-spotlight-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-sage, #95ad63);
}

.cp-spotlight-status::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-sage);
}

.cp-spotlight-blurb {
  color: rgba(238, 240, 231, 0.75);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 1.65rem;
}

.cp-spotlight-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.85rem;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.cp-spotlight-meta > div {
  min-width: 0;
}

.cp-spotlight-meta dt {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 240, 231, 0.48);
  margin: 0 0 0.35rem;
}

.cp-spotlight-meta dd {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--primary-sage, #95ad63);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.015em;
}

.cp-spotlight-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Archive Section & Filters ── */
.cp-archive {
  padding: clamp(1.15rem, 2.5vw, 2rem) 0 clamp(2rem, 4vw, 3rem);
  background: #010804;
  position: relative;
}

.cp-archive-header {
  margin-bottom: 1.15rem;
}

.cp-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.cp-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cp-filter {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1.05rem;
  cursor: pointer;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(238, 240, 231, 0.65);
  transition: all 0.22s ease;
}

.cp-filter:hover {
  color: #fff;
  border-color: rgba(149, 173, 99, 0.4);
  background: rgba(149, 173, 99, 0.08);
}

.cp-filter.is-active,
.cp-filter[aria-pressed="true"] {
  color: #030805;
  background: var(--primary-sage, #95ad63);
  border-color: var(--primary-sage, #95ad63);
  font-weight: 700;
}

.cp-archive-count {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(238, 240, 231, 0.45);
  margin: 0;
  white-space: nowrap;
}

.cp-archive-count strong {
  color: var(--primary-sage);
  font-weight: 600;
}

/* Project Rail — Minimalist Clean Cards */
.cp-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  overflow: visible;
}

@media (min-width: 1024px) {
  .cp-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.cp-rail-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(10, 20, 14, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.cp-rail-item.is-hidden {
  display: none !important;
}

.cp-rail:hover .cp-rail-item:not(.is-hidden) {
  opacity: 0.75;
}

.cp-rail:hover .cp-rail-item:not(.is-hidden):hover {
  opacity: 1;
  background: rgba(16, 32, 22, 0.8);
  border-color: rgba(149, 173, 99, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(149, 173, 99, 0.12);
}

.cp-rail-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cp-rail-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(149, 173, 99, 0.9);
  background: rgba(149, 173, 99, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(149, 173, 99, 0.22);
}

.cp-rail-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050d08;
  margin-bottom: 1rem;
}

.cp-rail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.95);
  transition: filter 0.35s ease, transform 0.4s ease;
}

.cp-rail-item:hover .cp-rail-media img {
  filter: saturate(1.05) brightness(1.02);
}

.cp-rail-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cp-rail-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: var(--text-light, #f0f3ea);
  margin: 0 0 0.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.22s ease;
  line-height: 1.3;
}

.cp-rail-item:hover .cp-rail-body h3,
.cp-rail-item:focus-visible .cp-rail-body h3 {
  color: var(--primary-sage);
}

.cp-rail-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0.45rem 0.4rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(238, 240, 231, 0.5);
}

.cp-rail-body .cp-area-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-sage);
  border: 1px solid rgba(149, 173, 99, 0.22);
  background: rgba(149, 173, 99, 0.06);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.cp-rail-body > p:not(.cp-rail-status) {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cp-rail-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  gap: 0.5rem;
}

.cp-rail-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--primary-sage);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(149, 173, 99, 0.22);
  border-radius: 24px;
  background: rgba(149, 173, 99, 0.04);
  transition: all 0.25s ease;
}

.cp-rail-meta i {
  font-size: 0.72rem;
  opacity: 0.7;
}

.cp-rail-item:hover .cp-rail-meta i {
  transform: translateX(3px);
  opacity: 1;
}

/* ── MAGAZINE VIEWER MODAL ── */
body.page-magazine {
  background: #0a140a;
}
body.page-magazine .mag-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
html.nv-lite-decor .mag-modal,
html.nv-lite-gpu .mag-modal {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mag-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  background: #010603;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.mag-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Backdrop layer — behind container, fills modal, catches outside clicks */
.mag-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  cursor: default;
}

.mag-modal:fullscreen,
.mag-modal:-webkit-full-screen,
.mag-modal.is-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  background: #000000 !important;
  border-radius: 0 !important;
}

.mag-modal:fullscreen .mag-container,
.mag-modal:-webkit-full-screen .mag-container,
.mag-modal.is-fullscreen .mag-container {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
}

.mag-modal:fullscreen .mag-page-wrapper,
.mag-modal:-webkit-full-screen .mag-page-wrapper,
.mag-modal.is-fullscreen .mag-page-wrapper {
  max-height: calc(100vh - 105px) !important;
}

.mag-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  background: #000;
}

/* ── Zen Mode / Hide & Reveal UI Bars ── */
.mag-topbar,
.mag-bottombar {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

.mag-container.is-ui-hidden .mag-topbar {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mag-container.is-ui-hidden .mag-bottombar {
  transform: translateY(100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mag-container.is-ui-hidden .mag-thumbs-drawer {
  transform: translateY(120%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mag-container.is-ui-hidden .mag-reader {
  padding: 0 !important;
}

.mag-container.is-ui-hidden .mag-page-wrapper {
  height: 100% !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #000 !important;
}

.mag-container.is-ui-hidden .mag-page-img {
  height: 100% !important;
  max-height: 100dvh !important;
  width: auto !important;
  max-width: 100vw !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.mag-reveal-ui-btn {
  position: absolute;
  top: max(1rem, calc(0.5rem + env(safe-area-inset-top, 0px)));
  right: max(1rem, calc(0.5rem + env(safe-area-inset-right, 0px)));
  background: rgba(1, 15, 8, 0.88);
  border: 1px solid rgba(149, 173, 99, 0.45);
  color: var(--primary-sage);
  padding: 0.45rem 0.95rem;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 35;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.mag-reveal-ui-btn:hover {
  background: var(--primary-sage);
  color: #010a04;
  transform: translateY(0) scale(1.05);
  box-shadow: 0 0 20px rgba(149, 173, 99, 0.5);
}

.mag-container.is-ui-hidden .mag-reveal-ui-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mag-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1.25rem 0.75rem;
  background: rgba(1, 10, 5, 0.92);
  border-bottom: 1px solid rgba(149, 173, 99, 0.22);
  z-index: 25;
}

.mag-title-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mag-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 45vw;
}

.mag-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mag-counter {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mag-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.mag-btn:hover {
  background: var(--primary-sage);
  color: #010a04;
  border-color: var(--primary-sage);
  transform: scale(1.05);
}

.mag-btn-close:hover {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #ef4444 !important;
}

/* Reader Area */
.mag-reader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 58px 0 60px;
  transition: padding 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #000;
}

/* PDFlipbook host — Navaan brand tokens */
.mag-reader--pdflip {
  padding: 56px 0 64px;
}

.mag-pdflipbook {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  --fb-bg: transparent;
  --fb-paper: #f7f4ea;
  --fb-control-bg: rgba(19, 42, 19, 0.88);
  --fb-control-fg: #ecf39e;
  --fb-counter-fg: rgba(236, 243, 158, 0.92);
  --fb-shadow: 0 22px 56px rgba(0, 0, 0, 0.62), 0 8px 18px rgba(0, 0, 0, 0.4);
  --fb-fold-shadow: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.35));
}

.mag-pdflipbook .fb-root {
  border-radius: 0;
}

.mag-pdflipbook .fb-nav {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(144, 169, 85, 0.28);
  width: 44px;
  height: 44px;
  transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1), background 0.18s ease;
}

.mag-pdflipbook .fb-nav:hover {
  background: rgba(49, 87, 44, 0.95);
  color: #ecf39e;
}

.mag-pdflipbook .fb-hot {
  /* Prefer grab feel on desktop edges */
  touch-action: none;
}

.mag-pdflip-error {
  margin: auto;
  max-width: 30rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  color: #ecf39e;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  background: rgba(19, 42, 19, 0.92);
  border: 1px solid rgba(144, 169, 85, 0.45);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  z-index: 20;
}

.mag-error-icon {
  font-size: 1.75rem;
  color: #f59e0b;
}

.mag-error-msg {
  margin: 0;
  color: #f7f4ea;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mag-error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.mag-error-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mag-error-btn--retry {
  background: var(--primary-sage, #95ad63);
  color: #010a04;
  border: 1px solid var(--primary-sage, #95ad63);
}

.mag-error-btn--retry:hover {
  background: #ecf39e;
  box-shadow: 0 0 15px rgba(236, 243, 158, 0.4);
}

.mag-error-btn--pdf {
  background: rgba(255, 255, 255, 0.1);
  color: #ecf39e;
  border: 1px solid rgba(236, 243, 158, 0.35);
}

.mag-error-btn--pdf:hover {
  background: rgba(236, 243, 158, 0.2);
  border-color: #ecf39e;
}

.mag-reader--pdflip .mag-loading-spinner {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.mag-container.is-ui-hidden .mag-reader--pdflip {
  padding: 0;
}

@media (max-width: 768px) {
  .mag-reader--pdflip {
    padding: 48px 0 max(56px, calc(48px + env(safe-area-inset-bottom)));
  }

  .mag-pdflipbook .fb-nav {
    width: 42px;
    height: 42px;
  }

  .mag-pdflipbook .fb-nav-prev {
    left: 6px;
  }

  .mag-pdflipbook .fb-nav-next {
    right: 6px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .mag-reader--pdflip {
    padding: 54px 0 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mag-pdflipbook .fb-nav {
    transition: none;
  }
}

/* ── Sleek White Left Slide-In Tip Toast ── */
.mag-left-toast {
  position: absolute;
  top: 72px;
  left: 1.25rem;
  max-width: 320px;
  background: #ffffff;
  color: #0d1610;
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.08);
  z-index: 30;
  transform: translateX(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mag-left-toast.is-shown {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mag-toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(149, 173, 99, 0.22);
  color: #4a631e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mag-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mag-toast-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a631e;
  line-height: 1.1;
}

.mag-toast-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8rem;
  color: #2b382d;
  line-height: 1.35;
  font-weight: 500;
}

.mag-toast-close {
  background: transparent;
  border: none;
  color: #7b8e80;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all 0.15s ease;
  flex-shrink: 0;
  padding: 0;
  margin-right: -10px;
}

.mag-toast-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0d1610;
}

@media (max-width: 640px) {
  .mag-left-toast {
    top: 58px;
    left: 0.75rem;
    right: 0.75rem;
    max-width: calc(100vw - 1.5rem);
    padding: 0.55rem 0.8rem;
    gap: 0.55rem;
    border-radius: 10px;
  }
  .mag-toast-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .mag-toast-text {
    font-size: 0.75rem;
  }
}

.mag-page-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  gap: 0;
}

.mag-page-img--right {
  display: none;
}

@media (min-width: 1024px) {
  .mag-page-wrapper.is-spread {
    width: auto;
    max-width: min(96vw, 1480px);
    height: auto;
    max-height: calc(100dvh - 130px);
    overflow: visible;
    background: #0a0a0a;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    border-radius: 4px;
  }

  .mag-page-wrapper.is-spread .mag-page-img,
  .mag-page-wrapper.is-spread .mag-page-img--right {
    display: block;
    height: min(78dvh, calc(100dvh - 140px));
    width: auto;
    max-width: min(47vw, 720px);
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
  }

  .mag-page-wrapper.is-spread .mag-page-img {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mag-page-wrapper.is-spread.is-single .mag-page-img--right {
    display: none !important;
  }

  .mag-page-wrapper.is-spread.is-single .mag-page-img {
    border-right: none;
    max-width: min(52vw, 760px);
  }

  .mag-page-wrapper.is-spread .mag-curl-canvas {
    /* Leaf-positioned by JS; keep above both pages */
    z-index: 12;
    border-radius: 0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  }

  .mag-container.is-ui-hidden .mag-page-wrapper.is-spread {
    max-height: 100dvh;
  }

  .mag-container.is-ui-hidden .mag-page-wrapper.is-spread .mag-page-img,
  .mag-container.is-ui-hidden .mag-page-wrapper.is-spread .mag-page-img--right {
    height: min(92dvh, 100dvh);
  }
}

.mag-curl-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10;
  pointer-events: none;
  border-radius: 4px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 255, 255, 0.08);
  /* When leaf-positioned, JS overrides top/left/transform */
}

.mag-page-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
}

.mag-page-img.is-loading {
  opacity: 0.28;
}

.mag-page-img.is-zoomed {
  max-height: none !important;
  max-width: none !important;
  width: 160% !important;
  height: auto !important;
  cursor: grab;
}

/* PC Directional Navigation Cursors */
@media (hover: hover) and (pointer: fine) {
  .mag-tap-left,
  .mag-reader.cursor-prev,
  .mag-reader.cursor-prev .mag-page-img,
  .mag-reader.cursor-prev .mag-page-wrapper {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='%23010f08' fill-opacity='0.9' stroke='%2395ad63' stroke-width='2'/%3E%3Cpath d='M23 12L15 20L23 28' stroke='%23ffffff' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") 20 20, w-resize !important;
  }

  .mag-tap-right,
  .mag-reader.cursor-next,
  .mag-reader.cursor-next .mag-page-img,
  .mag-reader.cursor-next .mag-page-wrapper {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18' fill='%23010f08' fill-opacity='0.9' stroke='%2395ad63' stroke-width='2'/%3E%3Cpath d='M17 12L25 20L17 28' stroke='%23ffffff' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") 20 20, e-resize !important;
  }

  .mag-reader.cursor-disabled,
  .mag-reader.cursor-disabled .mag-page-img,
  .mag-reader.cursor-disabled .mag-page-wrapper {
    cursor: default !important;
  }
}

.mag-tap-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25%;
  z-index: 10;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}

.mag-tap-left {
  left: 0;
  justify-content: flex-start;
  padding-left: 1.5rem;
}

.mag-tap-right {
  right: 0;
  justify-content: flex-end;
  padding-right: 1.5rem;
}

.mag-zone-hint {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(149, 173, 99, 0.45);
  color: var(--primary-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0.4;
  transition: all 0.2s ease;
}

.mag-tap-zone:hover .mag-zone-hint {
  opacity: 1;
  background: rgba(149, 173, 99, 0.95);
  color: #010a04;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(149, 173, 99, 0.4);
}

.mag-loading-spinner {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(0, 0, 0, 0.58);
  z-index: 15;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.mag-loading-spinner.is-visible {
  opacity: 1;
}

.mag-loading-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ecf39e;
  text-align: center;
  max-width: 16rem;
  line-height: 1.35;
}

.mag-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(149, 173, 99, 0.2);
  border-top-color: var(--primary-sage);
  border-radius: 50%;
  animation: magSpin 0.75s linear infinite;
}

@keyframes magSpin {
  to { transform: rotate(360deg); }
}

/* Thumbnails Drawer */
.mag-thumbs-drawer {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  background: rgba(1, 10, 5, 0.96);
  border-top: 1px solid rgba(149, 173, 99, 0.3);
  padding: 0.85rem 1.25rem;
  z-index: 30;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

.mag-thumbs-drawer.is-visible,
.mag-thumbs-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mag-thumbs-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.mag-thumb-item {
  flex: 0 0 70px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.mag-thumb-img-wrap {
  width: 70px;
  height: 98px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.mag-thumb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-thumb-img-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mag-thumb-img-wrap[data-painted="1"] canvas {
  opacity: 1;
}

.mag-thumb-item.is-pending .mag-thumb-img-wrap {
  background: rgba(255, 255, 255, 0.05);
}

.mag-thumb-item.is-active .mag-thumb-img-wrap,
.mag-thumb-item:hover .mag-thumb-img-wrap {
  border-color: var(--primary-sage);
  box-shadow: 0 0 12px rgba(149, 173, 99, 0.6);
  transform: scale(1.05);
}

.mag-thumb-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.mag-thumb-item.is-active .mag-thumb-num {
  color: var(--primary-sage);
}

/* Bottombar */
.mag-bottombar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.5rem;
  background: rgba(1, 10, 5, 0.92);
  border-top: 1px solid rgba(149, 173, 99, 0.22);
  gap: 1rem;
  z-index: 25;
}

.mag-nav-arrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(149, 173, 99, 0.3);
  color: var(--primary-sage);
  padding: 0.45rem 1.15rem;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.mag-nav-arrow:hover:not(:disabled) {
  background: var(--primary-sage);
  color: #010a04;
  box-shadow: 0 0 15px rgba(149, 173, 99, 0.35);
}

.mag-nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

.mag-scrubber-wrap {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
}

.mag-scrubber {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.mag-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-sage);
  border: 2px solid #010a04;
  box-shadow: 0 0 8px rgba(149, 173, 99, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.mag-scrubber::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.mag-scrubber::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-sage);
  border: 2px solid #010a04;
  box-shadow: 0 0 8px rgba(149, 173, 99, 0.8);
  cursor: pointer;
}

/* Body & HTML lock when magazine viewer is active */
html.mag-locked,
body.mag-locked {
  overflow: hidden !important;
  touch-action: none;
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  .mag-curl-canvas {
    display: none !important;
  }

  .mag-page-img {
    transition: opacity 0.12s ease;
  }

  .mag-topbar,
  .mag-bottombar,
  .mag-thumbs-drawer,
  .mag-left-toast,
  .mag-reveal-ui-btn {
    transition-duration: 0.01ms !important;
  }
}

/* Magazine Viewer Mobile & Tablet Responsive Optimizations */
@media (max-width: 768px) {
  .mag-topbar {
    padding: 0.5rem 0.75rem;
  }
  .mag-title-info {
    gap: 0.35rem;
    max-width: 40vw;
  }
  .mag-badge {
    display: none;
  }
  .mag-title {
    font-size: 0.8rem;
    max-width: 100%;
  }
  .mag-controls {
    gap: 0.35rem;
  }
  .mag-counter {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
  }
  .mag-btn {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    font-size: 0.88rem;
  }
  #mag-btn-fullscreen {
    display: none !important;
  }
  .mag-tap-zone {
    width: 18%;
  }
  .mag-zone-hint {
    display: none !important;
  }
  .mag-reader {
    padding: 48px 0 max(52px, calc(44px + env(safe-area-inset-bottom)));
  }
  .mag-bottombar {
    padding: 0.5rem 0.75rem max(0.65rem, env(safe-area-inset-bottom));
    gap: 0.5rem;
  }
  .mag-nav-arrow {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    min-height: 38px;
  }
  .mag-thumbs-drawer {
    bottom: 54px;
    padding: 0.6rem 0.75rem;
  }
  .mag-thumb-item {
    flex: 0 0 54px;
  }
  .mag-thumb-img-wrap {
    width: 54px;
    height: 76px;
  }
}

@media (max-width: 480px) {
  .mag-topbar {
    padding: 0.4rem 0.5rem;
  }
  .mag-title-info {
    display: none;
  }
  .mag-controls {
    width: 100%;
    justify-content: space-between;
  }
  .mag-nav-arrow span {
    display: none;
  }
  .mag-nav-arrow {
    padding: 0.4rem 0.65rem;
    min-width: 40px;
    justify-content: center;
  }
}

/* Empty filter state */
.cp-empty {
  display: none;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  border: 1px dashed rgba(149, 173, 99, 0.28);
  border-radius: var(--radius-md, 8px);
  background: rgba(149, 173, 99, 0.03);
  margin-top: 0.5rem;
}

.cp-empty.is-visible {
  display: block;
}

.cp-empty h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: var(--text-light);
  margin: 0 0 0.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cp-empty p {
  color: rgba(255, 255, 255, 0.48);
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  line-height: 1.6;
  font-size: 0.98rem;
}

.cp-hub-cta-wrap {
  padding: 0 0 clamp(1.75rem, 3.5vw, 2.75rem);
  background: #030805;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .cp-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -2.25rem;
  }

  .cp-stat:nth-child(2) {
    border-right: 0;
  }

  .cp-stat:nth-child(1),
  .cp-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .cp-story-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .cp-story-sidebar {
    position: static;
  }

  .cp-story-media {
    position: relative;
    top: auto;
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .cp-hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cp-hero-dashboard-card {
    padding: 1.35rem 1.4rem;
  }

  .cp-detail-hero .cp-hero-desc {
    max-width: 100%;
  }

  /* Keep desktop overlay composition — no image strip + empty black band */
  .cp-spotlight-stage {
    min-height: 0;
    display: grid;
    align-items: end;
  }

  .cp-spotlight-media {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .cp-spotlight-media img {
    object-position: center 28%;
    filter: brightness(0.62) saturate(0.92) contrast(1.05);
  }

  .cp-spotlight-veil {
    display: block;
    background:
      linear-gradient(180deg,
        rgba(3, 8, 5, 0.42) 0%,
        rgba(3, 8, 5, 0.18) 28%,
        rgba(3, 8, 5, 0.72) 58%,
        rgba(3, 8, 5, 0.94) 82%,
        rgba(3, 8, 5, 0.98) 100%),
      linear-gradient(90deg,
        rgba(3, 8, 5, 0.55) 0%,
        rgba(3, 8, 5, 0.2) 55%,
        rgba(3, 8, 5, 0.08) 100%);
  }

  .cp-spotlight-watermark {
    display: none;
  }

  .cp-spotlight-panel {
    background: transparent;
    margin-top: 0;
    padding-top: clamp(7.5rem, 42vw, 12rem);
    padding-bottom: max(2.25rem, env(safe-area-inset-bottom, 0px) + 1.5rem);
    padding-left: max(1.15rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.15rem, env(safe-area-inset-right, 0px));
    z-index: 2;
    overflow-wrap: anywhere;
  }

  .cp-spotlight-panel h2,
  .cp-spotlight-status,
  .cp-spotlight-blurb,
  .cp-spotlight-meta,
  .cp-spotlight-actions {
    max-width: none;
  }

  .cp-spotlight-panel h2 {
    font-size: clamp(1.85rem, 7.2vw, 2.65rem);
    line-height: 1.05;
    margin-bottom: 0.35rem;
  }

  .cp-spotlight-status {
    font-size: clamp(0.78rem, 2.4vw, 0.9rem);
    margin-bottom: 0.85rem;
  }

  .cp-spotlight-blurb {
    font-size: clamp(0.95rem, 2.8vw, 1.08rem);
    line-height: 1.62;
    margin-bottom: 1.25rem;
    max-width: 40rem;
  }

  .cp-spotlight-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1rem 1rem;
    margin-bottom: 1.5rem;
    padding: 1.35rem 0;
  }

  .cp-spotlight-meta > div {
    flex: 1 1 0;
    min-width: 0;
  }

  .cp-spotlight-meta div:last-child {
    grid-column: auto;
  }

  .cp-spotlight-meta dt {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
  }

  .cp-spotlight-meta dd {
    font-size: clamp(1.2rem, 3.6vw, 1.45rem);
    line-height: 1.2;
  }

  /* Same as PC: CTAs sit side-by-side on phones / square viewports */
  .cp-spotlight-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    max-width: none;
  }

  .cp-spotlight-actions .btn-sage,
  .cp-spotlight-actions .btn-glass {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    height: auto;
    padding: 0.75rem 0.85rem;
    white-space: normal;
    text-align: center;
    font-size: clamp(0.68rem, 2.4vw, 0.82rem);
  }

  .cp-spotlight:hover .cp-spotlight-media img {
    filter: brightness(0.68) saturate(0.95) contrast(1.05);
  }

  .cp-spotlight {
    overflow-x: clip;
  }

  .cp-gallery-item:nth-child(n) {
    grid-column: span 6;
    min-height: 210px;
  }

  .cp-scroll-cue {
    display: none;
  }

  .cp-hub-hero:not(.cp-hub-hero--compact) {
    min-height: 78dvh;
  }
}

/* Tablet spotlight: side-by-side CTAs when room allows */
@media (min-width: 561px) and (max-width: 900px) {
  .cp-spotlight-actions {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 36rem;
  }

  .cp-spotlight-actions .btn-sage,
  .cp-spotlight-actions .btn-glass {
    width: auto;
    flex: 1 1 12rem;
    min-width: min(100%, 11.5rem);
  }
}

@media (max-width: 560px) {
  .cp-dash-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .cp-dash-metric {
    padding: 0.75rem 0.65rem;
    gap: 0.6rem;
  }

  .cp-dash-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 7px;
  }

  .cp-dash-val {
    font-size: 1.15rem;
  }

  .cp-dash-label {
    font-size: 0.62rem;
  }

  .cp-dash-status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .cp-stats {
    grid-template-columns: 1fr 1fr;
  }

  .cp-stat {
    padding: 1.15rem 0.7rem;
  }

  .cp-siblings {
    grid-template-columns: 1fr;
  }

  .cp-sibling--next {
    text-align: left;
    align-items: flex-start;
  }

  .cp-gallery-item:nth-child(n) {
    grid-column: span 12;
    min-height: 200px;
  }

  .cp-spotlight-panel {
    padding-top: clamp(6.5rem, 48vw, 10rem);
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px) + 1.25rem);
  }

  .cp-spotlight-panel h2 {
    font-size: clamp(1.7rem, 8.4vw, 2.15rem);
  }

  .cp-spotlight-meta {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 0.75rem 0.7rem;
    padding: 1.25rem 0;
    margin-bottom: 1.4rem;
  }

  .cp-spotlight-meta > div {
    display: block;
    flex: 1 1 0;
    min-width: 0;
  }

  .cp-spotlight-meta div:last-child {
    grid-column: auto !important;
  }

  .cp-spotlight-meta dt {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    white-space: normal;
  }

  .cp-spotlight-meta dd {
    font-size: clamp(1.05rem, 4.2vw, 1.28rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    word-break: break-word;
  }

  .cp-spotlight-actions {
    max-width: none;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .cp-quote {
    padding-left: 1rem;
  }

  .cp-filters {
    gap: 0.35rem;
  }

  .cp-filter {
    padding: 0.48rem 0.7rem;
    font-size: 0.66rem;
  }

  .cp-archive-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-enter,
  .cp-scroll-cue::after,
  .cp-spotlight[data-cp-revealed="1"] .cp-spotlight-panel > * {
    animation: none !important;
  }

  .cp-enter,
  .cp-spotlight-panel > *,
  .cp-page .animate-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .cp-rail-item,
  .cp-spotlight-media img,
  .cp-spotlight-watermark,
  .cp-gallery-item img,
  .cp-story-media img,
  .cp-rail-media img {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   BENGALI TYPOGRAPHY & COMPACT EDITORIAL POLISH
   ═══════════════════════════════════════════════════════════ */

html[lang="bn"] .cp-page,
[lang="bn"] .cp-page {
  font-family: 'Hind Siliguri', 'Inter', -apple-system, sans-serif !important;
  font-size: 1rem !important;
}

html[lang="bn"] .cp-page .stagger-text {
  font-family: 'Hind Siliguri', sans-serif !important;
  font-size: clamp(1.75rem, 2.75vw, 2.4rem) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}

html[lang="bn"] .cp-page h1,
html[lang="bn"] .cp-page h2,
html[lang="bn"] .cp-page h3,
html[lang="bn"] .cp-page h4,
html[lang="bn"] .cp-page .section-title,
html[lang="bn"] .cp-page .cp-story-title {
  font-family: 'Hind Siliguri', sans-serif !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

html[lang="bn"] .cp-page .cp-story-title {
  font-size: clamp(1.65rem, 2.7vw, 2.25rem) !important;
  margin-bottom: 0.45rem !important;
}

html[lang="bn"] .cp-page .cp-hero-desc {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  letter-spacing: 0;
  max-width: 34rem !important;
}

html[lang="bn"] .cp-page .cp-lead {
  font-size: 1.05rem !important;
  line-height: 1.58 !important;
  letter-spacing: 0;
  margin-bottom: 1rem !important;
}

html[lang="bn"] .cp-page .cp-body {
  font-size: 0.92rem !important;
  line-height: 1.58 !important;
  letter-spacing: 0;
  margin-bottom: 0.85rem !important;
}

html[lang="bn"] .cp-page .cp-quote {
  padding: 0.9rem 1.25rem !important;
  margin: 1.15rem 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

html[lang="bn"] .cp-page .cp-eyebrow,
html[lang="bn"] .cp-page .cp-badge-tag,
html[lang="bn"] .cp-page .cp-dash-label,
html[lang="bn"] .cp-page .cp-stat-label,
html[lang="bn"] .cp-page .cp-em-label {
  font-family: 'Hind Siliguri', sans-serif;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 0.76rem !important;
}

html[lang="bn"] .cp-page .cp-dash-val,
html[lang="bn"] .cp-page .cp-em-val,
html[lang="bn"] .cp-page .cp-stat-val {
  font-family: 'Hind Siliguri', 'Outfit', sans-serif;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 1.2rem !important;
}

.cq-story-figure {
  margin: 1.4rem 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050805;
}

.cq-story-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.cq-story-figure--doc img {
  max-height: 520px;
  object-fit: contain;
  background: #f4f0e6;
}

.cq-story-figure figcaption {
  padding: 0.7rem 0.9rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.cq-story-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
}

@media (max-width: 640px) {
  .cq-story-pair {
    grid-template-columns: 1fr;
  }
}

.page-qurbani .cp-story-grid {
  grid-template-columns: 1fr;
  max-width: 64rem;
  margin-inline: auto;
}

.page-qurbani {
  --cq-sand: #e8e0c8;
  --cq-peach: #ead9c3;
  --cq-olive: #90a955;
  --cq-olive-deep: #4f772d;
  --cq-ink: #070d08;
  --cq-ink-soft: #0c140d;
  --cq-copy: #1c2618;
}

.page-qurbani .cp-page {
  background: var(--cq-ink);
}

.page-qurbani .cq-mag-story,
.page-qurbani .cq-did,
.page-qurbani .cq-moments,
.page-qurbani .cq-record,
.page-qurbani .cq-mag-cta {
  scroll-margin-top: calc(var(--header-strip-height, 0px) + var(--nav-height, 72px) + 0.75rem);
}

.page-qurbani .cq-film {
  position: relative;
  z-index: 2;
  background: var(--cq-ink);
  color: var(--cq-sand);
  overflow-x: clip;
  margin-top: calc(-1 * (var(--header-strip-height, 0px) + var(--nav-height, 72px)));
}

.page-qurbani .cq-film__hero {
  position: relative;
  display: grid;
  isolation: isolate;
}

.page-qurbani .cq-film__visual {
  position: relative;
  min-height: 72dvh;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-strip-height, 0px) + var(--nav-height, 72px) + 1.15rem) 1.25rem 3rem;
}

.page-qurbani .cq-film__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 16%;
  z-index: 0;
  pointer-events: none;
}

.page-qurbani .cq-film__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 13, 8, 0.92) 0%, rgba(7, 13, 8, 0.62) 34%, rgba(7, 13, 8, 0.18) 62%, rgba(7, 13, 8, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 13, 8, 0.42) 0%, transparent 28%, rgba(7, 13, 8, 0.72) 100%);
}

.page-qurbani .cq-film__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  align-self: end;
  min-width: 0;
}

.page-qurbani .cq-film__crumbs {
  margin: 0 0 1.15rem;
  color: rgba(232, 224, 200, 0.62);
  font-size: 0.78rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.page-qurbani .cq-film__crumbs a {
  color: rgba(232, 224, 200, 0.78);
}

.page-qurbani .cq-film__kicker {
  margin: 0 0 0.85rem;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cq-sand);
}

.page-qurbani .cq-film__title {
  margin: 0 0 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f4f1ea;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.page-qurbani .cq-film__title em {
  font-style: italic;
  font-weight: 600;
  color: var(--cq-sand);
}

.page-qurbani .cq-film__sub {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.78);
}

.page-qurbani .cq-film__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

.page-qurbani .cq-film__donate {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: var(--cq-olive);
  color: #132a13;
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.page-qurbani .cq-film__donate:hover,
.page-qurbani .cq-film__donate:focus-visible {
  background: #a4bc68;
  outline: none;
}

.page-qurbani .cq-film__watch {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: #f4f1ea;
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.page-qurbani .cq-film__watch:hover,
.page-qurbani .cq-film__watch:focus-visible {
  color: var(--cq-sand);
  outline: none;
}

.page-qurbani .cq-film__play {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid rgba(232, 224, 200, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 13, 8, 0.35);
  backdrop-filter: blur(8px);
}

.page-qurbani .cq-film__play i {
  font-size: 0.72rem;
  margin-left: 2px;
}

.page-qurbani .cq-film__stats {
  position: relative;
  z-index: 3;
  width: auto;
  max-width: none;
  margin: -1.1rem 1rem 0;
  padding: 0.9rem 0.85rem 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(232, 224, 200, 0.14);
  background: rgba(8, 14, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem 0.4rem;
}

.page-qurbani .cq-film__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  padding: 0.35rem 0.2rem;
  border-bottom: 0;
  min-width: 0;
}

.page-qurbani .cq-film__stat:not(:last-of-type) {
  border-right: 1px solid rgba(232, 224, 200, 0.12);
}

.page-qurbani .cq-film__stat:last-of-type {
  border-bottom: 0;
}

.page-qurbani .cq-film__stat i {
  color: var(--cq-olive);
  font-size: 0.9rem;
  text-align: center;
}

.page-qurbani .cq-film__stat span {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(232, 224, 200, 0.7);
  overflow-wrap: anywhere;
}

.page-qurbani .cq-film__stat strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 4.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.15;
  color: #f4f1ea;
}

.page-qurbani .cq-film__stats-foot {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(232, 224, 200, 0.1);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  color: var(--cq-sand);
}

html.is-bangla .cq-film__title,
html.is-bangla .cq-film__stat strong,
html.is-bangla .cq-film__stats-foot,
html.is-bangla .cq-mag-story__title,
html.is-bangla .cq-mag-story__quote p,
html.is-bangla .cq-did-card__num,
html.is-bangla .cq-did-card h3,
html.is-bangla .cq-moments__head h2,
html.is-bangla .cq-mag-cta__kicker,
html.is-bangla .cq-mag-cta__script,
html.is-bangla .cq-did__head h2 {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

@media (min-width: 900px) {
  .page-qurbani .cq-film__hero {
    display: block;
  }

  .page-qurbani .cq-film__visual {
    min-height: 100dvh;
    padding: calc(var(--header-strip-height, 0px) + var(--nav-height, 72px) + 2rem) clamp(1.5rem, 5vw, 4.5rem) 11.75rem;
  }

  .page-qurbani .cq-film__photo {
    object-position: 68% 8%;
  }

  .page-qurbani .cq-film__copy {
    max-width: 38rem;
  }

  .page-qurbani .cq-film__stats {
    position: absolute;
    left: clamp(1.5rem, 5vw, 4.5rem);
    bottom: 1.1rem;
    z-index: 3;
    width: min(42rem, calc(100% - 4rem));
    max-width: 42rem;
    margin: 0;
    padding: 0.85rem 1.05rem 0.75rem;
    background: rgba(8, 14, 10, 0.72);
  }

  .page-qurbani .cq-film__stat strong {
    font-size: 1.45rem;
  }

  .page-qurbani .cq-film__stats-foot {
    font-size: 1.02rem;
  }
}

/* Beige Our Story + torn paper */
.page-qurbani .cq-mag-story {
  position: relative;
  z-index: 1;
  background: var(--cq-sand);
  color: var(--cq-copy);
  padding: 3.15rem 1.25rem 3.5rem;
}

.page-qurbani .cq-tear {
  position: absolute;
  top: -34px;
  left: 0;
  width: 100%;
  height: 36px;
  display: block;
  pointer-events: none;
}

.page-qurbani .cq-mag-story__grid {
  display: grid;
  gap: 2rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.page-qurbani .cq-mag-story__kicker {
  margin: 0 0 0.7rem;
  padding-bottom: 0.55rem;
  width: max-content;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cq-olive-deep);
  border-bottom: 1px solid rgba(79, 119, 45, 0.35);
}

.page-qurbani .cq-mag-story__title {
  margin: 0 0 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.08;
  color: #132a13;
}

.page-qurbani .cq-mag-story__body {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(19, 42, 19, 0.78);
}

.page-qurbani .cq-mag-story__read {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin-top: 0.35rem;
  padding: 0.4rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(19, 42, 19, 0.28);
  color: #132a13;
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
}

.page-qurbani .cq-mag-story__read:hover,
.page-qurbani .cq-mag-story__read:focus-visible {
  border-color: var(--cq-olive-deep);
  background: rgba(144, 169, 85, 0.16);
  outline: none;
}

.page-qurbani .cq-mag-story__photos {
  display: block;
  position: relative;
  min-height: 22rem;
  max-width: 22.5rem;
  margin-inline: auto;
  width: 100%;
}

.page-qurbani .cq-mag-story__shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(19, 42, 19, 0.16);
}

.page-qurbani .cq-mag-story__shot--front {
  width: 72%;
  position: relative;
  z-index: 1;
}

.page-qurbani .cq-mag-story__shot--back {
  position: absolute;
  width: 62%;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.page-qurbani .cq-mag-story__shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16.5rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-qurbani .cq-mag-story__quote {
  margin: 0;
}

.page-qurbani .cq-mag-story__mark {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.4rem;
  line-height: 0.35;
  color: var(--cq-olive-deep);
}

.page-qurbani .cq-mag-story__quote p {
  margin: 0.85rem 0 0.75rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.18;
  color: #132a13;
}

.page-qurbani .cq-mag-story__quote cite {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.02em;
  color: rgba(19, 42, 19, 0.58);
}

@media (min-width: 960px) {
  .page-qurbani .cq-mag-story {
    padding: 3.25rem clamp(1.5rem, 5vw, 4.5rem) 4rem;
  }

  .page-qurbani .cq-mag-story__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr) minmax(0, 0.95fr);
    gap: 2rem 1.75rem;
    align-items: center;
  }

  .page-qurbani .cq-mag-story__photos {
    display: block;
    position: relative;
    min-height: 32rem;
    max-width: none;
    margin-inline: 0;
  }

  .page-qurbani .cq-mag-story__shot--front {
    width: 68%;
    position: relative;
    z-index: 1;
  }

  .page-qurbani .cq-mag-story__shot--front img {
    min-height: 26rem;
  }

  .page-qurbani .cq-mag-story__shot--back {
    position: absolute;
    width: 58%;
    right: 0;
    bottom: 4%;
    z-index: 2;
  }

  .page-qurbani .cq-mag-story__shot--back img {
    min-height: 20rem;
  }
}

/* What we did */
.page-qurbani .cq-did {
  position: relative;
  background:
    radial-gradient(ellipse at 0% 8%, rgba(144, 169, 85, 0.1), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(79, 119, 45, 0.12), transparent 46%),
    var(--cq-ink-soft);
  color: var(--cq-sand);
  padding: 3rem 1.25rem 2.5rem;
}

.page-qurbani .cq-did__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2rem;
  max-width: 46rem;
}

.page-qurbani .cq-did__head h2 {
  margin: 0;
  flex: 0 1 auto;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cq-sand);
}

.page-qurbani .cq-did__rule {
  flex: 1 1 2rem;
  height: 1px;
  background: rgba(232, 224, 200, 0.22);
}

.page-qurbani .cq-did__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.page-qurbani .cq-did-card.cq-band,
.page-qurbani .cq-did-card.cq-band--media-first {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 1rem;
  margin: 0;
  max-width: none;
  width: 100%;
  align-items: stretch;
  padding: 1.15rem 1.1rem 1.15rem;
  border: 1px solid rgba(232, 224, 200, 0.12);
  border-radius: 22px;
  background: rgba(7, 13, 8, 0.35);
}

.page-qurbani .cq-did-card__copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.page-qurbani .cq-did-card__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(232, 224, 200, 0.28);
}

.page-qurbani .cq-did-card h3 {
  margin: 0.35rem 0 0.7rem;
  font-family: Outfit, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cq-olive);
}

.page-qurbani .cq-did-card .cp-body {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  line-height: 1.62;
  color: rgba(244, 241, 234, 0.78);
}

.page-qurbani .cq-did-card .cp-body:last-child {
  margin-bottom: 0;
}

.page-qurbani .cq-did-card .cq-rail,
.page-qurbani .cq-band--media-first .cq-rail {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: stretch;
  border-radius: 16px;
}

.page-qurbani .cq-did-card .cq-rail__viewport {
  aspect-ratio: 1 / 1;
}

.page-qurbani .cq-did-card__badge {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cq-olive-deep);
  color: var(--cq-sand);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.page-qurbani .cq-did-card__badge i {
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .page-qurbani .cq-did {
    padding: 3.5rem clamp(1.5rem, 5vw, 4.5rem) 3rem;
  }

  .page-qurbani .cq-did__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
  }

  .page-qurbani .cq-did-card.cq-band,
  .page-qurbani .cq-did-card.cq-band--media-first {
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: minmax(0, 1fr);
    height: 100%;
    min-height: 100%;
  }

  .page-qurbani .cq-did-card__copy {
    min-height: 0;
  }

  .page-qurbani .cq-did-card .cq-rail,
  .page-qurbani .cq-band--media-first .cq-rail {
    margin-top: 0;
    align-self: end;
    width: 100%;
  }

  .page-qurbani .cq-did-card .cq-copy-desk {
    display: block;
  }
}

/* Rails */
.page-qurbani .cq-rail {
  position: relative;
  width: 100%;
  max-width: 13.25rem;
  margin-inline: 0 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 16, 10, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
  overflow: hidden;
  touch-action: pan-y;
  justify-self: end;
}

.page-qurbani .cq-rail__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #050d08;
}

.page-qurbani .cq-rail__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.page-qurbani .cq-rail__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
  cursor: pointer;
}

.page-qurbani .cq-rail__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.page-qurbani .cq-rail__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 12, 8, 0.55);
  color: #eef0e7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
  touch-action: manipulation;
}

.page-qurbani .cq-rail__btn--prev {
  left: 0.28rem;
}

.page-qurbani .cq-rail__btn--next {
  right: 0.28rem;
}

.page-qurbani .cq-rail__btn i {
  font-size: 0.62rem;
}

.page-qurbani .cq-rail__btn:hover,
.page-qurbani .cq-rail__btn:focus-visible {
  background: rgba(149, 173, 99, 0.42);
  border-color: rgba(149, 173, 99, 0.7);
  outline: none;
}

.page-qurbani .cq-rail__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.page-qurbani .cq-rail__live {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: rgba(238, 240, 231, 0.9);
  background: rgba(3, 8, 5, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Moments strip */
.page-qurbani .cq-moments {
  background: var(--cq-ink);
  color: var(--cq-sand);
  padding: 1.5rem 0 0.5rem;
}

.page-qurbani .cq-moments__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto 1.15rem;
  padding: 0 1.25rem;
}

.page-qurbani .cq-moments__head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-qurbani .cq-photos-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cq-olive);
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.page-qurbani .cq-photos-toggle:hover,
.page-qurbani .cq-photos-toggle:focus-visible {
  color: var(--cq-sand);
  outline: none;
}

.page-qurbani .cq-photos-toggle i {
  color: inherit;
  font-size: 0.7rem;
}

.page-qurbani .cq-moments__strip {
  display: flex;
  gap: 0.65rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-qurbani .cq-moments__shot {
  flex: 0 0 auto;
  width: min(13.75rem, 68vw);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}

.page-qurbani .cq-moments__shot img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (min-width: 1100px) {
  .page-qurbani .cq-moments__head,
  .page-qurbani .cq-moments__strip {
    padding-left: clamp(1.5rem, 5vw, 4.5rem);
    padding-right: clamp(1.5rem, 5vw, 4.5rem);
    max-width: none;
  }

  .page-qurbani .cq-moments__strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: visible;
  }

  .page-qurbani .cq-moments__shot {
    width: auto;
  }

  .page-qurbani .cq-moments__shot img {
    min-height: 15.5rem;
  }
}

.page-qurbani .cq-album-section {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  padding-top: 0;
  padding-bottom: 0;
  scroll-margin-top: calc(var(--header-strip-height, 0px) + var(--nav-height, 72px) + 0.75rem);
}

.page-qurbani .cq-album-section.is-open {
  grid-template-rows: 1fr;
  padding: 1.75rem 0 1.25rem;
}

.page-qurbani .cq-album-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  content-visibility: hidden;
}

.page-qurbani .cq-album-section.is-open .cq-album-inner {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  content-visibility: visible;
}

.page-qurbani .cq-moments > .cq-album-section {
  width: 100%;
}

/* Beige CTA */
.page-qurbani .cq-mag-cta {
  background: var(--cq-sand);
  color: var(--cq-copy);
  padding: 2.75rem 1.25rem 3rem;
}

.page-qurbani .cq-mag-cta__grid {
  display: grid;
  gap: 1.75rem;
  max-width: 72rem;
  margin: 0 auto;
}

.page-qurbani .cq-mag-cta__impact {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.page-qurbani .cq-mag-cta__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cq-olive-deep);
  color: var(--cq-sand);
}

.page-qurbani .cq-mag-cta__kicker {
  margin: 0 0 0.35rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: #132a13;
}

.page-qurbani .cq-mag-cta__note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(19, 42, 19, 0.68);
}

.page-qurbani .cq-mag-cta__donate {
  text-align: center;
}

.page-qurbani .cq-mag-cta__donate h2 {
  margin: 0 0 0.85rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: #132a13;
}

.page-qurbani .cq-mag-cta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(19, 42, 19, 0.62);
}

.page-qurbani .cq-mag-cta__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.page-qurbani .cq-mag-cta__trust i {
  color: var(--cq-olive-deep);
}

.page-qurbani .cq-mag-cta__thanks {
  text-align: center;
}

.page-qurbani .cq-mag-cta__script {
  margin: 0.55rem 0 0;
  font-family: Caveat, 'Cormorant Garamond', cursive;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--cq-olive-deep);
  line-height: 1;
}

.page-qurbani .cq-mag-cta__script::after {
  content: " ♡";
  font-size: 0.7em;
}

@media (min-width: 960px) {
  .page-qurbani .cq-mag-cta {
    padding: 2.85rem clamp(1.5rem, 5vw, 4.5rem);
  }

  .page-qurbani .cq-mag-cta__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 1.5rem 2rem;
    align-items: center;
  }

  .page-qurbani .cq-mag-cta__impact {
    padding-right: 1.25rem;
    border-right: 1px solid rgba(19, 42, 19, 0.14);
  }

  .page-qurbani .cq-mag-cta__thanks {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(19, 42, 19, 0.14);
    text-align: left;
  }
}

/* Remaining record */
.page-qurbani .cp-lead {
  max-width: 44rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: rgba(232, 224, 200, 0.82);
}

.page-qurbani .cq-split {
  display: block;
  margin: 1.25rem auto 0;
  max-width: 44rem;
  width: 100%;
}

.page-qurbani .cq-split__copy {
  max-width: 44rem;
  margin-inline: auto;
}

.page-qurbani .cq-split .cp-body {
  margin: 0 0 0.95rem;
  line-height: 1.72;
  color: rgba(232, 224, 200, 0.78);
}

.page-qurbani .cq-split .cp-body:last-child {
  margin-bottom: 0;
}

.page-qurbani .cq-copy-desk {
  display: none;
}

.page-qurbani .cp-lead + .cq-coverflow {
  margin-top: 1.15rem;
}

.page-qurbani .cq-coverflow {
  width: 100%;
  margin: 1.65rem 0 0.65rem;
  min-height: min(420px, 80vw);
  overflow-x: clip;
  overflow-y: visible;
  contain: layout style;
}

.page-qurbani .cq-coverflow + .cq-split {
  margin-top: 1.35rem;
}

.page-qurbani .cq-split + .cq-coverflow,
.page-qurbani .cq-quote + .cq-split {
  margin-top: 1.35rem;
}

.page-qurbani .cq-coverflow--play {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-qurbani .cq-coverflow .nv-coverflow {
  --nv-cf-w: min(420px, 80vw);
  --nv-cf-h: min(420px, 80vw);
  width: 100%;
  max-width: 100%;
  touch-action: pan-y pinch-zoom;
}

.page-qurbani .cq-coverflow .nv-coverflow__card.is-active {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.page-qurbani .cq-split + .cq-quote {
  margin-top: 1.45rem;
}

.page-qurbani .cq-quote {
  margin: 0.75rem auto 0;
  max-width: 44rem;
  width: 100%;
  padding-top: 0.35rem;
}

.page-qurbani .cq-quote cite {
  display: block;
  font-size: 0.82rem;
  margin-top: 0.45rem;
  color: var(--primary-sage);
  font-style: normal;
}

.page-qurbani .cq-story-more {
  margin: 1.25rem 0 0.7rem;
}

.page-qurbani .cq-story-more-btn {
  margin: 1.1rem auto 0;
  max-width: 44rem;
  width: 100%;
  text-align: center;
}

.page-qurbani .cq-story-more-btn .btn-glass {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.page-qurbani .cp-story-title,
.page-qurbani .section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--cq-sand, #e8e0c8);
}

html.is-bangla .page-qurbani .cp-story-title,
html.is-bangla .page-qurbani .section-title {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

.page-qurbani .cp-eyebrow {
  color: var(--cq-olive, #90a955);
}

.page-qurbani .cp-story,
.page-qurbani .cq-record {
  padding: 2rem 0 2.25rem;
  background: var(--cq-ink);
}

.page-qurbani .cq-record-band {
  padding: 1.85rem 0;
  background: var(--cq-ink-soft);
  border-top: 1px solid rgba(232, 224, 200, 0.08);
}

.page-qurbani .cq-record-band--soft {
  background: var(--cq-ink);
}

.page-qurbani .cp-how-header {
  margin-bottom: 1.15rem;
}

.page-qurbani .cp-how-header .cp-body {
  margin-top: 0;
  max-width: 650px;
  color: rgba(232, 224, 200, 0.72);
}

.page-qurbani .cp-timeline-item {
  margin-bottom: 1.35rem;
}

.page-qurbani .cp-timeline-item h3 {
  color: var(--cq-sand);
}

.page-qurbani .cp-timeline-item p {
  color: rgba(232, 224, 200, 0.7);
}

.page-qurbani .cp-gallery {
  padding: 1.75rem 0 1.25rem;
}

.page-qurbani .cq-album-wrap {
  max-width: 1720px;
  width: 95%;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 1.5vw, 1.25rem) 1.5rem;
}

.page-qurbani .cp-cta-wrap {
  padding-bottom: 2rem;
}

.page-qurbani .cp-siblings {
  padding-bottom: 1.25rem;
}

.page-qurbani .cq-kit-box,
.page-qurbani .cp-kit-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(144, 169, 85, 0.22);
  background: rgba(144, 169, 85, 0.06);
  box-shadow: none;
}

.page-qurbani .cq-kit-box h3,
.page-qurbani .cp-kit-box h3 {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  color: var(--cq-sand);
}

.page-qurbani .cq-kit-box h3 i,
.page-qurbani .cp-kit-box h3 i {
  color: var(--cq-olive);
}

.page-qurbani .cp-kit-list {
  margin-top: 0;
}

.page-qurbani .cp-kit-list li {
  color: rgba(232, 224, 200, 0.82);
}

.page-qurbani .cp-kit-list .fa-check {
  color: var(--cq-olive);
}

.page-qurbani .cq-finance-inline {
  margin-top: 1.1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(144, 169, 85, 0.2);
  background: rgba(8, 16, 10, 0.55);
}

.page-qurbani .cq-finance-inline__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.page-qurbani .cq-finance-inline__head i {
  color: var(--cq-olive);
}

.page-qurbani .cq-finance-inline__head h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cq-sand);
  font-family: Outfit, sans-serif;
}

.page-qurbani .cq-finance-inline__rows .cp-finance-row {
  margin-bottom: 0.5rem;
  color: rgba(232, 224, 200, 0.75);
}

.page-qurbani .cq-finance-inline__rows strong {
  color: var(--cq-olive);
}

.page-qurbani .cq-finance-inline__bar {
  height: 4px;
  background: rgba(232, 224, 200, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.page-qurbani .cq-finance-inline .cp-finance-note {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(232, 224, 200, 0.5);
  margin: 0.65rem 0 1rem;
}

.page-qurbani .cq-finance-inline .btn-glass {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-qurbani .cq-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.page-qurbani .cq-team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 224, 200, 0.1);
  background: rgba(232, 224, 200, 0.04);
}

.page-qurbani .cq-team-card span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cq-sand);
}

.page-qurbani .cq-team-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(144, 169, 85, 0.14);
  color: var(--cq-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

@media (min-width: 761px) {
  .page-qurbani .cq-copy-desk {
    display: block;
  }

  .page-qurbani .cq-split {
    margin-top: 1.5rem;
  }

  .page-qurbani .cq-split .cp-body {
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 1.05rem;
  }

  .page-qurbani .cq-split .cp-body:last-child {
    margin-bottom: 0;
  }

  .page-qurbani .cp-lead + .cq-coverflow {
    margin-top: 1.35rem;
  }

  .page-qurbani .cq-coverflow {
    margin: 1.85rem 0 0.75rem;
  }

  .page-qurbani .cq-coverflow + .cq-split {
    margin-top: 1.5rem;
  }

  .page-qurbani .cq-split + .cq-coverflow,
  .page-qurbani .cq-quote + .cq-split {
    margin-top: 1.5rem;
  }

  .page-qurbani .cq-coverflow--play {
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
  }

  .page-qurbani .cq-split + .cq-quote {
    margin-top: 1.75rem;
  }

  .page-qurbani .cq-quote {
    margin-top: 1.15rem;
    font-size: 1.35rem;
  }

  .page-qurbani .cp-story-grid {
    max-width: 64rem;
  }

  .page-qurbani .cp-story {
    padding: 2.25rem 0 2.5rem;
  }

  .page-qurbani .cq-rail__btn {
    width: 44px;
    height: 44px;
  }

  .page-qurbani .cq-rail__btn--prev {
    left: 0.4rem;
  }

  .page-qurbani .cq-rail__btn--next {
    right: 0.4rem;
  }

  .page-qurbani .cq-rail__btn i {
    font-size: 0.72rem;
  }

  .page-qurbani .cq-rail__live {
    bottom: 0.45rem;
    font-size: 0.68rem;
    padding: 0.18rem 0.5rem;
  }
}

@media (max-width: 760px) {
  .page-qurbani .cq-film__visual {
    min-height: min(78dvh, 40rem);
  }

  .page-qurbani .cq-film__stats {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .page-qurbani .cq-did-card .cq-rail__viewport {
    min-height: 16rem;
  }

  .page-qurbani .cp-lead {
    margin-bottom: 1.1rem;
    line-height: 1.62;
  }

  .page-qurbani .cq-split {
    margin-top: 0.95rem;
  }

  .page-qurbani .cq-split .cp-body {
    font-size: 0.94rem;
    line-height: 1.58;
    margin-bottom: 0.85rem;
    text-wrap: pretty;
  }

  .page-qurbani .cq-split .cp-body:last-child {
    margin-bottom: 0;
  }

  .page-qurbani .cp-lead + .cq-coverflow {
    margin-top: 0.95rem;
  }

  .page-qurbani .cq-coverflow {
    min-height: min(262px, 70vw);
    margin: 1.2rem 0 0.45rem;
    padding-inline: 0;
  }

  .page-qurbani .cq-coverflow + .cq-split {
    margin-top: 1.15rem;
  }

  .page-qurbani .cq-split + .cq-coverflow,
  .page-qurbani .cq-quote + .cq-split {
    margin-top: 1.15rem;
  }

  .page-qurbani .cq-coverflow--play {
    margin-top: 1.25rem;
    margin-bottom: 0.55rem;
  }

  .page-qurbani .cq-split + .cq-quote {
    margin-top: 1.25rem;
  }

  .page-qurbani .cq-coverflow .nv-coverflow {
    --nv-cf-w: min(262px, 70vw);
    --nv-cf-h: min(262px, 70vw);
    min-height: min(262px, 70vw);
  }

  .page-qurbani .cq-quote {
    font-size: 1.05rem;
    margin-top: 0.9rem;
    padding-left: 0.85rem;
  }

  .page-qurbani .cq-story-more-btn .btn-glass {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .page-qurbani .cp-story {
    padding: 1.1rem 0 1.5rem;
  }

  .page-qurbani .cp-how,
  .page-qurbani .cq-record-band {
    padding: 1.35rem 0;
  }

  .page-qurbani .cp-gallery {
    padding: 1.35rem 0 1rem;
  }

  .page-qurbani .cp-cta-wrap {
    padding-bottom: 1.5rem;
  }

  .page-qurbani .cp-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-qurbani .cp-cta-actions > * {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .page-qurbani .cq-story-more-btn .btn-glass {
    width: 100%;
    justify-content: center;
  }

  .page-qurbani .cp-story .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-qurbani .cp-masonry-gallery {
    column-count: 2;
    column-gap: 8px;
  }
}

@media (max-width: 576px) {
  .page-qurbani .cp-masonry-gallery {
    column-count: 2;
    column-gap: 6px;
  }

  .page-qurbani .cp-breadcrumb {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .page-qurbani .cq-moments__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .page-qurbani .cq-film__title {
    font-size: clamp(2.15rem, 11vw, 2.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-qurbani .cq-rail__track,
  .page-qurbani .cq-album-section,
  .page-qurbani .cq-album-inner {
    transition: none;
  }
}
