/**
 * Digital Brochure Stylesheet
 * Sinar Tex Industries — Premium Red + Gold Theme
 * DO NOT add blue, navy, cyan, or teal colors.
 */

/* ============================================================
   CSS CUSTOM PROPERTIES — BROCHURE DESIGN SYSTEM
   ============================================================ */
:root {
  /* Core palette */
  --br-red-deep:   #8B0000;
  --br-red-corp:   #B5121B;
  --br-red-light:  #C41E3A;
  --br-gold:       #C9A227;
  --br-gold-light: #D4AF37;
  --br-gold-dim:   #a07f1e;
  --br-dark:       #171717;
  --br-dark2:      #242424;
  --br-dark3:      #333333;
  --br-white:      #FFFFFF;
  --br-off-white:  #F7F5F0;
  --br-cream:      #EDE9E0;
  --br-ink:        #2D2D2D;
  --br-muted:      #6B6B6B;

  /* Book geometry — calibrated to exact brochure page aspect ratio (~0.71) */
  --br-page-w:     412px;
  --br-page-h:     580px;
  --br-spine-w:    28px;
  --br-shadow-depth: 32px;
}

/* ============================================================
   HOMEPAGE BROCHURE SECTION
   ============================================================ */
.brochure-cta-section {
  background: var(--primary-burgundy, #620907);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.brochure-cta-section:not(.songket-bg)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(201,162,39,0.03) 20px,
      rgba(201,162,39,0.03) 40px
    );
  pointer-events: none;
}

.brochure-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.brochure-cta-text .eyebrow {
  color: var(--br-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.brochure-cta-text h2 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--br-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.brochure-cta-text h2 span {
  color: var(--br-gold);
}

.brochure-cta-text p {
  color: rgba(255,255,255,0.70);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}

.brochure-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-brochure-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--br-red-deep);
  color: var(--br-white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--br-red-deep);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-brochure-primary:hover {
  background: var(--br-gold);
  border-color: var(--br-gold);
  color: var(--br-dark);
  transform: translateY(-2px);
}

.btn-brochure-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--br-gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--br-gold);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.btn-brochure-secondary:hover {
  background: var(--br-gold);
  color: var(--br-dark);
  transform: translateY(-2px);
}

/* Mini book preview for homepage */
.brochure-preview-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 900px;
}

.brochure-mini-book {
  position: relative;
  width: 185px;
  height: 275px;
  transform-style: preserve-3d;
  animation: brMiniFloat 5.5s ease-in-out infinite;
}

@keyframes brMiniFloat {
  0%, 100% { transform: rotateY(-14deg) rotateX(4deg) translateY(0); }
  50%       { transform: rotateY(-14deg) rotateX(4deg) translateY(-8px); }
}

.brochure-mini-cover {
  width: 185px;
  height: 275px;
  background: linear-gradient(160deg, var(--br-red-deep) 0%, var(--br-red-corp) 100%);
  border: 1px solid rgba(201,162,39,0.5);
  box-shadow:
    -8px 8px 24px rgba(0,0,0,0.6),
    inset -2px 0 6px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}

.brochure-mini-cover::before {
  display: none !important;
}

.brochure-mini-cover::after {
  display: none !important;
}

.brochure-mini-logo {
  width: 48px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.9);
  position: relative;
  z-index: 2;
}

.brochure-mini-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--br-white);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

.brochure-mini-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--br-gold);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.brochure-mini-divider {
  width: 50px;
  height: 1px;
  background: var(--br-gold);
  position: relative;
  z-index: 2;
}

.brochure-mini-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 100%;
  background: linear-gradient(90deg, rgba(30, 0, 2, 0.95) 0%, rgba(121, 12, 7, 0.9) 60%, transparent 100%);
  border-right: 1px solid rgba(214, 172, 50, 0.4);
  box-shadow: inset 3px 0 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 5;
  border-radius: 3px 0 0 3px;
}

.brochure-mini-page {
  display: none !important;
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
}

/* ============================================================
   BROCHURE VIEWER PAGE (brochure.php)
   ============================================================ */
.brochure-page-wrap {
  background: var(--br-dark);
  min-height: 100vh;
  padding: 0;
}

/* Viewer Hero Bar - Standardized Industrial Hero */
.brochure-hero-bar {
  position: relative;
  background-color: #380003;
  padding: 68px 0 54px;
  text-align: center;
  overflow: hidden;
  border-bottom: 2px solid #D4AF37;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

.brochure-hero-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/songket/songket-woven.webp');
  background-repeat: repeat;
  background-size: 240px 240px;
  opacity: 0.13;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.brochure-hero-bar .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.brochure-hero-bar .page-hero-meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 16px;
}

.brochure-hero-bar .page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.brochure-hero-bar .page-hero-title,
.brochure-hero-bar h1 {
  text-align: center;
  width: 100%;
  margin: 8px auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brochure-hero-bar .page-hero-gold-line {
  margin: 4px auto 20px;
  background: linear-gradient(90deg, transparent 0%, #C8934B 25%, #F5D77A 50%, #C8934B 75%, transparent 100%);
  width: 100%;
  max-width: 240px;
  height: 4px;
}

.brochure-hero-bar .page-hero-desc,
.brochure-hero-bar p.page-hero-desc {
  margin: 0 auto 28px;
  text-align: center;
  max-width: 820px;
  width: 100%;
}

.brochure-hero-bar .hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

/* ============================================================
   3D BOOK VIEWER CONTAINER
   ============================================================ */
#brochureViewer {
  background: var(--primary-burgundy, #620907);
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.viewer-controls-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.viewer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  outline: none;
}

.viewer-btn:focus-visible {
  outline: 2px solid var(--br-gold);
  outline-offset: 2px;
}

.viewer-btn-red {
  background: var(--br-red-corp);
  color: var(--br-white);
  border: 1px solid var(--br-red-corp);
}

.viewer-btn-red:hover:not(:disabled) {
  background: var(--br-gold);
  border-color: var(--br-gold);
  color: var(--br-dark);
  transform: translateY(-1px);
}

.viewer-btn-outline {
  background: transparent;
  color: var(--br-gold);
  border: 1px solid rgba(201,162,39,0.5);
}

.viewer-btn-outline:hover:not(:disabled) {
  background: var(--br-gold);
  color: var(--br-dark);
  border-color: var(--br-gold);
  transform: translateY(-1px);
}

.viewer-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.viewer-btn svg,
.viewer-btn i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.viewer-page-counter {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--br-gold);
  letter-spacing: 0.08em;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  padding: 8px 16px;
  min-width: 100px;
  text-align: center;
}

/* ============================================================
   THE 3D BOOK
   ============================================================ */
#bookWrapper {
  perspective: 2000px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#bookStage {
  display: flex;
  align-items: stretch;
  transform-style: preserve-3d;
  position: relative;
}

/* Book spine */
.book-spine {
  width: var(--br-spine-w);
  min-height: var(--br-page-h);
  background: linear-gradient(
    to right,
    #3a0000 0%,
    var(--br-red-deep) 40%,
    #6a0000 100%
  );
  transform-origin: right center;
  transform: rotateY(-60deg) translateX(-2px);
  box-shadow: -8px 0 20px rgba(0,0,0,0.7);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-spine-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--br-gold);
  text-transform: uppercase;
  opacity: 0.8;
  white-space: nowrap;
}

/* Page stack shadows for book depth */
.book-pages-depth {
  position: absolute;
  right: 0;
  top: 3px;
  bottom: 3px;
  width: 16px;
  background: linear-gradient(to right,
    var(--br-off-white) 0%,
    #d8d4cc 35%,
    #ccc8be 65%,
    #bab6ac 100%
  );
  transform-origin: left;
  transform: rotateY(30deg) translateX(4px);
  box-shadow: 4px 0 12px rgba(0,0,0,0.4);
}

/* The main page display area */
.book-page-container {
  position: relative;
  width: var(--br-page-w);
  height: var(--br-page-h);
  transform-style: preserve-3d;
  /* 3D tilt for realism */
  transform: rotateY(-6deg) rotateX(1deg);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    0 4px 16px rgba(0,0,0,0.5),
    4px 0 20px rgba(0,0,0,0.4);
}

/* ============================================================
   PAGE TURN ANIMATION & 3D BOOK ENGINE
   ============================================================ */
/* Base page — always active, always visible, holds the current page content */
.book-page.page-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--br-off-white);
  overflow: hidden;
  z-index: 1;
  visibility: visible !important;
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: inset 8px 0 16px rgba(0,0,0,0.08);
}

/* 3D Flipping layer — active only during page turning transitions */
.book-page-flipper {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  z-index: 10;
  pointer-events: none;
  display: none;
}

.flipper-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.flipper-front {
  transform: rotateY(0deg);
  background: var(--br-off-white);
  box-shadow: inset 8px 0 16px rgba(0,0,0,0.12);
}

.flipper-back {
  transform: rotateY(180deg);
  background: var(--br-off-white);
  box-shadow: inset -8px 0 16px rgba(0,0,0,0.15);
}

/* Texture pattern on the reverse side of turning page */
.bp-page-back-texture {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #F5F3ED 0%, #EAE6DC 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bp-page-back-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 8px,
    rgba(201,162,39,0.04) 8px,
    rgba(201,162,39,0.04) 16px
  );
}

.bp-page-back-texture::after {
  content: 'SINAR TEX INDUSTRIES';
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(201,162,39,0.15);
  transform: rotate(-45deg);
  white-space: nowrap;
}

/* Flip Animations */
.book-page-flipper.animating-forward {
  display: block;
  animation: flipPageForward 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.book-page-flipper.animating-backward {
  display: block;
  animation: flipPageBackward 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes flipPageForward {
  0% {
    transform: rotateY(0deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  50% {
    transform: rotateY(-90deg) scale(1.02);
    box-shadow: -15px 15px 35px rgba(0,0,0,0.4);
  }
  100% {
    transform: rotateY(-180deg);
    box-shadow: -4px 4px 15px rgba(0,0,0,0.2);
  }
}

@keyframes flipPageBackward {
  0% {
    transform: rotateY(-180deg);
    box-shadow: -4px 4px 15px rgba(0,0,0,0.2);
  }
  50% {
    transform: rotateY(-90deg) scale(1.02);
    box-shadow: 15px 15px 35px rgba(0,0,0,0.4);
  }
  100% {
    transform: rotateY(0deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
}

/* Crease highlight during flip */
.page-fold-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, transparent 25%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 15;
}

.page-fold-shadow.visible {
  opacity: 1;
}

/* ============================================================
   PAGE CONTENT STYLES
   ============================================================ */
.bp {                           /* base page */
  width: 100%;
  height: 100%;
  background: var(--br-off-white);
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  color: var(--br-ink);
}

/* ---------- COVER PAGE ---------- */
.bp-cover {
  background: linear-gradient(160deg, var(--br-red-deep) 0%, #5c0000 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 28px 24px;
  position: relative;
}

.bp-cover::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201,162,39,0.4);
  pointer-events: none;
  z-index: 1;
}

.bp-cover-weave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 5px,
      rgba(201,162,39,0.06) 5px,
      rgba(201,162,39,0.06) 10px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 5px,
      rgba(201,162,39,0.04) 5px,
      rgba(201,162,39,0.04) 10px
    );
  border-top: 1px solid rgba(201,162,39,0.2);
  pointer-events: none;
}

.bp-cover-logo {
  width: 52px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.9);
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  margin-top: 10px;
}

.bp-cover-gold-line {
  width: 48px;
  height: 2px;
  background: var(--br-gold);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.bp-cover-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--br-white);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

.bp-cover-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--br-gold);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.bp-cover-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 280px;
  position: relative;
  z-index: 2;
}

.bp-cover-footer {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}

.bp-cover-footer-text {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

/* ---------- STANDARD PAGE HEADER ---------- */
.bp-header {
  background: var(--br-red-deep);
  padding: 16px 22px 14px;
  position: relative;
}

.bp-header::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--br-gold);
}

.bp-eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bp-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--br-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Page number badge */
.bp-page-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 9px;
  font-weight: 700;
  color: var(--br-gold);
  letter-spacing: 0.08em;
}

/* ---------- PAGE BODY ---------- */
.bp-body {
  padding: 16px 22px;
  height: calc(100% - 60px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,162,39,0.35) transparent;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.bp-body::-webkit-scrollbar {
  width: 4px;
}

.bp-body::-webkit-scrollbar-thumb {
  background: rgba(201,162,39,0.35);
  border-radius: 2px;
}

.bp-body::-webkit-scrollbar-track {
  background: transparent;
}

.bp-lead {
  font-size: 10px;
  color: var(--br-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  font-style: italic;
}

.bp-text {
  font-size: 9.5px;
  color: var(--br-ink);
  line-height: 1.65;
  margin-bottom: 10px;
}

.bp-section-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--br-red-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(139,0,0,0.15);
}

.bp-gold-rule {
  width: 36px;
  height: 2px;
  background: var(--br-gold);
  margin-bottom: 10px;
}

/* ---------- PRODUCT GRID ON PAGE ---------- */
.bp-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.bp-product-card {
  background: var(--br-white);
  border: 1px solid rgba(201,162,39,0.2);
  border-left: 2px solid var(--br-red-deep);
  padding: 8px 10px;
  position: relative;
}

.bp-product-card h4 {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--br-ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.bp-product-card p {
  font-size: 7.5px;
  color: var(--br-muted);
  line-height: 1.5;
}

/* ---------- EXPERTISE ITEMS ---------- */
.bp-expertise-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 8px;
}

.bp-expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--br-white);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px 10px;
}

.bp-expertise-icon {
  width: 20px;
  height: 20px;
  background: var(--br-red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bp-expertise-icon svg,
.bp-expertise-icon i {
  width: 12px;
  height: 12px;
  color: var(--br-white);
}

.bp-expertise-item h4 {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--br-ink);
  margin-bottom: 2px;
}

.bp-expertise-item p {
  font-size: 7.5px;
  color: var(--br-muted);
  line-height: 1.5;
}

/* ---------- INDUSTRY GRID ---------- */
.bp-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.bp-industry-card {
  background: var(--br-white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 10px 8px;
  text-align: center;
  transition: border-color 0.2s;
}

.bp-industry-card:hover {
  border-color: var(--br-gold);
}

.bp-industry-card i {
  width: 18px;
  height: 18px;
  color: var(--br-red-deep);
  margin-bottom: 5px;
}

.bp-industry-card span {
  display: block;
  font-size: 7.5px;
  font-weight: 700;
  color: var(--br-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- MANUFACTURING STEPS ---------- */
.bp-mfg-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.bp-mfg-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.bp-mfg-num {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: rgba(139,0,0,0.15);
  line-height: 1;
  width: 22px;
  flex-shrink: 0;
}

.bp-mfg-step h4 {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--br-ink);
  margin-bottom: 2px;
}

.bp-mfg-step p {
  font-size: 7.5px;
  color: var(--br-muted);
  line-height: 1.5;
}

/* ---------- SUSTAINABILITY ITEMS ---------- */
.bp-sustain-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.bp-sustain-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.bp-sustain-dot {
  width: 6px;
  height: 6px;
  background: var(--br-gold);
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
}

.bp-sustain-item h4 {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--br-ink);
  margin-bottom: 2px;
}

.bp-sustain-item p {
  font-size: 7.5px;
  color: var(--br-muted);
  line-height: 1.5;
}

/* ---------- CONTACT PAGE ---------- */
.bp-contact-block {
  margin-top: 8px;
}

.bp-contact-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.bp-contact-row:last-child {
  border-bottom: none;
}

.bp-contact-icon {
  width: 22px;
  height: 22px;
  background: var(--br-red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bp-contact-icon i,
.bp-contact-icon svg {
  width: 12px;
  height: 12px;
  color: var(--br-white);
}

.bp-contact-label {
  font-size: 7.5px;
  font-weight: 700;
  color: var(--br-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.bp-contact-value {
  font-size: 9px;
  color: var(--br-ink);
  line-height: 1.55;
  font-weight: 500;
}

.bp-contact-value a {
  color: var(--br-red-deep);
  text-decoration: none;
  font-weight: 600;
}

.bp-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.bp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.bp-cta-btn-primary {
  background: var(--br-red-deep);
  color: var(--br-white);
  border: 1px solid var(--br-red-deep);
}

.bp-cta-btn-primary:hover {
  background: var(--br-gold);
  border-color: var(--br-gold);
  color: var(--br-dark);
}

.bp-cta-btn-outline {
  background: transparent;
  color: var(--br-gold);
  border: 1px solid var(--br-gold);
}

.bp-cta-btn-outline:hover {
  background: var(--br-gold);
  color: var(--br-dark);
}

/* ============================================================
   THUMBNAIL NAVIGATION (PAGE STRIP)
   ============================================================ */
.brochure-thumb-strip {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 12px 0;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--br-red-deep) rgba(255,255,255,0.05);
}

.brochure-thumb-strip::-webkit-scrollbar {
  height: 4px;
}

.brochure-thumb-strip::-webkit-scrollbar-thumb {
  background: var(--br-red-deep);
}

.brochure-thumb {
  width: 54px;
  height: 72px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  background: var(--br-dark2);
}

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

.brochure-thumb:hover {
  border-color: rgba(201,162,39,0.5);
  transform: translateY(-2px);
}

.brochure-thumb.active-thumb {
  border-color: var(--br-gold);
}

.brochure-thumb-cover {
  background: var(--br-red-deep);
}

.brochure-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.brochure-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: rgba(255,255,255,0.8);
  font-size: 5.5px;
  font-weight: 600;
  text-align: center;
  padding: 3px 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   VIEWER CONTROLS BOTTOM
   ============================================================ */
.viewer-controls-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px 20px;
}

.viewer-zoom-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-zoom-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}

.viewer-zoom-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  outline: none;
  cursor: pointer;
}

.viewer-zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--br-gold);
  cursor: pointer;
  border: none;
}

.viewer-zoom-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--br-gold);
  cursor: pointer;
  border: none;
}

/* ============================================================
   FULLSCREEN MODE
   ============================================================ */
#brochureViewer.fullscreen-mode {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 40px 20px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .brochure-mini-book { animation: none; }
  .book-page-container.turning-forward .book-page.page-front,
  .book-page-container.turning-forward .book-page.page-back,
  .book-page-container.turning-backward .book-page.page-front,
  .book-page-container.turning-backward .book-page.page-back {
    animation: none;
  }
  .page-fold-shadow { display: none; }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .brochure-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .brochure-cta-text { order: 1; }
  .brochure-cta-text p { max-width: 100%; }
  .brochure-cta-actions { justify-content: center; }
  .brochure-preview-wrap { order: 2; margin-top: 10px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --br-page-w: min(calc(100vw - 32px), 412px);
    --br-page-h: calc(var(--br-page-w) * 1.4077);
  }

  #brochureViewer {
    padding: 30px 8px !important;
    gap: 24px !important;
  }

  .viewer-controls-top {
    gap: 8px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .viewer-btn {
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 11px !important;
  }

  .viewer-page-counter {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
  }

  .viewer-zoom-control {
    display: none !important;
  }

  .book-spine { display: none; }
  .book-pages-depth { display: none; }

  .book-page-container {
    transform: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  }

  .brochure-cta-section { padding: 50px 0; }
  .brochure-mini-book { width: 140px; height: 208px; }
  .brochure-mini-cover { width: 140px; height: 208px; }

  .bp-cover-title { font-size: 20px; }

  /* Single-page mode on mobile: hide the "back" of dual-spread */
  .bp-dual-spread .spread-right { display: none; }
}

/* ============================================================
   ENHANCED BROCHURE LAYOUTS — UPLOADED BROCHURE SYSTEM
   ============================================================ */

/* 1. COVER V2 */
.bp-cover-v2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: #100203;
  color: #fff;
  padding: 16px 18px;
  overflow: hidden;
  box-sizing: border-box;
}

.bp-cover-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bp-cover-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: contrast(1.1);
}

.bp-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(80,0,0,0.85) 0%, rgba(139,0,0,0.92) 40%, rgba(20,2,3,0.98) 100%);
}

.bp-cover-top-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bp-cover-logo-card {
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.bp-cover-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.bp-cover-badges {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bp-badge-buatan-my {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(201,162,39,0.2);
  border: 1px solid var(--br-gold);
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 12px;
  text-transform: uppercase;
}

.bp-badge-buatan-my svg, .bp-badge-buatan-my i {
  width: 9px;
  height: 9px;
  color: var(--br-gold);
}

.bp-badge-year {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 12px;
}

.bp-cover-hero-frame {
  position: relative;
  z-index: 3;
  border: 1px solid rgba(201,162,39,0.5);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.45);
  margin-bottom: 8px;
  height: 135px;
}

.bp-cover-team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.bp-cover-frame-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  padding: 4px 8px 3px;
  font-size: 7px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  text-align: center;
}

.bp-cover-main-content {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: auto;
  margin-bottom: 6px;
}

.bp-cover-gold-kicker {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--br-gold);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.bp-cover-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 3px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.bp-cover-tagline {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 10px;
  color: #ffcccc;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.bp-cover-slogan {
  display: inline-block;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(139,0,0,0.6);
  border: 1px solid rgba(201,162,39,0.4);
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.bp-cover-foot-row {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 6px;
  text-transform: uppercase;
}

/* 2. INTEGRATED TEXTILE SOLUTION PAGE */
.bp-solution-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 6px;
}

.bp-solution-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(201,162,39,0.22);
  border-left: 3px solid var(--br-red-deep);
  padding: 5px;
  border-radius: 3px;
  align-items: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.bp-solution-card:hover {
  transform: translateX(2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.bp-solution-img-box {
  position: relative;
  height: 52px;
  border-radius: 2px;
  overflow: hidden;
  background: #f0f0f0;
}

.bp-solution-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-solution-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  background: var(--br-red-deep);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 2px;
  line-height: 1.2;
}

.bp-solution-content {
  padding-right: 4px;
}

.bp-solution-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.bp-solution-header svg, .bp-solution-header i {
  width: 12px;
  height: 12px;
  color: var(--br-red-deep);
  flex-shrink: 0;
}

.bp-solution-header h4 {
  font-size: 9px;
  font-weight: 800;
  color: var(--br-ink);
  letter-spacing: 0.06em;
  margin: 0;
}

.bp-solution-content p {
  font-size: 7.5px;
  color: var(--br-muted);
  line-height: 1.4;
  margin: 0;
}

.bp-solution-footer-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(139,0,0,0.06);
  border: 1px solid rgba(201,162,39,0.3);
  padding: 6px 10px;
  margin-top: 8px;
  border-radius: 3px;
}

.bp-foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 7.5px;
  font-weight: 700;
  color: var(--br-red-deep);
}

.bp-foot-badge svg, .bp-foot-badge i {
  width: 11px;
  height: 11px;
}

.bp-foot-brand {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--br-gold-dim);
}

/* 3. COMPETENCE FRAMEWORK PAGE */
.bp-framework-sec {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 3px;
  padding: 6px 8px;
  margin-bottom: 6px;
}

.bp-framework-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--br-ink);
}

.bp-num-pill {
  width: 14px;
  height: 14px;
  background: var(--br-red-deep);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 800;
}

.bp-sub-label {
  font-size: 7px;
  color: var(--br-muted);
  margin-left: auto;
  font-weight: 600;
  text-transform: uppercase;
}

.bp-denier-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.bp-denier-step {
  background: var(--br-off-white);
  border: 1px solid var(--border-neutral);
  padding: 4px 6px;
  text-align: center;
  border-radius: 2px;
}

.bp-denier-step span {
  display: block;
  font-weight: 800;
  font-size: 9px;
  color: var(--br-ink);
}

.bp-denier-step small {
  display: block;
  font-size: 6.5px;
  color: var(--br-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

.bp-denier-step.active {
  background: rgba(139,0,0,0.08);
  border-color: var(--br-red-deep);
}

.bp-denier-step.active span {
  color: var(--br-red-deep);
}

.bp-denier-step.active-gold {
  background: rgba(201,162,39,0.12);
  border-color: var(--br-gold);
}

.bp-denier-step.active-gold span {
  color: #92400e;
}

.bp-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.bp-tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.bp-tag-card {
  background: #fdfdfd;
  border: 1px solid rgba(201,162,39,0.25);
  padding: 4px 3px;
  text-align: center;
  border-radius: 2px;
}

.bp-tag-card svg, .bp-tag-card i {
  width: 10px;
  height: 10px;
  color: var(--br-red-deep);
  display: block;
  margin: 0 auto 2px;
}

.bp-tag-card span {
  display: block;
  font-size: 6.5px;
  font-weight: 700;
  color: var(--br-ink);
  line-height: 1.2;
}

/* GSM Strip */
.bp-gsm-strip {
  background: #f8f6f0;
  border: 1px solid rgba(201,162,39,0.3);
  padding: 6px 8px;
  border-radius: 2px;
}

.bp-gsm-curve-visual {
  display: flex;
  align-items: flex-end;
  height: 38px;
  gap: 5px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.bp-gsm-point {
  flex: 1;
  background: linear-gradient(180deg, #b5121b 0%, #8b0000 100%);
  border-radius: 2px 2px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
}

.bp-gsm-point span {
  font-size: 6.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.bp-gsm-point.peak {
  background: linear-gradient(180deg, var(--br-gold) 0%, #a07f1e 100%);
}

.bp-gsm-caption {
  font-size: 7px;
  font-weight: 600;
  color: var(--br-muted);
  text-align: center;
  margin-top: 3px;
}

/* 8 Properties */
.bp-props-8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.bp-prop-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 3px 4px;
  border-radius: 2px;
}

.bp-prop-item svg, .bp-prop-item i {
  width: 9px;
  height: 9px;
  color: var(--br-red-deep);
  flex-shrink: 0;
}

.bp-prop-item span {
  font-size: 6.5px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4 Applications */
.bp-apps-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.bp-app-box {
  background: #fff;
  border: 1px solid var(--border-neutral);
  border-radius: 2px;
  overflow: hidden;
}

.bp-app-box img {
  width: 100%;
  height: 38px;
  object-fit: cover;
  display: block;
}

.bp-app-meta {
  padding: 3px 4px;
}

.bp-app-meta h5 {
  font-size: 6.5px;
  font-weight: 800;
  color: var(--br-red-deep);
  margin: 0;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-app-meta p {
  font-size: 6px;
  color: var(--br-muted);
  line-height: 1.2;
  margin: 1px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 4. GLOBAL REACH PAGE */
.bp-map-container {
  position: relative;
  height: 120px;
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
  background: #eef2f6;
}

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

.bp-map-overlay-badge {
  position: absolute;
  bottom: 4px;
  left: 6px;
  background: rgba(139,0,0,0.85);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bp-map-overlay-badge svg, .bp-map-overlay-badge i {
  width: 8px;
  height: 8px;
  color: var(--br-gold);
}

.bp-slogan-bar {
  background: var(--br-red-deep);
  color: #ffffff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.bp-ports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 4px;
}

.bp-port-card {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 3px 4px;
  border-radius: 2px;
}

.bp-port-flag {
  font-size: 11px;
  line-height: 1;
}

.bp-port-card strong {
  display: block;
  font-size: 7px;
  color: var(--br-ink);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-port-card small {
  display: block;
  font-size: 6px;
  color: var(--br-muted);
}

.bp-facility-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  padding: 6px 8px;
}

.bp-facility-card.highlight {
  border-left: 2px solid var(--br-gold);
  background: #fffdf9;
}

.bp-fac-header {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7.5px;
  font-weight: 800;
  color: var(--br-red-deep);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.bp-fac-header svg, .bp-fac-header i {
  width: 10px;
  height: 10px;
}

.bp-facility-card p {
  font-size: 7px;
  line-height: 1.4;
  color: var(--br-ink);
  margin: 0;
}

.bp-global-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--br-off-white);
  border: 1px solid var(--border-neutral);
  padding: 6px 8px;
  border-radius: 2px;
}

.bp-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bp-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 7.5px;
  font-weight: 700;
  color: var(--br-ink);
  text-decoration: none;
}

.bp-contact-pill svg, .bp-contact-pill i {
  width: 9px;
  height: 9px;
  color: var(--br-red-deep);
}

.bp-qr-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.bp-qr-thumb img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.bp-qr-thumb span {
  font-size: 5.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--br-muted);
}

/* Master Page Artwork (Pages 1, 2, 3, 4) — High-Resolution PDF Textures */
.bp.bp-page-art,
.bp.bp-cover-page-art {
  width: 100%;
  height: 100%;
  position: relative;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.bp-page-art picture,
.bp-cover-page-art picture {
  width: 100%;
  height: 100%;
  display: block;
}

.bp-page-art-img,
.bp-cover-art-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

