/* ═══════════════════════════════════════════════
   ANNUAL REPORT PAGE — annual-report.css
   Lionnes Unies en Christ
   Depends on global :root tokens, .btn-*, .breadcrumb,
   .reveal already defined in style.css
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.ar-hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4rem 5rem;
  position: relative;
  overflow: hidden;
}
.ar-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--violet-deep);
  z-index: 0;
}
/* Decorative geometric shapes */
.ar-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 80% 40%, rgba(232,160,32,.15) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 10% 70%, rgba(212,84,74,.1) 0%, transparent 55%);
}
/* Subtle dot grid */
.ar-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ar-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(14,8,35,.97) 0%,
    rgba(42,29,78,.8) 50%,
    rgba(14,8,35,.65) 100%
  );
}
.ar-hero-content {
  position: relative;
  z-index: 2;
}
.ar-eyebrow {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: arFadeUp .7s .3s forwards;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.ar-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.ar-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.03;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: arFadeUp .9s .45s forwards;
}
.ar-hero-title em { font-style: italic; color: var(--gold); }
.ar-hero-sub {
  font-size: .92rem;
  font-weight: 300;
  color: rgba(255,255,255,.58);
  max-width: 460px;
  line-height: 1.9;
  opacity: 0;
  animation: arFadeUp .9s .6s forwards;
}

/* ═══════════════════════════════════════
   FEATURED REPORT
═══════════════════════════════════════ */
.ar-featured {
  background: var(--cream);
  padding: 6rem 4rem;
}
.ar-featured-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 6rem;
  align-items: center;
}

/* Badge */
.ar-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(232,160,32,.12);
  border: 1px solid rgba(232,160,32,.28);
  border-radius: 20px;
  padding: .35rem .95rem;
  margin-bottom: 1.6rem;
}
.ar-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.5s infinite;
}
.ar-badge-text {
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
@keyframes pulse {
  0%,100% { opacity:.5; transform:scale(1) }
  50%      { opacity:1;  transform:scale(1.3) }
}

.ar-featured-year {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  color: rgba(61,43,107,.08);
  line-height: 1;
  margin-bottom: -.6rem;
  letter-spacing: -.03em;
  user-select: none;
}
.ar-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 500;
  color: var(--violet);
  line-height: 1.2;
  margin-bottom: .6rem;
}
.ar-featured-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--coral);
  margin-bottom: 1.2rem;
}
.ar-featured-desc {
  font-size: .88rem;
  font-weight: 300;
  color: #666;
  line-height: 1.95;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Highlights */
.ar-highlights {
  display: flex;
  gap: 0;
  margin-bottom: 2.4rem;
  border: 1px solid rgba(61,43,107,.1);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(61,43,107,.04);
}
.ar-highlight {
  flex: 1;
  padding: 1.1rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(61,43,107,.08);
}
.ar-highlight:last-child { border-right: none; }
.ar-highlight-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
  margin-bottom: .2rem;
}
.ar-highlight-lbl {
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(61,43,107,.45);
}

/* Featured actions */
.ar-featured-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ── Cover frame ── */
.ar-featured-cover { position: relative; }
.ar-cover-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(14,8,35,.22), 0 8px 24px rgba(14,8,35,.14);
  background: var(--violet);
  aspect-ratio: 3/4;
}
.ar-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.ar-cover-frame:hover .ar-cover-img { transform: scale(1.03); }

/* Placeholder when no cover image */
.ar-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  padding: 2rem;
  background: linear-gradient(145deg, var(--violet) 0%, var(--violet-deep) 100%);
}
.ar-cover-placeholder-year {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  color: rgba(232,160,32,.3);
  line-height: 1;
}
.ar-cover-placeholder-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  text-align: center;
  line-height: 1.4;
  font-style: italic;
}

/* Hover overlay with "Read Online" */
.ar-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,8,35,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.ar-cover-frame:hover .ar-cover-overlay { opacity: 1; }
.ar-cover-play {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  background: none;
  border: 1.5px solid rgba(232,160,32,.6);
  border-radius: 3px;
  padding: 1.2rem 2rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.ar-cover-play:hover { background: rgba(232,160,32,.15); border-color: var(--gold); }
.ar-play-icon {
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.ar-play-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}

/* Decorative shadow strip */
.ar-cover-shadow {
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 80%;
  height: 40px;
  background: rgba(14,8,35,.25);
  filter: blur(18px);
  border-radius: 50%;
  z-index: -1;
}

/* ═══════════════════════════════════════
   ARCHIVE GRID
═══════════════════════════════════════ */
.ar-archive { background: var(--white); padding: 5rem 4rem; }
.ar-archive-inner { max-width: 1140px; margin: 0 auto; }
.ar-archive-header { margin-bottom: 3rem; }

.ar-section-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.ar-section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}
.ar-section-label--light { color: rgba(232,160,32,.75); }
.ar-section-label--light::before { background: rgba(232,160,32,.5); }

.ar-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--violet);
  line-height: 1.15;
}
.ar-section-title em { font-style: italic; color: var(--gold); }

.ar-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(61,43,107,.08);
  border-radius: 4px;
  overflow: hidden;
}
.ar-archive-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}
.ar-archive-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.ar-archive-card:hover { background: var(--cream); }
.ar-archive-card:hover::before { transform: scaleX(1); }

.ar-archive-card-year {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(61,43,107,.07);
  line-height: 1;
  padding: 1.5rem 1.5rem 0;
  user-select: none;
}
.ar-archive-card-cover {
  margin: 0;
  overflow: hidden;
  line-height: 0;
  height: 200px;
}
.ar-archive-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ar-archive-card:hover .ar-archive-card-cover img { transform: scale(1.04); }
.ar-archive-card-cover--blank {
  background: linear-gradient(145deg, var(--violet) 0%, var(--violet-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ar-archive-card-cover--blank span {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(232,160,32,.35);
  font-style: italic;
}

.ar-archive-card-body { padding: 1.4rem 1.5rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.ar-archive-card-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--violet);
  margin-bottom: .35rem;
}
.ar-archive-card-sub {
  font-size: .72rem;
  font-weight: 300;
  font-style: italic;
  color: #999;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.2rem;
}
.ar-archive-card-actions {
  display: flex;
  gap: .5rem;
  margin-top: auto;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.ar-btn {
  font-family: 'Poppins', sans-serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .7rem 1.4rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  border: none;
}
.ar-btn--primary {
  background: var(--gold);
  color: var(--violet-deep);
}
.ar-btn--primary:hover { background: #f2c060; }

.ar-btn--outline {
  background: transparent;
  color: var(--violet);
  border: 1.5px solid rgba(61,43,107,.25);
}
.ar-btn--outline:hover { background: var(--violet); color: var(--white); border-color: var(--violet); }

.ar-btn--sm { padding: .5rem .9rem; font-size: .56rem; }

.ar-btn--violet { background: var(--violet); color: var(--white); }
.ar-btn--violet:hover { background: var(--violet-light); }

.ar-btn--outline-dark {
  background: transparent;
  color: var(--violet);
  border: 1.5px solid rgba(61,43,107,.2);
}
.ar-btn--outline-dark:hover { background: var(--violet); color: var(--white); }

/* ═══════════════════════════════════════
   PDF VIEWER MODAL
═══════════════════════════════════════ */
.ar-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.ar-modal[hidden] { display: none; }

.ar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,8,35,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s;
}
.ar-modal--open .ar-modal-backdrop { opacity: 1; }

.ar-modal-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: auto;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 92vh;
  transform: translateY(28px) scale(.97);
  opacity: 0;
  transition: transform .3s cubic-bezier(.25,.8,.25,1), opacity .3s;
  box-shadow: 0 40px 80px rgba(14,8,35,.5);
}
.ar-modal--open .ar-modal-shell {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal header */
.ar-modal-header {
  background: var(--violet-deep);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(232,160,32,.15);
}
.ar-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ar-modal-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.ar-modal-download {
  font-family: 'Poppins', sans-serif;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: .4rem .9rem;
  border: 1px solid rgba(232,160,32,.35);
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.ar-modal-download:hover { background: var(--gold); color: var(--violet-deep); }
.ar-modal-close {
  background: rgba(255,255,255,.08);
  border: none;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  line-height: 1;
}
.ar-modal-close:hover { background: rgba(255,255,255,.18); color: var(--white); }

/* Modal body */
.ar-modal-body {
  flex: 1;
  position: relative;
  background: #f0ede8;
  overflow: hidden;
}
.ar-pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transition: opacity .3s;
}

/* Loading state */
.ar-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #f0ede8;
}
.ar-loading-spinner {
  width: 36px;
  height: 36px;
  border: 2.5px solid rgba(61,43,107,.15);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: arSpin 1s linear infinite;
}
@keyframes arSpin { to { transform: rotate(360deg) } }
.ar-loading-text {
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 300;
  color: rgba(61,43,107,.4);
  letter-spacing: .08em;
}

/* ═══════════════════════════════════════
   VISION CLOSE
═══════════════════════════════════════ */
.ar-vision {
  background: var(--black);
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ar-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(232,160,32,.08) 0%, transparent 65%);
}
.ar-vision-watermark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 18vw, 22rem);
  font-weight: 700;
  color: rgba(255,255,255,.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}
.ar-vision-content { position: relative; z-index: 1; }
.ar-vision-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  max-width: 780px;
  margin: 1.5rem auto 1.2rem;
  font-style: normal;
}
.ar-vision-quote em { font-style: italic; color: var(--gold); }
.ar-vision-ref {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes arFadeUp {
  from { opacity: 0; transform: translateY(22px) }
  to   { opacity: 1; transform: translateY(0) }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet ≤ 1024px
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .ar-hero     { padding: 0 2.5rem 4rem; }
  .ar-featured { padding: 5rem 2.5rem; }
  .ar-featured-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .ar-featured-cover { max-width: 380px; }
  .ar-archive  { padding: 4.5rem 2.5rem; }
  .ar-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .ar-vision   { padding: 5rem 2.5rem; }
  .ar-modal-shell { max-width: 100%; border-radius: 0; height: 100vh; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .ar-hero     { padding: 0 1.5rem 3.5rem; min-height: 55vh; }
  .ar-featured { padding: 4rem 1.5rem; }
  .ar-featured-cover { max-width: 100%; }
  .ar-archive  { padding: 3.5rem 1.5rem; }
  .ar-archive-grid { grid-template-columns: 1fr; }
  .ar-highlights { flex-wrap: wrap; }
  .ar-highlight { min-width: 45%; }
  .ar-vision   { padding: 4rem 1.5rem; }
}

/* ── Small mobile ≤ 480px ── */
@media (max-width: 480px) {
  .ar-hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .ar-featured-actions { flex-direction: column; }
  .ar-btn { justify-content: center; }
  .ar-highlight { min-width: 40%; }
  .ar-modal-title { font-size: .82rem; }
}