/* ─────────────────────────────────────────
   HOMELESS MEDIA — Global Stylesheet
   ───────────────────────────────────────── */

/* TOKENS */
:root {
  --ink: #0e0e0d;
  --paper: #f4f1eb;
  --muted: #9a9488;
  --accent: #c84b2f;
  --accent-light: #f5ede9;
  --border: rgba(14,14,13,0.1);
  --border-med: rgba(14,14,13,0.2);
  --green: #2a6b4a;
  --green-light: #e6f2ec;
  --amber: #b06820;
  --amber-light: #fdf0e0;
  --purple: #534ab7;
  --purple-light: #eeedfe;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: var(--paper); color: var(--ink); }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-links a.highlight-link { color: var(--accent); }
.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* ── FOOTER ── */
footer {
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.footer-logo em { color: var(--accent); font-style: normal; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── BADGES ── */
.badge { font-size: 11px; padding: 3px 9px; }
.b-niche  { background: var(--accent-light); color: var(--accent); }
.b-region { background: var(--green-light); color: var(--green); }
.b-status { background: #f0fdf4; color: #166534; }
.b-format { background: var(--amber-light); color: var(--amber); }

/* ── BUTTONS ── */
.btn-primary {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity .15s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { opacity: .82; }
.btn-secondary {
  font-size: 13px;
  padding: 14px 28px;
  color: var(--ink);
  border: 1px solid var(--border-med);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color .15s;
  background: transparent;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-secondary:hover { border-color: var(--ink); }

/* ── SECTION SHELL ── */
.section { padding: 4rem 2.5rem; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.section-link { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .15s; }
.section-link:hover { color: var(--ink); }

/* ─────────────────────────────────────────
   INDEX PAGE
   ───────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
  border-bottom: 1px solid var(--border);
}
.hero-left {
  padding: 5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-line { flex: 1; height: 1px; background: var(--border-med); }
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 440px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 12px; }

.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: var(--border);
  gap: 1px;
}
.stat-box {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num.light { color: var(--paper); }
.stat-lbl { font-size: 13px; color: var(--muted); line-height: 1.5; }
.stat-lbl.light { color: rgba(244,241,235,0.6); }
.stat-note { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.stat-note.light { color: rgba(244,241,235,0.4); }

.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  animation: marquee 80s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  padding: 14px 32px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.marquee-sep { padding: 14px 24px; color: var(--accent); border-right: 1px solid var(--border); font-size: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* HIGHLIGHT TABS */
.hl-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.hl-tab {
  font-size: 13px;
  padding: 12px 20px 12px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  margin-bottom: -1px;
}
.hl-tab:hover { color: var(--ink); }
.hl-tab.active { color: var(--ink); font-weight: 500; border-bottom-color: var(--accent); }
.hl-tab-panel { display: none; }
.hl-tab-panel.active { display: grid; }

/* EDITORIAL LAYOUT */
.editorial-grid { grid-template-columns: 1fr 320px; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.ed-main {
  background: var(--paper);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  cursor: pointer;
}
.ed-main:hover { background: #fff; }
.ed-tag { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ed-title { font-family: 'DM Serif Display', serif; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.ed-excerpt { font-size: 14px; color: var(--muted); line-height: 1.75; }
.ed-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.ed-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; flex-shrink: 0;
  border: 1px solid var(--border);
}
.ed-media-name { font-size: 13px; font-weight: 500; }
.ed-date { font-size: 12px; color: var(--muted); margin-left: auto; }
.ed-ig-strip { display: flex; gap: 1.5rem; }
.ed-ig-stat-num { font-size: 16px; font-weight: 500; color: var(--green); }
.ed-ig-stat-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 1px; }
.ed-sidebar { display: flex; flex-direction: column; background: var(--border); gap: 1px; }
.ed-side-card {
  background: var(--paper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background .15s;
}
.ed-side-card:hover { background: #fff; }
.ed-side-tag { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ed-side-title { font-size: 14px; font-weight: 500; line-height: 1.4; }
.ed-side-handle { font-size: 12px; color: var(--muted); }
.ed-side-meta {
  font-size: 11px;
  color: var(--muted);
  padding-top: .5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

/* FEATURED CARDS */
.featured-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.featured-card {
  background: var(--paper);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  cursor: pointer;
}
.featured-card:hover { background: #fff; }
.featured-card.large { padding: 2.5rem; }
.fc-eyebrow { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fc-name { font-family: 'DM Serif Display', serif; font-size: 22px; letter-spacing: -0.01em; }
.featured-card.large .fc-name { font-size: 30px; }
.fc-handle { font-size: 12px; color: var(--muted); }
.fc-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-card:not(.large) .fc-desc { -webkit-line-clamp: 2; }
.fc-metrics { display: flex; gap: 1.5rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.fc-metric-num { font-size: 16px; font-weight: 500; }
.featured-card.large .fc-metric-num { font-size: 20px; }
.fc-metric-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 1px; }
.fc-er { color: var(--green); }
.fc-badges { display: flex; gap: 5px; flex-wrap: wrap; }

/* NICHE GRID */
.niche-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.niche-card {
  background: var(--paper);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  cursor: pointer;
}
.niche-card:hover { background: #fff; }
.niche-card:hover .niche-icon svg { stroke: var(--ink); }
.niche-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.niche-icon svg { width: 24px; height: 24px; stroke: var(--muted); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.niche-name { font-size: 13px; font-weight: 500; }
.niche-count { font-size: 11px; color: var(--muted); }
.niche-more-btn {
  display: block; width: 100%; margin-top: 1px;
  padding: 12px; font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--muted); background: transparent;
  border: 1px solid var(--border); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.niche-more-btn:hover { color: var(--ink); border-color: var(--border-med); }

/* TYPE SPLIT */
.type-split-section { padding: 5rem 2.5rem; border-top: 1px solid var(--border); }
.type-split-head { margin-bottom: 3rem; }
.type-split-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.type-split-title { font-family: 'DM Serif Display', serif; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
.type-split-title em { font-style: italic; color: var(--accent); }
.type-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.type-card { display: flex; flex-direction: column; border: 1px solid var(--border); padding: 2rem; background: #fff; }
.type-card-top { flex: 1; margin-bottom: 2rem; }
.type-badge { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 1.25rem; }
.type-card-title { font-family: 'DM Serif Display', serif; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1rem; }
.type-card-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.type-collab-list { margin-bottom: 2rem; }
.type-collab-label { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.type-collab-item { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.type-collab-item:last-child { border-bottom: none; }
.type-collab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.type-card-cta { display: inline-block; margin-top: auto; font-size: 13px; font-weight: 500; padding: 11px 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; transition: background .15s, color .15s; }
.type-card-cta:hover { background: var(--ink); color: var(--paper); }

/* HOW IT WORKS */
.how-section { background: var(--ink); color: var(--paper); padding: 5rem 2.5rem; }
.how-title {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  letter-spacing: -0.015em;
  margin-bottom: 3.5rem;
  color: var(--paper);
  max-width: 480px;
  line-height: 1.15;
}
.how-title em { font-style: italic; color: rgba(244,241,235,0.5); }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(244,241,235,0.08); border: 1px solid rgba(244,241,235,0.08); }
.how-step { padding: 2rem; background: var(--ink); }
.step-num { font-family: 'DM Serif Display', serif; font-size: 48px; color: rgba(244,241,235,0.15); line-height: 1; margin-bottom: 1rem; }
.step-title { font-size: 15px; font-weight: 500; color: var(--paper); margin-bottom: .75rem; }
.step-desc { font-size: 13px; color: rgba(244,241,235,0.55); line-height: 1.7; }

.cta-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 2.5rem; gap: 2rem; }
.cta-text h3 { font-family: 'DM Serif Display', serif; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 4px; }
.cta-text p { font-size: 13px; color: var(--muted); }
.cta-actions { display: flex; gap: 10px; }

/* ─────────────────────────────────────────
   LISTING PAGE
   ───────────────────────────────────────── */
.search-wrap { display: flex; border: 1px solid var(--border-med); background: #fff; max-width: 520px; }
.search-wrap input {
  flex: 1; border: none; outline: none;
  padding: 13px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; background: transparent; color: var(--ink);
}
.search-wrap input::placeholder { color: var(--muted); }
.search-wrap button {
  padding: 13px 22px;
  background: var(--ink); color: var(--paper);
  border: none; font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500; cursor: pointer;
}

.listing-hero { padding: 4.5rem 2.5rem 3rem; max-width: 680px; }
.listing-hero .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.listing-hero h1 { font-family: 'DM Serif Display', serif; font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.listing-hero h1 em { font-style: italic; color: var(--accent); }

.filter-bar {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  overflow-x: auto;
  padding: 0 2.5rem;
}
.filter-bar::-webkit-scrollbar { display: none; }
#nicheChips { display: flex; align-items: stretch; }
.filter-label {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding-right: 1.25rem; white-space: nowrap;
  border-right: 1px solid var(--border); margin-right: 1.25rem;
  display: flex; align-items: center;
}
.chip {
  font-size: 13px; padding: 0 16px; height: 50px;
  border: none; border-bottom: 2px solid transparent;
  cursor: pointer; white-space: nowrap; color: var(--muted);
  background: transparent; font-family: 'DM Sans', sans-serif;
  transition: color .15s, border-color .15s;
}
.chip:hover { color: var(--ink); }
.chip.active { color: var(--ink); font-weight: 500; border-bottom-color: var(--accent); }
.chip-type {
  font-size: 12px; padding: 4px 12px;
  border: 1px solid var(--border-med); background: transparent;
  color: var(--muted); cursor: pointer; transition: all .15s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.chip-type:hover { color: var(--ink); border-color: var(--ink); }
.chip-type.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort-wrap {
  margin-left: auto; display: flex; align-items: center;
  gap: 8px; padding-left: 1.25rem;
  border-left: 1px solid var(--border); white-space: nowrap; flex-shrink: 0;
}
.sort-wrap label { font-size: 12px; color: var(--muted); }
.sort-wrap select { font-family: 'DM Sans', sans-serif; font-size: 13px; border: none; background: transparent; color: var(--ink); cursor: pointer; outline: none; }

.listing-main { max-width: 1200px; margin: 0 auto; padding: 2.5rem; }
.results-meta { font-size: 12px; color: var(--muted); margin-bottom: 1.5rem; letter-spacing: .01em; }
.results-meta strong { color: var(--ink); }
.results-meta em { color: var(--ink); font-style: normal; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); }
.card {
  background: var(--paper); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  cursor: pointer; transition: background .15s;
  text-decoration: none; color: inherit;
}
.card:hover { background: #fff; }
.card-top { display: flex; gap: 12px; align-items: flex-start; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; flex-shrink: 0;
  border: 1px solid var(--border);
}
.card-name { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.card-handle { font-size: 12px; color: var(--muted); }
.card-desc {
  font-size: 13px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.ig-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.ig-stat { background: var(--paper); padding: 10px 12px; transition: background .15s; }
.card:hover .ig-stat { background: #fff; }
.ig-stat-num { font-size: 15px; font-weight: 500; }
.ig-stat-lbl { font-size: 10px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 1px; }
.er-val { color: var(--green); }
.card-footer { display: flex; gap: 5px; flex-wrap: wrap; }

.empty-state { grid-column: 1/-1; padding: 4rem; text-align: center; color: var(--muted); background: var(--paper); font-size: 14px; }

.pagination { display: flex; align-items: center; gap: 2px; justify-content: center; padding: 2rem 0 0; }
.page-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer;
  border: 1px solid transparent; background: none;
  font-family: 'DM Sans', sans-serif; color: var(--muted);
  transition: all .15s;
}
.page-btn:hover:not([disabled]) { border-color: var(--border-med); color: var(--ink); }
.page-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page-btn[disabled] { opacity: .3; cursor: default; }

/* ─────────────────────────────────────────
   DETAIL PAGE
   ───────────────────────────────────────── */
.breadcrumb { padding: .85rem 2.5rem; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

.detail-layout { display: grid; grid-template-columns: 1fr 288px; max-width: 1100px; margin: 0 auto; }
.detail-main { padding: 2.5rem; border-right: 1px solid var(--border); min-width: 0; }

.profile-header { display: flex; gap: 1.25rem; align-items: flex-start; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.avatar-wrap { position: relative; flex-shrink: 0; }
.avatar-lg {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 500;
}
.ig-gradient { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; }
.verified {
  position: absolute; bottom: 0; right: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: #3897f0; border: 2px solid var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff;
}
.ph-name { font-family: 'DM Serif Display', serif; font-size: 26px; letter-spacing: -0.01em; margin-bottom: 3px; }
.ph-handle { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.ph-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.ph-bio { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-ig { font-size: 12px; font-weight: 500; letter-spacing: .03em; padding: 9px 18px; background: #E1306C; color: #fff; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-outline { font-size: 12px; padding: 9px 16px; background: transparent; color: var(--ink); border: 1px solid var(--border-med); cursor: pointer; font-family: 'DM Sans', sans-serif; }

.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.tab {
  font-size: 13px; padding: 14px 20px; border: none;
  border-bottom: 2px solid transparent; background: transparent;
  cursor: pointer; color: var(--muted); font-family: 'DM Sans', sans-serif;
  transition: color .15s, border-color .15s; white-space: nowrap; margin-top: 1px;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); font-weight: 500; border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 2rem; }
.metric { background: var(--paper); padding: 1.1rem 1rem; }
.metric-num { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 2px; }
.metric-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.metric-delta { font-size: 11px; margin-top: 5px; }
.up { color: var(--green); } .flat { color: var(--muted); }

.sub-label { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .85rem; }
.eng-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.eng-row:last-child { border-bottom: none; }
.eng-lbl { width: 140px; color: var(--muted); flex-shrink: 0; }
.bar-wrap { flex: 1; height: 3px; background: var(--border); }
.bar-fill { height: 100%; }
.f-purple { background: var(--purple); } .f-green { background: var(--green); } .f-accent { background: var(--accent); } .f-amber { background: var(--amber); }
.eng-pct { font-size: 12px; color: var(--muted); width: 32px; text-align: right; }

.content-mix { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 1.75rem; }
.cm { background: var(--paper); padding: 1rem; }
.cm-type { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.cm-pct  { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cm-er   { font-size: 13px; color: var(--green); font-weight: 500; }

.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.demo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.demo-lbl { font-size: 12px; color: var(--muted); width: 52px; flex-shrink: 0; }
.demo-bar-wrap { flex: 1; height: 3px; background: var(--border); }
.demo-bar { height: 100%; background: var(--green); }
.demo-pct { font-size: 12px; color: var(--muted); width: 30px; text-align: right; }
.gender-row { display: flex; gap: 1.5rem; font-size: 13px; margin: .85rem 0 1.5rem; }
.gender-row span { color: var(--muted); }
.gender-row strong { color: var(--ink); }
.geo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.geo-city { flex: 1; }
.geo-bar-wrap { width: 80px; height: 3px; background: var(--border); flex-shrink: 0; }
.geo-bar { height: 100%; background: var(--purple); }
.geo-pct { font-size: 12px; color: var(--muted); width: 30px; text-align: right; }
.interest-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.5rem; }
.i-chip { font-size: 12px; padding: 4px 12px; border: 1px solid var(--border-med); color: var(--muted); }
.i-chip.strong { background: var(--green-light); border-color: transparent; color: var(--green); }
.hours-chart { display: flex; gap: 4px; align-items: flex-end; height: 56px; margin-top: 4px; }
.hour-col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.hour-bar { width: 100%; border-radius: 1px 1px 0 0; background: var(--border); }
.hour-bar.peak { background: var(--green); }
.hour-lbl { font-size: 9px; color: var(--muted); }

.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.ind-card { background: var(--paper); padding: 1.25rem; }
.ind-card.top { background: #f8fdf9; }
.ind-top-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ind-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 14px; border: 1px solid var(--border); flex-shrink: 0; }
.ind-name { font-size: 13px; font-weight: 500; flex: 1; }
.top-tag { font-size: 10px; padding: 2px 7px; background: var(--green-light); color: var(--green); white-space: nowrap; }
.fit-lbl { font-size: 11px; margin-bottom: 6px; }
.fit-high { color: var(--green); } .fit-mid { color: var(--amber); } .fit-low { color: var(--muted); }
.fit-bar-wrap { height: 3px; background: var(--border); margin-bottom: 8px; }
.fit-bar { height: 100%; }
.fb-high { background: var(--green); } .fb-mid { background: var(--amber); } .fb-low { background: #ccc; }
.ind-reason { font-size: 12px; color: var(--muted); line-height: 1.55; }

.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.post-card { background: var(--paper); cursor: pointer; transition: background .15s; }
.post-card:hover { background: #fff; }
.post-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; filter: grayscale(15%); }
.post-info { padding: .85rem; }
.post-type-tag { font-size: 10px; padding: 2px 7px; background: var(--purple-light); color: var(--purple); margin-bottom: 6px; display: inline-block; }
.post-cap { font-size: 12px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.post-stats { display: flex; gap: 10px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.post-date { margin-left: auto; }

.sidebar { padding: 2.5rem 2rem; }
.sb-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.sb-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sb-title { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.info-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 8px 0; vertical-align: top; }
.info-table .lbl { color: var(--muted); width: 46%; font-size: 12px; }
.info-table a { color: var(--accent); text-decoration: none; }
.rel-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); cursor: pointer; text-decoration: none; color: inherit; }
.rel-item:last-child { border-bottom: none; }
.rel-av { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; flex-shrink: 0; border: 1px solid var(--border); }
.rel-name { font-size: 13px; font-weight: 500; }
.rel-sub  { font-size: 11px; color: var(--muted); }
.rel-er   { font-size: 12px; color: var(--green); margin-left: auto; white-space: nowrap; }
.kontr-btn { display: block; width: 100%; padding: 10px; font-size: 12px; font-family: 'DM Sans', sans-serif; letter-spacing: .04em; text-transform: uppercase; background: transparent; border: 1px solid var(--border-med); cursor: pointer; color: var(--ink); margin-bottom: .75rem; }
.kontr-note { font-size: 11px; color: var(--muted); line-height: 1.6; text-align: center; }
.loading { padding: 4rem; text-align: center; color: var(--muted); font-size: 14px; }

/* ─────────────────────────────────────────
   TENTANG PAGE
   ───────────────────────────────────────── */
.page-header { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.ph-left { padding: 5rem 3.5rem; border-right: 1px solid var(--border); }
.ph-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.ph-title { font-family: 'DM Serif Display', serif; font-size: 48px; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.ph-title em { font-style: italic; color: var(--accent); }
.ph-desc { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 420px; }
.ph-right { padding: 5rem 3.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem; }
.ph-quote { font-family: 'DM Serif Display', serif; font-size: 20px; font-style: italic; line-height: 1.5; color: var(--muted); padding-left: 1.5rem; border-left: 2px solid var(--accent); letter-spacing: -0.01em; }
.ph-quote-src { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--muted); font-style: normal; margin-top: .5rem; padding-left: 1.5rem; }

.content-grid { display: grid; grid-template-columns: 280px 1fr; border-bottom: 1px solid var(--border); }
.content-sidebar { padding: 3rem 2.5rem; border-right: 1px solid var(--border); position: sticky; top: 60px; height: fit-content; }
.toc-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.toc-link { display: block; font-size: 13px; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--border); transition: color .15s; }
.toc-link:last-child { border-bottom: none; }
.toc-link:hover, .toc-link.active { color: var(--ink); }
.toc-link.active { font-weight: 500; }

.content-main { padding: 3.5rem; }
.content-section { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cs-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.cs-title { font-family: 'DM Serif Display', serif; font-size: 30px; letter-spacing: -0.01em; margin-bottom: 1.5rem; line-height: 1.2; }
.cs-body { font-size: 15px; color: var(--muted); line-height: 1.85; max-width: 600px; }
.cs-body p + p { margin-top: 1rem; }
.cs-body strong { color: var(--ink); font-weight: 500; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 1.75rem; }
.value-card { background: var(--paper); padding: 1.5rem; }
.value-num { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--accent); line-height: 1; margin-bottom: .75rem; }
.value-title { font-size: 14px; font-weight: 500; margin-bottom: .5rem; }
.value-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 1.75rem; }
.team-card { background: var(--paper); padding: 1.5rem; }
.team-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; margin-bottom: 1rem; border: 1px solid var(--border); }
.team-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.team-role { font-size: 12px; color: var(--muted); margin-bottom: .75rem; }
.team-bio { font-size: 12px; color: var(--muted); line-height: 1.6; }

.data-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 1.75rem; }
.data-card { background: var(--paper); padding: 1.5rem; }
.data-num { font-family: 'DM Serif Display', serif; font-size: 36px; letter-spacing: -0.02em; margin-bottom: 4px; }
.data-lbl { font-size: 12px; color: var(--muted); line-height: 1.5; }
.green { color: var(--green); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 1.1rem 0; font-size: 14px; font-weight: 500; background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-icon { font-size: 18px; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.faq-a { font-size: 13px; color: var(--muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.cta-block { background: var(--ink); color: var(--paper); padding: 4rem 2.5rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.cta-block h3 { font-family: 'DM Serif Display', serif; font-size: 28px; letter-spacing: -0.01em; color: var(--paper); margin-bottom: 8px; }
.cta-block p { font-size: 14px; color: rgba(244,241,235,.55); }
.btn-white { font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; padding: 13px 26px; background: var(--paper); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn-ghost { font-size: 13px; padding: 13px 22px; background: transparent; color: rgba(244,241,235,.7); border: 1px solid rgba(244,241,235,.2); text-decoration: none; display: inline-flex; white-space: nowrap; }
.cta-btns { display: flex; gap: 10px; }

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3rem 1.5rem; border-right: none; border-bottom: 1px solid var(--border); }
  .hero h1 { font-size: 40px; }
  .hero-right { grid-template-columns: repeat(4,1fr); grid-template-rows: 1fr; }
  .stat-num { font-size: 38px; }
  .section { padding: 2.5rem 1.25rem; }
  .how-section { padding: 3rem 1.25rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .niche-grid { grid-template-columns: repeat(3,1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  footer { padding: 1.5rem 1.25rem; flex-direction: column; gap: 1rem; text-align: center; }
  .listing-hero { padding: 2.5rem 1.25rem 2rem; }
  .listing-hero h1 { font-size: 32px; }
  .listing-main { padding: 1.5rem 1.25rem; }
  .filter-bar { padding: 0 1.25rem; }
  .grid { grid-template-columns: repeat(2,1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-main { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem; }
  .sidebar { padding: 1.5rem; }
  .aud-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .posts-grid { grid-template-columns: repeat(2,1fr); }
  .breadcrumb { padding: .75rem 1.25rem; }
  .page-header { grid-template-columns: 1fr; }
  .ph-left { padding: 3rem 1.5rem; border-right: none; border-bottom: 1px solid var(--border); }
  .ph-right { padding: 2rem 1.5rem; }
  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
  .content-main { padding: 2rem 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .cta-block { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
}
@media (max-width: 600px) {
  .hero-right { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .niche-grid { grid-template-columns: repeat(2,1fr); }
  .grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   MODAL / POPUP
   ───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,14,13,0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--paper);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(12px);
  transition: transform .2s;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-med);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.modal-close:hover { color: var(--ink); border-color: var(--border-med); }
.modal-body { padding: 1.5rem; }
.modal-body .field { margin-bottom: 1.25rem; }
.modal-body .field:last-child { margin-bottom: 0; }
.modal-body label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body select,
.modal-body textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border-med);
  padding: 10px 13px;
  outline: none;
  transition: border-color .15s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus { border-color: var(--ink); }
.modal-body input::placeholder,
.modal-body textarea::placeholder { color: var(--muted); }
.modal-body textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.modal-body select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9488' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
.modal-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}
.modal-submit {
  padding: 10px 22px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s;
}
.modal-submit:hover { opacity: .82; }
.modal-submit.danger { background: var(--accent); }
.modal-cancel {
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-med);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  cursor: pointer;
}
.modal-cancel:hover { color: var(--ink); }
.modal-sent {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.modal-sent.show { display: flex; }
.modal-sent-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.modal-sent-title { font-family: 'DM Serif Display', serif; font-size: 20px; letter-spacing: -0.01em; }
.modal-sent-desc { font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 320px; }
.modal-field-hint { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

@media (max-width: 600px) {
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { max-width: 100%; max-height: 85vh; }
}
