/* sceptre.ichebo.org — Sceptre Community consumer surface.
   Copied from sceptre_comm_web-ui_mockup/01-sceptre-home.html and
   03-sceptre-steward-panel.html (H.6, ADR-023) rather than re-derived —
   see those files for the original design comps this implements. */

:root {
  --sc-primary: #AF3236;
  --sc-primary-dark: #8C2A2D;
  --sc-ink: #0E0E0E;
  --sc-ink-2: #1A1A1A;
  --sc-card: #F5F3F0;
  --sc-card-2: #ECE9E4;
  --sc-text: #1A1A1A;
  --sc-muted: #6B6B6B;
  --sc-warning: #CA8A04;
  --sc-radius-s: 4px;
  --sc-radius-m: 8px;
  --sc-radius-l: 12px;
  --sc-radius-pill: 999px;
  --sc-space-2xs: 8px;
  --sc-space-xs: 12px;
  --sc-space-s: 16px;
  --sc-space-m: 24px;
  --sc-space-l: 32px;
}

body.sceptre-shell {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--sc-text);
  margin: 0;
}

/* ── TOP NAV ─────────────────────────────────────────────────────
   Mobile-first: .top-nav__links and the steward sidebar are designed
   for desktop width and don't fit five nav links + logo + steward
   controls + avatar in one row below 800px (the platform's own
   breakpoint — see navbar.css/main.css) — confirmed directly: with no
   media queries at all, .top-nav forced the whole page to overflow
   horizontally on a real phone viewport. Links collapse into
   .nav-links-mobile (hamburger-toggled dropdown) below 800px instead. */
.top-nav {
  height: 56px;
  background: var(--sc-ink);
  display: flex;
  align-items: center;
  padding: 0 var(--sc-space-s);
  gap: var(--sc-space-s);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-nav__brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; }
/* logo.svg is a white-stroked mark — brightness(0) invert(1) forces it to
   render white regardless of source colors, matching navbar.css's
   established pattern. The sceptre top-nav is permanently dark
   (var(--sc-ink)), unlike that nav's theme-dependent background, so no
   light-mode override is needed here. */
.top-nav__logo {
  height: 32px;
  width: auto;
}
.nav-hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  background: transparent; border: none; padding: 0; cursor: pointer;
}
.nav-hamburger svg { width: 22px; height: 22px; stroke: rgba(255,255,255,0.8); fill: none; stroke-width: 2; }
.top-nav__links { display: none; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.55); text-decoration: none; padding: 6px 12px;
  border-radius: var(--sc-radius-s); white-space: nowrap;
  transition: color 100ms, background 100ms;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link--active {
  color: #fff; background: rgba(175,50,54,0.18);
  border-left: 3px solid var(--sc-primary);
  border-radius: 0 var(--sc-radius-s) var(--sc-radius-s) 0;
  padding-left: 9px;
}
.top-nav__right { display: flex; align-items: center; gap: var(--sc-space-2xs); flex-shrink: 0; }
.avatar {
  width: 32px; height: 32px; background: var(--sc-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; text-decoration: none;
  cursor: pointer; flex-shrink: 0;
}

/* Mobile dropdown — same links as .top-nav__links, shown below the bar.
   Hidden by default via the [hidden] attribute; toggled by #nav-hamburger. */
.nav-links-mobile {
  display: flex; flex-direction: column;
  background: var(--sc-ink-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 56px; z-index: 99;
}
.nav-links-mobile[hidden] { display: none; }
.nav-links-mobile .nav-link { padding: 12px var(--sc-space-m); border-radius: 0; }
.nav-links-mobile .nav-link--active { border-left-width: 4px; }

@media (min-width: 800px) {
  .top-nav { padding: 0 var(--sc-space-m); gap: var(--sc-space-l); }
  .top-nav__logo { height: 40px; }
  .nav-hamburger { display: none; }
  .top-nav__links { display: flex; }
  .top-nav__right { gap: var(--sc-space-s); }
  .nav-links-mobile { display: none !important; }
}

/* ── STEWARD TRIGGER + SIDEBAR ──────────────────────────────────
   Slide-in mechanism, not an inline nav block — see
   03-sceptre-steward-panel.html. */
.steward-trigger {
  display: flex; align-items: center; gap: 6px;
  background: rgba(175,50,54,0.12); border: 1px solid rgba(175,50,54,0.25);
  border-radius: var(--sc-radius-s); padding: 5px 10px; cursor: pointer;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8);
  transition: background 100ms;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}
.steward-trigger:hover { background: rgba(175,50,54,0.2); }
.steward-trigger svg { width: 14px; height: 14px; stroke: var(--sc-primary); fill: none; stroke-width: 2; flex-shrink: 0; }
/* Icon-only on narrow screens — "Manage" text + hamburger + avatar all
   competing for space in one 56px row. */
.steward-trigger__label { display: none; }
@media (min-width: 800px) {
  .steward-trigger__label { display: inline; }
}

.steward-sidebar {
  position: fixed;
  top: 56px;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--sc-ink);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.06);
  z-index: 200;
  box-shadow: -8px 0 32px rgba(0,0,0,0.25);
}
.steward-sidebar[hidden] { display: none; }

@media (min-width: 800px) {
  .steward-sidebar { width: 260px; }
}

.steward-sidebar-backdrop {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 150;
  cursor: pointer;
}
.steward-sidebar-backdrop[hidden] { display: none; }

.steward-sidebar__header { padding: var(--sc-space-m); border-bottom: 1px solid rgba(255,255,255,0.06); }
.steward-sidebar__close { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sc-space-s); }
.steward-sidebar__close-btn {
  width: 28px; height: 28px; background: rgba(255,255,255,0.06);
  border: none; border-radius: var(--sc-radius-s); display: flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.steward-sidebar__close-btn svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 2; }
.steward-sidebar__label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-primary);
  display: flex; align-items: center; gap: 6px;
}
.steward-sidebar__label::before { content: ''; display: block; width: 16px; height: 2px; background: var(--sc-primary); }
.steward-sidebar__title {
  font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 800;
  color: rgba(255,255,255,0.9); letter-spacing: -0.02em; margin-top: 8px;
}

.steward-nav { flex: 1; padding: var(--sc-space-s) 0; overflow-y: auto; }
.steward-nav__item {
  display: flex; align-items: center; gap: var(--sc-space-s);
  padding: 10px var(--sc-space-m); cursor: pointer;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: background 100ms, color 100ms;
  border-left: 3px solid transparent;
}
.steward-nav__item:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.85); }
.steward-nav__item--active { color: #fff; background: rgba(175,50,54,0.12); border-left-color: var(--sc-primary); }

/* ── CHANNEL PLAYER AREA ─────────────────────────────────────── */
.channel-hero {
  width: 100%;
  position: relative;
  background: var(--sc-ink);
  aspect-ratio: 16 / 9;
  max-height: 75vh;
  overflow: hidden;
}
.channel-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0E0E0E 0%, #1A1A1A 40%, #0f0a0a 100%);
}
.channel-hero__watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(80px, 18vw, 240px); color: rgba(175,50,54,0.055);
  letter-spacing: -0.04em; pointer-events: none; user-select: none; line-height: 1;
}
.channel-hero__scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
}

.unmute-prompt {
  position: absolute; bottom: var(--sc-space-m); right: var(--sc-space-m);
  background: rgba(14,14,14,0.75); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--sc-radius-pill); padding: 6px 14px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif; display: flex; align-items: center; gap: 6px;
  cursor: pointer; backdrop-filter: blur(8px); z-index: 2;
}
.unmute-prompt svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 2; }

/* Now-playing strip */
.now-playing-strip {
  background: var(--sc-ink-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px var(--sc-space-m);
  display: flex; align-items: center; gap: var(--sc-space-m);
}
.live-badge {
  display: flex; align-items: center; gap: 5px;
  background: var(--sc-primary); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--sc-radius-pill);
  font-family: 'Inter', sans-serif; flex-shrink: 0;
}
.live-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: sc-pulse-dot 1.4s ease-in-out infinite; }
@keyframes sc-pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.vod-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--sc-radius-pill);
  font-family: 'Inter', sans-serif; flex-shrink: 0;
}
.now-playing-strip__title {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.9); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.now-playing-strip__ends { font-size: 12px; color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; flex-shrink: 0; }
.up-next {
  font-size: 12px; color: rgba(255,255,255,0.4); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 200px; flex-shrink: 0;
}
.up-next span { color: rgba(255,255,255,0.65); }

/* ── QUICK TILES (1×4 horizontal scroll) ─────────────────────── */
.tiles-section { background: var(--sc-card); border-bottom: 1px solid var(--sc-card-2); padding: var(--sc-space-s) var(--sc-space-m); }
.tiles-row {
  display: flex; gap: var(--sc-space-xs); overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px;
}
.tiles-row::-webkit-scrollbar { display: none; }
.tile {
  flex: 0 0 160px; background: #fff; border: 1px solid var(--sc-card-2);
  border-radius: var(--sc-radius-l); padding: var(--sc-space-m) var(--sc-space-s);
  display: flex; flex-direction: column; gap: 8px; cursor: pointer;
  transition: border-color 150ms, box-shadow 150ms; text-decoration: none;
  position: relative; overflow: hidden;
}
.tile::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--sc-primary); transform: scaleY(0); transition: transform 150ms; transform-origin: bottom;
}
.tile:hover { border-color: rgba(175,50,54,0.3); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.tile:hover::before { transform: scaleY(1); }
.tile__icon { font-size: 22px; line-height: 1; }
.tile__label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--sc-text); line-height: 1.2; }
.tile__status { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--sc-muted); line-height: 1.4; margin-top: 2px; }

/* ── OFFLINE STATE ────────────────────────────────────────────── */
.channel-offline {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--sc-space-s);
}
.channel-offline__frame { text-align: center; }
.channel-offline__brand {
  font-family: 'Playfair Display', serif; font-weight: 900; font-size: 32px;
  color: rgba(255,255,255,0.08); letter-spacing: -0.04em; margin-bottom: var(--sc-space-xs);
}
.channel-offline__msg {
  font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,0.25);
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.channel-offline__next { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.35); margin-top: var(--sc-space-xs); }
.channel-offline__next strong { color: rgba(255,255,255,0.55); }

/* ── CHANNEL HERO — LABEL + HEADING ──────────────────────────────
   Dark section above the player grid. */
.channel-hero-heading {
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.channel-hero-heading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(175,50,54,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.channel-hero-heading .sc-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}
.channel-hero-heading h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.sc-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.sc-label-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.3);
}
.sc-label-tag--primary { color: var(--sc-primary); }
.sc-label-tag--primary::before { background: var(--sc-primary); }

/* ── LIVE GRID (player + schedule sidebar) ───────────────────── */
.sc-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .live-grid { grid-template-columns: 3fr 2fr; }
}

.main-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.main-player::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(175,50,54,0.15) 0%, transparent 50%);
}
.player-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
}
.play-btn-large {
  width: 80px; height: 80px;
  background: var(--sc-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 36px;
  border: none; cursor: pointer;
  transition: background 150ms, transform 150ms;
  font-family: 'Material Symbols Outlined';
}
.play-btn-large:hover { background: var(--sc-primary-dark); transform: scale(1.08); }
.player-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: #fff; text-align: center; padding: 0 2rem;
}
.player-meta { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; }

.player-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.player-info__title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.player-info__meta { font-size: 13px; color: rgba(255,255,255,0.4); }
.player-info__actions { display: flex; gap: 0.75rem; }

/* ── SCHEDULE SIDEBAR ─────────────────────────────────────────── */
.schedule-sidebar { display: flex; flex-direction: column; gap: 0.75rem; }
.schedule-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}
.schedule-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 1rem;
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.schedule-item:hover, .schedule-item.active {
  background: rgba(175,50,54,0.12);
  border-color: rgba(175,50,54,0.3);
}
.schedule-item.live { border-color: var(--sc-primary); }
.schedule-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.schedule-day {
  font-size: 10px; font-weight: 700;
  color: var(--sc-primary); letter-spacing: 0.08em; text-transform: uppercase;
}
.schedule-time { font-size: 11px; color: rgba(255,255,255,0.3); }
.schedule-time--live { color: var(--sc-primary); }
.schedule-name { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); }
.schedule-type { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.schedule-notify {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 150ms;
  background: transparent;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  margin-top: 0.25rem;
}
.schedule-notify:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* ── CONTENT TABS ─────────────────────────────────────────────── */
.content-tabs {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 56px;
  z-index: 50;
}
.tabs-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-inner::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  border: none;
  border-bottom: 2px solid transparent;
  border-top: none; border-left: none; border-right: none;
  background: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 150ms, border-color 150ms;
}
.tab-btn:hover, .tab-btn.active { color: #fff; border-bottom-color: var(--sc-primary); }

/* ── VOD GRID ─────────────────────────────────────────────────── */
.vod-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--sc-ink);
}
.vod-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.vod-view-all {
  font-size: 13px; font-weight: 600;
  color: var(--sc-primary);
  display: flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.vod-view-all:hover { text-decoration: underline; }
.vod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5px;
  background: rgba(255,255,255,0.05);
  margin-top: 2rem;
}
@media (min-width: 600px) { .vod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .vod-grid { grid-template-columns: repeat(3, 1fr); } }
.vod-card {
  background: var(--sc-ink-2);
  display: flex; flex-direction: column;
  transition: background 150ms;
  cursor: pointer;
  text-decoration: none;
}
.vod-card:hover { background: rgba(255,255,255,0.05); }
.vod-thumb {
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.vod-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(175,50,54,0.12) 0%, transparent 60%);
}
.vod-play {
  width: 44px; height: 44px;
  background: rgba(175,50,54,0.8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  position: relative; z-index: 1;
  transition: background 150ms;
  font-family: 'Material Symbols Outlined';
}
.vod-card:hover .vod-play { background: var(--sc-primary); }
.vod-series-tag {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.7); color: rgba(255,255,255,0.7);
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px; z-index: 2;
}
.vod-content { padding: 1.25rem; }
.vod-title {
  font-size: 14px; font-weight: 600; color: #fff;
  margin-bottom: 4px; line-height: 1.4;
}
.vod-meta {
  display: flex; align-items: center;
  gap: 0.75rem; font-size: 11px; color: rgba(255,255,255,0.35);
}
.vod-sep { width: 2px; height: 2px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.vod-load-more {
  text-align: center;
  margin-top: 3rem;
}

/* ── SERIES GRID ──────────────────────────────────────────────── */
.series-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.series-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -0.02em;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.05);
  margin-top: 2rem;
}
@media (min-width: 900px) { .series-grid { grid-template-columns: repeat(4, 1fr); } }
.series-card {
  background: var(--sc-ink);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: background 150ms;
  cursor: pointer;
  text-decoration: none;
}
.series-card:hover { background: rgba(175,50,54,0.1); }
.series-icon {
  font-size: 28px;
  color: var(--sc-primary);
  font-family: 'Material Symbols Outlined';
}
.series-name { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.3; }
.series-count { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── NOTIFY SECTION (broadcast notification CTA) ──────────────── */
.notify-section {
  padding: 4rem 0;
  background: var(--sc-primary);
}
.notify-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 700px) { .notify-inner { grid-template-columns: 1fr 1fr; } }
.notify-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; color: #fff; line-height: 1.2;
  margin-bottom: 0.75rem;
}
.notify-body { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.notify-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.notify-input {
  flex: 1; min-width: 200px;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: #fff; font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
}
.notify-input::placeholder { color: rgba(255,255,255,0.4); }
.notify-input:focus { border-color: rgba(255,255,255,0.7); }
.notify-btn {
  padding: 12px 24px;
  background: #fff; color: var(--sc-primary);
  border: none; border-radius: 4px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background 150ms;
}
.notify-btn:hover { background: rgba(255,255,255,0.9); }

/* ── FADE-UP ANIMATION ─────────────────────────────────────────── */
.sc-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sc-fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── SHARED BUTTON STYLES ─────────────────────────────────────── */
.sc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 150ms, transform 150ms, border-color 150ms;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.sc-btn--primary {
  background: var(--sc-primary); color: #fff;
  border-color: var(--sc-primary);
}
.sc-btn--primary:hover { background: var(--sc-primary-dark); transform: translateY(-1px); }
.sc-btn--outline {
  background: transparent; color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}
.sc-btn--outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.6); }
.sc-btn--sm { padding: 8px 16px; font-size: 13px; }
.sc-btn--icon { font-family: 'Material Symbols Outlined'; font-size: 16px; }

/* ── DIRECTORY: HERO ──────────────────────────────────────────── */
.dir-hero {
  background: var(--sc-ink);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.dir-hero::before {
  content: 'FIND';
  position: absolute;
  bottom: -3rem; right: -1rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 22vw, 20rem);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  pointer-events: none;
  letter-spacing: -0.04em;
}
.dir-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 1rem 0 1.5rem;
}
.dir-hero h1 em { font-style: italic; color: var(--sc-primary); }
.dir-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 52ch;
  line-height: 1.8;
}

/* ── DIRECTORY: SEARCH ────────────────────────────────────────── */
.search-section {
  background: #F5F3F0;
  padding: 2.5rem 0;
  border-bottom: 1px solid #ECE9E4;
}
.search-box {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 1rem;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}
@media (min-width: 700px) {
  .search-row { grid-template-columns: 1fr 1fr 1fr auto; }
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #6B6B6B;
}
.search-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1A1A1A;
  background: #F5F3F0;
  outline: none;
  transition: border-color 150ms;
  appearance: none;
}
.search-input:focus { border-color: var(--sc-primary); background: #fff; }
.search-btn {
  padding: 12px 20px;
  background: var(--sc-primary); color: #fff;
  border: none; border-radius: 4px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: background 150ms;
  height: 46px;
}
.search-btn:hover { background: var(--sc-primary-dark); }
.filter-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.filter-quick {
  font-size: 11px; font-weight: 600;
  color: #6B6B6B; letter-spacing: 0.06em; text-transform: uppercase;
  margin-right: 4px;
  display: flex; align-items: center;
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  color: #6B6B6B;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
  background: #fff;
  font-family: 'Inter', sans-serif;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--sc-primary); color: #fff; border-color: var(--sc-primary);
}

/* ── DIRECTORY: RESULTS ───────────────────────────────────────── */
.results-section {
  padding: 3rem 0;
  background: #fff;
}
.results-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap; gap: 1rem;
}
.results-count { font-size: 14px; color: #6B6B6B; }
.results-sort { display: flex; align-items: center; gap: 0.75rem; font-size: 13px; color: #6B6B6B; }
.sort-btn {
  padding: 6px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  cursor: pointer;
  background: #fff;
  font-family: 'Inter', sans-serif;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.sort-btn:hover, .sort-btn.active {
  background: #1A1A1A; color: #fff; border-color: #1A1A1A;
}
.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5px;
  background: #ECE9E4;
}
@media (min-width: 700px) { .community-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .community-grid { grid-template-columns: repeat(3, 1fr); } }
.community-card {
  background: #fff;
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 150ms;
  cursor: pointer;
}
.community-card:hover { background: #F5F3F0; }
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.card-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(175,50,54,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--sc-primary);
  flex-shrink: 0;
  text-transform: uppercase;
}
.card-status {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.card-status--active { background: rgba(22,163,74,0.1); color: #16a34a; }
.card-status--pending { background: rgba(175,50,54,0.1); color: var(--sc-primary); }
.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: #1A1A1A;
}
.card-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: #6B6B6B;
}
.card-location .material-symbols-outlined { font-size: 14px; }
.card-theme {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600;
  color: #6B6B6B; background: #F5F3F0;
  padding: 4px 10px; border-radius: 2px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.card-meta-item { font-size: 12px; color: #6B6B6B; }
.card-meta-item strong { display: block; font-size: 14px; font-weight: 600; color: #1A1A1A; }
.card-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--sc-primary);
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: auto;
  text-decoration: none;
  transition: gap 150ms;
}
.community-card:hover .card-link { gap: 10px; }
.card-link .material-symbols-outlined { font-size: 16px; }

/* ── DIRECTORY: MAP PLACEHOLDER ────────────────────────────────── */
.map-section {
  background: #F5F3F0;
  padding: 3.5rem 0;
}
.map-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap; gap: 1rem;
}
.map-section__header p { font-size: 14px; color: #6B6B6B; margin-top: 4px; }
.map-section__link {
  font-size: 13px; font-weight: 600;
  color: var(--sc-primary);
  display: flex; align-items: center; gap: 4px;
  text-decoration: none; white-space: nowrap;
}
.map-placeholder {
  height: 360px;
  background: #ECE9E4;
  border-radius: 8px;
  display: flex;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  color: #6B6B6B;
  border: 2px dashed #ECE9E4;
  position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(175,50,54,0.06) 0%, transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(24,90,188,0.04) 0%, transparent 50%);
}
.map-placeholder-icon {
  font-size: 3rem; color: var(--sc-primary); opacity: 0.4;
  position: relative; z-index: 1;
  font-family: 'Material Symbols Outlined';
}
.map-placeholder p { font-size: 14px; color: #6B6B6B; position: relative; z-index: 1; }
.map-placeholder-coming { font-size: 12px; color: #6B6B6B; position: relative; z-index: 1; }

/* ── DIRECTORY: NOT FOUND ──────────────────────────────────────── */
.not-found-section {
  background: var(--sc-ink);
  padding: 5rem 0;
}
.not-found-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 800px) {
  .not-found-grid { grid-template-columns: 1fr 1fr; }
}
.not-found-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.not-found-eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: rgba(255,255,255,0.4); }
.not-found-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 0.75rem 0 1.25rem;
}
.not-found-body {
  font-size: 0.95rem; color: rgba(255,255,255,0.5);
  line-height: 1.8; margin-bottom: 2rem;
}
.not-found-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.not-found-options { display: flex; flex-direction: column; gap: 1rem; }
.option-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: background 150ms, border-color 150ms;
  cursor: pointer;
  text-decoration: none;
}
.option-card:hover { background: rgba(175,50,54,0.1); border-color: rgba(175,50,54,0.3); }
.option-icon {
  font-size: 22px; color: var(--sc-primary);
  flex-shrink: 0; margin-top: 2px;
  font-family: 'Material Symbols Outlined';
}
.option-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.option-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* ── COMMUNITY PROFILE PAGE ────────────────────────────────────── */
.community-profile-hero {
  background: var(--sc-ink);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.community-profile-hero__top {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.community-profile-hero__avatar {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(175,50,54,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 800;
  color: var(--sc-primary);
  flex-shrink: 0;
}
.community-profile-hero__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.02em; margin-top: 0.75rem;
}
.community-profile-hero__location {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}
.community-profile-hero__location .material-symbols-outlined { font-size: 16px; }
.community-profile-meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.community-profile-meta__item { font-size: 13px; color: rgba(255,255,255,0.45); }
.community-profile-meta__item strong { display: block; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.community-profile-body {
  background: #F5F3F0;
}
.community-profile-section {
  padding: 3rem 0;
  border-bottom: 1px solid #ECE9E4;
}
.community-profile-section:last-child { border-bottom: none; }
.community-profile-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 800;
  color: #1A1A1A; margin-bottom: 1.5rem;
}
