/* ============================================================
   Leave a Mark — Resources page styles
   ============================================================ */

/* ── Local Fonts (Lato) ────────────────────────────────────── */
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Light.ttf');         font-weight: 300; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-LightItalic.ttf');   font-weight: 300; font-style: italic; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Regular.ttf');       font-weight: 400; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Italic.ttf');        font-weight: 400; font-style: italic; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Medium.ttf');        font-weight: 500; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-MediumItalic.ttf');  font-weight: 500; font-style: italic; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Semibold.ttf');      font-weight: 600; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Bold.ttf');          font-weight: 700; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-BoldItalic.ttf');    font-weight: 700; font-style: italic; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Heavy.ttf');         font-weight: 800; font-style: normal; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-Black.ttf');         font-weight: 900; font-style: normal; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #FFFDF6; }
body {
  font-family: 'Lato', system-ui, sans-serif;
  color: #383838;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: italic; }

/* ─── NAV ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,246,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 0.7px solid rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.logo img { height: 28px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 20px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: #383838;
  transition: color 200ms; white-space: nowrap;
}
.nav-links a:hover { color: #080F30; }
.nav-active { color: #080F30 !important; font-weight: 700 !important; position: relative; }
.nav-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -24px;
  height: 2px; background: #EF4421;
}
.nav-saved {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 9999px;
  border: 0.7px solid rgba(0,0,0,0.15);
  font-size: 13px; font-weight: 600; color: #080F30;
  transition: all 200ms;
}
.nav-saved:hover { border-color: #080F30; background: #fff; }
.nav-saved-count {
  background: #EF4421; color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 1px 7px; border-radius: 9999px;
  margin-left: 2px;
}
.nav-cta {
  background: #EF4421; color: #fff !important;
  padding: 9px 22px; border-radius: 9999px;
  font-weight: 700 !important;
  transition: background 200ms;
  white-space: nowrap;
}
.nav-cta:hover { background: #C83010; }

/* ─── HAMBURGER + MOBILE DRAWER (matches site.js nav) ─── */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; border-radius: 8px; transition: background 150ms; }
.nav-burger:hover { background: rgba(0,0,0,0.06); }
.nav-burger span { display: block; width: 22px; height: 2px; background: #080F30; border-radius: 2px; transition: transform 250ms, opacity 250ms; transform-origin: center; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { display: none; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 9999px;
  font-size: 14px; font-weight: 700;
  transition: all 200ms;
}
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-brand { background: #EF4421; color: #fff !important; }
.btn-brand:hover { background: #C83010; }
.btn-navy { background: #080F30; color: #fff !important; }
.btn-navy:hover { background: #101D51; }
.btn-outline { background: transparent; color: #383838 !important; border: 1px solid rgba(0,0,0,0.2); }
.btn-outline:hover { border-color: #383838; color: #080F30 !important; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 40px 56px;
}
.hero-grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 12% 90%, rgba(244,255,234,0.65), transparent 60%),
    radial-gradient(700px 340px at 90% 8%, rgba(253,179,164,0.35), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 52px;
}
.hero-head {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px;
  align-items: end;
}
.hero-head-aside { padding-bottom: 6px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #888; font-weight: 700;
  border: 0.7px solid rgba(0,0,0,0.18); border-radius: 4px;
  padding: 4px 9px; display: inline-block; margin-bottom: 24px;
  font-family: 'Lato', sans-serif;
}
.hero-title {
  font-family: 'Lato', sans-serif;
  font-weight: 900; color: #080F30;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 0.97; letter-spacing: -0.025em;
  margin-bottom: 0;
}
.hero-title em {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic; font-weight: 700;
  color: #EF4421;
  letter-spacing: -0.015em;
}
.hero-lead {
  font-size: 18px; line-height: 1.6; color: #383838;
  max-width: 480px; margin-bottom: 28px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 480px;
  padding-top: 24px;
  border-top: 0.7px solid rgba(0,0,0,0.12);
}
.hero-stat-num {
  font-family: 'Lato', sans-serif;
  font-weight: 900; font-size: 42px;
  color: #080F30; letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat-num span {
  font-size: 22px; color: #EF4421; font-weight: 700;
  letter-spacing: 0; margin-left: 2px;
}
.hero-stat-lbl {
  font-size: 12px; color: #888; line-height: 1.45;
  margin-top: 10px;
}

/* Topic filter chips (used in the slim toolbar) */
.chip {
  padding: 8px 16px; border-radius: 9999px;
  background: #F7F6F2;
  border: 0.7px solid rgba(0,0,0,0.08);
  font-size: 13px; font-weight: 600; color: #383838;
  transition: all 200ms;
}
.chip:hover { background: #fff; border-color: #383838; color: #080F30; }
.chip.on {
  background: #080F30; color: #fff; border-color: #080F30;
}

/* ─── FILTER TOOLBAR (slim, demoted) ───────────────────── */
.hero .card-featured { margin-bottom: 0; }

.libbar {
  border-top: 0.7px solid rgba(0,0,0,0.08);
  border-bottom: 0.7px solid rgba(0,0,0,0.08);
  background: rgba(255,253,246,0.85);
  position: sticky; top: 68px; z-index: 40;
  backdrop-filter: blur(8px);
}
.libbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 12px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.libbar-chips {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; min-width: 0;
}
.libbar-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.libbar-search {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; width: 220px;
  background: #fff; border: 0.7px solid rgba(0,0,0,0.1);
  border-radius: 9999px; color: #888;
  transition: border-color 200ms;
}
.libbar-search:focus-within { border-color: #080F30; }
.libbar-search input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  font: inherit; font-size: 14px; color: #080F30;
}
.libbar-search input::placeholder { color: #aaa; }
.libbar-format {
  font: inherit; font-size: 13px; font-weight: 600; color: #080F30;
  background: #fff;
  border: 0.7px solid rgba(0,0,0,0.1);
  border-radius: 9999px;
  padding: 9px 14px; cursor: pointer; outline: none;
}
.libbar-format:focus-visible { border-color: #080F30; }
.libbar-clear {
  font-size: 12px; font-weight: 700; color: #888;
  border: 0.7px solid rgba(0,0,0,0.15);
  border-radius: 9999px;
  padding: 7px 14px;
  transition: all 200ms;
}
.libbar-clear:hover { color: #080F30; border-color: #080F30; }

/* Count line above the grid */
.library-count {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 28px;
}
.library-count-num {
  font-family: 'Lato', sans-serif;
  font-weight: 800; font-size: 24px;
  color: #EF4421; letter-spacing: -0.02em; line-height: 1;
}
.library-count-text { font-size: 14px; color: #383838; }
.library-count-text strong { color: #080F30; font-weight: 700; }

/* ─── LIBRARY GRID ──────────────────────────────────────── */
.library { padding: 64px 40px 32px; }
.library-inner { max-width: 1280px; margin: 0 auto; }

/* Featured */
.card-featured {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: #FFFDF6;
  border: 0.7px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.cf-art {
  position: relative;
  background:
    radial-gradient(380px 280px at 30% 30%, rgba(105,224,109,0.30), transparent 70%),
    radial-gradient(380px 280px at 80% 80%, rgba(253,179,164,0.35), transparent 70%),
    #FFFDF6;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
.cf-stamp {
  position: absolute; top: 24px; left: 24px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-start;
}
.cf-stamp-label {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: #080F30;
  background: #fff; border: 0.7px solid rgba(0,0,0,0.15);
  padding: 4px 9px; border-radius: 4px;
}
.cf-stamp-num {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: 14px; color: #888;
}
.cf-mark { width: 220px; height: 220px; }

.cf-body {
  padding: 44px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cf-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.meta-dot { color: #ccc; }
.meta-text {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: #888;
}
.cf-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700; font-size: 38px; line-height: 1.15;
  color: #080F30; letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.cf-dek {
  font-size: 17px; line-height: 1.7; color: #383838;
  max-width: 540px; margin-bottom: 32px;
}
.cf-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 16px;
  border-top: 0.7px solid rgba(0,0,0,0.08);
  padding-top: 24px;
}
.cf-author { display: flex; align-items: center; gap: 12px; }
.cf-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #EF4421, #FDB3A4);
  color: #fff; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.04em;
}
.cf-name { font-size: 14px; font-weight: 700; color: #080F30; line-height: 1.2; }
.cf-role { font-size: 12px; color: #888; }
.cf-actions { display: flex; align-items: center; gap: 12px; }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-flow: dense;
}
.card {
  background: #fff;
  border: 0.7px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.14);
}
.card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 18px; gap: 12px;
}
.card-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  font-size: 22px; line-height: 1.25;
  color: #080F30; letter-spacing: -0.005em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.card-dek {
  font-size: 14px; line-height: 1.65; color: #555;
  margin-bottom: 20px; flex: 1;
}
.card-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 16px;
  border-top: 0.7px solid rgba(0,0,0,0.06);
  flex-wrap: wrap;
}
.card-by {
  font-size: 12px; color: #888;
  margin-left: auto;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #EF4421;
  margin-left: auto;
}
.card-cta:hover { color: #C83010; }

/* Topic tag */
.topic-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #080F30;
  background: #F4FFEA;
  border: 0.5px solid #BAEE9B;
  padding: 4px 10px; border-radius: 9999px;
}
.topic-tag-cream { background: #fff; border-color: rgba(0,0,0,0.1); color: #080F30; }

/* Format pill */
.format-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px; border-radius: 4px;
}
.format-pill-article { background: #E8E8E8; color: #383838; }
.format-pill-short { background: #FDB3A4; color: #5a1409; }
.format-pill-template { background: #69E06D; color: #0D3B14; }
.format-pill-video { background: #080F30; color: #fff; }
.format-pill-webinar { background: #EF4421; color: #fff; }
.format-pill-mini { background: #F7F6F2; color: #383838; border: 0.5px solid rgba(0,0,0,0.08); }

/* Article card with cover photo (from Notion meta:image) */
.card-article .card-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.card-article-photo { padding: 0; overflow: hidden; }
.card-article-photo .card-body { padding: 28px; }
.article-thumb {
  display: block; position: relative; aspect-ratio: 16 / 9;
  background: #fff; overflow: hidden;
}
.article-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-article-photo:hover .article-thumb img { transform: scale(1.04); }

/* Navy article variant */
.card-navy { background: #080F30; border-color: #080F30; }
.card-navy .card-title { color: #fff; }
.card-navy .card-dek { color: #BAEE9B; }
.card-navy .topic-tag { background: rgba(105,224,109,0.18); color: #BAEE9B; border-color: rgba(105,224,109,0.3); }
.card-navy .card-foot { border-color: rgba(255,255,255,0.1); }
.card-navy .meta-text, .card-navy .card-by { color: #888; }
.card-navy .format-pill-article { background: rgba(255,255,255,0.08); color: #BAEE9B; }
.card-navy .bookmark { color: #888; }
.card-navy .bookmark:hover, .card-navy .bookmark.on { color: #69E06D; }

/* Short card */
.card-short {
  background: #FFFDF6;
  border-color: rgba(239,68,33,0.2);
  grid-column: span 1;
}
.short-stamp {
  font-family: 'Libre Baskerville', serif;
  font-weight: 900; font-size: 64px;
  color: #EF4421; line-height: 1;
  margin: 6px 0 16px;
  letter-spacing: -0.03em;
}
.short-stamp span {
  font-size: 18px; color: #888;
  font-weight: 700; font-style: italic;
  margin-left: 4px;
}
.card-title-short {
  font-family: 'Libre Baskerville', serif;
  font-size: 19px; line-height: 1.3;
}
.card-dek-short { font-size: 13px; color: #555; }

/* Template card */
.tmpl-doc {
  position: relative;
  background: #F7F6F2;
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  aspect-ratio: 3 / 2;
}
.tmpl-doc-corner {
  position: absolute; top: 0; right: 0;
  width: 28px; height: 28px;
  background: linear-gradient(225deg, #fff 50%, rgba(0,0,0,0.06) 50%);
  border-radius: 0 8px 0 8px;
}
.tmpl-doc-lines {
  display: flex; flex-direction: column; gap: 7px;
  margin-top: 8px;
}
.tmpl-doc-lines span {
  height: 4px; background: rgba(0,0,0,0.12); border-radius: 2px;
}
.tmpl-doc-lines span:first-child { background: #69E06D; height: 5px; }

/* Video card */
.card-video {
  padding: 0; overflow: hidden;
  grid-column: span 2;
}
.video-thumb {
  position: relative; aspect-ratio: 16 / 7;
  background: #080F30;
  display: flex; align-items: center; justify-content: center;
}
.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-play {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  background: #EF4421; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(239,68,33,0.4);
  transition: transform 200ms;
}
.card-video:hover .video-play { transform: scale(1.08); }
.video-play svg { transform: translateX(2px); }
.video-duration {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(8,15,48,0.85);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.card-video .card-body { padding: 28px; }

/* Webinar card */
.card-webinar {
  padding: 0; overflow: hidden;
  grid-column: span 2;
}
.webinar-thumb {
  position: relative; aspect-ratio: 16 / 7;
  background: #080F30;
  display: flex; align-items: center; justify-content: center;
}
.webinar-thumb-photo .webinar-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.webinar-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.webinar-live-pill {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: #EF4421; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 4px;
}
.card-webinar .card-body { padding: 28px; }
.card-webinar:hover .card-cta { color: #EF4421; }

/* Bookmark */
.bookmark {
  width: 32px; height: 32px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #aaa;
  transition: all 200ms;
  flex-shrink: 0;
}
.bookmark:hover { color: #080F30; background: rgba(0,0,0,0.04); }
.bookmark.on { color: #EF4421; }
.bookmark-featured {
  background: #fff; border: 0.7px solid rgba(0,0,0,0.12);
  width: 44px; height: 44px;
}

/* Empty state */
.empty {
  padding: 80px 0; text-align: center;
  border: 0.7px dashed rgba(0,0,0,0.15);
  border-radius: 16px;
}
.empty h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px; color: #080F30;
  margin-bottom: 8px;
}
.empty p { color: #555; }
.empty a { color: #EF4421; font-weight: 700; }

/* ─── CONVERT ───────────────────────────────────────────── */
.convert {
  background: #080F30;
  margin: 64px 40px 40px;
  border-radius: 24px;
  padding: 80px 64px;
  position: relative; overflow: hidden;
}
.convert::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,33,0.45), transparent 65%);
  pointer-events: none;
}
.convert-inner {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: center;
}
.convert-eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: #69E06D;
  border: 0.7px solid rgba(105,224,109,0.4); border-radius: 4px;
  padding: 4px 9px; display: inline-block; margin-bottom: 24px;
}
.convert-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700; font-size: 44px;
  line-height: 1.15; color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.convert-lead {
  font-size: 17px; line-height: 1.7; color: #BAEE9B;
  max-width: 520px; margin-bottom: 36px;
}
.convert-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.convert-link {
  font-size: 14px; font-weight: 600;
  color: #888; transition: color 200ms;
}
.convert-link:hover { color: #69E06D; }
.convert-card {
  background: rgba(255,255,255,0.04);
  border: 0.7px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: blur(4px);
}
.convert-card-eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: #888;
  margin-bottom: 24px;
}
.convert-card-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 28px;
}
.convert-card-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; line-height: 1.6; color: #fff;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 8px; flex-shrink: 0;
}
.dot-green { background: #69E06D; box-shadow: 0 0 12px rgba(105,224,109,0.6); }
.dot-coral { background: #F98A74; }
.dot-navy { background: #fff; }
.convert-card-foot {
  display: flex; align-items: center; gap: 10px;
  padding-top: 24px;
  border-top: 0.7px solid rgba(255,255,255,0.08);
  font-size: 12px; color: #888;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #69E06D;
  box-shadow: 0 0 10px rgba(105,224,109,0.8);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer { background: #080F30; padding: 64px 40px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo { height: 22px; filter: invert(1) brightness(2); margin-bottom: 16px; display: block; }
.footer-desc { font-size: 14px; line-height: 1.7; color: #888; margin-bottom: 16px; max-width: 280px; }
.footer-loc {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #888; border: 0.5px solid #383838;
  padding: 3px 8px; border-radius: 4px;
}
.footer-col-title {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #888; border: 0.5px solid #383838;
  padding: 3px 8px; border-radius: 4px;
  display: inline-block; margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #888; transition: color 200ms; }
.footer-links a:hover { color: #69E06D; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 0.7px solid rgba(255,255,255,0.06);
  font-size: 13px; color: #555;
}
.footer-copy span { color: #BAEE9B; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: #555; transition: color 200ms; }
.footer-legal a:hover { color: #888; }

/* ─── DRAWER ────────────────────────────────────────────── */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,15,48,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 250ms;
  backdrop-filter: blur(2px);
}
.drawer-scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 90vw);
  background: #FFFDF6; z-index: 101;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 40px rgba(0,0,0,0.15);
}
.drawer.on { transform: translateX(0); }
.drawer-head {
  padding: 28px 28px 20px;
  display: flex; align-items: flex-start; justify-content: space-between;
  border-bottom: 0.7px solid rgba(0,0,0,0.08);
}
.drawer-eyebrow {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #888; font-weight: 700; margin-bottom: 4px;
}
.drawer-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 24px; color: #080F30;
  font-weight: 700;
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 9999px;
  border: 0.7px solid rgba(0,0,0,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: #383838; transition: all 200ms;
}
.drawer-close:hover { background: #080F30; color: #fff; border-color: #080F30; }
.drawer-body {
  flex: 1; overflow-y: auto;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.drawer-empty {
  text-align: center; padding: 60px 24px;
  color: #888;
}
.drawer-empty p { color: #080F30; font-weight: 600; margin-bottom: 8px; font-size: 16px; }
.drawer-empty-hint { color: #888 !important; font-weight: 400 !important; font-size: 13px !important; line-height: 1.6; }
.drawer-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 0.7px solid rgba(0,0,0,0.06);
  border-radius: 10px;
}
.drawer-row-body { flex: 1; min-width: 0; }
.drawer-row-title {
  font-size: 14px; font-weight: 700;
  color: #080F30; line-height: 1.4;
  margin-bottom: 4px;
}
.drawer-row-meta { font-size: 11px; color: #888; }
.drawer-remove {
  color: #aaa; padding: 4px; border-radius: 4px;
  transition: all 200ms;
}
.drawer-remove:hover { color: #EF4421; background: rgba(239,68,33,0.08); }
.drawer-foot {
  padding: 20px 28px 28px;
  border-top: 0.7px solid rgba(0,0,0,0.08);
}
.drawer-cta { width: 100%; justify-content: center; }
.drawer-foot-note {
  font-size: 12px; color: #888;
  text-align: center; margin-top: 12px; line-height: 1.5;
}

/* ─── TWEAKS HERO PREVIEW ───────────────────────────────── */
.tweak-hero-preview {
  margin-top: 16px; padding: 14px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
}
.tweak-hero-preview-eyebrow {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #888; margin-bottom: 6px; font-weight: 700;
}
.tweak-hero-preview-body {
  font-size: 11px; color: #383838; line-height: 1.5;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card-video, .card-webinar { grid-column: span 2; }
  .card-featured { grid-template-columns: 1fr; }
  .cf-art { min-height: 280px; }
  .convert-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .nav-inner { padding: 0 20px; gap: 8px; }
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .nav-drawer {
    display: block;
    position: fixed; inset: 68px 0 0 0;
    background: rgba(255,253,246,0.97); backdrop-filter: blur(12px);
    z-index: 49;
    padding: 24px 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.4,0,0.2,1);
  }
  .nav-drawer.open { transform: translateX(0); }
  .nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .nav-drawer ul li a { display: block; padding: 14px 12px; font-size: 18px; font-weight: 600; color: #383838; border-radius: 10px; transition: background 150ms, color 150ms; }
  .nav-drawer ul li a:hover { background: rgba(0,0,0,0.04); color: #080F30; }
  .nav-drawer ul li a.nav-active { color: #080F30; }
  .nav-drawer ul li a.nav-active::after { display: none; }
  .nav-drawer .drawer-cta { margin-top: 16px; }
  .nav-drawer .drawer-cta a { display: block; text-align: center; background: #EF4421; color: #fff !important; padding: 14px 24px; border-radius: 9999px; font-weight: 700; font-size: 16px; }
  .nav-drawer .drawer-cta a:hover { background: #C83010; }
  .hero { padding: 56px 20px 64px; }
  .hero-stats { grid-template-columns: 1fr; }
  .libbar-inner { padding: 12px 20px; flex-direction: column; align-items: stretch; gap: 12px; }
  .libbar-chips { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .libbar-tools { width: 100%; }
  .libbar-search { flex: 1; width: auto; }
  .library { padding: 40px 20px; }
  .grid { grid-template-columns: 1fr; }
  .card-video, .card-webinar { grid-column: span 1; }
  .cf-body { padding: 28px; }
  .cf-title { font-size: 28px; }
  .convert { margin: 40px 16px; padding: 48px 24px; border-radius: 16px; }
  .convert-title { font-size: 32px; }
  .footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ─── ARTICLE LINK + AVATAR PHOTO ─── */
.cf-avatar { overflow: hidden; padding: 0; }
.cf-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.card-title-link { color: inherit; text-decoration: none; transition: color 160ms; }
.card-title-link:hover { color: #EF4421; }

/* ─── FEATURED CARD PHOTO ─── */
.cf-art-photo { position: relative; overflow: hidden; padding: 0; }
.cf-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-art-photo .cf-stamp { position: relative; z-index: 2; }
