/* ============================================
   Homepage — PDF profile sections (pages 2–7)
   ============================================ */

.pdf-section {
  position: relative;
  padding: 4.5rem 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.pdf-section--alt {
  background: var(--bg-secondary);
}

#ecosystem.pdf-section,
#why-us.pdf-section {
  overflow: visible;
  scroll-margin-top: 100px;
}

#ecosystem .container {
  overflow: visible;
  padding-left: clamp(1.5rem, 3.5vw, 3rem);
  padding-right: clamp(1.5rem, 3.5vw, 3rem);
}

#ecosystem {
  padding: 4.5rem 0 3.5rem;
}

#why-us {
  padding: 5rem 0 3rem;
}

#why-us .container {
  overflow: visible;
  padding-left: clamp(1.5rem, 3.5vw, 3rem);
  padding-right: clamp(1.5rem, 3.5vw, 3rem);
}

#why-us .pdf-page-head {
  scroll-margin-top: 130px;
}

#pdf-ecosystem-diagram,
#pdf-why-diagram {
  scroll-margin-top: 150px;
}

.pdf-section::before,
.pdf-section::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(184, 148, 47, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.pdf-section::before {
  top: -80px;
  right: -60px;
}

.pdf-section::after {
  bottom: -100px;
  left: -80px;
}

.pdf-page-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pdf-page-head .pdf-kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.5rem;
}

.pdf-page-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pdf-page-head .pdf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 520px;
}

.pdf-page-head .pdf-divider::before,
.pdf-page-head .pdf-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.pdf-page-head .pdf-divider i {
  color: var(--color-gold);
  font-size: 0.55rem;
}

/* --- Page 2: Who We Are --- */
.pdf-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.pdf-page-head--eco h2,
.pdf-page-head--lined h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pdf-page-head--eco h2::before,
.pdf-page-head--eco h2::after,
.pdf-page-head--lined h2::before,
.pdf-page-head--lined h2::after {
  content: '';
  flex: 0 1 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.pdf-vision-hero.pdf-page-head--lined h2::before,
.pdf-vision-hero.pdf-page-head--lined h2::after {
  flex-basis: 56px;
}

.pdf-founded {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(184, 148, 47, 0.55);
}

.pdf-founded-copy {
  margin-bottom: 1rem;
}

.pdf-intl-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.pdf-intl-head i {
  font-size: 0.85rem;
}

.pdf-map-wrap {
  border: var(--border-gold);
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(184, 148, 47, 0.15);
}

.pdf-map-wrap img {
  width: 100%;
  border-radius: 8px;
}

.pdf-founded-year {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold-dark);
}

.pdf-founded-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pdf-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}

.pdf-country {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-heading);
}

.pdf-country i {
  color: var(--color-gold-dark);
  font-size: 0.85rem;
}

.pdf-values-row {
  border-top: 1px solid rgba(184, 148, 47, 0.25);
  padding-top: 2rem;
}

.pdf-values-row h3 {
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 1.75rem;
}

.pdf-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.pdf-value-item {
  text-align: center;
  padding: 0 0.5rem;
}

.pdf-value-item .pdf-icon-ring {
  margin: 0 auto 0.75rem;
}

.pdf-value-item h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--text-heading);
}

.pdf-value-item p {
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  color: var(--text-muted);
}

/* --- Shared icon ring --- */
.pdf-icon-ring {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(184, 148, 47, 0.4);
  background: linear-gradient(145deg, #fff, #faf6ee);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: 1.15rem;
  box-shadow: 0 2px 12px rgba(184, 148, 47, 0.12);
  flex-shrink: 0;
}

/* --- Page 3: Ecosystem (PDF layout) --- */
.pdf-page-head--eco h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pdf-page-head--eco h2::before,
.pdf-page-head--eco h2::after {
  content: '';
  flex: 0 1 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.pdf-ecosystem {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  overflow: visible;
}

/* Static SVG ecosystem — fixed coordinates, scales without breaking */
.pdf-eco-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1040px;
  margin: 0 auto;
  overflow: visible;
}

.pdf-eco-svg .pdf-hex-outer {
  fill: none;
  stroke: rgba(184, 148, 47, 0.78);
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-eco-svg .pdf-hex-inner {
  fill: none;
  stroke: rgba(184, 148, 47, 0.38);
  stroke-width: 1.15;
  stroke-linejoin: round;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.pdf-eco-svg .pdf-spoke-glow {
  stroke: rgba(184, 148, 47, 0.14);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-eco-svg .pdf-spoke {
  stroke: url(#pdfEcoSpokeGrad);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-ecosystem.is-visible .pdf-eco-svg .pdf-hex-outer,
.pdf-ecosystem.is-drawn .pdf-eco-svg .pdf-hex-outer,
.pdf-ecosystem.is-visible .pdf-eco-svg .pdf-hex-inner,
.pdf-ecosystem.is-drawn .pdf-eco-svg .pdf-hex-inner,
.pdf-ecosystem.is-visible .pdf-eco-svg .pdf-spoke,
.pdf-ecosystem.is-drawn .pdf-eco-svg .pdf-spoke,
.pdf-ecosystem.is-visible .pdf-eco-svg .pdf-spoke-glow,
.pdf-ecosystem.is-drawn .pdf-eco-svg .pdf-spoke-glow {
  stroke-dashoffset: 0;
}

.pdf-eco-svg-node-ring {
  fill: #fff;
  stroke: rgba(184, 148, 47, 0.65);
  stroke-width: 2;
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-ecosystem.is-visible .pdf-eco-svg-node-ring,
.pdf-ecosystem.is-drawn .pdf-eco-svg-node-ring {
  opacity: 1;
}

.pdf-eco-svg-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: 1.15rem;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-ecosystem.is-visible .pdf-eco-svg-icon,
.pdf-ecosystem.is-drawn .pdf-eco-svg-icon {
  opacity: 1;
  transform: scale(1);
}

.pdf-eco-svg-label {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-ecosystem.is-visible .pdf-eco-svg-label,
.pdf-ecosystem.is-drawn .pdf-eco-svg-label {
  opacity: 1;
  transform: translateY(0);
}

.pdf-eco-svg-label h4 {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0 0 0.12rem;
  line-height: 1.25;
}

.pdf-eco-svg-label p {
  font-size: 0.72rem;
  margin: 0;
  line-height: 1.4;
  color: var(--text-muted);
}

.pdf-eco-svg-label--left {
  text-align: right;
}

.pdf-eco-svg-label--left .pdf-eco-diamond {
  text-align: right;
}

.pdf-eco-svg-label--right {
  text-align: left;
}

.pdf-eco-svg-label--side {
  overflow: hidden;
  word-wrap: break-word;
}

.pdf-eco-svg-label--side h4 {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.pdf-eco-svg-label--side p {
  font-size: 0.64rem;
  line-height: 1.35;
}

.pdf-eco-svg-hub {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-ecosystem.is-visible .pdf-eco-svg-hub,
.pdf-ecosystem.is-drawn .pdf-eco-svg-hub {
  opacity: 1;
  transform: scale(1);
}

.pdf-eco-svg-hub .pdf-hub-ring--pdf {
  width: 220px;
  max-width: 100%;
  margin: 0 auto;
}

[data-theme="dark"] .pdf-eco-svg-node-ring {
  fill: var(--bg-card);
  stroke: rgba(201, 169, 98, 0.65);
}

/* Legacy HTML node layout (kept for reference / mobile) */
.pdf-eco-stage {
  position: relative;
  width: min(100%, 1040px);
  max-width: 1040px;
  margin: 0 auto;
  aspect-ratio: 1040 / 720;
  min-height: 620px;
  overflow: visible;
  z-index: 2;
}

.pdf-ecosystem-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(240px, 24vw);
  pointer-events: none;
}

.pdf-hub-ring--pdf {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(184, 148, 47, 0.8);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  text-align: center;
  pointer-events: auto;
  box-shadow:
    0 0 0 6px #fff,
    0 0 0 8px rgba(184, 148, 47, 0.5),
    0 0 0 14px #fff,
    0 0 0 16px rgba(184, 148, 47, 0.22);
}

.pdf-hub-ring--pdf img {
  width: clamp(54px, 6vw, 68px);
  height: clamp(54px, 6vw, 68px);
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.pdf-hub-ring--pdf .pdf-hub-title-main {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pdf-hub-ring--pdf h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
}

.pdf-hub-ring--pdf .pdf-hub-title-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.pdf-hub-tagline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.5rem;
}

.pdf-hub-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 47, 0.55), transparent);
}

.pdf-hub-tagline p {
  font-size: clamp(0.46rem, 0.85vw, 0.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0;
  line-height: 1.35;
  max-width: 8.5rem;
}

/* PDF hex nodes — icon anchored on vertex, copy beside it */
.pdf-eco-node {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-ecosystem.is-visible .pdf-eco-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pdf-eco-node--tl { left: 28%; top: 16%; }
.pdf-eco-node--tr { left: 72%; top: 16%; }
.pdf-eco-node--ml { left: 14%; top: 50%; }
.pdf-eco-node--mr { left: 86%; top: 50%; }
.pdf-eco-node--bl { left: 28%; top: 84%; }
.pdf-eco-node--br { left: 72%; top: 84%; }

.pdf-ecosystem.is-visible .pdf-eco-node--tl { transition-delay: 0.08s; }
.pdf-ecosystem.is-visible .pdf-eco-node--tr { transition-delay: 0.14s; }
.pdf-ecosystem.is-visible .pdf-eco-node--ml { transition-delay: 0.2s; }
.pdf-ecosystem.is-visible .pdf-eco-node--mr { transition-delay: 0.26s; }
.pdf-ecosystem.is-visible .pdf-eco-node--bl { transition-delay: 0.32s; }
.pdf-ecosystem.is-visible .pdf-eco-node--br { transition-delay: 0.38s; }

.pdf-eco-copy {
  position: absolute;
  top: 50%;
  width: clamp(138px, 14vw, 172px);
  transform: translateY(-50%);
}

.pdf-eco-node--ml .pdf-eco-copy,
.pdf-eco-node--mr .pdf-eco-copy {
  width: clamp(128px, 13vw, 158px);
}

.pdf-eco-node--tl .pdf-eco-copy,
.pdf-eco-node--ml .pdf-eco-copy,
.pdf-eco-node--bl .pdf-eco-copy {
  right: calc(100% + 0.75rem);
  text-align: right;
}

.pdf-eco-node--tr .pdf-eco-copy,
.pdf-eco-node--mr .pdf-eco-copy,
.pdf-eco-node--br .pdf-eco-copy {
  left: calc(100% + 0.75rem);
  text-align: left;
}

.pdf-eco-copy h4 {
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0 0 0.15rem;
  line-height: 1.25;
}

.pdf-eco-diamond {
  display: block;
  color: var(--color-gold);
  font-size: 0.38rem;
  margin: 0.1rem 0;
  opacity: 0.9;
}

.pdf-eco-node--tl .pdf-eco-diamond,
.pdf-eco-node--ml .pdf-eco-diamond,
.pdf-eco-node--bl .pdf-eco-diamond {
  text-align: right;
}

.pdf-eco-copy p {
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  margin: 0;
  line-height: 1.4;
  color: var(--text-muted);
}

.pdf-eco-icon-node {
  flex-shrink: 0;
  width: clamp(50px, 5.5vw, 58px);
  height: clamp(50px, 5.5vw, 58px);
  border-radius: 50%;
  border: 2px solid rgba(184, 148, 47, 0.65);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 4px rgba(184, 148, 47, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pdf-eco-icon-node:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 4px rgba(184, 148, 47, 0.55),
    0 0 12px rgba(184, 148, 47, 0.2);
}

.pdf-eco-footer--pdf .pdf-eco-footer-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pdf-eco-footer--pdf h3 {
  margin-bottom: 0;
}

.pdf-eco-footer-rule {
  flex: 0 1 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

[data-theme="dark"] .pdf-eco-icon-node {
  background: var(--bg-card);
  box-shadow:
    0 0 0 3px var(--bg-secondary),
    0 0 0 4px rgba(201, 169, 98, 0.35);
}

[data-theme="dark"] .pdf-hub-ring--pdf {
  box-shadow:
    0 0 0 7px var(--bg-secondary),
    0 0 0 9px rgba(201, 169, 98, 0.42),
    0 0 0 16px var(--bg-secondary),
    0 0 0 18px rgba(201, 169, 98, 0.18),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.pdf-eco-footer {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 148, 47, 0.2);
}

.pdf-eco-footer h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.75rem;
}

.pdf-eco-footer p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.9rem;
}

/* Mobile ecosystem stack */
.pdf-ecosystem-mobile {
  display: none;
}

/* --- Page 4: Our Companies --- */
.pdf-companies-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.5rem;
  align-items: start;
}

.pdf-companies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pdf-company-card {
  border: 1px solid rgba(184, 148, 47, 0.32);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pdf-company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.pdf-company-card .pdf-icon-ring {
  margin: 0 auto 1rem;
  width: 3.75rem;
  height: 3.75rem;
  font-size: 1.35rem;
}

.pdf-company-card h4 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.pdf-company-card p {
  font-size: 0.8rem;
  margin: 0;
}

.pdf-highlights {
  border: 1px solid rgba(184, 148, 47, 0.32);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.pdf-highlights h3 {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(184, 148, 47, 0.2);
}

.pdf-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(184, 148, 47, 0.1);
}

.pdf-highlight-item:last-child {
  border-bottom: none;
}

.pdf-highlight-item .pdf-icon-ring {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.9rem;
}

.pdf-highlight-item span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-heading);
}

.pdf-companies-tagline {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 148, 47, 0.2);
}

.pdf-companies-tagline h3 {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.65rem;
}

/* --- Page 5: Why Billionaire Kings (PDF layout) --- */
.pdf-why {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}

.pdf-why-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 560;
  min-height: 480px;
  z-index: 2;
}

.pdf-why-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(240px, 28vw);
}

.pdf-hub-ring--why {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(184, 148, 47, 0.65);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.85rem;
  text-align: center;
  box-shadow:
    0 0 0 6px #fff,
    0 0 0 8px rgba(184, 148, 47, 0.35),
    0 8px 28px rgba(184, 148, 47, 0.15);
}

.pdf-hub-ring--why img {
  width: clamp(52px, 6vw, 64px);
  height: clamp(52px, 6vw, 64px);
  object-fit: contain;
  margin-bottom: 0.45rem;
}

.pdf-hub-ring--why h3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
}

.pdf-hub-ring--why .pdf-hub-title-main {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pdf-hub-ring--why .pdf-hub-title-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.pdf-hub-since {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0.45rem 0 0;
}

[data-theme="dark"] .pdf-hub-ring--why {
  background: var(--bg-card);
  box-shadow:
    0 0 0 6px var(--bg-secondary),
    0 0 0 8px rgba(201, 169, 98, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.3);
}

/* Pill cards */
.pdf-why-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0;
  width: 42%;
  max-width: 380px;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(184, 148, 47, 0.32);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 4;
  opacity: 0;
  transform: translateX(0) scale(0.98);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.pdf-why-pill--l1 { top: 6%; left: 0; padding-left: 0.45rem; }
.pdf-why-pill--l2 { top: 50%; left: 0; transform: translateY(-50%) scale(0.98); padding-left: 0.45rem; }
.pdf-why-pill--l3 { bottom: 6%; left: 0; padding-left: 0.45rem; }
.pdf-why-pill--r1 { top: 6%; right: 0; flex-direction: row-reverse; padding-right: 0.45rem; text-align: right; }
.pdf-why-pill--r2 { top: 50%; right: 0; flex-direction: row-reverse; transform: translateY(-50%) scale(0.98); padding-right: 0.45rem; text-align: right; }
.pdf-why-pill--r3 { bottom: 6%; right: 0; flex-direction: row-reverse; padding-right: 0.45rem; text-align: right; }

.pdf-why.is-visible .pdf-why-pill {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.pdf-why.is-visible .pdf-why-pill--l2,
.pdf-why.is-visible .pdf-why-pill--r2 {
  transform: translateY(-50%) scale(1);
}

.pdf-why.is-visible .pdf-why-pill--l1 { transition-delay: 0.1s; }
.pdf-why.is-visible .pdf-why-pill--r1 { transition-delay: 0.15s; }
.pdf-why.is-visible .pdf-why-pill--l2 { transition-delay: 0.22s; }
.pdf-why.is-visible .pdf-why-pill--r2 { transition-delay: 0.27s; }
.pdf-why.is-visible .pdf-why-pill--l3 { transition-delay: 0.34s; }
.pdf-why.is-visible .pdf-why-pill--r3 { transition-delay: 0.39s; }

.pdf-why-pill:hover {
  box-shadow: 0 8px 28px rgba(184, 148, 47, 0.14);
}

.pdf-why-pill-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(184, 148, 47, 0.45);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(184, 148, 47, 0.12);
}

.pdf-why-pill--l1 .pdf-why-pill-icon,
.pdf-why-pill--l2 .pdf-why-pill-icon,
.pdf-why-pill--l3 .pdf-why-pill-icon {
  margin-right: 0.65rem;
}

.pdf-why-pill--r1 .pdf-why-pill-icon,
.pdf-why-pill--r2 .pdf-why-pill-icon,
.pdf-why-pill--r3 .pdf-why-pill-icon {
  margin-left: 0.65rem;
}

.pdf-why-pill-body {
  flex: 1;
  min-width: 0;
}

.pdf-why-pill-body h4 {
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.1vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.pdf-why-pill-body p {
  font-size: clamp(0.68rem, 1vw, 0.76rem);
  margin: 0;
  line-height: 1.4;
  color: var(--text-muted);
}

[data-theme="dark"] .pdf-why-pill {
  background: rgba(26, 26, 26, 0.95);
}

[data-theme="dark"] .pdf-why-pill-icon {
  background: var(--bg-card);
}

.pdf-stats-bar--pdf {
  gap: 0;
  border-top: 1px solid rgba(184, 148, 47, 0.3);
  padding-top: 1.75rem;
  margin-top: 0.5rem;
}

.pdf-stats-bar--pdf .pdf-stat-item {
  position: relative;
  padding: 0 0.65rem;
}

.pdf-stats-bar--pdf .pdf-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(184, 148, 47, 0.45), transparent);
}

.pdf-why-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pdf-why-kicker .pdf-kicker {
  margin: 0;
  text-align: center;
}

.pdf-why-kicker .pdf-eco-footer-rule {
  flex: 0 1 80px;
}

/* Legacy why layout */
.pdf-why-layout,
.pdf-why-card {
  display: none;
}

.pdf-why-cards-stack {
  display: none;
}

.pdf-why-cards-stack .pdf-why-pill--stack {
  position: static;
  width: 100%;
  max-width: none;
  border-radius: 12px;
  opacity: 1;
  transform: none;
  margin-bottom: 0.75rem;
}

.pdf-stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  border-top: 1px solid rgba(184, 148, 47, 0.25);
  padding-top: 2rem;
}

.pdf-stat-item {
  text-align: center;
}

.pdf-stat-item .pdf-icon-ring {
  margin: 0 auto 0.6rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 0.95rem;
}

.pdf-stat-item h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.2rem;
}

.pdf-stat-item p {
  font-size: 0.68rem;
  margin: 0;
  line-height: 1.35;
}

.pdf-why-mobile,
.pdf-why-cards-stack {
  display: none;
}

/* --- Page 6: Vision --- */
.pdf-vision-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pdf-vision-hero .pdf-kicker {
  margin-bottom: 0.75rem;
}

.pdf-vision-hero h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.pdf-vision-hero h2 span.gold {
  color: var(--color-gold-dark);
}

.pdf-vision-hero .pdf-sub {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pdf-vision-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  position: relative;
  margin-bottom: 2rem;
}

.pdf-vision-timeline::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-gold) 0,
    var(--color-gold) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.5;
  z-index: 0;
}

.pdf-vision-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.pdf-vision-step .pdf-icon-ring {
  margin: 0 auto 0.75rem;
}

.pdf-vision-step h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.35rem;
}

.pdf-vision-step p {
  font-size: 0.72rem;
  margin: 0;
  line-height: 1.35;
  padding: 0 0.25rem;
}

.pdf-vision-quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid rgba(184, 148, 47, 0.25);
}

.pdf-vision-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--color-gold-dark);
  margin: 0;
  line-height: 1.45;
}

.pdf-vision-bg {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: var(--border-gold);
}

.pdf-vision-bg img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  opacity: 0.92;
}

/* --- Page 7: Credentials --- */
.pdf-cred-banner {
  text-align: center;
  margin-bottom: 2rem;
}

.pdf-cred-banner .pdf-tagline-box {
  display: inline-block;
  border: 1px solid rgba(184, 148, 47, 0.35);
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.5rem;
}

.pdf-cred-banner .pdf-since {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.pdf-contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(184, 148, 47, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.pdf-contact-half {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.pdf-contact-half + .pdf-contact-half {
  border-left: 1px solid rgba(184, 148, 47, 0.2);
}

.pdf-contact-half h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.25rem;
}

.pdf-contact-half p {
  font-size: 0.85rem;
  margin: 0;
}

.pdf-entities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pdf-entity-card {
  border: 1px solid rgba(184, 148, 47, 0.32);
  border-radius: 12px;
  padding: 1.25rem;
  background: #fff;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}

.pdf-entity-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.pdf-entity-card .reg {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  letter-spacing: 0.04em;
}

/* Dark theme tweaks */
[data-theme="dark"] .pdf-company-card,
[data-theme="dark"] .pdf-highlights,
[data-theme="dark"] .pdf-why-card,
[data-theme="dark"] .pdf-map-wrap,
[data-theme="dark"] .pdf-contact-box,
[data-theme="dark"] .pdf-entity-card,
[data-theme="dark"] .pdf-ecosystem-hub .pdf-hub-ring,
[data-theme="dark"] .pdf-why-center .pdf-hub-ring {
  background: var(--bg-card);
}

[data-theme="dark"] .pdf-icon-ring {
  background: rgba(201, 169, 98, 0.08);
}

/* Responsive */
@media (max-width: 1280px) {
  #ecosystem .container {
    padding-left: clamp(1.75rem, 4vw, 2.75rem);
    padding-right: clamp(1.75rem, 4vw, 2.75rem);
  }
}

@media (max-width: 1100px) {
  .pdf-eco-copy {
    width: clamp(130px, 14vw, 170px);
  }

  .pdf-why-pill {
    width: 42%;
  }

  .pdf-ecosystem-hub {
    width: min(210px, 24vw);
  }
}

@media (max-width: 992px) {
  .pdf-who-grid {
    grid-template-columns: 1fr;
  }

  .pdf-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pdf-companies-layout {
    grid-template-columns: 1fr;
  }

  .pdf-companies-grid {
    grid-template-columns: 1fr;
  }

  .pdf-ecosystem {
    display: none;
  }

  .pdf-ecosystem-mobile {
    display: grid;
    gap: 1rem;
    max-width: 520px;
    margin: 0 auto;
  }

  .pdf-why {
    display: none;
  }

  .pdf-why-cards-stack {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .pdf-eco-mobile-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(184, 148, 47, 0.25);
    border-radius: 10px;
    background: #fff;
  }

  [data-theme="dark"] .pdf-eco-mobile-item {
    background: var(--bg-card);
  }

  .pdf-why-layout {
    display: none;
  }

  .pdf-why-cards-stack {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .pdf-why-cards-stack .pdf-why-pill--stack {
    position: static;
    width: 100%;
    opacity: 1;
    transform: none;
  }

  .pdf-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdf-vision-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pdf-vision-timeline::before {
    display: none;
  }

  .pdf-entities-grid {
    grid-template-columns: 1fr;
  }

  .pdf-contact-box {
    grid-template-columns: 1fr;
  }

  .pdf-contact-half + .pdf-contact-half {
    border-left: none;
    border-top: 1px solid rgba(184, 148, 47, 0.2);
  }
}

@media (max-width: 576px) {
  .pdf-values-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================
   Luxury enhancements — PDF homepage sections
   ============================================ */

/* Sticky section nav */
.pdf-section-nav {
  position: sticky;
  top: var(--header-height-scrolled, 84px);
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 148, 47, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.pdf-section-nav.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pdf-section-nav-inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.65rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 993px) {
  .pdf-section-nav-inner {
    justify-content: center;
  }
}

.pdf-section-nav-inner::-webkit-scrollbar {
  display: none;
}

.pdf-section-nav-link {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.pdf-section-nav-link:hover {
  color: var(--color-gold-dark);
  background: rgba(184, 148, 47, 0.08);
}

.pdf-section-nav-link.is-active {
  color: var(--color-gold-dark);
  background: rgba(184, 148, 47, 0.12);
  border-color: rgba(184, 148, 47, 0.35);
  box-shadow: 0 2px 12px rgba(184, 148, 47, 0.15);
}

[data-theme="dark"] .pdf-section-nav {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: rgba(201, 169, 98, 0.2);
}

/* Glass morphism cards */
.pdf-company-card,
.pdf-highlights,
.pdf-why-card,
.pdf-eco-mobile-item,
.pdf-entity-card,
.pdf-contact-box,
.pdf-map-wrap {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pdf-company-card,
.pdf-highlights,
.pdf-entity-card {
  background: rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] .pdf-company-card,
[data-theme="dark"] .pdf-highlights,
[data-theme="dark"] .pdf-entity-card {
  background: rgba(26, 26, 26, 0.75);
}

/* Icon ring glow */
.pdf-icon-ring {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.pdf-value-item:hover .pdf-icon-ring,
.pdf-eco-icon-node:hover,
.pdf-eco-node:hover .pdf-icon-ring,
.pdf-company-card:hover .pdf-icon-ring,
.pdf-highlight-item:hover .pdf-icon-ring,
.pdf-why-pill:hover .pdf-why-pill-icon,
.pdf-stat-item:hover .pdf-icon-ring,
.pdf-vision-step:hover .pdf-icon-ring,
.pdf-entity-card:hover .pdf-icon-ring {
  transform: scale(1.08);
  border-color: rgba(184, 148, 47, 0.65);
  box-shadow: 0 0 24px rgba(184, 148, 47, 0.28);
}

/* Founded year shimmer */
.pdf-founded-year {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
  to { background-position: 200% center; }
}

/* Country chips */
.pdf-country {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 148, 47, 0.22);
  background: rgba(255, 255, 255, 0.7);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pdf-country:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 148, 47, 0.45);
  box-shadow: 0 4px 16px rgba(184, 148, 47, 0.12);
}

[data-theme="dark"] .pdf-country {
  background: rgba(26, 26, 26, 0.6);
}

/* Map pins */
.pdf-map-wrap {
  position: relative;
}

.pdf-map-pins {
  position: absolute;
  inset: 1rem;
  pointer-events: none;
}

.pdf-map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  animation: pinDrop 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.pdf-map-pin span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(184, 148, 47, 0.5);
  position: relative;
}

.pdf-map-pin span::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(184, 148, 47, 0.5);
  animation: pinPulse 2s ease-out infinite;
}

.pdf-map-pin::before {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 0.2rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-gold-dark);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(184, 148, 47, 0.35);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.pdf-map-pin:hover::before,
.pdf-map-pin.is-active::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes pinDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -80%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -100%);
  }
}

@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Diagram connector lines */
.pdf-diagram {
  position: relative;
  isolation: isolate;
}

.pdf-diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.pdf-diagram-lines .pdf-connector-glow {
  fill: none;
  stroke: rgba(184, 148, 47, 0.12);
  stroke-width: 4;
  stroke-linecap: round;
}

.pdf-diagram-lines .pdf-connector-path {
  fill: none;
  stroke: url(#pdfConnectorGrad);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-diagram-lines .pdf-connector-dot {
  fill: var(--color-gold);
  opacity: 0;
  transition: opacity 0.35s ease 1s;
}

.pdf-diagram-lines .pdf-connector-dot--hub {
  fill: #fff;
  stroke: var(--color-gold);
  stroke-width: 1.5;
}

.pdf-diagram.is-drawn .pdf-connector-path {
  stroke-dashoffset: 0;
}

.pdf-diagram.is-drawn .pdf-connector-dot {
  opacity: 1;
}

[data-theme="dark"] .pdf-diagram-lines .pdf-connector-glow {
  stroke: rgba(201, 169, 98, 0.1);
}

.pdf-diagram-lines .pdf-hex-outer {
  fill: none;
  stroke: rgba(184, 148, 47, 0.78);
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-diagram-lines .pdf-hex-inner {
  fill: none;
  stroke: rgba(184, 148, 47, 0.38);
  stroke-width: 1.15;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.pdf-diagram-lines .pdf-spoke-glow {
  stroke: rgba(184, 148, 47, 0.14);
  stroke-width: 5;
  stroke-linecap: round;
}

.pdf-diagram-lines .pdf-spoke {
  stroke: url(#pdfConnectorGrad);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-diagram.is-drawn .pdf-hex-outer,
.pdf-diagram.is-drawn .pdf-hex-inner,
.pdf-diagram.is-drawn .pdf-spoke {
  stroke-dashoffset: 0;
}

.pdf-hub-ring--pdf {
  animation: hubPulsePdf 5s ease-in-out infinite;
}

@keyframes hubPulsePdf {
  0%, 100% {
    box-shadow:
      0 0 0 7px #fff,
      0 0 0 9px rgba(184, 148, 47, 0.42),
      0 0 0 16px #fff,
      0 0 0 18px rgba(184, 148, 47, 0.18),
      0 8px 32px rgba(184, 148, 47, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 7px #fff,
      0 0 0 9px rgba(184, 148, 47, 0.55),
      0 0 0 16px #fff,
      0 0 0 18px rgba(184, 148, 47, 0.28),
      0 12px 40px rgba(184, 148, 47, 0.28);
  }
}

/* Ecosystem mobile stagger */
.pdf-eco-mobile-item {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-ecosystem-mobile.is-visible .pdf-eco-mobile-item {
  opacity: 1;
  transform: translateY(0);
}

/* Why cards entrance */
.pdf-why-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--transition);
}

.pdf-why-layout.is-visible .pdf-why-card {
  opacity: 1;
  transform: translateY(0);
}

.pdf-why-layout.is-visible .pdf-why-card--l1 { transition-delay: 0.15s; }
.pdf-why-layout.is-visible .pdf-why-card--l2 { transition-delay: 0.25s; }
.pdf-why-layout.is-visible .pdf-why-card--l3 { transition-delay: 0.35s; }
.pdf-why-layout.is-visible .pdf-why-card--r1 { transition-delay: 0.2s; }
.pdf-why-layout.is-visible .pdf-why-card--r2 { transition-delay: 0.3s; }
.pdf-why-layout.is-visible .pdf-why-card--r3 { transition-delay: 0.4s; }

.pdf-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(184, 148, 47, 0.14), var(--shadow-card);
}

/* Vision timeline progress */
.pdf-vision-timeline {
  --timeline-progress: 0%;
}

.pdf-vision-timeline::after {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: 10%;
  height: 2px;
  width: var(--timeline-progress);
  max-width: 80%;
  background: var(--gradient-gold);
  z-index: 0;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.85;
}

.pdf-vision-timeline.is-animated {
  --timeline-progress: 80%;
}

.pdf-vision-step {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdf-vision-timeline.is-animated .pdf-vision-step {
  opacity: 1;
  transform: translateY(0);
}

.pdf-vision-timeline.is-animated .pdf-vision-step:nth-child(1) { transition-delay: 0.1s; }
.pdf-vision-timeline.is-animated .pdf-vision-step:nth-child(2) { transition-delay: 0.25s; }
.pdf-vision-timeline.is-animated .pdf-vision-step:nth-child(3) { transition-delay: 0.4s; }
.pdf-vision-timeline.is-animated .pdf-vision-step:nth-child(4) { transition-delay: 0.55s; }
.pdf-vision-timeline.is-animated .pdf-vision-step:nth-child(5) { transition-delay: 0.7s; }

/* Parallax vision skyline */
.pdf-vision-bg {
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
}

.pdf-vision-bg img {
  transition: transform 0.1s linear;
}

/* Floating gold accents */
.pdf-section .pdf-float-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(184, 148, 47, 0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: floatAccent 8s ease-in-out infinite;
}

.pdf-section .pdf-float-accent--1 {
  top: 12%;
  right: 8%;
  animation-delay: 0s;
}

.pdf-section .pdf-float-accent--2 {
  bottom: 15%;
  left: 5%;
  width: 80px;
  height: 80px;
  animation-delay: -3s;
}

@keyframes floatAccent {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
  50% { transform: translate(8px, -12px) rotate(6deg); opacity: 0.7; }
}

/* Section in-view polish */
.pdf-section.is-inview .pdf-page-head h2 {
  animation: titleReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes titleReveal {
  from {
    letter-spacing: 0.14em;
    opacity: 0.6;
  }
  to {
    letter-spacing: 0.08em;
    opacity: 1;
  }
}

/* Stats counter highlight */
.pdf-stat-item h4 .pdf-count {
  display: inline-block;
  min-width: 1.5em;
}

.pdf-stats-bar.is-counted .pdf-stat-item {
  animation: statPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.pdf-stats-bar.is-counted .pdf-stat-item:nth-child(1) { animation-delay: 0s; }
.pdf-stats-bar.is-counted .pdf-stat-item:nth-child(2) { animation-delay: 0.08s; }
.pdf-stats-bar.is-counted .pdf-stat-item:nth-child(3) { animation-delay: 0.16s; }
.pdf-stats-bar.is-counted .pdf-stat-item:nth-child(4) { animation-delay: 0.24s; }
.pdf-stats-bar.is-counted .pdf-stat-item:nth-child(5) { animation-delay: 0.32s; }

@keyframes statPop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 992px) {
  .pdf-section-nav {
    top: var(--header-height-scrolled, 84px);
  }

  .pdf-section-nav-link {
    font-size: 0.62rem;
    padding: 0.4rem 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img,
  .pdf-founded-year,
  .pdf-map-pin,
  .pdf-hub-ring--pdf,
  .pdf-section .pdf-float-accent {
    animation: none;
  }

  .pdf-eco-node,
  .pdf-eco-icon-node,
  .pdf-eco-svg-label,
  .pdf-eco-svg-icon,
  .pdf-eco-svg-hub,
  .pdf-eco-svg-node-ring,
  .pdf-why-card,
  .pdf-vision-step {
    opacity: 1;
    transform: none;
  }

  .pdf-diagram-lines .pdf-connector-path,
  .pdf-diagram-lines .pdf-hex-outer,
  .pdf-diagram-lines .pdf-hex-inner,
  .pdf-diagram-lines .pdf-spoke,
  .pdf-eco-svg .pdf-hex-outer,
  .pdf-eco-svg .pdf-hex-inner,
  .pdf-eco-svg .pdf-spoke,
  .pdf-eco-svg .pdf-spoke-glow {
    stroke-dashoffset: 0;
  }
}
