/* ─── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --bg: oklch(0.09 0.014 65);
  --bg-2: oklch(0.12 0.014 65);
  --fg: oklch(0.94 0.012 80);
  --fg-dim: oklch(0.60 0.010 75);
  --accent: oklch(0.72 0.10 155);
  --rule: oklch(0.22 0.010 70);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --page-max: 1280px;
  --page-px: 60px;
}

/* ─── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── NAVIGATION ──────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--page-px);
  max-width: var(--page-max);
  margin: 0 auto;
}

nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--rule);
  opacity: 0;
  transition: opacity 0.4s;
}

nav.scrolled::after { opacity: 1; }
nav.scrolled { background: oklch(0.09 0.014 65 / 0.94); backdrop-filter: blur(16px); }

.nav-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; }

.nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  text-decoration: none;
  padding: 8px 20px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--accent); }

/* ─── PAGE HERO (non-home pages) ────────────────────────────── */
.page-hero { padding: 160px var(--page-px) 80px; border-top: 1px solid var(--rule); }
.page-hero > * { max-width: var(--page-max); margin: 0 auto; }
.page-hero .page-hero-inner { max-width: min(860px, var(--page-max)); }
.page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.page-hero-headline {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.page-hero-headline em { font-style: italic; color: var(--fg-dim); }
.page-hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 52ch;
  line-height: 1.7;
  text-wrap: pretty;
  margin-bottom: 16px;
}
.page-hero-sub em { font-style: italic; }
.page-hero-body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 56ch;
  line-height: 1.8;
  text-wrap: pretty;
}

/* ─── SECTIONS ───────────────────────────────────────────────── */
section {
  padding: 80px var(--page-px);
  border-top: 1px solid var(--rule);
}
section > * { max-width: var(--page-max); margin-left: auto; margin-right: auto; }

.section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 80px;
  max-width: min(1100px, var(--page-max));
}

.section-label {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-top: 8px;
}
.section-num {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 6px;
  font-style: italic;
}
.section-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.section-headline em { font-style: italic; color: var(--fg-dim); }

/* ─── STEPS ───────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.step:first-child { border-top: 1px solid var(--rule); }

.step-num {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
  padding-top: 4px;
}

.step-content h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-content p {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 54ch;
  text-wrap: pretty;
}

/* ─── CARD GRID (home — companies) ───────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.card-grid-item {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-logo-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
  flex: 1;
}
.card-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
}
.card-link:hover { opacity: 0.7; }

/* ─── PROJECT LIST ────────────────────────────────────────────── */
.project-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }

.project-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 48px;
  margin-bottom: 48px;
}
.project-item:first-child { border-top: 1px solid var(--rule); }

.project-image { border-bottom: 1px solid var(--rule); overflow: hidden; aspect-ratio: 16 / 9; min-height: 260px; margin-bottom: 0; }
.project-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.project-content { padding: 48px 56px; display: flex; flex-direction: column; gap: 20px; }

.project-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.project-status {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--rule);
  color: var(--fg-dim);
}
.project-status.active { border-color: var(--accent); color: var(--accent); }
.project-status.shuttered { opacity: 0.5; }
.project-status.pivoted { opacity: 0.5; }

.project-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.project-title a { color: inherit; text-decoration: none; }
.project-title a:hover { color: var(--accent); }

.project-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--rule);
  padding: 5px 12px;
  transition: border-color 0.2s, color 0.2s;
}
.badge:hover { border-color: var(--accent); color: var(--accent); }

.project-desc {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 56ch;
}
.project-achievements { display: flex; flex-direction: column; gap: 6px; }
.project-achievements p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.5;
}
.project-achievements p::before { content: '— '; color: var(--accent); }
.project-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 8px;
  display: inline-block;
}
.project-link:hover { opacity: 0.7; }

/* ─── COMMUNITY GRID ──────────────────────────────────────────── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.community-card { background: var(--bg); display: flex; flex-direction: column; }
.community-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.community-card-body { padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.community-role {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.community-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.community-name a { color: inherit; text-decoration: none; }
.community-name a:hover { color: var(--accent); }
.community-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
  flex: 1;
}
.community-involvement {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--fg);
  margin-top: 8px;
}
.community-involvement span { color: var(--fg-dim); font-weight: 300; }
.community-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-top: 12px;
  display: inline-block;
}
.community-link:hover { opacity: 0.7; }

/* ─── IDEAS GRID ──────────────────────────────────────────────── */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.idea-card { background: var(--bg); padding: 40px 36px; display: flex; flex-direction: column; gap: 12px; }
.idea-category {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.idea-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.idea-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
  flex: 1;
}
.idea-status {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-top: 8px;
}

/* ─── OFFERINGS GRID ──────────────────────────────────────────── */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.offering-card { background: var(--bg); padding: 40px 36px; display: flex; flex-direction: column; gap: 12px; }
.offering-type {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.offering-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.offering-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* ─── CONTACT GRID ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-item {
  padding: 36px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-item:last-child { border-right: none; }
.contact-method {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.contact-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--fg);
}
.contact-value a { color: inherit; text-decoration: none; }
.contact-value a:hover { color: var(--accent); }
.contact-note {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-dim);
}

/* ─── CTA BAR ─────────────────────────────────────────────────── */
.cta-bar { padding: 100px var(--page-px); border-top: 1px solid var(--rule); }
.cta-bar > * { max-width: var(--page-max); margin: 0 auto; }
.cta-bar-inner { display: flex; flex-direction: column; gap: 24px; }
.cta-bar h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  color: var(--fg);
  letter-spacing: -0.02em;
  max-width: 20ch;
  line-height: 1.1;
}
.cta-bar h2 em { font-style: italic; color: var(--fg-dim); }
.cta-bar-body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 52ch;
  line-height: 1.7;
  text-wrap: pretty;
}
.cta-bar-contact {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--fg);
  margin-top: 8px;
}
.cta-bar-contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s, color 0.2s;
}
.cta-bar-contact a:hover { color: var(--accent); border-color: var(--accent); }

/* ─── FOOTER CTA ─────────────────────────────────────────────── */
#footer-cta {
  padding: 120px var(--page-px);
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
}
#footer-cta .footer-cta-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}
#footer-cta h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: pretty;
}
#footer-cta h2 em { font-style: italic; color: var(--fg-dim); }
.footer-cta-body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 44ch;
  line-height: 1.7;
}

/* ─── HERO (home page) ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
#hero .hero-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-px) 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-bottom: 32px;
}
.hero-headline em { font-style: italic; color: var(--fg-dim); }
.hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 42ch;
  line-height: 1.7;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.hero-body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 52ch;
  line-height: 1.8;
  text-wrap: pretty;
}
.hero-profile { width: 280px; height: 360px; flex-shrink: 0; position: relative; overflow: hidden; }
.hero-profile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scroll-indicator {
  position: absolute;
  right: var(--page-px);
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  opacity: 0.5;
}
.hero-scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: var(--fg-dim);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ─── CTA BUTTON ──────────────────────────────────────────────── */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--fg);
  text-decoration: none;
  padding: 16px 32px;
  transition: background 0.25s, color 0.25s;
}
.hero-cta:hover { background: var(--accent); color: var(--bg); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { padding: 40px var(--page-px); border-top: 1px solid var(--rule); }
footer .footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .logo { font-family: var(--serif); font-size: 15px; font-weight: 400; color: var(--fg-dim); }
footer .logo span { color: var(--accent); }
footer small {
  font-family: var(--sans);
  font-size: 12px;
  color: oklch(0.35 0.008 70);
  letter-spacing: 0.04em;
}

/* ─── BLOG ───────────────────────────────────────────────────── */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 0;
  max-width: 400px;
  margin: 0 auto;
}
.loading-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

.error-state {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 48px;
  border: 1px solid var(--rule);
  max-width: 480px;
}
.error-state p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: oklch(0.72 0.12 25);
}
.btn-retry {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-retry:hover { opacity: 0.8; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
.blog-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { background: var(--bg-2); }
.blog-card-image { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-date {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.blog-card-excerpt {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.65;
  flex: 1;
}
.blog-card-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card-cta::after { content: '→'; }

.blog-post { max-width: min(860px, var(--page-max)); margin: 0 auto; }
.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 48px;
  transition: color 0.2s;
}
.blog-post-back:hover { color: var(--accent); }
.blog-post-header { margin-bottom: 48px; }
.blog-post-date {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.blog-post-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.blog-post-image { width: 100%; height: 400px; object-fit: cover; display: block; margin-bottom: 48px; }
.blog-post-body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.85;
}
.blog-post-body h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--fg);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.blog-post-body h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--fg);
  margin: 32px 0 12px;
}
.blog-post-body p { margin-bottom: 20px; }
.blog-post-body a { color: var(--accent); text-decoration: none; }
.blog-post-body a:hover { text-decoration: underline; }
.blog-post-body strong { color: var(--fg); font-weight: 400; }
.blog-post-body em { font-style: italic; }
.blog-post-body code {
  font-family: monospace;
  font-size: 15px;
  background: var(--bg-2);
  padding: 2px 8px;
  color: oklch(0.72 0.10 155);
}
.blog-post-body pre { background: var(--bg-2); padding: 24px; overflow-x: auto; margin: 24px 0; }
.blog-post-body pre code { background: none; padding: 0; }
.blog-post-body ul { margin: 16px 0 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.blog-post-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--fg);
  margin: 32px 0;
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero entrance */
.hero-eyebrow, .hero-headline, .hero-sub, .hero-body {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.9s ease forwards;
}
.hero-headline { animation-delay: 0.15s; }
.hero-sub { animation-delay: 0.3s; }
.hero-body { animation-delay: 0.4s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --page-px: 28px; }
  nav .nav-inner { padding: 24px var(--page-px); }
  .nav-link { padding: 8px 14px; }

  #hero .hero-inner { grid-template-columns: 1fr; padding: 0 var(--page-px) 64px; }
  .hero-profile { width: 100%; height: 280px; order: -1; }
  .hero-scroll-indicator { display: none; }

  section { padding: 72px var(--page-px); }
  .section-grid { grid-template-columns: 1fr; gap: 20px 0; }

  .card-grid { grid-template-columns: 1fr; }
  .project-item { grid-template-columns: 1fr; }
  .project-image { border-right: none; border-bottom: 1px solid var(--rule); }
  .project-image img { height: 240px; }
  .project-content { padding: 36px 0; }

  .community-grid { grid-template-columns: 1fr; }
  .ideas-grid { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 0; }
  .contact-item:last-child { border-bottom: none; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-image { height: 260px; }

  .cta-bar { padding: 72px var(--page-px); }
  #footer-cta { padding: 80px var(--page-px); }
  footer { padding: 32px var(--page-px); }
  footer .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .page-hero { padding: 120px var(--page-px) 64px; }
}
