/* ============================================================
   Orhoj Site Styles
   Ports every inline style from the React prototype to classes.
   Loads AFTER tokens.css (which provides --clay-*, --walnut-*,
   --terracotta-*, --sage-*, --wheat-*, --fs-*, --sp-*, --radius-*,
   --shadow-*, --font-serif, --font-sans, --font-mono, --ease-out, etc.)
   ============================================================ */

/* ── Resets & defaults ─────────────────────────────── */
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg-1); font-family: var(--font-sans); overflow-x: hidden; }
* { box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }

/* ── Drag-and-drop reset ───────────────────────────── */
/* Neutralize HubSpot dnd_section/column/row default padding & max-width
   so module-defined sections render full-bleed as designed. */
.dnd-section { padding-left: 0 !important; padding-right: 0 !important; }
.dnd-section > .row-fluid,
.dnd-section .row-fluid-wrapper > .row-fluid {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.dnd-section .widget-span { padding: 0 !important; }
/* Page-hero dnd_section keeps its own padding (set inline by template). */
.dnd-section.page-hero { padding-left: 32px !important; padding-right: 32px !important; }

/* Multi-column dnd_section — constrain width, add gap, stack on mobile.
   Targets ANY dnd_section whose row contains 2+ columns, so this works on
   existing pages without relying on a custom css_class. */
.dnd-section {
  padding-left: 32px !important; padding-right: 32px !important;
}
.dnd-section > .row-fluid:has(> .dnd-column ~ .dnd-column) {
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  gap: 80px !important;
  align-items: flex-start !important;
}
.dnd-section > .row-fluid:has(> .dnd-column ~ .dnd-column) > .dnd-column {
  width: auto !important;
  margin: 0 !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
/* 38 / 62 split when exactly two columns share a row */
.dnd-section > .row-fluid:has(> .dnd-column:first-child + .dnd-column:last-child) > .dnd-column:first-child { flex: 0 1 38% !important; }
.dnd-section > .row-fluid:has(> .dnd-column:first-child + .dnd-column:last-child) > .dnd-column:last-child  { flex: 1 1 62% !important; }
@media (max-width: 960px) {
  .dnd-section > .row-fluid:has(> .dnd-column ~ .dnd-column) {
    flex-direction: column !important;
    gap: 32px !important;
  }
  .dnd-section > .row-fluid:has(> .dnd-column ~ .dnd-column) > .dnd-column {
    flex: 1 1 auto !important;
  }
}
/* Page hero dnd_section — single column, constrain inner content to .container width */
.dnd-section.page-hero > .row-fluid {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── Theme: dark mode ──────────────────────────────── */
body.dark { background: var(--walnut-700); color: var(--clay-50); }
body.dark ::selection { background: rgba(232,184,122,0.3); color: var(--clay-50); }

/* ── Utilities ─────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }
.wrap--narrow { max-width: 1040px; }
.wrap--prose { max-width: 720px; }
.wrap--body { max-width: 640px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.eyebrow--inverse,
body.dark .eyebrow:not(.eyebrow--force-light) { color: var(--wheat-400); }
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 999px;
  background: var(--terracotta-400); margin-right: 10px; vertical-align: middle;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; transition: all 140ms var(--ease-out);
  text-decoration: none; border: 0;
  padding: 12px 20px; font-size: 15px; border-radius: 14px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm  { padding: 8px 14px;  font-size: 13px; border-radius: 10px; }
.btn--md  { padding: 12px 20px; font-size: 15px; border-radius: 14px; }
.btn--lg  { padding: 16px 28px; font-size: 16px; border-radius: 16px; }

.btn--primary        { background: var(--terracotta-500); color: #fff; }
.btn--primary:hover  { background: var(--terracotta-400); }
.btn--primary:active { background: var(--terracotta-600); }

.btn--secondary        { background: transparent; color: var(--walnut-600); border: 1px solid var(--clay-300); }
.btn--secondary:hover  { background: var(--clay-100); border-color: var(--walnut-600); }

.btn--secondary-dark        { background: transparent; color: var(--clay-50); border: 1px solid rgba(255,255,255,.2); }
.btn--secondary-dark:hover  { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }

.btn--ghost       { background: transparent; color: var(--walnut-600); }
.btn--ghost:hover { background: var(--clay-100); }
.btn--ghost-dark       { background: transparent; color: var(--clay-50); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.06); }

body.dark .btn--secondary { color: var(--clay-50); border-color: rgba(255,255,255,.2); }
body.dark .btn--secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
body.dark .btn--ghost { color: var(--clay-50); }
body.dark .btn--ghost:hover { background: rgba(255,255,255,.06); }

.btn-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Arrow SVG inline helper (each arrow is literal SVG in markup) */
.icon-arrow { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Badges ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  letter-spacing: .02em;
  background: var(--clay-100); border: 1px solid var(--clay-200); color: var(--fg-2);
}
.badge--accent { background: var(--accent-soft); border-color: rgba(200,90,58,.18); color: var(--terracotta-700); }

/* Badge on any dark surface (footer, hero, cta-block, body.dark, etc.) */
[data-surface="dark"] .badge,
.surface--dark .badge,
body.dark .badge,
.hero-walnut .badge,
.cta-block .badge,
.site-footer .badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--clay-100);
}
[data-surface="dark"] .badge--accent,
.surface--dark .badge--accent,
body.dark .badge--accent,
.hero-walnut .badge--accent,
.cta-block .badge--accent,
.site-footer .badge--accent {
  background: rgba(200, 90, 58, 0.18);
  border-color: rgba(200, 90, 58, 0.40);
  color: var(--terracotta-300);
}

/* ── Nav / Site header ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(251,246,236,.82);
  border-bottom: 1px solid var(--border);
}
body.dark .site-header {
  background: rgba(30,24,19,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-lockup__name {
  font-family: var(--font-serif); font-size: 22px; font-weight: 500;
  color: var(--fg-1); letter-spacing: -.02em;
  font-variation-settings: 'opsz' 22;
}
body.dark .brand-lockup__name { color: var(--clay-50); }

.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav__link {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--fg-2); letter-spacing: -.005em;
  transition: color 140ms var(--ease-out);
}
.site-nav__link:hover,
.site-nav__link--active { color: var(--terracotta-600); font-weight: 600; }
body.dark .site-nav__link { color: var(--clay-200); }
body.dark .site-nav__link:hover,
body.dark .site-nav__link--active { color: var(--wheat-400); }

/* Hamburger toggle — hidden on desktop, shown on mobile */
.site-nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0; margin: 0;
  background: transparent; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--fg-1);
  border-radius: 10px;
  transition: background 140ms var(--ease-out);
}
.site-nav__toggle:hover { background: var(--clay-100); }
body.dark .site-nav__toggle { color: var(--clay-50); }
body.dark .site-nav__toggle:hover { background: rgba(255,255,255,.06); }
.site-nav__toggle-bars {
  position: relative; display: block;
  width: 22px; height: 14px;
}
.site-nav__toggle-bars span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 140ms var(--ease-out), top 220ms var(--ease-out);
}
.site-nav__toggle-bars span:nth-child(1) { top: 0; }
.site-nav__toggle-bars span:nth-child(2) { top: 6.25px; }
.site-nav__toggle-bars span:nth-child(3) { top: 12.5px; }
.site-header--nav-open .site-nav__toggle-bars span:nth-child(1) {
  top: 6.25px; transform: rotate(45deg);
}
.site-header--nav-open .site-nav__toggle-bars span:nth-child(2) { opacity: 0; }
.site-header--nav-open .site-nav__toggle-bars span:nth-child(3) {
  top: 6.25px; transform: rotate(-45deg);
}

/* ── Hero — walnut full-bleed ──────────────────────── */
.hero-walnut {
  position: relative; overflow: hidden;
  background: var(--walnut-700); color: var(--clay-50);
  padding: 128px 32px 144px;
}
.hero-walnut__shape {
  position: absolute; border-radius: 999px; pointer-events: none;
}
.hero-walnut__shape--ring {
  right: -10%; top: -20%;
  width: 60%; aspect-ratio: 1;
  border: 1px solid rgba(232,184,122,.2);
}
.hero-walnut__shape--fill {
  right: -15%; top: -15%;
  width: 40%; aspect-ratio: 1;
  background: var(--wheat-400); opacity: .06;
}
.hero-walnut .wrap { max-width: 1200px; margin: 0 auto; padding: 0; }
.hero-walnut__eyebrow { margin-bottom: 56px; color: var(--wheat-400); }
.hero-walnut__headline {
  font-family: var(--font-serif);
  font-size: clamp(60px, 10.5vw, 168px);
  line-height: .95;          /* tighten slightly at large sizes */
  letter-spacing: -.045em;   /* serif headlines like a touch more negative tracking when big */
  max-width: 16ch;
  margin: 0 0 40px; max-width: 14ch;
  color: var(--clay-50); font-weight: 400;
  text-wrap: balance;
  font-variation-settings: 'opsz' 72;
}
}
.hero-walnut__headline em { font-weight: 400; color: var(--wheat-300); font-style: normal; }
.hero-walnut__lede {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5;
  color: var(--clay-200); max-width: 44ch;
  margin: 0 0 56px; font-weight: 400;
  font-variation-settings: 'opsz' 28;
}
.hero-walnut__lede p { margin: 0; }

.stat-row {
  margin-top: 112px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat__value {
  font-family: var(--font-serif); font-size: 30px; font-weight: 500;
  color: var(--clay-50); letter-spacing: -.02em; line-height: 1;
  font-variation-settings: 'opsz' 36;
}
.stat__caption { margin-top: 10px; font-size: 13px; color: var(--clay-300); letter-spacing: .01em; }

/* ── Proof strip ───────────────────────────────────── */
.proof-strip {
  background: var(--clay-50);
  border-bottom: 1px solid var(--border);
  padding: 28px 32px;
}
body.dark .proof-strip { background: var(--walnut-800); border-bottom-color: rgba(255,255,255,.06); }
.proof-strip__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px; justify-content: space-between;
}
.proof-strip__badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.proof-strip__meta { font-family: var(--font-sans); font-size: 13px; color: var(--fg-3); letter-spacing: .02em; }
body.dark .proof-strip__meta { color: var(--clay-300); }

/* ── Section scaffolding ───────────────────────────── */
.section { padding: 128px 32px; }
.section--sunken { background: var(--clay-100); }
body.dark .section--sunken { background: var(--walnut-600); }

.section-head {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 64px; margin-bottom: 64px; align-items: end;
}
.section-head__row {
  display: flex; align-items: end; justify-content: space-between;
  flex-wrap: wrap; gap: 32px; margin-bottom: 56px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 56px; line-height: 1.04; letter-spacing: -.025em;
  color: var(--fg-1);
  margin: 18px 0 0; font-weight: 400;
  font-variation-settings: 'opsz' 48;
}
.section-title em { font-weight: 400; font-style: italic; }
body.dark .section-title { color: var(--clay-50); }
.section-lede {
  font-size: 18px; line-height: 1.65; color: var(--fg-2);
  max-width: 56ch; margin: 0;
}
body.dark .section-lede { color: var(--clay-200); }

/* ── Service cards (home grid) ─────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 220ms var(--ease-out);
  text-decoration: none;
  display: block; color: inherit;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--clay-300);
}
body.dark .service-card {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}
body.dark .service-card:hover {
  box-shadow: none;
  border-color: rgba(255,255,255,.16);
}
.service-card__header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 20px;
}
.service-card__num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--terracotta-600); letter-spacing: .05em;
}
body.dark .service-card__num { color: var(--wheat-400); }
.service-card__title {
  font-family: var(--font-serif); font-size: 26px;
  color: var(--fg-1); margin: 0 0 12px;
  letter-spacing: -.02em; font-weight: 500; line-height: 1.15;
  font-variation-settings: 'opsz' 28;
}
body.dark .service-card__title { color: var(--clay-50); }
.service-card__body {
  font-size: 15px; line-height: 1.6; color: var(--fg-2);
  margin: 0; max-width: 52ch;
}
body.dark .service-card__body { color: var(--clay-200); }

.see-all { margin-top: 48px; display: flex; justify-content: center; }

/* ── Approach block ────────────────────────────────── */
.approach {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 96px; align-items: center; max-width: 1200px; margin: 0 auto;
}
.approach__title {
  font-family: var(--font-serif); font-size: 48px;
  line-height: 1.08; letter-spacing: -.02em;
  color: var(--fg-1); margin: 18px 0 28px;
  font-weight: 400; text-wrap: balance;
  font-variation-settings: 'opsz' 48;
}
body.dark .approach__title { color: var(--clay-50); }
.approach__title em { font-weight: 400; font-style: italic; }
.approach__body p {
  font-size: 17px; line-height: 1.7; color: var(--fg-2);
  margin: 0 0 20px; max-width: 54ch;
}
body.dark .approach__body p { color: var(--clay-200); }
.approach__body p:last-of-type { margin-bottom: 36px; }

/* ── Portrait placeholder frame ────────────────────── */
.portrait-frame {
  position: relative; aspect-ratio: 4/5;
  background: var(--clay-100);
  border-radius: 20px; border: 1px solid var(--clay-200);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
body.dark .portrait-frame { background: var(--walnut-500); border-color: rgba(255,255,255,.1); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame__ring {
  position: absolute; top: 8%; right: 8%;
  width: 60px; height: 60px; border-radius: 999px;
  border: 1px solid var(--clay-200);
}
body.dark .portrait-frame__ring { border-color: rgba(255,255,255,.1); }
.portrait-frame__monogram {
  text-align: center;
}
.portrait-frame__mono {
  font-family: var(--font-serif); font-size: 84px; font-weight: 400;
  line-height: 1; color: var(--terracotta-500);
  letter-spacing: -.03em; font-style: italic;
  font-variation-settings: 'opsz' 72;
}
body.dark .portrait-frame__mono { color: var(--wheat-400); }
.portrait-frame__caption {
  margin-top: 14px;
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3);
}
body.dark .portrait-frame__caption { color: rgba(255,255,255,.4); }

/* ── Writing teaser (home) ─────────────────────────── */
.writing-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-teaser {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 28px;
  background: transparent;
  border: 1px solid var(--border); border-radius: 14px;
  transition: all 220ms var(--ease-out);
}
.post-teaser:hover { transform: translateY(-2px); border-color: var(--clay-300); }
body.dark .post-teaser { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
body.dark .post-teaser:hover { border-color: rgba(255,255,255,.18); }
.post-teaser__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: .04em;
}
body.dark .post-teaser__meta { color: var(--clay-300); }
.post-teaser__title {
  font-family: var(--font-serif); font-size: 24px; line-height: 1.2;
  letter-spacing: -.02em; color: var(--fg-1);
  margin: 0; font-weight: 500; text-wrap: balance;
  font-variation-settings: 'opsz' 28;
}
body.dark .post-teaser__title { color: var(--clay-50); }
.post-teaser__read {
  margin-top: auto; font-size: 13px;
  color: var(--terracotta-600); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  transition: color 140ms var(--ease-out);
}
body.dark .post-teaser__read { color: var(--wheat-400); }
.post-teaser:hover .post-teaser__read { color: var(--terracotta-500); }
.post-teaser__cta {
  margin-top: auto; font-size: 13px;
  color: var(--terracotta-600); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 140ms var(--ease-out);
}
.post-teaser__cta svg { width: 14px; height: 14px; stroke: currentColor; }
body.dark .post-teaser__cta { color: var(--wheat-400); }
.post-teaser:hover .post-teaser__cta { color: var(--terracotta-500); }

/* ── Related posts (blog post footer) ──────────────── */
.related-posts {
  padding: 64px 32px 96px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
body.dark .related-posts { border-top-color: rgba(255,255,255,.08); }
.related-posts__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; gap: 24px; flex-wrap: wrap;
}
.related-posts__all {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--terracotta-600); text-decoration: none;
  transition: color 140ms var(--ease-out);
}
.related-posts__all:hover { color: var(--terracotta-500); }
.related-posts__all svg { width: 14px; height: 14px; stroke: currentColor; }
body.dark .related-posts__all { color: var(--wheat-400); }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) {
  .related-posts__grid { grid-template-columns: 1fr; }
}
.related-posts__empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 8px 0 16px;
}
.related-posts__empty p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px; color: var(--fg-2); margin: 0;
}
body.dark .related-posts__empty p { color: var(--clay-200); }

/* ── CTA block (walnut pill) ───────────────────────── */
.cta-block {
  max-width: 1200px; margin: 0 auto;
  background: var(--walnut-600); color: var(--clay-50);
  border-radius: 28px;
  padding: 80px 72px;
  position: relative; overflow: hidden;
}
body.dark .cta-block { background: var(--walnut-800); border: 1px solid rgba(255,255,255,.06); }
.cta-block__shape {
  position: absolute; right: -220px; top: -220px;
  width: 460px; height: 460px; border-radius: 999px;
  background: var(--wheat-400); opacity: .08;
}
.cta-block__grid {
  position: relative; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; align-items: center;
}
.cta-block__title {
  font-family: var(--font-serif); font-size: 44px; line-height: 1.1;
  letter-spacing: -.02em; color: var(--clay-50);
  margin: 16px 0 16px; font-weight: 400; text-wrap: balance;
  font-variation-settings: 'opsz' 48;
}
.cta-block__title em { font-weight: 400; font-style: italic; }
.cta-block__lede {
  font-size: 16px; line-height: 1.65; color: var(--clay-200);
  margin: 0; max-width: 48ch;
}
.cta-block__cta { display: flex; justify-content: flex-end; align-items: center; }

/* ── Services list (services page) ─────────────────── */
.services-list { display: flex; flex-direction: column; gap: 24px; max-width: 1040px; margin: 0 auto; }
.service-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  display: grid; grid-template-columns: 1fr 1.8fr; gap: 48px;
  box-shadow: var(--shadow-sm);
  transition: all 220ms var(--ease-out);
}
.service-row:hover { box-shadow: var(--shadow-md); border-color: var(--clay-300); }
body.dark .service-row {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}
body.dark .service-row:hover { box-shadow: none; border-color: rgba(255,255,255,.18); }
.service-row__num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--terracotta-600); margin-bottom: 10px; letter-spacing: .05em;
}
body.dark .service-row__num { color: var(--wheat-400); }
.service-row__title {
  font-family: var(--font-serif); font-size: 34px; line-height: 1.08;
  letter-spacing: -.025em; color: var(--fg-1);
  margin: 12px 0 0; font-weight: 500;
  font-variation-settings: 'opsz' 36;
}
body.dark .service-row__title { color: var(--clay-50); }
.service-row__body {
  font-size: 17px; line-height: 1.7; color: var(--fg-2);
  margin: 0 0 24px;
}
body.dark .service-row__body { color: var(--clay-200); }
.service-row__bullets {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.service-row__bullets li {
  display: flex; gap: 14px; font-size: 15px;
  color: var(--fg-1); align-items: baseline; line-height: 1.55;
}
body.dark .service-row__bullets li { color: var(--clay-100); }
.service-row__bullets li::before {
  content: ''; width: 6px; height: 6px; border-radius: 99px;
  background: var(--terracotta-500); flex-shrink: 0; transform: translateY(-2px);
}

/* ── Page hero (services / about / contact / writing) ── */
.page-hero { padding: 128px 32px 72px; position: relative; overflow: hidden; }
.page-hero__eyebrow {}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.02; letter-spacing: -.035em;
  color: var(--fg-1); margin: 22px 0 32px;
  font-weight: 400; text-wrap: balance;
  font-variation-settings: 'opsz' 72;
}
body.dark .page-hero__title { color: var(--clay-50); }
.page-hero__title em { font-weight: 400; color: var(--terracotta-600); font-style: italic; }
body.dark .page-hero__title em { color: var(--wheat-300); }
.page-hero__lede {
  font-family: var(--font-serif); font-style: italic;
  font-size: 22px; line-height: 1.55;
  color: var(--fg-2); max-width: 48ch;
  margin: 0; font-weight: 400;
}
body.dark .page-hero__lede { color: var(--clay-200); }

/* ── About ─────────────────────────────────────────── */
.about-grid {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 80px; align-items: start;
}
.about-aside { position: sticky; top: 112px; }
.about-aside__badges { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.about-body__lede {
  font-family: var(--font-serif); font-style: italic;
  font-size: 22px; line-height: 1.6;
  color: var(--fg-2); margin: 0 0 40px;
  font-weight: 400; max-width: 48ch;
}
body.dark .about-body__lede { color: var(--clay-200); }
.about-body__prose { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.75; color: var(--fg-1); max-width: 60ch; }
body.dark .about-body__prose { color: var(--clay-100); }
.about-body__prose p { margin: 0; }

.timeline { margin-top: 64px; }
.timeline__row {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 20px 0; border-top: 1px solid var(--border);
}
body.dark .timeline__row { border-top-color: rgba(255,255,255,.08); }
.timeline__year {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--terracotta-600);
}
body.dark .timeline__year { color: var(--wheat-400); }
.timeline__body { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
body.dark .timeline__body { color: var(--clay-200); }

/* ── Contact ───────────────────────────────────────── */
.contact-grid {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px;
}
.contact-line {
  padding: 16px 0; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: baseline;
  text-decoration: none;
}
body.dark .contact-line { border-top-color: rgba(255,255,255,.08); }
.contact-line__label {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
}
body.dark .contact-line__label { color: var(--clay-300); }
.contact-line__value {
  font-size: 16px; color: var(--fg-1);
  font-family: var(--font-sans); line-height: 1.5;
}
body.dark .contact-line__value { color: var(--clay-50); }

.contact-form-wrap {
  display: flex; flex-direction: column; gap: 20px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 40px; box-shadow: var(--shadow-sm);
}
body.dark .contact-form-wrap {
  background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); box-shadow: none;
}

/* HubSpot form embed styling — scope to .orhoj-form */
.orhoj-form .hs-form-field { margin-bottom: 16px; }
.orhoj-form .hs-form-field > label,
.orhoj-form .hs-form-field > label > span {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: .02em; text-transform: uppercase;
  color: var(--fg-2); margin-bottom: 8px; display: block;
}
body.dark .orhoj-form .hs-form-field > label,
body.dark .orhoj-form .hs-form-field > label > span { color: var(--clay-200); }
.orhoj-form .hs-input,
.orhoj-form textarea.hs-input {
  width: 100% !important; padding: 12px 14px;
  border-radius: 14px; border: 1px solid var(--clay-300);
  background: #fff; font: 15px/1.5 var(--font-sans);
  color: var(--fg-1); box-shadow: var(--shadow-xs);
  outline: 0; transition: all 140ms var(--ease-out);
}
.orhoj-form textarea.hs-input { min-height: 140px; resize: vertical; }
body.dark .orhoj-form .hs-input,
body.dark .orhoj-form textarea.hs-input {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--clay-50); box-shadow: none;
}
.orhoj-form .hs-input:focus,
.orhoj-form textarea.hs-input:focus {
  border-color: var(--terracotta-500);
  box-shadow: 0 0 0 3px rgba(200,90,58,.2);
}
.orhoj-form .hs-button {
  background: var(--terracotta-500); color: #fff; border: 0;
  padding: 14px 24px; border-radius: 14px;
  font: 600 15px/1 var(--font-sans); letter-spacing: -.01em;
  cursor: pointer; transition: all 140ms var(--ease-out);
  margin-top: 8px;
}
.orhoj-form .hs-button:hover { background: var(--terracotta-400); transform: translateY(-1px); }
.orhoj-form .hs-error-msgs { color: var(--ink-danger); font-size: 13px; list-style: none; padding-left: 0; margin-top: 6px; }
.orhoj-form .legal-consent-container { font-size: 12px; color: var(--fg-3); line-height: 1.6; }

.contact-success {
  background: var(--clay-100); border: 1px solid var(--clay-200);
  border-radius: 20px; padding: 40px;
}
body.dark .contact-success {
  background: rgba(107,128,104,.1);
  border: 1px solid rgba(107,128,104,.3);
}
.contact-success__check {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--sage-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff;
}
body.dark .contact-success__check { background: rgba(107,128,104,.25); color: var(--sage-300); }
.contact-success__title {
  font-family: var(--font-serif); font-size: 28px; color: var(--fg-1);
  margin: 0 0 12px; font-weight: 500; letter-spacing: -.02em;
}
body.dark .contact-success__title { color: var(--clay-50); }
.contact-success__body { font-size: 16px; line-height: 1.65; color: var(--fg-2); margin: 0 0 24px; }
body.dark .contact-success__body { color: var(--clay-200); }

/* ── Writing (index + detail) ──────────────────────── */
.post-row {
  text-decoration: none;
  display: grid; grid-template-columns: 180px 1fr 80px;
  gap: 40px; padding: 40px 0; align-items: baseline;
  border-top: 1px solid var(--border);
  transition: all 220ms var(--ease-out);
}
body.dark .post-row { border-top-color: rgba(255,255,255,.08); }
.post-row:hover { padding-left: 16px; }
.post-row__meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3); letter-spacing: .04em; line-height: 1.6;
}
body.dark .post-row__meta { color: var(--clay-300); }
.post-row__meta .tag { color: var(--terracotta-600); }
body.dark .post-row__meta .tag { color: var(--wheat-400); }
.post-row__title {
  font-family: var(--font-serif); font-size: 28px; line-height: 1.15;
  letter-spacing: -.02em; color: var(--fg-1);
  margin: 0 0 12px; font-weight: 500; text-wrap: balance;
  font-variation-settings: 'opsz' 36;
}
body.dark .post-row__title { color: var(--clay-50); }
.post-row__excerpt { font-size: 15px; line-height: 1.65; color: var(--fg-2); margin: 0; max-width: 68ch; }
body.dark .post-row__excerpt { color: var(--clay-200); }
.post-row__read {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3);
  text-align: right;
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  transition: color 140ms var(--ease-out);
}
body.dark .post-row__read { color: var(--clay-300); }
.post-row:hover .post-row__read { color: var(--terracotta-500); }
.post-row-end { border-top: 1px solid var(--border); }
body.dark .post-row-end { border-top-color: rgba(255,255,255,.08); }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3); text-decoration: none;
  margin-bottom: 32px; letter-spacing: .04em;
}
body.dark .back-link { color: var(--clay-300); }
.back-link svg { width: 14px; height: 14px; transform: rotate(180deg); }

.post-meta-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3); letter-spacing: .04em;
}
body.dark .post-meta-row { color: var(--clay-300); }
.post-meta-row .tag { color: var(--terracotta-600); }
body.dark .post-meta-row .tag { color: var(--wheat-400); }
.post-meta-row .dot {
  width: 3px; height: 3px; border-radius: 999px;
  background: currentColor; opacity: .4; display: inline-block;
}

.post-title {
  font-family: var(--font-serif); font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08; letter-spacing: -.025em;
  color: var(--fg-1); margin: 0 0 28px;
  font-weight: 400; text-wrap: balance;
  font-variation-settings: 'opsz' 48;
}
body.dark .post-title { color: var(--clay-50); }
.post-lede {
  font-family: var(--font-serif); font-style: italic;
  font-size: 22px; line-height: 1.6; color: var(--fg-2);
  margin: 0; font-weight: 400;
}
body.dark .post-lede { color: var(--clay-200); }

.byline {
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
}
body.dark .byline { border-bottom-color: rgba(255,255,255,.08); }
.byline__avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--clay-100); border: 1px solid var(--clay-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; font-style: italic;
  color: var(--terracotta-500);
}
body.dark .byline__avatar { background: var(--walnut-500); border-color: rgba(255,255,255,.1); color: var(--wheat-400); }
.byline__name { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--fg-1); }
body.dark .byline__name { color: var(--clay-50); }
.byline__role { font-family: var(--font-sans); font-size: 13px; color: var(--fg-2); }
body.dark .byline__role { color: var(--clay-200); }

/* .prose — styles for HubSpot-rendered post_body HTML */
.prose { font-size: 18px; line-height: 1.75; color: var(--fg-1); max-width: 640px; margin: 0 auto; }
body.dark .prose { color: var(--clay-100); }
.prose p { margin: 0 0 24px; }
.prose h2 {
  font-family: var(--font-serif); font-size: 32px; line-height: 1.15;
  letter-spacing: -.02em; color: var(--fg-1);
  margin: 48px 0 20px; font-weight: 500;
  font-variation-settings: 'opsz' 36;
}
body.dark .prose h2 { color: var(--clay-50); }
.prose h3 {
  font-family: var(--font-serif); font-size: 24px; line-height: 1.2;
  letter-spacing: -.015em; color: var(--fg-1);
  margin: 40px 0 16px; font-weight: 500;
}
body.dark .prose h3 { color: var(--clay-50); }
.prose blockquote {
  margin: 40px 0; padding: 24px 32px;
  border-left: 3px solid var(--terracotta-500);
  font-family: var(--font-serif); font-style: italic;
  font-size: 22px; line-height: 1.5;
  color: var(--fg-1); background: var(--clay-100);
  border-radius: 0 14px 14px 0;
}
body.dark .prose blockquote {
  border-left-color: var(--wheat-400);
  background: rgba(255,255,255,.03);
  color: var(--clay-100);
}
.prose code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--clay-100); color: var(--walnut-600);
  padding: 1px 6px; border-radius: 4px;
}
body.dark .prose code { background: rgba(255,255,255,.06); color: var(--wheat-300); }
.prose pre {
  background: var(--walnut-700); color: var(--clay-100);
  padding: 20px 24px; border-radius: 14px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 14px; line-height: 1.65;
  margin: 0 0 24px;
}
.prose pre code { background: transparent; color: inherit; padding: 0; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--terracotta-600); }
body.dark .prose a { color: var(--wheat-400); }
.prose img { border-radius: 14px; margin: 24px 0; }

/* ── Related posts ─────────────────────────────────── */
.related {
  max-width: 1040px; margin: 0 auto;
  padding-top: 56px; border-top: 1px solid var(--border);
}
body.dark .related { border-top-color: rgba(255,255,255,.08); }
.related__grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related__card {
  text-decoration: none;
  padding: 32px 28px;
  border: 1px solid var(--border); border-radius: 14px;
  display: flex; flex-direction: column; gap: 16px;
}
body.dark .related__card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.related__meta {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); letter-spacing: .04em;
}
body.dark .related__meta { color: var(--clay-300); }
.related__meta .tag { color: var(--terracotta-600); }
body.dark .related__meta .tag { color: var(--wheat-400); }
.related__title {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.2;
  color: var(--fg-1); margin: 0; font-weight: 500;
  letter-spacing: -.02em; text-wrap: balance;
}
body.dark .related__title { color: var(--clay-50); }

/* ── Footer ────────────────────────────────────────── */
.site-footer { background: var(--walnut-700); color: var(--clay-100); }
.site-footer__inner { max-width: 1200px; margin: 0 auto; padding: 80px 32px 32px; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
.site-footer__desc {
  font-size: 14px; line-height: 1.6; color: var(--clay-200);
  max-width: 34ch; margin: 20px 0 0;
}
.site-footer__badges { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.site-footer__col-title { color: var(--wheat-400); }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.site-footer__links a { color: var(--clay-50); text-decoration: none; font-size: 14px; }
.site-footer__links span.addr { color: var(--clay-300); line-height: 1.6; font-size: 14px; }
.site-footer__colophon { font-size: 13px; line-height: 1.65; color: var(--clay-300); margin: 16px 0 0; max-width: 28ch; }
.site-footer__bar {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; font-size: 13px; color: var(--clay-300);
}

/* ── Writing page header ───────────────────────────── */
.writing-list { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 960px) {
  .section { padding: 80px 24px; }
  .page-hero { padding: 80px 24px 48px; }
  .hero-walnut { padding: 80px 24px 96px; }
  .section-head,
  .approach,
  .about-grid,
  .contact-grid,
  .cta-block__grid,
  .services-grid,
  .writing-teaser-grid,
  .site-footer__grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .about-aside { position: static; }
  .service-row { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px; }
  .post-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .post-row__read { text-align: left; justify-content: flex-start; }
  .related__grid { grid-template-columns: 1fr; }
  .cta-block { padding: 48px 32px; border-radius: 20px; }
  .site-nav { gap: 18px; }
  /* Mobile drawer: full-width slide-down panel */
  .site-nav__toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: rgba(251, 246, 236, 0.98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out);
  }
  body.dark .site-nav { background: rgba(30, 24, 19, 0.96); border-bottom-color: rgba(255,255,255,.06); }
  .site-header--nav-open .site-nav {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .site-nav__link {
    display: block; font-size: 18px; font-weight: 500;
    padding: 14px 4px; border-bottom: 1px solid var(--border);
    color: var(--fg-1);
  }
  body.dark .site-nav__link { border-bottom-color: rgba(255,255,255,.06); color: var(--clay-50); }
  .site-nav .btn {
    display: inline-flex; align-self: flex-start;
    margin-top: 16px;
  }
  /* Lock body scroll while drawer is open */
  body.has-mobile-nav-open { overflow: hidden; }
}