@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFD00A;
  --black: #121212;
  --off-black: #1C1C1E;
  --red: #D63C3F;
  --off-white: #f7f7f7;
  --grey: #FDFDFD;
  --sidebar-grey: #F4F5F7;
  --text-body: #2D2D2D;
  --text-muted: #6B7280;
  --card-border: rgba(255,208,10,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--off-black);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.announcement-bar a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
}
.announcement-bar a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,247,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18,18,18,0.08);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--off-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

.nav-cta {
  background: var(--black);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--off-black) !important; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
  overflow: hidden;
  background: var(--off-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,208,10,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(214,60,63,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(28,28,30,0.04) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--black);
  color: #fff;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--off-black); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid rgba(18,18,18,0.2);
  transition: transform 0.15s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--black); }

/* Floating cards in hero */
.hero-float {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.hero-float-left {
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}
.hero-float-right {
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}
.float-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,208,10,0.2);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(18,18,18,0.08);
  width: 200px;
  margin-bottom: 16px;
  font-size: 12px;
  backdrop-filter: blur(8px);
}
.float-card .fc-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.float-card .fc-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 4px;
}
.float-card .fc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 5px;
}

/* ── SECTION COMMON ── */
.section {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 96px 48px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 16px;
  line-height: 1.7;
}

/* ── PROBLEM SECTION ── */
.problem-section {
  background: var(--black);
  padding: 96px 48px;
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.problem-copy .section-eyebrow {
  color: var(--yellow);
}

.problem-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.problem-copy p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 20px;
}

.problem-copy strong { color: var(--yellow); }

/* PPF Diagram */
.ppf-diagram {
  position: relative;
  width: 100%;
  max-width: 440px;
}

/* ── OFFERINGS ── */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.offering-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(18,18,18,0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.offering-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
}

.offering-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(18,18,18,0.1); }
.offering-card:hover::before { opacity: 1; }

.offering-card.academy::before { background: radial-gradient(circle, rgba(255,208,10,0.25) 0%, transparent 70%); }
.offering-card.accelerator::before { background: radial-gradient(circle, rgba(214,60,63,0.18) 0%, transparent 70%); }
.offering-card.sip::before { background: radial-gradient(circle, rgba(28,28,30,0.1) 0%, transparent 70%); }

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.tag-learn { background: rgba(255,208,10,0.15); color: #8a6e00; }
.tag-build { background: rgba(214,60,63,0.12); color: var(--red); }
.tag-deploy { background: rgba(28,28,30,0.08); color: var(--off-black); }

.offering-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
}

.icon-academy { background: rgba(255,208,10,0.15); }
.icon-accelerator { background: rgba(214,60,63,0.12); }
.icon-sip { background: rgba(28,28,30,0.07); }

.offering-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.25;
}

.offering-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* ── CASE STUDIES ── */
.case-studies {
  background: var(--off-black);
  padding: 96px 48px;
}

.case-studies-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.case-studies .section-eyebrow { color: var(--yellow); }
.case-studies h2 { color: #fff; }
.case-studies .section-lead { color: rgba(255,255,255,0.6); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.case-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.case-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,208,10,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.case-card:hover { background: rgba(255,255,255,0.08); }

.case-theme {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
  display: block;
}

.case-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.case-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.case-stat {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
}

/* ── PHILOSOPHY / DARK SECTION ── */
.philosophy {
  background: var(--black);
  padding: 96px 48px;
  text-align: center;
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.philosophy .section-eyebrow { color: rgba(255,255,255,0.4); margin-bottom: 24px; }

.philosophy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.philosophy h2 em { font-style: italic; color: var(--yellow); }

.philosophy p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sgj-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 52px;
  flex-wrap: wrap;
}

.sgj-item {
  text-align: center;
  flex: 1;
  min-width: 160px;
  max-width: 200px;
}

.sgj-flag {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}

.sgj-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
  display: block;
}

.sgj-principle {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,208,10,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner { position: relative; max-width: 700px; margin: 0 auto; }

.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.final-cta h2 em { font-style: italic; color: var(--red); }

.final-cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  background: var(--off-black);
  padding: 52px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}
.footer-logo span { color: var(--yellow); }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: right;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0.7;
  margin-top: 4px;
}

/* ── FADE IN UP ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* ── CLIENT LOGOS ── */
.client-logos {
  background: var(--sidebar-grey);
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.client-logos p {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 160px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-cell img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.logo-cell:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(0);
  transform: scale(1.1);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 80px 24px; }
  .hero-float { display: none; }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .offerings-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 24px; }
  .section-full, .problem-section, .case-studies, .philosophy, .final-cta { padding: 64px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .sgj-row { gap: 20px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .logo-cell { width: 130px; height: 48px; }
}

@media (max-width: 600px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .logo-cell { width: 120px; height: 44px; }
}

/* ── ARTICLES SYSTEM ── */
.articles-hero {
  padding: 80px 24px 48px;
  text-align: center;
  background: var(--off-white);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.article-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(18,18,18,0.06);
  text-decoration: none;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(18,18,18,0.06);
}
.article-card .card-meta {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.article-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.article-card .read-more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Single Article Layout */
.article-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.article-header {
  margin-bottom: 48px;
  text-align: center;
}
.article-header .article-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s;
}
.article-header .article-eyebrow:hover {
  opacity: 0.8;
}
.article-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 20px;
}
.article-header h1 em {
  font-style: italic;
  color: var(--red);
}
.article-header .article-meta {
  font-size: 14px;
  color: var(--text-muted);
}
.article-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body);
}
.article-content p {
  margin-bottom: 24px;
}
.article-content p strong {
  color: var(--black);
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin: 48px 0 20px;
  color: var(--black);
  line-height: 1.3;
}
.article-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 36px 0 16px;
  color: var(--black);
}
.article-content blockquote {
  border-left: 3px solid var(--red);
  padding-left: 20px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content code {
  background: rgba(18,18,18,0.05);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-family: monospace;
}
.article-content hr {
  border: 0;
  height: 1px;
  background: rgba(18,18,18,0.1);
  margin: 48px 0;
}
.article-cta-box {
  margin-top: 64px;
  padding: 40px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(18,18,18,0.08);
}
.article-cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 12px;
}
.article-cta-box p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.article-cta-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-cta-box li {
  margin-bottom: 12px;
  font-size: 15px;
}
.article-cta-box li a {
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(18,18,18,0.2);
  transition: border-color 0.2s;
}
.article-cta-box li a:hover {
  border-color: var(--black);
}

/* ── CATEGORY LANDING PAGES ── */
.category-banner {
  background: var(--off-white);
  padding: 80px 24px 56px;
  border-bottom: 1px solid rgba(18,18,18,0.05);
}
.category-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.category-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.category-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 48px);
  margin: 0 0 12px;
  color: var(--black);
}
.category-banner-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0;
  line-height: 1.5;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  max-width: 1100px;
  margin: 64px auto 96px;
  padding: 0 24px;
}

.category-featured {
  display: flex;
  flex-direction: column;
}
.category-featured .featured-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.category-featured h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 16px;
  line-height: 1.2;
}
.category-featured h2 a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}
.category-featured h2 a:hover {
  color: var(--red);
}
.category-featured .featured-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.category-featured .featured-excerpt {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 28px;
}
.category-featured .read-article-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.category-featured .read-article-link:hover {
  gap: 10px;
}

.category-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sidebar-block {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(18,18,18,0.06);
}
.sidebar-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  padding-bottom: 10px;
}
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-item {
  display: block;
  text-decoration: none;
  group: hover;
}
.sidebar-item-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 4px;
  display: block;
}
.sidebar-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 6px;
  line-height: 1.4;
  transition: color 0.2s;
}
.sidebar-item:hover h4 {
  color: var(--red);
}
.sidebar-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Category Cards on main directory page */
.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 96px;
  padding: 0 24px;
}
.category-hub-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid rgba(18,18,18,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(18,18,18,0.04);
}
.category-hub-card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}
.category-hub-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin: 0 0 16px;
  color: var(--black);
}
.category-hub-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.category-hub-card-articles {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid rgba(18,18,18,0.06);
}
.category-hub-card-articles li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(18,18,18,0.04);
  font-size: 14px;
}
.category-hub-card-articles li a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.category-hub-card-articles li a:hover {
  color: var(--red);
}
.category-hub-card .btn-category-enter {
  margin-top: auto;
  text-align: center;
  padding: 12px;
  background: var(--off-white);
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  transition: background 0.2s;
}
.category-hub-card:hover .btn-category-enter {
  background: var(--black);
  color: #fff;
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .category-hub-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


