/* Home page — page-specific styles */

/* ===== HERO ===== */
.page-home .hero {
  position: relative; background: var(--ink); color: var(--paper);
  padding: 48px 0 0; overflow: hidden;
}
.page-home .hero.hero-outro { padding-bottom: 64px; }
.page-home .hero::before {
  content: ""; position: absolute; inset: 0;
  /* Both glows now warm gold tones (the second one used to be forest green,
     left over from the original neutral-dark theme — it clashed with the
     new bronze/gold palette, showing up as a muddy greenish patch). */
  background:
    radial-gradient(circle at 78% 30%, rgba(232, 199, 101, 0.18), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(203, 161, 53, 0.22), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding-bottom: 64px;
}
/* Premium ad slider — slides are injected at runtime from /api/ads/premium
   (see loadPremiumAds() in Home.html). Box matches the standard premium ad
   artwork ratio (8x12in = 2:3) via aspect-ratio, so it scales cleanly at
   every screen width with no letterboxing; object-fit:contain still covers
   any advertiser artwork that isn't exactly 8x12. */
.section-head.hero-premium-head { margin-bottom: 18px; padding-bottom: 0; border-bottom: none; }
.hero-premium-head .section-eyebrow { color: var(--brass); }
.hero-premium-head h2 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 6px; }
.hero-premium-head .desc { margin-bottom: 0; color: rgba(244, 227, 184, 0.62); }
.hero-sample-ad {
  display: block; position: relative; width: 100%; max-width: 380px; aspect-ratio: 8 / 12; margin-bottom: 28px;
  border: 1px solid var(--brass-dim); border-radius: 8px; overflow: hidden; background: #0d0d0f;
  box-shadow: 0 0 0 1px rgba(232, 199, 101, 0.12), 0 18px 40px -18px rgba(0, 0, 0, 0.65), 0 0 18px 0 rgba(232, 199, 101, 0.15);
  animation: premium-glow 3.2s ease-in-out infinite;
}
@keyframes premium-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(232, 199, 101, 0.12), 0 18px 40px -18px rgba(0, 0, 0, 0.65), 0 0 18px 0 rgba(232, 199, 101, 0.15); }
  50%      { box-shadow: 0 0 0 1px rgba(232, 199, 101, 0.4),  0 18px 40px -18px rgba(0, 0, 0, 0.65), 0 0 34px 6px rgba(232, 199, 101, 0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sample-ad { animation: none; }
}
.hero-sample-ad-track { position: absolute; inset: 0; }
.hero-sample-slide {
  position: absolute; inset: 0; display: block; opacity: 0; z-index: 0;
  transition: opacity 0.6s ease;
}
.hero-sample-slide.is-active { opacity: 1; z-index: 1; }
.hero-sample-backdrop {
  position: absolute; inset: -4%; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(22px) brightness(0.55) saturate(1.15);
}
.hero-sample-slide img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.hero-sample-slide video {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain; display: block; background: #0d0d0f;
}

/* Diagonal watermark stamped across every premium ad image so it can't be
   mistaken for regular free listing artwork. Purely decorative — hidden
   from assistive tech via aria-hidden set in the JS that builds this node. */
.premium-watermark {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 38px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(232, 199, 101, 0.16);
  -webkit-text-stroke: 1px rgba(232, 199, 101, 0.28);
  transform: rotate(-28deg);
  white-space: nowrap;
}
/* Sized in fixed px per breakpoint (matching .hero-sample-ad's own
   max-width tiers) instead of vw — the watermark must scale with the ad
   box itself, not the phone's full screen width, or it overflows the box
   and only a clipped fragment of "PREMIUM" is visible. */
@media (max-width: 960px) {
  .premium-watermark { font-size: 32px; }
}
@media (max-width: 560px) {
  .premium-watermark { font-size: 26px; }
}
.hero-sample-ad-dots {
  position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 6px;
}
.hero-sample-ad-dot {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(244, 227, 184, 0.4);
  cursor: pointer; transition: background 0.2s;
}
.hero-sample-ad-dot.is-active { background: var(--brass-hi); }
.hero-sample-ad-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(244, 227, 184, 0.35);
  background: rgba(14, 13, 11, 0.55); color: var(--paper); font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.hero-sample-ad-arrow:hover { background: rgba(14, 13, 11, 0.85); border-color: var(--brass-hi); color: var(--brass-hi); }
.hero-sample-ad-arrow.prev { left: 8px; }
.hero-sample-ad-arrow.next { right: 8px; }
@media (max-width: 960px) {
  .hero-sample-ad { max-width: 320px; }
}
@media (max-width: 560px) {
  .hero-sample-ad { max-width: 310px; margin-left: auto; margin-right: auto; }
}

.hero-eyebrow {

  cursor: default;
  position: relative; overflow: hidden;
  font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 34px;
  color: #FFD24C; padding: 12px 24px;
  border: 1px solid rgba(255, 210, 76, 0.4); border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 210, 76, 0.1), rgba(255, 210, 76, 0.02));
  text-shadow: 0 0 14px rgba(255, 210, 76, 0.5);
  opacity: 0; scale: 0.95;
  animation:
    eyebrow-intro 0.5s ease-out forwards,
    eyebrow-seesaw 2.6s ease-in-out infinite 0.5s;
}
.hero-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FFD24C; flex-shrink: 0;
  box-shadow: 0 0 8px #FFD24C;
  animation: eyebrow-dot-pulse 2.2s ease-in-out infinite;
}
.hero-eyebrow::after {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 246, 214, 0.55), transparent);
  transform: translateX(-150%) skewX(-20deg);
  will-change: transform;
  animation: eyebrow-sweep 3.6s ease-in-out infinite 1s;
}
.hero-eyebrow .ew-text { position: relative; z-index: 1; }
@keyframes eyebrow-intro {
  0% { opacity: 0; scale: 0.9; }
  100% { opacity: 1; scale: 1; }
}
@keyframes eyebrow-sweep {
  0% { transform: translateX(-150%) skewX(-20deg); }
  35%, 100% { transform: translateX(325%) skewX(-20deg); }
}
@keyframes eyebrow-seesaw {
  0%, 100% { transform: perspective(600px) rotateY(-18deg); }
  50% { transform: perspective(600px) rotateY(18deg); }
}
@keyframes eyebrow-dot-pulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 6px #FFD24C; }
  50% { opacity: 1; box-shadow: 0 0 14px #FFD24C; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow { animation: none; opacity: 1; scale: 1; transform: none; }
  .hero-eyebrow::before, .hero-eyebrow::after { animation: none; }
}
@media (max-width: 560px) {
  .hero-eyebrow { font-size: 11px; padding: 9px 14px; gap: 8px; margin-bottom: 24px; }
}
@media (max-width: 360px) {
  .hero-eyebrow { font-size: 9.5px; padding: 7px 10px; }
}

.hero-announce {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 24px; padding: 22px 145px 24px 26px;
  border: 1px solid rgba(255, 210, 76, 0.35); border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 210, 76, 0.1), rgba(255, 210, 76, 0.015) 60%);
  box-shadow: 0 0 0 1px rgba(255, 210, 76, 0.05) inset, 0 18px 40px -22px rgba(255, 210, 76, 0.4);
  overflow: hidden;
}
.hero-announce::after {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 246, 214, 0.25), transparent);
  transform: translateX(-160%) skewX(-20deg); will-change: transform;
  animation: eyebrow-sweep 4.2s ease-in-out infinite 0.6s;
}
.hero-announce-kicker {
  position: relative; z-index: 1;
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #FFD24C;
}
.hero-announce-star {
  position: absolute; z-index: 3; top: 16px; right: 16px;
  width: 112px; height: 112px;
  display: flex; align-items: center; justify-content: center;
  animation: star-pulse 2.6s ease-in-out infinite;
}
.hero-announce-star .star-shape {
  position: absolute; inset: 8px; border-radius: 12px;
  background: linear-gradient(135deg, #FFECB0, #FFD24C 55%, #E0891F);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}
.hero-announce-star .s1 { transform: rotate(0deg); }
.hero-announce-star .s2 { transform: rotate(30deg); }
.hero-announce-star .s3 { transform: rotate(60deg); }
.hero-announce-star .star-text {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: #241705; font-family: 'IBM Plex Mono', monospace; line-height: 1;
  transform: rotate(-8deg);
}
.hero-announce-star .l1, .hero-announce-star .l3 {
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-announce-star .l2 { font-size: 30px; font-weight: 800; margin: 1px 0; }
@keyframes star-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.07) rotate(2deg); }
}
@media (max-width: 560px) {
  .hero-announce-star { width: 92px; height: 92px; top: 12px; right: 12px; }
  .hero-announce-star .l1, .hero-announce-star .l3 { font-size: 7px; }
  .hero-announce-star .l2 { font-size: 24px; }
}
@media (max-width: 360px) {
  .hero-announce-star { width: 78px; height: 78px; top: 9px; right: 9px; }
  .hero-announce-star .l1, .hero-announce-star .l3 { font-size: 6px; }
  .hero-announce-star .l2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-announce-star { animation: none; }
}
.hero-announce-headline {
  position: relative; z-index: 1;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 34px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #FFD24C;
  text-shadow: 0 0 22px rgba(255, 210, 76, 0.55);
  background: linear-gradient(180deg, #FFF3C4, #FFD24C 60%, #E8B93D);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-announce-tagline {
  position: relative; z-index: 1;
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 16px;
  color: var(--off, #F4E3B8);
}
@media (max-width: 560px) {
  .hero-announce { padding: 18px 112px 20px 20px; }
  .hero-announce-headline { font-size: 26px; }
  .hero-announce-tagline { font-size: 13.5px; }
}
@media (max-width: 360px) {
  .hero-announce { padding: 16px 92px 18px 18px; }
  .hero-announce-kicker { font-size: 10.5px; }
  .hero-announce-headline { font-size: 22px; }
}

.hero-wa-note {
  display: inline-flex; align-items: center; gap: 12px; max-width: 460px;
  background: linear-gradient(180deg, var(--wa-bg), rgba(63, 166, 110, 0.04));
  border: 1px solid rgba(63, 166, 110, 0.35); border-radius: 30px;
  padding: 8px 20px 8px 8px; margin: 0 0 30px;
  box-shadow: 0 6px 18px rgba(63, 166, 110, 0.1);
}
.hero-wa-note-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--wa); color: #0D0D0F;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(63, 166, 110, 0.5);
}
.hero-wa-note-text {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--off);
}
@media (max-width: 560px) {
  .hero-wa-note { padding: 6px 16px 6px 6px; margin-bottom: 22px; gap: 10px; }
  .hero-wa-note-icon { width: 26px; height: 26px; }
  .hero-wa-note-icon svg { width: 13px; height: 13px; }
  .hero-wa-note-text { font-size: 12.5px; }
}
.page-home .hero h1 {
  font-size: clamp(46px, 7vw, 92px); font-weight: 600; line-height: 0.98; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.page-home .hero h1 .accent { font-style: italic; font-weight: 400; color: var(--brass-hi); }
.page-home .hero p.lede { font-size: 16.5px; color: var(--paper-dim); max-width: 420px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta { display: flex; gap: 38px; margin-top: 52px; flex-wrap: wrap; }
.hero-meta div { border-left: 1px solid var(--line-dark); padding-left: 16px; }
.hero-meta .num { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; color: var(--brass-hi); }
.hero-meta .lbl {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--paper-dim);
}

.issue-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; margin-top: -48px; }
.spot {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 161, 53, 0.28), transparent 65%);
  filter: blur(10px); pointer-events: none; z-index: 0;
}
.issue-card {
  position: relative; z-index: 1;
  background: var(--card); border: 1px solid var(--line-dark);
  padding: 16px 16px 24px; max-width: 410px; width: 100%;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  transform: rotateX(4deg) rotateY(-8deg);
  transition: transform 0.15s ease-out;
}
.issue-card-link { display: block; color: inherit; }
.issue-img-frame { position: relative; aspect-ratio: 3/4; overflow: hidden; background: linear-gradient(160deg, #2a2620, #151310); }
.issue-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.issue-card.img-fallback .issue-img-frame img { display: none; }
.issue-cover-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.issue-card:not(.img-fallback) .issue-cover-video { display: none; }
.video-sound-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(244, 227, 184, 0.35);
  background: rgba(10, 9, 8, 0.6); color: var(--paper, #F4E3B8); font-size: 15px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.video-sound-toggle:hover { background: rgba(10, 9, 8, 0.8); border-color: var(--brass-hi); }
.issue-card:not(.img-fallback) .video-sound-toggle { display: none; }
.issue-img-frame .fallback-label {
  position: absolute; inset: 0; z-index: 1; display: none; align-items: center; justify-content: center; text-align: center;
  padding: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--brass-hi);
  background-image: linear-gradient(rgba(10, 9, 8, 0.55), rgba(10, 9, 8, 0.55)), repeating-linear-gradient(rgba(244, 227, 184, 0.06) 0px, rgba(244, 227, 184, 0.06) 1px, transparent 1px, transparent 24px);
}
/* The video already fills this frame — the dark text-fallback overlay above
   would otherwise dim it, so keep it near-transparent while a video plays. */
.issue-card.img-fallback .issue-cover-video ~ .fallback-label {
  background-image: linear-gradient(rgba(10, 9, 8, 0.08), rgba(10, 9, 8, 0.08)), repeating-linear-gradient(rgba(244, 227, 184, 0.06) 0px, rgba(244, 227, 184, 0.06) 1px, transparent 1px, transparent 24px);
}
.issue-card.img-fallback .fallback-label { display: flex; }
.issue-card .cap {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper-dim);
}
.issue-card .flag {
  position: absolute; top: -12px; left: 16px; background: var(--brass-hi); color: var(--ink);
  font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px;
}
@media (max-width: 960px) {
  .page-home .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .issue-stage { margin-top: 32px; }
  .page-home .hero h1 { font-size: clamp(38px, 10vw, 58px); }
  .spot { width: min(420px, 85vw); height: min(420px, 85vw); }
  .issue-card { transform: none; }
  .hero-meta { gap: 24px; margin-top: 36px; }
}
@media (max-width: 560px) {
  .page-home .hero { padding-top: 24px; }
  .page-home .hero h1 { margin-bottom: 16px; }
  .page-home .hero p.lede { margin-bottom: 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; justify-content: center; }
  .hero-meta { gap: 18px; margin-top: 18px; }
  .hero-meta div { padding-left: 12px; }
  .hero-meta .num { font-size: 22px; }
}

.hero-strip {
  position: relative; z-index: 2; border-top: 1px solid var(--line-dark);
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.hero-strip .mono { font-size: 10.5px; color: var(--paper-dim); text-transform: uppercase; }
.scroll-cue { display: flex; align-items: center; gap: 10px; color: var(--brass-hi); }
.scroll-cue .line { width: 1px; height: 26px; background: var(--brass-hi); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
  margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line-light);
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 600; }
.section-head .desc { font-size: 13.5px; color: rgba(14, 13, 11, 0.6); max-width: 360px; }
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-dim); margin-bottom: 10px; display: block;
}

/* ===== SPONSOR BANNER AD SLOT ===== */
.sponsor-banner-section { background: var(--ink); padding: 8px 0 48px; }
.sponsor-banner {
  position: relative;
  border: 1px dashed var(--brass-dim);
  border-radius: 10px;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(203, 161, 53, 0.08), transparent);
}
.sponsor-banner-eyebrow {
  position: absolute; top: -11px; left: 24px;
  background: var(--ink); padding: 0 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass);
}
.sponsor-banner-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sponsor-banner-mark { flex-shrink: 0; }
.sponsor-banner-mark img { width: 52px; height: 52px; object-fit: contain; }
.sponsor-banner-text { flex: 1; min-width: 220px; }
.sponsor-banner-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 19px; color: var(--paper); }
.sponsor-banner-sub { font-size: 13px; color: rgba(244, 227, 184, 0.6); margin-top: 4px; }
@media (max-width: 700px) {
  .sponsor-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== ADVERTISERS PREVIEW ===== */
.advertisers-preview { background: var(--ink); padding: 24px 0 80px; }
.advertisers-preview .section-head { margin-bottom: 20px; padding-bottom: 12px; }
.advertisers-preview .section-head h2 { color: var(--paper); font-size: clamp(20px, 2.6vw, 28px); }
.advertisers-preview .section-head .desc { color: rgba(244, 227, 184, 0.62); }
.advertisers-preview .section-eyebrow { color: var(--brass); }
@media (max-width: 960px) {
  .advertisers-preview { padding-top: 16px; }
}
@media (max-width: 700px) {
  .advertisers-preview { padding-top: 12px; }
  .advertisers-preview .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ===== AD CAROUSEL ===== */
.ad-carousel {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-dark); background: var(--card);
}
.ad-carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ad-carousel-slide { flex: 0 0 100%; display: block; position: relative; height: 500px; overflow: hidden; background: #0d0d0f; }
.ad-carousel-slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.ad-carousel-slide video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; background: #0d0d0f; }
.ad-carousel-slide.text-slide {
  height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px; gap: 10px; color: var(--paper);
}
.ad-carousel-slide.text-slide .cat-tag {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-hi);
  border: 1px solid var(--line-dark); border-radius: 20px; padding: 4px 12px;
}
.ad-carousel-slide.text-slide h3 { font-size: 26px; margin: 0; max-width: 90%; }
.ad-carousel-slide.text-slide p { font-size: 14px; color: rgba(244, 227, 184, 0.7); margin: 0; }
.ad-carousel-slide.text-slide .wa-cta {
  margin-top: 8px; font-size: 13px; color: var(--brass-hi); border: 1px solid var(--brass-hi);
  border-radius: 20px; padding: 8px 18px; text-decoration: none;
}
.ad-carousel-slide.text-slide .sample-badge {
  margin-top: 8px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper-dim); border: 1px dashed var(--line-dark); border-radius: 20px; padding: 6px 16px;
}
.wa-cta-overlay {
  position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%);
  font-size: 13px; color: var(--ink); background: var(--brass-hi);
  border-radius: 20px; padding: 8px 18px; white-space: nowrap;
}
.sample-badge-overlay {
  position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper);
  background: rgba(14, 13, 11, 0.7); border: 1px dashed rgba(244, 227, 184, 0.4);
  border-radius: 20px; padding: 6px 16px; white-space: nowrap;
}
.ad-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: rgba(14, 13, 11, 0.6); color: var(--paper); font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.ad-carousel-arrow:hover { background: rgba(14, 13, 11, 0.85); border-color: var(--brass-hi); color: var(--brass-hi); }
.ad-carousel-arrow.prev { left: 14px; }
.ad-carousel-arrow.next { right: 14px; }
.ad-carousel-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 7px;
}
.ad-carousel-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 227, 184, 0.4);
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.ad-carousel-dots span.active { background: var(--brass-hi); transform: scale(1.2); }
@media (max-width: 560px) {
  .ad-carousel-slide { height: 340px; }
  .ad-carousel-slide.text-slide { height: 340px; padding: 20px; }
  .ad-carousel-slide.text-slide h3 { font-size: 20px; }
  .ad-carousel-arrow { width: 32px; height: 32px; font-size: 17px; }
}

.img-lightbox {
  display: none; position: fixed; inset: 0; z-index: 400; background: rgba(8, 8, 9, 0.94);
  align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(4px);
}
.img-lightbox.open { display: flex; }
.img-lightbox-card { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.img-lightbox-card img { max-width: 100%; max-height: 76vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.img-lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(21, 21, 26, 0.85); border: 1px solid var(--line-dark); color: var(--paper);
  display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; z-index: 2;
}
.img-lightbox-close:hover { border-color: var(--brass-hi); color: var(--brass-hi); }
.img-lightbox-wa {
  display: inline-flex; align-items: center; gap: 9px; background: var(--wa); color: #0D0D0F;
  padding: 13px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.2s;
}
.img-lightbox-wa:hover { background: #4FBF80; }

/* ===== CLASSIFIEDS PREVIEW ===== */
.classifieds-preview { background: var(--ink); padding: 24px 0 40px; border-top: 1px solid var(--line-dark); }
.classifieds-preview .section-head h2 { color: var(--paper); font-size: clamp(20px, 2.6vw, 28px); }
.classifieds-preview .section-head .desc { color: rgba(244, 227, 184, 0.62); }
.classifieds-preview .section-eyebrow { color: var(--brass); }
@media (max-width: 960px) {
  .classifieds-preview { padding-top: 16px; }
}
@media (max-width: 700px) {
  .classifieds-preview { padding-top: 12px; }
  .classifieds-preview .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ===== VIDEO ADS PREVIEW ===== */
.video-ads-preview { background: var(--ink); padding: 24px 0 80px; border-top: 1px solid var(--line-dark); }
.video-ads-preview .section-head h2 { color: var(--paper); font-size: clamp(20px, 2.6vw, 28px); }
.video-ads-preview .section-head .desc { color: rgba(244, 227, 184, 0.62); }
.video-ads-preview .section-eyebrow { color: var(--brass); }
@media (max-width: 960px) {
  .video-ads-preview { padding-top: 16px; }
}
@media (max-width: 700px) {
  .video-ads-preview { padding-top: 12px; }
  .video-ads-preview .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.reading-room { padding: 24px 0 90px; background: var(--ink); }
@media (max-width: 960px) {
  .reading-room { padding-top: 16px; }
}
@media (max-width: 700px) {
  .reading-room { padding-top: 12px; }
}
.filter-row { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.filter-pill {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 18px; border: 1px solid var(--line-dark); border-radius: 100px; cursor: pointer;
  color: rgba(244, 227, 184, 0.55); transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--brass); color: var(--paper); }
.filter-pill.on { background: var(--brass-hi); color: var(--ink); border-color: var(--brass-hi); }

.month-group { margin-bottom: 60px; }
.month-label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.month-label .ghost-num {
  font-family: 'Fraunces', serif; font-size: 52px; font-weight: 300; color: rgba(244, 227, 184, 0.08); line-height: 1;
}
.month-label h3 { font-size: 20px; font-weight: 600; color: var(--paper); }
.month-label .rule { flex: 1; height: 1px; background: var(--line-dark); }
.month-label .count { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: rgba(244, 227, 184, 0.4); }

.issues-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 22px; }
.mini-card { cursor: pointer; display: block; color: inherit; }
.mini-frame {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  background: linear-gradient(160deg, #2a2620, #151310); border: 1px solid var(--line-dark);
  box-shadow: 0 14px 26px -18px rgba(14, 13, 11, 0.5);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.mini-frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(rgba(244, 227, 184, 0.05) 0px, rgba(244, 227, 184, 0.05) 1px, transparent 1px, transparent 22px);
  opacity: 0; transition: opacity 0.2s;
}
.mini-frame.img-fallback::before { opacity: 1; }
.mini-frame.img-fallback img { display: none; }
.mini-frame.img-fallback::after {
  content: attr(data-fallback-label);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brass-hi); opacity: 0.85;
}
.mini-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.5s; }
.mini-frame .overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14, 13, 11, 0.9) 100%);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; opacity: 0; transition: opacity 0.3s;
}
.overlay span {
  color: var(--paper); font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--brass-hi); padding-bottom: 3px;
}
.mini-card .tag {
  margin-top: 11px; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.05em;
  color: rgba(244, 227, 184, 0.55); text-transform: uppercase;
}
.mini-card.current .mini-frame { outline: 2px solid var(--brass); outline-offset: 3px; }

.reading-room .section-head { border-bottom: 1px solid var(--line-dark); }
.reading-room .section-head h2 { color: var(--paper); }
.reading-room .section-head .desc { color: rgba(244, 227, 184, 0.62); }
.reading-room .section-eyebrow { color: var(--brass); }

@media (hover: hover) and (pointer: fine) {
  .mini-card:hover .mini-frame { transform: translateY(-8px) rotate(-0.6deg); box-shadow: 0 24px 34px -16px rgba(14, 13, 11, 0.55); }
  .mini-card:hover .mini-frame img { transform: scale(1.05); }
  .mini-card:hover .overlay { opacity: 1; }
}

.quote-strip { background: var(--panel-raised); color: var(--paper); padding: 100px 0; position: relative; overflow: hidden; }
.quote-strip::before {
  content: "\201C"; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  font-family: 'Fraunces', serif; font-size: 340px; color: rgba(244, 227, 184, 0.06); line-height: 1;
}
.quote-strip .wrap { position: relative; z-index: 1; text-align: center; }
.quote-strip p {
  font-family: 'Fraunces', serif; font-weight: 400; font-style: italic;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.35; max-width: 820px; margin: 0 auto 28px;
}
.quote-strip .who {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-hi);
}

.page-home .cta-band { background: var(--ink); color: var(--paper); padding: 90px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(30px, 4.6vw, 50px); max-width: 560px; }
.cta-inner .accent { color: var(--brass-hi); font-style: italic; }
