@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #10100e;
  --muted: #4c4a42;
  --soft: #f8f1e6;
  --paper: #fffaf0;
  --line: rgba(39, 31, 22, 0.15);
  --green: #174c32;
  --green-dark: #0d3924;
  --orange: #bd4e15;
  --orange-dark: #9f3d0b;
  --gold: #dfa046;
  --blue: #155cae;
  --shadow: 0 16px 40px rgba(63, 45, 25, 0.12);
  --text-body: #363229;
  --text-muted: #787368;
  --text-secondary: #4c4a42;
  --surface-card: rgba(255, 250, 241, 0.85);
  --surface-input: #fff;
  --surface-hero: #fff8eb;
  --border-subtle: rgba(53, 39, 24, 0.08);
  --border-card: rgba(53, 39, 24, 0.12);
  --border-input: rgba(53, 39, 24, 0.15);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ss-orange: #C85C1A;
  --ss-orange-light: #D4672C;
  --ss-orange-subtle: rgba(200, 92, 26, 0.08);
  --ss-green-dark: #1F3D1F;
  --ss-green-mid: #2B4A2A;
  --ss-ink: #1A1818;
  --ss-ink-secondary: #3D3D3A;
  --ss-ink-tertiary: #6B6B66;
  --ss-surface: #FFFFFF;
  --ss-surface-raised: #F9F7F3;
  --ss-cream: #EDE8DC;
  --ss-live: #16A34A;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10), 0 3px 8px rgba(0, 0, 0, 0.06);
  --shadow-focus: 0 0 0 3px rgba(200, 92, 26, 0.22);
  --font-mono: 'IBM Plex Mono', 'Fira Code', 'Courier New', monospace;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-sm: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: #f2eee5;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 22% 3%, rgba(205, 124, 54, 0.12), transparent 28rem), linear-gradient(180deg, #f5efe5 0%, #f2eee5 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-button svg,
.social-icon svg,
.digest-icon svg {
  width: 100%;
  height: 100%;
}

.site-frame {
  position: relative;
  min-height: 100vh;
}

/* Layout A — left strip: homepage, startups, investors */
.pattern-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 440px;
  background-image: url("assets/swahili-pattern.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
  z-index: 100;
  border-radius: 0 0 6px 0;
}

/* Layout B — right corner: events, news, articles, digest, partners, about, contact */
.pattern-corner {
  position: fixed;
  top: 0;
  right: 0;
  width: 60px;
  height: 300px;
  background-image: url("assets/swahili-pattern.png");
  background-repeat: repeat-y;
  background-size: 100% auto;
  z-index: 100;
  border-radius: 0 0 0 6px;
}

.layout-content .topbar {
  padding-left: 40px;
  padding-right: 90px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
  padding: 0 40px 0 90px;
  background: rgba(242, 238, 229, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand {
  flex: 0 0 auto;
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-mark {
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark strong {
  color: var(--orange);
}

.brand-line {
  margin-top: 1px;
  font-size: 7.5px;
  font-weight: 750;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 24px);
  flex: 1;
  font-size: 12px;
  font-weight: 800;
}

.main-nav a {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 5px;
  color: #171510;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* ─── Buttons (Step 3) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-light {
  color: #171510;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(24, 20, 15, 0.18);
}

.btn-primary {
  background: var(--ss-orange);
  color: #FFFFFF;
  border: none;
}

.btn-primary:hover {
  background: var(--ss-orange-light);
  box-shadow: 0 6px 18px rgba(200, 92, 26, 0.32);
}

.btn-green {
  background: var(--ss-green-dark);
  color: #FFFFFF;
  border: none;
}

.btn-green:hover {
  background: var(--ss-green-mid);
  box-shadow: 0 4px 14px rgba(31, 61, 31, 0.28);
}

.btn-outline {
  color: var(--ss-ink);
  background: transparent;
  border: 1px solid rgba(26, 24, 24, 0.22);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--ss-ink);
  background: rgba(26, 24, 24, 0.04);
  box-shadow: none;
}

/* ─── Nav (Step 4) ─── */
.main-nav a:not(.active):hover {
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

.main-nav a.active,
.main-nav>a.active {
  color: var(--ss-orange);
  font-weight: 600;
  position: relative;
}

.main-nav a.active::after,
.main-nav>a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ss-orange);
  border-radius: 1px;
}

.main-nav>a.active {
  background: transparent;
  border: none;
  border-left: none;
  box-shadow: none;
}

.main-nav a {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.main-nav a::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: scaleY(1.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  right: -4px;
  bottom: 0;
  background: var(--green);
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: left;
  z-index: -1;
  border-radius: 3px;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* ─── Shared Constraints ─── */
.feature-panel,
.proof-strip,
.content-grid,
.digest-band {
  width: 96%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 8;
}

.events-search-bar,
.events-page-grid,
.events-hero-content {
  width: 96%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 8;
}

.article-container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px;
  padding-right: 50px;
  position: relative;
  z-index: 8;
  padding-top: 20px;
  padding-bottom: 60px;
}

.breadcrumbs {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--ink);
}

.breadcrumbs span {
  margin: 0 4px;
  color: #a8a398;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.article-main {
  min-width: 0;
}

/* ─── Article (Step 6b) ─── */
.article-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ss-orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.article-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ss-orange);
  flex-shrink: 0;
}

.article-eyebrow span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ss-ink-tertiary);
}

.article-title {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

.author-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(53, 39, 24, 0.08);
  margin-bottom: 30px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  background: #d4cec4;
}

.author-details h4 {
  margin: 0 0 2px;
  font-size: 13.5px;
  font-weight: 850;
  color: var(--ink);
}

.author-details p {
  margin: 0;
  font-size: 12px;
  font-weight: 620;
  color: var(--text-muted);
}

.social-share {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.social-icon svg {
  width: 14px;
  height: 14px;
}

.icon-fb {
  background: #1877f2;
}

.icon-x {
  background: #0f1419;
}

.icon-li {
  background: #0a66c2;
}

.icon-link {
  background: #e0d9cc;
  color: var(--ink);
}

.article-featured-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(43, 29, 15, 0.1);
  margin-bottom: 30px;
}

.article-body p {
  font-size: 14.5px;
  line-height: 1.65;
  font-weight: 560;
  color: var(--text-body);
  margin: 0 0 20px;
}

.article-sidebar h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--ink);
}

.related-story {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  margin-bottom: 16px;
  align-items: center;
}

.related-story img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.related-story-info h4 {
  margin: 0 0 6px;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 850;
  color: var(--ink);
}

.related-story-info p {
  margin: 0;
  font-size: 11px;
  font-weight: 620;
  color: var(--text-muted);
}

.widget-digest {
  margin-top: 40px;
}

.widget-digest .sidebar-widget-header svg {
  color: var(--orange);
}

.homepage,
.page-container {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  padding-bottom: 40px;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.99) 0%, rgba(255, 247, 233, 0.96) 35%, rgba(255, 237, 211, 0.34) 58%, rgba(245, 189, 116, 0.11) 100%), #fff8eb;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  background: url("assets/hero-savanna.png") right bottom / cover no-repeat;
  opacity: 0.82;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.92) 31%, rgba(255, 247, 233, 0.48) 49%, rgba(255, 247, 233, 0.06) 72%);
}

.hero-content {
  position: relative;
  z-index: 7;
  padding: 42px 40px 20px 90px;
}

.hero h1 {
  max-width: 500px;
  margin: 0 0 14px;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--orange);
}

.hero-accent {
  color: var(--ss-orange);
  position: relative;
  display: inline;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--ss-orange);
  border-radius: 2px;
  animation: draw-underline 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes draw-underline {
  to {
    width: 100%;
  }
}

.hero h1 {
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.hero p {
  max-width: 460px;
  margin: 0 0 20px;
  color: #1a1814;
  font-size: clamp(12px, 1vw, 14.5px);
  line-height: 1.48;
  font-weight: 620;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Events ─── */
.events-hero-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.99) 0%, rgba(255, 247, 233, 0.96) 55%, rgba(255, 237, 211, 0.34) 88%, rgba(245, 189, 116, 0.11) 100%), #fff8eb;
  border-bottom: 1px solid rgba(53, 39, 24, 0.08);
  overflow: hidden;
}

.events-hero-content {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0 0 40px;
}

.events-title-block {
  max-width: 500px;
  position: relative;
  z-index: 10;
}

.events-title-block h1 {
  font-size: clamp(26px, 2.8vw, 38px);
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.events-title-block p {
  font-size: clamp(12px, 1vw, 14.5px);
  margin: 0;
  color: var(--text-body);
  font-weight: 560;
  line-height: 1.5;
}

.events-graphic {
  position: absolute;
  right: -40px;
  top: 0;
  height: 100%;
  pointer-events: none;
}

.events-graphic::before {
  content: "";
  display: block;
  height: 100%;
  width: 420px;
  background: url("assets/events-image.png") right center / auto 100% no-repeat;
  opacity: 0.95;
}

.events-graphic::after {
  content: none;
}

.events-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  padding: 10px;
  background: rgba(255, 250, 241, 0.93);
  border: 1px solid rgba(53, 39, 24, 0.15);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(63, 45, 25, 0.04);
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #8c8577;
}

.events-search-bar input[type="text"] {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 40px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 5px;
  background: var(--surface-input);
  font-family: inherit;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink);
}

.events-search-bar select {
  height: 40px;
  padding: 0 32px 0 16px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 5px;
  background: var(--surface-input) url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%234c4a42" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 12px center;
  appearance: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 620;
  color: var(--ink);
  cursor: pointer;
  min-width: 160px;
}

.events-search-bar .btn-green {
  height: 40px;
  padding: 0 24px;
  font-size: 13px;
}

.events-page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-bottom: 60px;
}

.events-main-col h2 {
  font-size: 16px;
  margin: 0 0 16px;
  font-weight: 900;
  color: var(--ink);
}

/* ─── Event Cards (Step 7) ─── */
.event-card {
  display: grid;
  grid-template-columns: 70px 1fr 180px;
  gap: 20px;
  padding: 24px;
  background: rgba(252, 248, 242, 0.82);
  border: 1px solid rgba(53, 39, 24, 0.07);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 45, 25, 0.08);
}

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ss-ink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  min-width: 68px;
  text-align: center;
}

.event-date-block .month {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ss-orange);
  line-height: 1;
  margin-bottom: 2px;
}

.event-date-block .day {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
}

.event-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 850;
  color: var(--ink);
}

.event-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ss-orange);
  letter-spacing: 0.04em;
}

.event-location svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.event-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 560;
  color: var(--text-body);
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 750;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 4px;
}

.event-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px;
}

.event-date-range {
  font-size: 12px;
  font-weight: 750;
  color: var(--ink);
}

.sidebar-widget {
  padding: 24px;
  background: rgba(255, 250, 241, 0.85);
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 8px;
  margin-bottom: 24px;
}

.sidebar-widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.sidebar-widget-header svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.sidebar-widget h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.sidebar-widget p {
  margin: 0 0 20px;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 560;
  color: var(--text-body);
}

.sidebar-widget .btn {
  width: 100%;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.category-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(53, 39, 24, 0.08);
  font-size: 13px;
  font-weight: 620;
  color: var(--ink);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list .count {
  font-size: 12px;
  font-weight: 850;
  color: var(--text-muted);
}

.sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
  color: var(--green-dark);
}

/* ─── Feature Panel ─── */
.feature-panel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: -40px;
  margin-bottom: 20px;
  border: 1px solid rgba(53, 39, 24, 0.19);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.85);
  box-shadow: 0 16px 40px rgba(63, 45, 25, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.feature-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  min-height: 0;
  padding: 16px 14px 14px;
  border-right: 1px solid rgba(53, 39, 24, 0.16);
  transition: background 0.2s var(--ease-out);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.5);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card h2 {
  margin: 0;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
}

.feature-card p {
  margin: 8px 0 0;
  color: #211e18;
  font-size: 11px;
  line-height: 1.58;
  font-weight: 620;
}

.feature-icon {
  width: 28px;
  height: 28px;
  padding: 1px;
}

.feature-icon img,
.action-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-orange {
  color: var(--orange);
}

.icon-green {
  color: var(--green);
}

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 26px);
  min-height: 40px;
  margin-bottom: 30px;
  padding: 10px 16px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #14120e;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(63, 45, 25, 0.03);
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.proof-strip svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  stroke-width: 1.8;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.watching,
.platform {
  min-width: 0;
  padding: 24px 28px;
  border: 1px solid rgba(53, 39, 24, 0.13);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(63, 45, 25, 0.04);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--ss-orange);
  border-radius: 2px;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-heading a,
.watching-story a,
.action-card a {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.watching-story {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 24px;
  align-items: start;
}

.watching-story img {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(43, 29, 15, 0.12);
}

.story-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.story-copy h3 {
  max-width: 420px;
  margin: 0 0 12px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.2;
  font-weight: 950;
}

.story-copy p:not(.eyebrow) {
  margin: 0 0 12px;
  max-width: 420px;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 560;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d7d0c6;
}

.slider-dots .active {
  background: var(--orange);
}

.action-card h3,
.digest-band h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.action-card {
  padding: 24px 20px;
  border: 1px solid rgba(53, 39, 24, 0.13);
  border-radius: 10px;
  background: rgba(255, 253, 246, 0.74);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(63, 45, 25, 0.08);
  border-color: rgba(53, 39, 24, 0.25);
}

.action-card.highlighted {
  background: linear-gradient(180deg, rgba(247, 185, 83, 0.14), rgba(255, 250, 240, 0.88)), #fff7e8;
  border-color: rgba(189, 78, 21, 0.18);
}

.action-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.action-icon svg {
  width: 20px;
  height: 20px;
}

.icon-blue {
  color: #fff;
  background: var(--blue);
}

.icon-green-fill {
  color: #fff;
  background: #257742;
}

.icon-gold {
  color: #fff;
  background: var(--gold);
}

.action-card p {
  margin: 10px 0 14px;
  color: #302c24;
  font-size: 12px;
  line-height: 1.58;
  font-weight: 560;
}

.digest-band {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 86px;
  margin-bottom: 40px;
  overflow: hidden;
  padding: 16px 120px 16px 20px;
  border: 1px solid rgba(53, 39, 24, 0.15);
  border-radius: 24px;
  background: var(--ss-green-dark);
  box-shadow: 0 8px 20px rgba(55, 37, 18, 0.07);
}

.digest-band::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.digest-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: #fff;
  border-radius: 999px;
  background: var(--green);
}

.digest-band h2 {
  font-size: 16px;
  color: #fff;
}

.digest-band p {
  margin: 6px 0 0;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.48;
  font-weight: 620;
}

.digest-button {
  min-width: 260px;
  font-size: 12px;
}

.digest-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60px;
  background-image: url("assets/swahili-pattern.png");
  background-repeat: repeat-y;
  background-size: 60px auto;
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0% 100%);
}

/* ─── SVG / Visually Hidden ─── */
.search-field svg,
.stat-card svg,
.stat-card img,
.sidebar-icon img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Directory Pages ─── */
.startups-page {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.startups-hero {
  width: 96%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 0 24px;
  position: relative;
  z-index: 8;
}

.startups-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.startups-hero p {
  margin: 0;
  max-width: 680px;
  font-size: clamp(12px, 1vw, 14.5px);
  font-weight: 560;
  color: var(--text-body);
  line-height: 1.5;
}

.startup-controls {
  width: 96%;
  max-width: 1140px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 250, 241, 0.93);
  border: 1px solid rgba(53, 39, 24, 0.15);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(63, 45, 25, 0.04);
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
}

.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #8c8577;
  z-index: 1;
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 40px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 5px;
  background: var(--surface-input);
  font-family: inherit;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink);
}

.startup-controls select {
  height: 40px;
  min-width: 140px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 5px;
  background: var(--surface-input) url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%234c4a42" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 10px center;
  appearance: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 620;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.filter-button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 5px;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  color: var(--green-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s var(--ease-out);
}

.filter-button:hover {
  background: rgba(23, 76, 50, 0.06);
}

@media (max-width: 767px) {
  .startup-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
  }

  .startup-controls .search-field,
  .startup-controls input[type="text"],
  .startup-controls input[type="search"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  .startup-controls select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .startup-controls .filter-button,
  .startup-controls button[type="button"],
  .startup-controls [id*="reset"] {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.table-shell {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.startup-tagline-cell {
  font-size: 12px;
  color: #777;
  text-transform: none;
  display: block;
  margin-top: 2px;
}

@media (max-width: 767px) {

  .table-shell .startups-table thead,
  .table-shell table thead,
  .startup-database table thead,
  #startup-tbody table thead {
    display: none;
  }

  .table-shell .startups-table tbody tr,
  .table-shell table tbody tr,
  .startup-database table tbody tr,
  #startup-tbody tr {
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: var(--surface-card, #f5f0e8);
  }

  .table-shell .startups-table tbody td,
  .table-shell table tbody td,
  .startup-database table tbody td,
  #startup-tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0;
    font-size: 14px;
    border: none;
  }

  .table-shell .startups-table tbody td::before,
  .table-shell table tbody td::before,
  .startup-database table tbody td::before,
  #startup-tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 80px;
    margin-right: 12px;
  }

  .table-shell .startups-table tbody th[scope="row"],
  .table-shell table tbody th[scope="row"],
  .startup-database table tbody th[scope="row"],
  #startup-tbody th[scope="row"] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0;
    font-size: 14px;
    border: none;
  }

  .table-shell .startups-table tbody th[scope="row"]::before,
  .table-shell table tbody th[scope="row"]::before,
  .startup-database table tbody th[scope="row"]::before,
  #startup-tbody th[scope="row"]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 80px;
    margin-right: 12px;
  }
}

/* ─── Stat Grid (Step 8) ─── */
.stat-grid {
  width: 96%;
  max-width: 1140px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  text-align: center;
  padding: 24px 14px 20px;
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(53, 39, 24, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(63, 45, 25, 0.04);
  transition: box-shadow 0.2s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ss-orange);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-card span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ss-ink-tertiary);
}

.stat-card.rocket-stat {
  display: grid;
  place-items: center;
  padding: 10px;
}

.stat-card.rocket-stat img {
  width: 40px;
  height: 40px;
}

@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card.rocket-stat {
    display: none;
  }
}

/* ─── Directory Table (Step 8) ─── */
.startup-layout {
  width: 96%;
  max-width: 1140px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.startup-database {
  min-width: 0;
}

.table-shell {
  overflow-x: auto;
  background: rgba(255, 250, 241, 0.85);
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 8px;
}

.table-shell table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-weight: 560;
}

.table-shell caption {
  font-size: 14px;
  font-weight: 900;
  padding: 16px 20px;
  text-align: left;
  color: var(--ink);
}

.table-shell thead {
  border-bottom: 2px solid rgba(53, 39, 24, 0.1);
}

.table-shell th {
  padding: 10px 16px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.table-shell tbody tr {
  border-bottom: 1px solid rgba(53, 39, 24, 0.06);
  border-left: 2px solid transparent;
  transition: background 0.12s ease, border-left-color 0.12s ease;
}

.table-shell tbody tr:hover {
  background: var(--ss-orange-subtle);
  border-left-color: var(--ss-orange);
}

.table-shell td {
  padding: 14px 16px;
  vertical-align: top;
}

.table-shell th[scope="row"] strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.table-shell th[scope="row"] span {
  font-size: 11.5px;
  font-weight: 560;
  color: var(--text-muted);
}

.stage-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 750;
  border-radius: 4px;
  background: rgba(23, 76, 50, 0.07);
  color: var(--green-dark);
  border: 1px solid rgba(23, 76, 50, 0.15);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 620;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pagination a {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.8);
  border: 1px solid rgba(53, 39, 24, 0.1);
}

.pagination a.current {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.pagination-arrow.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pagination span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Directory Sidebar (Step 8) ─── */
.startup-sidebar {
  min-width: 0;
}

.get-listed-panel {
  padding: 24px 20px;
  margin-bottom: 20px;
  background: var(--ss-surface);
  border: 0.5px solid rgba(26, 24, 24, 0.09);
  border-top: 3px solid var(--ss-orange);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.get-listed-panel h2 {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.get-listed-panel p {
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 560;
  color: var(--text-body);
}

.get-listed-panel .btn {
  width: 100%;
}

.sidebar-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto;
}

.sidebar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sector-panel {
  padding: 20px;
  background: rgba(255, 250, 241, 0.85);
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-radius: 8px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.panel-heading a {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
}

.sector-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.sector-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(53, 39, 24, 0.06);
  font-size: 12.5px;
  font-weight: 620;
  color: var(--ink);
}

.sector-list li:last-child {
  border-bottom: none;
}

.sector-list li span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sector-list li strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.dot.fintech {
  background: #bd4e15;
}

.dot.health {
  background: #257742;
}

.dot.agri {
  background: #5b8c1e;
}

.dot.ai {
  background: #155cae;
}

.dot.commerce {
  background: #dfa046;
}

.dot.edtech {
  background: #8b5cf6;
}

.dot.logistics {
  background: #0891b2;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-dark);
}

/* ─── Detail Pages ─── */
.detail-container {
  width: 96%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.detail-header {
  margin-bottom: 28px;
}

.detail-header h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 900;
}

.detail-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  background: rgba(23, 76, 50, 0.08);
  color: var(--green);
  border: 1px solid rgba(23, 76, 50, 0.18);
  margin-right: 10px;
}

.detail-badge.angel {
  background: rgba(223, 160, 70, 0.12);
  color: #8b6914;
  border-color: rgba(223, 160, 70, 0.25);
}

.detail-badge.dfi {
  background: rgba(21, 92, 174, 0.08);
  color: var(--blue);
  border-color: rgba(21, 92, 174, 0.18);
}

.detail-badge.corporate_vc {
  background: rgba(189, 78, 21, 0.08);
  color: var(--orange);
  border-color: rgba(189, 78, 21, 0.18);
}

.detail-badge.family_office {
  background: rgba(76, 74, 66, 0.06);
  color: var(--muted);
  border-color: rgba(76, 74, 66, 0.18);
}

.detail-badge.accelerator {
  background: rgba(37, 119, 66, 0.08);
  color: #257742;
  border-color: rgba(37, 119, 66, 0.18);
}

.detail-featured {
  display: inline-block;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  background: rgba(223, 160, 70, 0.14);
  color: #8b6914;
  border: 1px solid rgba(223, 160, 70, 0.3);
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.detail-main {
  min-width: 0;
}

.detail-sidebar {
  min-width: 0;
}

.detail-section {
  margin-bottom: 28px;
}

.detail-section h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

.detail-section p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 560;
  color: var(--text-body);
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.detail-stat {
  text-align: center;
  padding: 16px 12px;
  background: rgba(255, 250, 241, 0.86);
  border: 1px solid rgba(53, 39, 24, 0.1);
  border-radius: 8px;
}

.detail-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.detail-stat span {
  font-size: 10.5px;
  font-weight: 650;
  color: var(--text-muted);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 650;
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(53, 39, 24, 0.12);
  color: var(--ink);
}

.pill.sector {
  background: rgba(23, 76, 50, 0.06);
  color: var(--green-dark);
  border-color: rgba(23, 76, 50, 0.16);
}

.portfolio-item {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(53, 39, 24, 0.06);
}

.portfolio-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.portfolio-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 850;
}

.portfolio-item p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.traction-notes {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(23, 76, 50, 0.04);
  border: 1px solid rgba(23, 76, 50, 0.12);
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 560;
  color: var(--text-body);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 620;
}

.contact-item a {
  color: var(--green-dark);
  font-weight: 700;
}

.premium-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(223, 160, 70, 0.08);
  border: 1px solid rgba(223, 160, 70, 0.2);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #8b6914;
}

@media (max-width: 800px) {
  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Page Headers (Step 5) ─── */
.page-header {
  padding: 48px 0 40px;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--ss-orange);
  border-radius: 2px;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ss-orange);
  margin-bottom: 14px;
}

.page-header h1,
.page-header-title {
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ss-ink);
  margin: 0 0 16px;
}

.page-header p,
.page-header-subtitle {
  font-size: 15px;
  color: var(--ss-ink-secondary);
  max-width: 560px;
  line-height: 1.65;
}

/* ─── Footer ─── */
.site-footer {
  position: relative;
  z-index: 8;
  margin-top: 60px;
  padding: 56px 0 24px;
  border-top: 1px solid rgba(53, 39, 24, 0.08);
  background: rgba(255, 250, 241, 0.5);
}

.footer-inner {
  width: 96%;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.footer-logo strong {
  color: var(--orange);
}

.footer-tagline {
  font-size: 11px;
  font-weight: 650;
  color: var(--text-muted);
}

.footer-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 560;
  color: var(--text-body);
  max-width: 280px;
}

.footer-subscribe {
  display: flex;
  gap: 0;
  max-width: 280px;
  margin-top: 4px;
}

.footer-subscribe input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(53, 39, 24, 0.12);
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: var(--surface-input);
  font-family: inherit;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink);
}

.footer-subscribe input:focus {
  outline: none;
  border-color: var(--green);
}

.footer-subscribe button {
  width: 44px;
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s var(--ease-out);
}

.footer-subscribe button:hover {
  background: var(--green-dark);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col strong {
  font-size: 10px;
  font-weight: 750;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  font-size: 13px;
  font-weight: 560;
  color: var(--text-body);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s var(--ease-out);
}

.footer-col a:hover {
  color: var(--green-dark);
}

.footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(53, 39, 24, 0.15);
  flex-shrink: 0;
  transition: background 0.2s var(--ease-out), width 0.2s var(--ease-out);
}

.footer-col a:hover .footer-dot {
  background: var(--green);
  width: 12px;
}

.footer-location {
  font-size: 12px;
  font-weight: 560;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-row a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(53, 39, 24, 0.05);
  color: var(--text-muted);
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.footer-social-row a:hover {
  background: var(--green);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(53, 39, 24, 0.06);
  font-size: 11px;
  font-weight: 560;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* ─── Hamburger ─── */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: none;
  border: 1px solid rgba(53, 39, 24, 0.18);
  border-radius: 5px;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(16, 14, 10, 0.4);
  backdrop-filter: blur(2px);
}

.mobile-overlay.open {
  display: block;
}

.drawer-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  z-index: 96;
  border-radius: 6px;
}

.drawer-close:hover {
  background: rgba(53, 39, 24, 0.06);
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .nav-user-name,
  .nav-dash-btn,
  #btn-logout {
    display: none !important;
  }

  .drawer-close {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100dvh;
    z-index: 95;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 20px max(32px, env(safe-area-inset-bottom));
    background: rgba(255, 250, 240, 0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(53, 39, 24, 0.12);
    box-shadow: -8px 0 30px rgba(63, 45, 25, 0.12);
    transition: right 0.3s var(--ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 0;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav>a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 650;
    border-radius: 8px;
    color: var(--ink);
    border-left: 3px solid transparent;
    transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
  }

  .main-nav>a:hover {
    background: rgba(23, 76, 50, 0.06);
    border-left-color: var(--green);
  }

  .mobile-auth {
    margin-top: auto;
    padding-top: 20px;
    width: 100%;
    border-top: 1px solid rgba(53, 39, 24, 0.12);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-auth-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-body);
    padding: 4px 0;
    text-align: center;
  }

  .mobile-auth .btn {
    width: 100%;
    text-align: center;
    min-height: 44px;
    font-size: 13px;
  }

  .topbar {
    justify-content: space-between;
    padding: 0 16px 0 16px !important;
  }

  .header-actions {
    margin-left: auto;
  }

  #nav-auth {
    display: none;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
  }

  .feature-panel,
  .proof-strip,
  .content-grid,
  .digest-band,
  .events-search-bar,
  .events-page-grid,
  .events-hero-content,
  .startups-hero,
  .startup-layout,
  .startup-database,
  .stat-grid,
  .startup-controls,
  .investor-grid,
  .dash-page,
  .static-page,
  .detail-container,
  .news-featured,
  .news-grid,
  .news-tip-band,
  .news-categories {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }

  .topbar {
    padding: 0 20px !important;
  }

  .pattern-strip {
    width: 40px;
  }

  .btn,
  .icon-button {
    min-height: 44px;
  }

  .startups-hero h1,
  .dash-page h1,
  .static-page h1 {
    font-size: 26px;
  }

  .startups-hero p,
  .dash-sub {
    font-size: 14px;
  }

  .hero-content {
    padding: 32px 20px 20px;
  }

  .hero h1 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero p {
    font-size: 14px;
  }

  .brand-mark {
    font-size: 14px;
  }

  .brand-line {
    font-size: 9px;
    line-height: 1.2;
  }

  .digest-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }

  .digest-icon {
    margin: 0 auto;
  }

  .digest-button {
    width: 100%;
  }

  .proof-strip {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 12px;
  }

  .proof-strip span:nth-child(even) {
    display: none;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card strong {
    font-size: 2rem;
  }

  .stat-card span {
    font-size: 11px;
  }

  .startup-layout {
    grid-template-columns: 1fr;
  }

  .events-page-grid {
    grid-template-columns: 1fr;
  }

  .events-search-bar {
    flex-direction: column;
  }

  .events-search-bar select {
    width: 100%;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-actions {
    align-items: flex-start;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card img {
    min-height: 180px;
  }

  .investor-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .news-categories {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .news-cat {
    flex-shrink: 0;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .admin-item {
    flex-direction: column;
  }

  .admin-item .actions {
    margin-left: 0;
    margin-top: 12px;
  }

  .table-shell {
    font-size: 12px;
    overflow-x: auto;
  }

  .table-shell th,
  .table-shell td {
    padding: 10px 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .breadcrumbs {
    font-size: 11px;
  }

  .article-title {
    font-size: 20px;
  }

  .event-detail-hero {
    padding: 24px 20px;
  }

  .event-detail-meta {
    flex-direction: column;
    gap: 8px;
  }

  .detail-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-body {
    grid-template-columns: 1fr;
  }

  .news-tip-band {
    flex-direction: column;
    text-align: center;
  }

  .events-tip-band {
    flex-direction: column;
    text-align: center;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* ─── Skeleton / Empty State / Fade-in ─── */
@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, rgba(53, 39, 24, 0.06) 25%, rgba(53, 39, 24, 0.1) 37%, rgba(53, 39, 24, 0.06) 63%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}

.skeleton-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr 1fr;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: 8px;
}

.skeleton-cell {
  height: 16px;
  background: linear-gradient(90deg, rgba(53, 39, 24, 0.06) 25%, rgba(53, 39, 24, 0.1) 37%, rgba(53, 39, 24, 0.06) 63%);
  background-size: 800px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-cell.short {
  width: 60%;
}

.skeleton-cell.title {
  height: 18px;
  width: 80%;
}

.skeleton-cell.subtitle {
  height: 12px;
  width: 50%;
  margin-top: 6px;
}

.skeleton-card {
  padding: 20px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.5);
  border: 1px solid rgba(53, 39, 24, 0.06);
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(53, 39, 24, 0.04);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--text-muted);
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 850;
  color: var(--ink);
}

.empty-state p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 560;
  color: var(--text-muted);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.empty-state .btn {
  font-size: 12px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.35s var(--ease-out) both;
}

.card-fade-in {
  animation: fadeIn 0.35s var(--ease-out) both;
}

/* ─── Magnetize Button ─── */
.magnetize-btn {
  position: relative;
  overflow: visible;
}

.magnetize-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0.35;
}

.magnetize-btn:hover .magnetize-particle {
  opacity: 1;
}

/* ─── Typography Tightening (Step 16) ─── */
h1 {
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h3 {
  letter-spacing: -0.015em;
  line-height: 1.2;
}

[class*="number"],
[class*="count"],
[class*="amount"],
[class*="price"],
[class*="ticket"],
[class*="raise"] {
  font-family: var(--font-mono);
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .feature-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card:nth-child(3n) {
    border-right: 0;
  }

  .feature-card:nth-child(n+4) {
    border-top: 1px solid rgba(53, 39, 24, 0.16);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .proof-strip {
    flex-wrap: wrap;
  }

  .events-page-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {

  .pattern-strip,
  .pattern-corner {
    display: none;
  }

  .hero {
    min-height: 380px;
    margin: 0;
    border-radius: 0;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .feature-panel,
  .proof-strip,
  .content-grid,
  .digest-band,
  .events-search-bar,
  .events-page-grid,
  .events-hero-content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .article-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-card {
    border-right: 0;
    border-bottom: 1px solid rgba(53, 39, 24, 0.08);
    padding: 14px 12px;
    min-height: 0;
  }

  .feature-card:nth-child(2n) {
    border-right: 0;
  }

  .feature-card:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .watching-story {
    grid-template-columns: 1fr;
  }

  .platform-cards {
    grid-template-columns: 1fr;
  }

  .digest-band {
    grid-template-columns: 40px 1fr;
    padding-right: 60px;
  }

  .digest-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .events-hero-wrapper {
    height: auto;
    min-height: 0;
  }

  .events-hero-content {
    flex-direction: column;
    padding: 30px 20px 0;
  }

  .events-graphic {
    position: relative;
    display: block;
    right: auto;
    left: 0;
    transform: none;
    width: 240px;
    min-width: 0;
    height: 120px;
    margin: 10px auto 0 auto;
    background-image: url("assets/events-image.png");
    background-position: right bottom;
    background-size: auto 100%;
    background-repeat: no-repeat;
    clear: both;
  }

  .events-graphic::before {
    display: none;
  }

  .events-search-bar {
    flex-direction: column;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-actions {
    align-items: flex-start;
  }

  .author-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .layout-content .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }
}