/* =============================================
   SEEDIGITAL REELS — /reels/ page
   Newsroom layout: serif masthead, hairline rules, 9:16 video grid
   Uses the site tokens from style.css (--bg, --serif, --sans, --text-*)
   ============================================= */
.rl-body { background: var(--bg); }
.rl-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 24px 72px;
}

/* Masthead */
.rl-masthead { margin-bottom: 36px; }
.rl-rule { height: 3px; background: var(--text-w); opacity: .92; }
.rl-rule--thin { height: 1px; opacity: .18; margin-top: 18px; }
.rl-mast-row {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-3);
}
.rl-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text-w);
  margin: 18px 0 10px;
}
.rl-dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.35;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 0 22px;
  text-wrap: balance;
}
.rl-mast-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.rl-handle { font-size: 13px; color: var(--text-3); }

.rl-follow-legacy {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: #0b0c10;
  background: #fff;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.rl-follow-legacy:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(236,72,153,0.25); }
.rl-follow:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.rl-sections {
  display: flex; gap: 6px 18px; flex-wrap: wrap;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.rl-sections a { color: var(--text-2); text-decoration: none; padding: 2px 0; border-bottom: 1px solid transparent; }
.rl-sections a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* Sections */
.rl-section { margin-bottom: 48px; scroll-margin-top: 80px; }
.rl-section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 12px;
  margin-bottom: 18px;
}
.rl-section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.1;
  color: var(--text-w);
  margin: 0;
}
.rl-count { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }

.rl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 28px 20px;
}
.rl-grid--latest { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards */
.rl-card { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rl-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 100%;
  background: #111218;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.rl-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #111218; display: block; }
.rl-meta { display: flex; flex-direction: column; gap: 4px; }
.rl-kicker {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #f472b6;
}
.rl-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  color: var(--text-w);
  margin: 0;
  text-wrap: balance;
}
.rl-card--lead .rl-title { font-size: 22px; }

/* Closing CTA + footer */
.rl-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 3px solid rgba(255,255,255,0.9);
  padding-top: 18px;
}
.rl-cta-line { font-family: var(--serif); font-size: 24px; color: var(--text-w); margin: 0; }
.rl-foot {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: flex; gap: 10px 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-3);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.rl-foot a { color: var(--text-2); text-decoration: none; margin-left: auto; }
.rl-foot a:hover { color: #fff; }

.filter--reels.is-current { color: #fff; background: rgba(255,255,255,0.08); }

@media (max-width: 1024px) {
  .rl-grid--latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .rl-wrap { padding: 18px 16px 56px; }
  .rl-masthead { margin-bottom: 26px; }
  .rl-mast-row { flex-direction: column; gap: 4px; }
  .rl-sections { flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .rl-sections::-webkit-scrollbar { display: none; }
  .rl-sections a { white-space: nowrap; }
  .rl-grid, .rl-grid--latest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .rl-title { font-size: 16.5px; }
  .rl-card--lead .rl-title { font-size: 16.5px; }
  .rl-cta-line { font-size: 20px; }
  .rl-foot a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rl-follow { transition: none; }
}
