/* ============================================================
   CA Personal Branding — Cinematic Minimalist
   Principle: every element earns its place.
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Ledger Noir — warm paper body, deep ink, navy accent (CA editorial) */
  --ink:       #0e0e0e;
  --ink-2:     #1c1c1c;
  --paper:     #f5f2eb;          /* warm letterhead paper */
  --paper-2:   #fffdf8;
  --dark:      #0a0a0a;
  --dark-2:    #141414;
  --rule:      #e2ddd4;
  --muted:     #6a655c;
  --muted-2:   #968f84;
  --accent:    #1a3d7c;          /* deep ledger navy — not SaaS blue */
  --accent-soft: rgba(26, 61, 124, 0.09);
  --cream:     #f4f0e8;          /* noir hero type */
  --tag-bg:    #ece8e0;
  --noir:      #050505;
  --shadow-soft: 0 16px 48px rgba(12, 12, 12, 0.06);
  --shadow-card: 0 20px 50px rgba(12, 12, 12, 0.07);
  --radius-sm: 3px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --nav-h:  64px;
  --max-w:  1120px;
  --prose:  680px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --focus: 0 0 0 3px rgba(26, 61, 124, 0.28);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
::selection {
  background: rgba(30, 79, 214, 0.14);
  color: var(--ink);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* Keyboard focus — visible without fighting the custom cursor */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.filt:focus-visible {
  box-shadow: var(--focus);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Typography scale ───────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}

/* Display — for hero & big statements */
.display {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.display-md {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.display-sm {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.overline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.overline-accent {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Layout ─────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.wrap-prose {
  width: 100%;
  max-width: var(--prose);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section {
  padding-block: 7rem;
}
.section-sm { padding-block: 4rem; }
.section-dark {
  background: #efece5;
  color: var(--ink);
  padding-block: 7rem;
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark .display, .section-dark .display-md {
  color: var(--ink);
}
.section-dark p, .section-dark .lead { color: #525252; }
.section-dark .overline { color: var(--muted); }
.section-dark .rule { background: var(--rule); }

.rule-h {
  width: 100%;
  height: 1px;
  background: var(--rule);
  border: none;
}
.rule-v {
  width: 1px;
  background: var(--rule);
  align-self: stretch;
}

/* ── Grid helpers ───────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .section { padding-block: 5rem !important; }
  .section-dark { padding-block: 5rem !important; }
}
@media (max-width: 640px) {
  .section { padding-block: 3.5rem !important; }
  .section-sm { padding-block: 2.5rem !important; }
  .section-dark { padding-block: 3.5rem !important; }
}

/* ── Scroll reveal (snappy — content must not feel delayed) ─── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s cubic-bezier(.16,1,.3,1),
              transform 0.35s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.04s; }
.reveal-delay-2 { transition-delay: 0.08s; }
.reveal-delay-3 { transition-delay: 0.12s; }
.reveal-delay-4 { transition-delay: 0.16s; }

/* Blog listing & article body: always visible (no scroll-wait) */
.blog-list-row,
.post-body,
.post-header .post-title,
.post-header .post-meta-row,
.post-cover {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(246,244,240,0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 8px 28px rgba(12, 12, 12, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.nav-logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-logo span { color: var(--muted); font-weight: 400; }
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  position: relative;
  padding: 0.45rem 0.7rem;
  margin: -0.45rem -0.7rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0.2rem; left: 0.7rem; right: 0.7rem;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover { color: var(--ink); background-color: rgba(10,10,10,0.08); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--paper) !important;
  background: var(--ink) !important;
  padding: 0.5rem 1.1rem !important;
  margin: 0 !important;
  border-radius: 4px !important;
  letter-spacing: 0.01em !important;
  transition: opacity 0.15s, transform 0.15s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.8 !important; color: var(--paper) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  z-index: 260;
  position: relative;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.78rem; padding: 0.4rem 0.5rem; }
  .nav-cta { padding: 0.45rem 0.9rem !important; }
}

@media (max-width: 767px) {
  .site-nav { z-index: 250; }
  .nav-inner {
    position: relative;
    z-index: 260;
    padding-inline: 1.1rem;
  }
  .nav-logo {
    font-size: 0.88rem;
    max-width: calc(100% - 56px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 260;
    position: relative;
  }
  .nav-logo span { display: none; } /* free horizontal space on phones */

  .nav-toggle { display: flex; }

  .nav-links {
    display: flex !important; /* always in DOM for animation; hidden via opacity */
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 240;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    min-height: 100svh;
    margin: 0;
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2.5rem;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    background: #f5f2eb;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  /* Menu panel is always light — force readable ink (fixes dark-hero white-on-white) */
  .nav-links a,
  .nav-links a:not(.nav-cta),
  .dark-hero .site-nav .nav-links a,
  .dark-hero .site-nav:not(.scrolled) .nav-links a:not(.nav-cta),
  .dark-hero .site-nav.scrolled .nav-links a:not(.nav-cta) {
    color: #0a0a0a !important;
    background: transparent !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    padding: 0.95rem 0.35rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #ececec !important;
    width: 100%;
    text-align: left;
  }
  .nav-links a::after,
  .dark-hero .site-nav .nav-links a::after {
    display: none !important;
  }
  .nav-links a:hover,
  .nav-links a:active,
  .nav-links a.active {
    color: #0a0a0a !important;
    background: rgba(10, 10, 10, 0.04) !important;
  }
  .nav-links a.nav-cta,
  .dark-hero .site-nav .nav-links a.nav-cta,
  .dark-hero .site-nav:not(.scrolled) .nav-links a.nav-cta {
    color: #fafafa !important;
    background: #0a0a0a !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 6px !important;
    margin-top: 1.25rem !important;
    padding: 0.95rem 1.25rem !important;
    text-align: center !important;
    font-size: 1.05rem !important;
  }

  /* Solid bar while menu is open (even on dark hero) */
  .site-nav.menu-open,
  .dark-hero .site-nav.menu-open,
  .dark-hero .site-nav.menu-open:not(.scrolled) {
    background: #f5f2eb !important;
    border-bottom-color: #e2ddd4 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .site-nav.menu-open .nav-logo,
  .dark-hero .site-nav.menu-open .nav-logo,
  .dark-hero .site-nav.menu-open:not(.scrolled) .nav-logo {
    color: #0a0a0a !important;
  }
  .site-nav.menu-open .nav-logo span,
  .dark-hero .site-nav.menu-open .nav-logo span {
    color: #737373 !important;
  }
  .site-nav.menu-open .nav-toggle span,
  .dark-hero .site-nav.menu-open .nav-toggle span,
  .dark-hero .site-nav.menu-open:not(.scrolled) .nav-toggle span {
    background: #0a0a0a !important;
  }

  body.nav-open { overflow: hidden !important; touch-action: none; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  border-bottom: 1px solid var(--rule);
}
.hero-body {
  padding-block: 6rem 5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero-badge::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--muted);
}
.hero-name { color: var(--ink); margin-bottom: 1.5rem; }
.hero-tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 3rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-scroll {
  margin-top: auto;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--muted-2);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.4); opacity: 0.4; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.18s;
  border-radius: 2px;
  padding: 0.7rem 1.5rem;
}
.btn-fill {
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
}
.btn-fill:hover { opacity: 0.8; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-text {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.btn-text:hover::after { transform: scaleX(1); }
.btn-text svg { width: 14px; height: 14px; transition: transform 0.2s; }
.btn-text:hover svg { transform: translateX(3px); }

/* dark section buttons — inherit base .btn-ghost since section is now light */
.section-dark .btn-ghost {
  color: var(--ink);
  border-color: rgba(0,0,0,0.2);
}
.section-dark .btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.section-dark .btn-text { color: var(--muted); }
.section-dark .btn-text::after { background: var(--muted); }

/* ── Article cards — editorial, borderless ──────────────────── */
.article-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.article-row .article-item {
  border-right: 1px solid var(--rule);
  padding: 2.5rem;
}
.article-row .article-item:first-child { padding-left: 0; }
.article-row .article-item:last-child { border-right: none; padding-right: 0; }

.article-item .tag {
  margin-bottom: 0.85rem;
}
.article-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.article-item h3 a { color: inherit; }
.article-item h3 a:hover { color: var(--accent); }
.article-item .excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.article-item .meta {
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.article-item .meta span { display: contents; }

@media (max-width: 900px) {
  .article-row {
    grid-template-columns: 1fr;
  }
  .article-row .article-item {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 2rem 0;
  }
  .article-row .article-item:first-child { padding-left: 0; padding-top: 0; }
  .article-row .article-item:last-child { border-bottom: none; }
}

/* ── Featured Article — large editorial ─────────────────────── */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
}
.featured-article .fa-number {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--rule);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
  user-select: none;
}
.featured-article .fa-left {
  padding: 3.5rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-article .fa-right {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-article h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.featured-article .fa-excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.featured-article .fa-meta {
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .fa-left {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 2rem;
  }
  .featured-article .fa-right { padding: 2rem; }
}

/* ── Numbered pillars ───────────────────────────────────────── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 3rem;
  border-right: 1px solid var(--rule);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 1.5rem;
  display: block;
}
.pillar h3 {
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.pillar p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 2.5rem 0;
  }
  .pillar:first-child { padding-top: 0; }
  .pillar:last-child { border-bottom: none; }
}

/* ── Stats strip ────────────────────────────────────────────── */
.stats-strip {
  display: flex;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-item {
  flex: 1;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--rule); border-right: none; }
}

/* ── Pull quote ─────────────────────────────────────────────── */
.pullquote {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--ink);
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.pullquote-dark {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--ink);
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

/* ── Topic tags ─────────────────────────────────────────────── */
.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.topic-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  transition: all 0.15s;
  cursor: pointer;
  display: inline-block;
}
.topic-tag:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.section-dark .topic-tag {
  color: #a3a3a3;
  border-color: #2a2a2a;
}
.section-dark .topic-tag:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ── Blog list page ─────────────────────────────────────────── */
.blog-header {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule);
}
.filter-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.filt {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
  text-decoration: none;
}
.filt:hover, .filt[data-active="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
/* Blog listing — editorial cards (legacy .blog-list-row kept for homepage) */
.blog-list-section {
  padding-top: 2rem;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.blog-card.has-cover {
  grid-template-columns: minmax(180px, 260px) 1fr;
}
.blog-card:hover {
  border-color: #d4cfc4;
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.blog-card-media {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  background: #fff;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  box-sizing: border-box;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain; /* full image visible — logos & covers both fit */
  object-position: center;
  display: block;
  transition: transform 0.35s var(--ease);
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.03);
}
.blog-card-body {
  padding: 1.35rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.blog-card-cat {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(26, 61, 124, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 700;
}
.blog-card-dot { opacity: 0.5; }
.blog-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.55rem;
  transition: color 0.15s ease;
}
.blog-card:hover .blog-card-title {
  color: var(--accent);
}
.blog-card-excerpt {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-more {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.blog-card-more span {
  transition: transform 0.2s ease;
}
.blog-card:hover .blog-card-more span {
  transform: translateX(3px);
}

/* Homepage “more from the blog” still uses rows */
.blog-list-row {
  border-bottom: 1px solid var(--rule);
  padding-block: 2rem;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  align-items: start;
  color: inherit;
  text-decoration: none;
}
a.blog-list-row.is-clickable {
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: 2px;
}
a.blog-list-row.is-clickable:hover {
  background-color: rgba(10, 10, 10, 0.03);
  box-shadow: inset 3px 0 0 var(--accent);
}
a.blog-list-row.is-clickable:hover h2 { color: var(--accent); }
.blog-list-row:last-child { border-bottom: none; }
.blog-list-row .date { font-size: 0.78rem; color: var(--muted-2); padding-top: 0.15rem; }
.blog-list-row h2 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--ink);
}
.blog-list-row h2 a { color: var(--ink); }
.blog-list-row h2 a:hover { color: var(--accent); }
.blog-list-row .excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.blog-list-row .category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--tag-bg);
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  border-radius: 999px;
}
@media (max-width: 767px) {
  .blog-card.has-cover {
    grid-template-columns: 1fr;
  }
  .blog-card-media {
    min-height: 160px;
    max-height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 1rem;
  }
  .blog-card-media img {
    max-height: 160px;
  }
  .blog-card-body {
    padding: 1.15rem 1.15rem 1.25rem;
  }
  .blog-list-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .blog-list-row .category { order: -1; justify-self: start; }
}
@media (hover: none) {
  .blog-card:hover { transform: none; }
}

/* ── About page ─────────────────────────────────────────────── */
.about-header {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--rule);
}
.about-photo {
  aspect-ratio: 3 / 4;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.credential-block {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.credential-block .cred-row {
  display: flex;
  gap: 1.5rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.88rem;
}
.credential-block .cred-row:last-child { border-bottom: none; }
.cred-label { color: var(--muted); min-width: 120px; flex-shrink: 0; }
.cred-value { color: var(--ink); font-weight: 600; }

/* Timeline */
.timeline { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.timeline.timeline-animated { border-left: none; }
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: calc(-1.5rem - 4px);
  top: 4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  display: block;
  box-sizing: border-box;
}
.tl-year { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.tl-title { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 0.25rem; }
.tl-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ── Expertise page ─────────────────────────────────────────── */
.expertise-header {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule);
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.exp-card {
  padding: 2.35rem 2.15rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  transition: background 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s var(--ease);
}
.exp-card:nth-child(3n) { border-right: none; }
.exp-card:nth-last-child(-n+3) { border-bottom: none; }
.exp-icon {
  width: 34px; height: 34px;
  color: var(--ink);
  margin-bottom: 1.15rem;
  opacity: 0.88;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.exp-card h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.exp-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
a.exp-card-link:hover .exp-icon,
.exp-card:hover .exp-icon {
  transform: translateY(-2px);
  opacity: 1;
}
@media (max-width: 900px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .exp-card:nth-child(2n) { border-right: none; }
  .exp-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .exp-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-card { border-right: none !important; }
  .exp-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule) !important; }
  .exp-card:last-child { border-bottom: none !important; }
}

/* ── Contact page ───────────────────────────────────────────── */
.contact-header {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
}
.contact-link-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-link-item {
  flex: 1;
  padding: 3rem 2rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.contact-link-item:last-child { border-right: none; }
.contact-link-item:hover { background: var(--ink); }
.contact-link-item:hover * { color: var(--paper) !important; }
.contact-link-item:hover svg { stroke: var(--paper); }
.contact-link-item:hover svg path { fill: var(--paper); }
.contact-link-item svg { width: 28px; height: 28px; }
.contact-link-item .cli-label { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.025em; }
.contact-link-item .cli-sub { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 640px) {
  .contact-link-row { flex-direction: column; }
  .contact-link-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-link-item:last-child { border-bottom: none; }
}

/* ── Blog post ──────────────────────────────────────────────── */
.post-header {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule);
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}
.post-back:hover { color: var(--ink); }
.post-back-icon { width: 16px; height: 16px; flex-shrink: 0; }
.post-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 820px;
  margin-block: 1rem 1.5rem;
}
.post-meta-row {
  display: flex;
  gap: 2rem;
  font-size: 0.78rem;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}
.post-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-pdf {
  gap: 0.45rem;
}
.btn-pdf-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.post-cover {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding-inline: 1.5rem;
}
.post-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
}
.post-body {
  padding-block: 4rem;
  max-width: var(--prose);
  margin-inline: auto;
  padding-inline: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1a1a1a;
}
.post-body h2 {
  font-size: 1.5rem;
  margin-block: 2.5rem 0.75rem;
  color: var(--ink);
}
.post-body h3 {
  font-size: 1.1rem;
  margin-block: 2rem 0.5rem;
  color: var(--ink);
}
.post-body p { margin-bottom: 1.4rem; }
.post-body p:last-child { margin-bottom: 0; }
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 0.4rem; }
.post-body blockquote {
  border-left: 2px solid var(--ink);
  padding-left: 1.5rem;
  margin-block: 2rem;
  font-style: italic;
  color: var(--muted);
}
.post-body strong { color: var(--ink-2); }
.post-body a { color: var(--accent); text-decoration: underline; }
.post-body hr { margin-block: 3rem; border: none; border-top: 1px solid var(--rule); }

.author-card {
  max-width: var(--prose);
  margin-inline: auto;
  padding-inline: 1.5rem;
  margin-block: 0 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1.5rem;
}
.author-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #e8e8e8;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-monogram {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.author-info h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.author-info p { font-size: 0.85rem; color: var(--muted); }

/* Related posts */
.related-section {
  border-top: 1px solid var(--rule);
  padding-block: 4rem;
}
.related-section .wrap { }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 4rem 3rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.footer-brand h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.82rem; color: var(--muted); max-width: 280px; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.82rem; color: var(--muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-2);
}
@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Social icons */
.social-row { display: flex; gap: 1rem; }
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.15s;
}
.social-row a:hover { border-color: var(--ink); color: var(--ink); }
.social-row svg { width: 14px; height: 14px; }

/* ── ICAI compliance strip ──────────────────────────────────── */
.icai-strip {
  background: var(--dark);
  color: #525252;
  font-size: 0.7rem;
  text-align: center;
  padding: 0.65rem 1.5rem;
  letter-spacing: 0.02em;
}

/* ── Dark mode ──────────────────────────────────────────────── */
/* Site is always light — system dark mode preference not applied */

/* ── Utilities ──────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }

/* ============================================================
   CINEMATIC LAYER — film grain, cursor, dark hero,
   blur reveals, double marquee, scroll progress
   ============================================================ */

/* ── Film grain overlay (animated) ─────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain 0.4s steps(1) infinite;
  will-change: transform;
}
@keyframes grain {
  0%   { transform: translate3d(0,0,0); }
  20%  { transform: translate3d(-4px, 3px, 0); }
  40%  { transform: translate3d(4px, -3px, 0); }
  60%  { transform: translate3d(-3px, -4px, 0); }
  80%  { transform: translate3d(3px, 4px, 0); }
  100% { transform: translate3d(0,0,0); }
}
@media (max-width: 767px) { body::after { opacity: 0; } }

/* ── Custom cursor ──────────────────────────────────────────── */
@media (hover: hover) {
  body, a, button { cursor: none; }
}
.c-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  z-index: 99998;
  mix-blend-mode: difference;
  will-change: transform;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1),
              height 0.4s cubic-bezier(0.16,1,0.3,1),
              margin 0.4s cubic-bezier(0.16,1,0.3,1);
  margin-left: -5px;
  margin-top: -5px;
}
.c-cursor.hover { width: 48px; height: 48px; margin-left: -24px; margin-top: -24px; }
.c-cursor.clicking { width: 6px; height: 6px; margin-left: -3px; margin-top: -3px; }
@media (hover: none) { .c-cursor { display: none; } }

/* ── Scroll progress bar ────────────────────────────────────── */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: white;
  z-index: 400;
  mix-blend-mode: difference;
  pointer-events: none;
}

/* ── Nav: transparent on dark hero pages ────────────────────── */
.dark-hero .site-nav:not(.scrolled) {
  background: rgba(10,10,10,0.45);
  border-bottom-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.dark-hero .site-nav:not(.scrolled) .nav-logo { color: rgba(255,255,255,0.92); }
.dark-hero .site-nav:not(.scrolled) .nav-logo span { color: rgba(255,255,255,0.55); }
.dark-hero .site-nav:not(.scrolled) .nav-links a:not(.nav-cta) { color: rgba(255,255,255,0.78); }
.dark-hero .site-nav:not(.scrolled) .nav-links a:not(.nav-cta):hover { color: white; background-color: rgba(255,255,255,0.14); }
.dark-hero .site-nav:not(.scrolled) .nav-links a:not(.nav-cta)::after { background: white; }
.dark-hero .site-nav:not(.scrolled) .nav-toggle span { background: white; }
.dark-hero .site-nav:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.12) !important;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

/* ── Hero — dark cinematic variant ─────────────────────────── */
.hero-cinematic {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh; /* stable full viewport on mobile browser chrome */
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  padding-top: calc(var(--nav-h) + 1.25rem);
  padding-bottom: 2.25rem;
  box-sizing: border-box;
}
.hero-cinematic .hero-body {
  padding-block: 0;
  z-index: 2;
  position: relative;
  max-width: 880px;
}
/* Slightly denser type scale — less sparse without shrinking the section */
.hero-cinematic .display {
  font-size: clamp(2.85rem, 7.2vw, 5.75rem);
}
.hero-eyeline {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 1.1rem;
  display: block;
}

/* Letterbox bars */
.lb {
  position: absolute;
  left: 0; right: 0;
  height: clamp(28px, 4vh, 48px);
  background: rgba(0,0,0,0.05);
  z-index: 10;
  pointer-events: none;
}
.lb-top { top: 0; }
.lb-bottom { bottom: 0; }

/* Hero title — blur-to-focus reveal */
.hero-title-dark {
  color: #0a0a0a;
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: blurReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
@keyframes blurReveal {
  from { opacity: 0; transform: translateY(40px); filter: blur(20px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0px);  }
}

/* Hero rule */
.hero-rule {
  height: 1px;
  background: rgba(0,0,0,0.15);
  margin-block: 1.1rem;
  width: 0;
  animation: ruleGrow 1s cubic-bezier(0.16,1,0.3,1) 1.0s forwards;
}
@keyframes ruleGrow { from { width: 0; } to { width: 60px; } }

/* Hero tagline */
.hero-tagline-dark {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: rgba(0,0,0,0.5);
  font-weight: 300;
  letter-spacing: 0em;
  line-height: 1.65;
  max-width: 42rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16,1,0.3,1) 1.0s forwards;
}

/* Hero actions */
.hero-actions-dark {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16,1,0.3,1) 1.2s forwards;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero scroll indicator */
.hero-scroll-bar {
  position: absolute;
  bottom: clamp(28px, 4vh, 48px);
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  z-index: 5;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.8s forwards;
}
.hero-scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

/* Year badge top-right */
.hero-year {
  position: absolute;
  top: clamp(28px, 4vh, 48px);
  right: 1.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.2);
  z-index: 5;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

/* Buttons on dark hero */
.btn-light {
  background: white;
  color: #0a0a0a;
  border: 1.5px solid white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: opacity 0.18s;
}
.btn-light:hover { opacity: 0.8; }
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}
.btn-outline-light:hover {
  color: white;
  border-color: rgba(255,255,255,0.5);
}

/* ── Reveal: line wipe (clip) — more cinematic than fade-up ─── */
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line .inner {
  display: block;
  transform: translateY(115%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-line.visible .inner,
.reveal-line.in .inner { transform: translateY(0); }
/* Stagger helpers */
.rl-d1 .inner { transition-delay: 0.1s; }
.rl-d2 .inner { transition-delay: 0.2s; }
.rl-d3 .inner { transition-delay: 0.3s; }
.rl-d4 .inner { transition-delay: 0.45s; }

/* Upgrade existing reveal to include blur */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(5px);
  transition: opacity 0.95s cubic-bezier(0.16,1,0.3,1),
              transform 0.95s cubic-bezier(0.16,1,0.3,1),
              filter 0.95s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Double marquee strip ───────────────────────────────────── */
.marquee-section {
  background: #ededea;
  padding-block: 3rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.marquee-row { display: flex; overflow: hidden; }
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: mq-fwd 35s linear infinite;
  will-change: transform;
  flex-shrink: 0;
}
.marquee-track.mq-rev { animation: mq-rev 35s linear infinite; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  padding-right: 2.5rem;
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b0b0ac;
  white-space: nowrap;
  user-select: none;
}
.marquee-item.hi { color: #888884; }
.mq-rev .marquee-item { color: #c0c0bc; }
@keyframes mq-fwd { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes mq-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ── Scene headings (section context label) ─────────────────── */
.scene-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  display: block;
  margin-bottom: 4rem;
}
.scene-label-light {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 4rem;
}

/* ── Cinematic section heights ──────────────────────────────── */
.scene { min-height: 80vh; display: flex; align-items: center; }
.scene-full { min-height: 100vh; display: flex; align-items: center; }
@media (max-width: 767px) {
  .scene, .scene-full { min-height: auto; display: block; }
}

/* ── Stats — darker version for cinematic page ──────────────── */
.stats-dark {
  display: flex;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  background: #050505;
}
.stats-dark .stat-item {
  border-right-color: #111;
  background: transparent;
}
.stats-dark .stat-num { color: rgba(255,255,255,0.08); }
.stats-dark .stat-label { color: #2a2a2a; }

/* ── Parallax wrapper ───────────────────────────────────────── */
#hero-parallax { will-change: transform, opacity; }

/* ── Highlight text on dark bg ──────────────────────────────── */
.section-dark .display-md { color: var(--ink); }
.section-dark h2 { color: var(--ink); }
.section-dark h3 { color: var(--ink); }
.section-dark p { color: #525252; }

/* ── Vignette on dark sections ──────────────────────────────── */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.015) 0%, transparent 70%);
  pointer-events: none;
}
.section-dark { position: relative; overflow: hidden; }
.hero-cinematic::before { display: none; }

/* ── White overline on dark ─────────────────────────────────── */
.overline-dim {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  display: block;
  margin-bottom: 2rem;
}

/* ── Section divider with scene number ─────────────────────── */
.section-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted-2);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Counter number style ───────────────────────────────────── */
.count-num {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
  color: var(--ink);
}
.count-suffix {
  font-size: 0.5em;
  vertical-align: super;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--muted);
}

/* ── Article item hover state (border appears) ──────────────── */
.article-item {
  transition: background 0.2s;
}
.article-item:hover { background: var(--tag-bg); }

/* ── Post header on inner pages: cinematic dark ─────────────── */
.post-header-dark {
  background: #050505;
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  border-bottom: 1px solid #111;
}
.post-header-dark .post-title { color: white; max-width: 820px; }
.post-header-dark .overline-accent { color: rgba(255,255,255,0.35); }
.post-header-dark .post-meta-row { color: #555; }
.post-header-dark a { color: #555; }
.post-header-dark a:hover { color: #888; }

/* ── Grain on light bg — keep very subtle ───────────────────── */
body::after { opacity: 0.025; }

/* ── Expertise mini-grid (responsive 2-col) ─────────────────── */
.expertise-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
}
@media (max-width: 640px) {
  .expertise-mini-grid { grid-template-columns: 1fr; }
  .expertise-mini-grid > div { border-right: none !important; }
  .expertise-mini-grid > div:nth-child(odd),
  .expertise-mini-grid > div:nth-child(even) { border-right: none !important; }
}

/* ── About photo on dark bg (responsive height) ─────────────── */
.about-photo-dark {
  aspect-ratio: 3 / 4;
  background: #e8e8e5;
  border: 1px solid #d8d8d5;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .about-photo-dark {
    aspect-ratio: 16 / 9;
    max-height: 320px;
    width: 100%;
  }
}

/* Home about — slim one-line strip (not a full section) */
.home-about-strip {
  background: var(--cream, #f4f0e8);
  border-block: 1px solid var(--rule, rgba(0, 0, 0, 0.08));
  padding-block: 1.1rem;
}
.home-about-strip-inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}
.home-about-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--noir, #111);
  color: #f5f0e8;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.home-about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-about-strip-copy {
  flex: 1 1 12rem;
  min-width: 0;
}
.home-about-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #888);
  font-weight: 500;
}
.home-about-line {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #444;
}
.home-about-line strong {
  color: var(--ink, #111);
  font-weight: 600;
}
.home-about-sep {
  margin-inline: 0.35em;
  color: var(--muted, #aaa);
}
.home-about-cta {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}
@media (max-width: 640px) {
  .home-about-strip {
    padding-block: 0.95rem;
  }
  .home-about-strip-inner {
    gap: 0.75rem 1rem;
  }
  .home-about-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.75rem;
  }
  .home-about-line {
    font-size: 0.88rem;
  }
  .home-about-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* ── Mobile hero body clearance ─────────────────────────────── */
@media (max-width: 640px) {
  .hero-cinematic {
    min-height: 100dvh;
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 2rem;
  }
  .hero-cinematic .hero-body { padding-block: 1.25rem 1.75rem; }
  .hero-year { right: 1rem; font-size: 0.6rem; }
  .hero-scroll-bar { left: 1rem; }
  .hero-rule { margin-block: 0.9rem; }
  .hero-tagline-dark { margin-bottom: 1.35rem; }

  /* Pillar grid on mobile */
  .pillar { padding: 2rem 0; }

  /* Featured article: trim big number */
  .featured-article .fa-number { font-size: clamp(3.5rem, 18vw, 7rem); }

  /* Stats: 2×2 */
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; }

  /* Blog list row columns collapse */
  .blog-list-row { grid-template-columns: 1fr !important; gap: 0.4rem; }
  .blog-list-row .category { order: -1; }
  .blog-list-row .date { padding-top: 0; }

  /* Pullquote on mobile */
  .pullquote, .pullquote-dark {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  /* Footer top grid */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Tablet (640-900px) refinements ─────────────────────────── */
@media (min-width: 641px) and (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--rule); padding: 2.5rem 0; }
  .pillar:first-child { padding-top: 0; }
  .pillar:last-child { border-bottom: none; }

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

/* ============================================================
   CINEMATIC II — curtain, spotlight, magnetic, heading reveals
   ============================================================ */

/* ── Page intro curtain ─────────────────────────────────────── */
.page-curtain {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-curtain.gone { transform: translateY(-100%); }
.curtain-text {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  font-family: var(--font);
  white-space: nowrap;
}

/* ── Ambient mouse-tracking spotlight on dark sections ──────── */
.section-dark { --mx: 50%; --my: 30%; }
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px circle at var(--mx) var(--my),
    rgba(0,0,0,0.025) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-cinematic::after { display: none; }
.section-dark > .wrap { position: relative; z-index: 1; }

/* ── Dramatic heading reveal ────────────────────────────────── */
.reveal-heading {
  opacity: 0;
  transform: translateY(56px);
  filter: blur(16px);
  transition:
    opacity  1.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter   1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-heading.visible { opacity: 1; transform: none; filter: blur(0); }
.reveal-heading.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-heading.reveal-delay-2 { transition-delay: 0.25s; }

/* ── Horizontal line wipe (entry accent for dark sections) ──── */
.section-wipe {
  height: 1px;
  background: rgba(0,0,0,0.1);
  width: 0;
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
  margin-bottom: 3rem;
}
.section-wipe.visible { width: 100%; }

/* ── Staggered word spans (JS-injected) ─────────────────────── */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: top; }
.word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-words.visible .word-inner { transform: translateY(0); }

/* ── Magnetic button — smooth spring back ───────────────────── */
.btn-light, .btn-outline-light, .btn-ghost, .btn-fill {
  transition:
    background 0.18s, color 0.18s, border-color 0.18s, opacity 0.18s,
    transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Cursor scale on clicking: tighter spring ───────────────── */
.c-cursor { transition-timing-function: cubic-bezier(0.34,1.56,0.64,1); }

/* ── Nav link hover — letter-spacing pulse (desktop only) ───── */
@media (min-width: 768px) {
  .nav-links a {
    transition: color 0.15s, letter-spacing 0.3s cubic-bezier(0.16,1,0.3,1), background-color 0.2s ease;
  }
  .nav-links a:hover { letter-spacing: 0.04em; }
}

/* ── Stat numbers — overshoot animation class ───────────────── */
.stat-num { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }

/* ── Dark section quote lines — extra stagger ───────────────── */
.rl-d1 .inner { transition-delay: 0.0s; }
.rl-d2 .inner { transition-delay: 0.18s; }
.rl-d3 .inner { transition-delay: 0.32s; }
.rl-d4 .inner { transition-delay: 0.46s; }

/* ── Featured article: subtle tilt container ─────────────────── */
.featured-article { transform-style: preserve-3d; perspective: 800px; }
.featured-article .fa-left,
.featured-article .fa-right {
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
              background 0.2s;
}

/* ── Marquee pause on hover: ease out ───────────────────────── */
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
  transition: opacity 0.3s;
  opacity: 0.7;
}

/* ============================================================
   REFRESH 2026 — editorial serif display, noir scenes,
   services page. Layered on top; overrides earlier rules.
   ============================================================ */
:root {
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --noir:      #050505;
  --noir-ink:  #f5f2ec;
  --noir-dim:  rgba(255,255,255,0.5);
  --noir-rule: rgba(255,255,255,0.1);
}

/* ── Display typography → Fraunces (editorial serif) ────────── */
.display, .display-md, .display-sm,
.pullquote, .pullquote-dark,
.post-title, .featured-article h2 {
  font-family: var(--font-display);
  font-weight: 600;
}
.display    { letter-spacing: -0.025em; line-height: 0.98; }
.display-md { letter-spacing: -0.02em; }
.display-sm { letter-spacing: -0.015em; }
.pullquote, .pullquote-dark {
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
}
.post-body blockquote { font-family: var(--font-display); font-size: 1.15em; }

/* ── Noir hero — true black title card ──────────────────────── */
.hero-noir { background: var(--noir); border-bottom-color: #141414; }
.hero-noir::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 32% 58%, rgba(245,242,236,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-noir .lb { background: rgba(255,255,255,0.04); }
.hero-noir .hero-eyeline { color: rgba(255,255,255,0.45); }
.hero-noir .hero-title-dark { color: var(--noir-ink); }
.hero-noir .hero-rule { background: rgba(255,255,255,0.25); }
.hero-noir .hero-tagline-dark { color: var(--noir-dim); }
.hero-noir .hero-year { color: rgba(255,255,255,0.28); }
.hero-noir .hero-scroll-bar { color: rgba(255,255,255,0.35); }
.hero-noir .hero-scroll-line { background: rgba(255,255,255,0.15); }
.hero-noir .hero-scroll-line::after { background: rgba(255,255,255,0.55); }

/* ── Noir sections — black scenes between white ones ────────── */
.section-noir {
  background: var(--noir);
  position: relative;
  overflow: hidden;
}
.section-noir .pullquote-dark { color: var(--noir-ink); }
.section-noir .section-wipe { background: var(--noir-rule); }
.section-noir .btn-ghost {
  color: var(--noir-ink);
  border-color: rgba(255,255,255,0.3);
}
.section-noir .btn-ghost:hover {
  background: var(--noir-ink);
  color: var(--noir);
  border-color: var(--noir-ink);
}
.section-noir .btn-text { color: rgba(255,255,255,0.55); }
.section-noir .btn-text::after { background: rgba(255,255,255,0.55); }
.section-noir::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.section-noir > .wrap { position: relative; z-index: 1; }

/* ── Services page ──────────────────────────────────────────── */
.svc-banner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  background: #fff;
  padding: 1.75rem 2rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.svc-banner strong { color: var(--ink); }
.svc-company {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.svc-via {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.6rem;
  margin-top: 1.5rem;
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
}
.proc-step {
  padding: 2.5rem;
  border-right: 1px solid var(--rule);
}
.proc-step:last-child { border-right: none; }
.proc-step .proc-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--muted-2);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}
.proc-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.proc-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) {
  .proc-grid { grid-template-columns: 1fr; }
  .proc-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .proc-step:last-child { border-bottom: none; }
}

/* ── Cinematic, but fast: no curtain, quick page fade ───────── */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.45s ease both; }
.page-curtain { display: none !important; }

/* Snappier reveals — cinema without the wait */
.reveal {
  transform: translateY(24px);
  filter: blur(3px);
  transition-duration: 0.55s, 0.55s, 0.55s;
}
.reveal-heading {
  transform: translateY(36px);
  filter: blur(8px);
  transition-duration: 0.8s, 0.8s, 0.8s;
}
.reveal-line .inner { transition-duration: 0.7s; }
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }
.hero-title-dark { animation-duration: 1.1s; animation-delay: 0.05s; }
.hero-rule { animation-delay: 0.6s; }
.hero-tagline-dark { animation-delay: 0.55s; animation-duration: 0.8s; }
.hero-actions-dark { animation-delay: 0.7s; animation-duration: 0.8s; }
.hero-scroll-bar { animation-delay: 1s; }
.hero-year { animation-delay: 1s; }

/* ── Rich content blocks (used by Blog Studio posts) ────────── */
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.post-body th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 0.65rem 0.8rem;
}
.post-body td {
  border-bottom: 1px solid var(--rule);
  padding: 0.65rem 0.8rem;
  vertical-align: top;
}
.post-body tr:hover td { background: #f5f5f3; }

.callout {
  padding: 1.1rem 1.4rem;
  margin: 1.75rem 0;
  font-size: 0.93rem;
  line-height: 1.7;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  background: #fff;
}
.callout p { margin-bottom: 0.5rem; font-size: inherit; }
.callout p:last-child { margin-bottom: 0; }
.callout.info    { border-left-color: #1d4ed8; background: #eff6ff; }
.callout.warning { border-left-color: #b45309; background: #fffbeb; }
.callout.success { border-left-color: #15803d; background: #f0fdf4; }
.callout.danger  { border-left-color: #b91c1c; background: #fef2f2; }

.post-body pre {
  background: #0d0d0d;
  color: #e5e5e5;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: 2px;
}

/* ============================================================
   CINEMA III — reliable cursor, page dissolves, living light
   ============================================================ */

/* ── Cursor: locked to pointer; color flips on light/dark surfaces ─
   Position via JS transform only (no CSS scale/margin) so clicks
   never shift the cursor left.  */
@media (hover: hover) {
  body:not(.has-cursor),
  body:not(.has-cursor) a,
  body:not(.has-cursor) button { cursor: auto; }
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor label { cursor: none; }
}
.cur-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  margin: 0;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.9);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transform-origin: center center;
  transition: opacity 0.2s, background-color 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}
/* Light cursor on dark backgrounds */
.cur-dot.on-dark {
  background: #fafafa;
  box-shadow: 0 0 0 1.5px rgba(10,10,10,0.55);
}
.cur-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  margin: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(80,80,80,0.45);
  z-index: 99998;
  pointer-events: none;
  opacity: 0;
  transform-origin: center center;
  /* Never transition transform — lag looks like the cursor drifts */
  transition: opacity 0.2s, border-color 0.18s ease;
  will-change: transform;
}
.cur-ring.on-dark {
  border-color: rgba(250,250,250,0.45);
}
/* Hide outer ring on clickable targets — keep only the inner dot */
.cur-ring.hover {
  opacity: 0 !important;
  border-color: transparent;
}
@media (hover: none) { .cur-dot, .cur-ring { display: none; } }
.c-cursor { display: none; } /* retire old blend-mode cursor */

/* ── Page-to-page dissolve (View Transitions, Chrome/Edge) ─── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 0.3s; }
::view-transition-new(root) { animation-duration: 0.4s; }

/* ── Cinematic selection ─────────────────────────────────────── */
::selection { background: #0a0a0a; color: #fafafa; }
.section-noir ::selection, .hero-noir ::selection { background: #f5f2ec; color: #0a0a0a; }

/* ── Overlines: letter-tracking reveal (every page) ──────────── */
.overline.reveal, .overline-dim.reveal {
  letter-spacing: 0.45em;
}
.overline.reveal.visible { letter-spacing: 0.15em; }
.overline-dim.reveal.visible { letter-spacing: 0.18em; }
.overline.reveal, .overline-dim.reveal {
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1),
              transform 0.7s cubic-bezier(.16,1,.3,1),
              filter 0.7s cubic-bezier(.16,1,.3,1),
              letter-spacing 1.1s cubic-bezier(.16,1,.3,1);
}
.hero-eyeline {
  animation: eyelineIn 1.4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes eyelineIn {
  from { opacity: 0; letter-spacing: 0.55em; }
  to   { opacity: 1; letter-spacing: 0.2em; }
}

/* ── Hero: deeper title reveal + living light ───────────────── */
@keyframes blurReveal {
  from { opacity: 0; transform: translateY(38px) scale(1.04); filter: blur(18px); }
  to   { opacity: 1; transform: translateY(0) scale(1);       filter: blur(0); }
}
.hero-noir::before {
  animation: glowDrift 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes glowDrift {
  0%   { transform: translate3d(-2.5%, -1%, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0)   scale(1.07); }
  100% { transform: translate3d(-1%, 2%, 0)    scale(1.03); }
}
/* Faint vignette so hero edges fall off like a lens */
.hero-noir .lb { background: rgba(255,255,255,0.05); }
.hero-cinematic.hero-noir {
  box-shadow: inset 0 0 180px rgba(0,0,0,0.85);
}

/* ── Noir sections: light follows the mouse ─────────────────── */
.section-noir { --mx: 50%; --my: 30%; }
.section-noir::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    620px circle at var(--mx) var(--my),
    rgba(245,242,236,0.055) 0%,
    transparent 62%
  );
  pointer-events: none;
}

/* ── Editorial rows: quiet lift on hover ────────────────────── */
.blog-list-row { transition: background 0.25s, padding-left 0.3s cubic-bezier(.16,1,.3,1); }
.blog-list-row:hover { background: #f5f5f3; padding-left: 0.6rem; }


/* ════════════════════════════════════════════════════════════
   PHASE 2 — De-inlined component & utility layer
   (Extracted from former inline styles so responsive rules
    can override them. Part of the mobile overhaul.)
   ════════════════════════════════════════════════════════════ */

:root {
  --font-display: 'Fraunces', Georgia, serif;
}

/* ── Rules & layout helpers ── */
.rule-top       { border-top: 1px solid var(--rule); }
.rule-bottom    { border-bottom: 1px solid var(--rule); }
.rule-top-pad   { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.row-between    { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.row-end        { display: flex; justify-content: flex-end; }
.row-center     { display: flex; justify-content: center; }
.cta-row        { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.cta-row-left   { display: flex; gap: 1rem; flex-wrap: wrap; }
.align-start    { align-items: start; }
.self-start     { align-self: flex-start; }
.self-center    { align-self: center; }
.v-rule         { width: 1px; height: 60px; background: var(--rule); margin: 3rem auto; }
.ink            { color: var(--ink); }

/* ── Spacing scale ── */
.mb-eyebrow  { margin-bottom: 1.25rem; }
.mb-block    { margin-bottom: 1.5rem; }
.mb-story    { margin-bottom: 2rem; }
.mb-featured { margin-bottom: 2.5rem; }
.mb-section  { margin-bottom: 3rem; }
.mb-pillars  { margin-bottom: 4rem; }
.mb-quote-label { margin-bottom: 1.5rem; }
.mt-para     { margin-top: 1rem; }
.mt-block    { margin-top: 1.25rem; }
.mt-para-lg  { margin-top: 1.5rem; }
.mt-story    { margin-top: 1.75rem; }
.mt-note     { margin-top: 2rem; }
.mt-cta      { margin-top: 2.5rem; }
.mt-section  { margin-top: 3rem; }
.mt-cta-lg   { margin-top: 3.5rem; }
.mt-browse   { margin-top: 1.25rem; }
.section-pad-lg { padding-block: 7rem; }
.section-pad-xl { padding-block: 8rem; }
.grid-gap-lg  { gap: 4rem; }
.grid-gap-xl  { gap: 5rem; }
.grid-gap-xxl { gap: 6rem; }

/* ── Text variants ── */
.statement-eyebrow { margin-bottom: 2.5rem; color: var(--muted-2); }
.statement-lead    { max-width: 440px; margin: 0 auto; }
.blog-header-lead    { max-width: 520px; margin-top: 1rem; }
.svc-header-lead     { max-width: 580px; margin-top: 1rem; }
.contact-header-lead { max-width: 480px; margin-top: 1rem; }
.blog-empty     { padding: 3rem 0; color: var(--muted); }
.body-muted     { color: var(--muted); line-height: 1.75; font-size: .95rem; }
.body-muted-lg  { color: var(--muted); line-height: 1.8; }
.about-dark-body { margin-top: 2rem; color: #555; line-height: 1.8; font-size: .95rem; }
.about-dark-sub  { margin-top: 1rem; color: #666; line-height: 1.8; font-size: .9rem; }
.overline-darkdim { color: #525252; }
.note-dark { margin-top: 1.75rem; color: #737373; font-size: .9rem; line-height: 1.75; max-width: 500px; margin-inline: auto; }
.tight-track { letter-spacing: -0.04em; }
.quote-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.quote-sub   { font-size: 1rem; color: rgba(255,255,255,0.45); font-weight: 300; letter-spacing: .02em; }
.wipe-center { margin-inline: auto; max-width: 80px; }
.tag-featured { margin-bottom: 1rem; }
.btn-text-dim { color: #737373; align-self: center; }
.pillar-on-dark { border-color: #141414; }
.legal-note { padding: 1.25rem 1.5rem; border: 1px solid var(--rule); font-size: .8rem; color: var(--muted); line-height: 1.7; }

/* ── Topic rows (homepage coverage list) ── */
.topic-col { padding-top: .25rem; }
.topic-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--rule); color: var(--ink);
}
.topic-row span:first-child { font-size: .95rem; font-weight: 600; letter-spacing: -.015em; }
.topic-row-last { border-bottom: none; }
.topic-arrow { color: var(--muted-2); }

/* ── Expertise mini-grid (homepage) ── */
.emg-cell { padding: 1.5rem; }
.emg-r { border-right: 1px solid var(--rule); }
.emg-b { border-bottom: 1px solid var(--rule); }
.emg-num { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.emg-label { font-size: .9rem; font-weight: 600; }
.emg-more { font-size: .9rem; font-weight: 600; color: var(--accent); }

/* ── Expertise / service cards ── */
.exp-card-num { font-family: var(--font-display); font-size: 2rem; color: var(--muted-2); margin-bottom: 1rem; line-height: 1; }
.exp-card-via { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 1.25rem; }
.exp-card-more { color: var(--accent); }
a.exp-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .22s ease, background .22s var(--ease), box-shadow .25s var(--ease);
}
a.exp-card-link:hover,
.exp-card:hover {
  background: var(--paper-2);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}
a.exp-card-link:hover h3 { color: var(--accent); }
a.exp-card-link:hover .exp-card-via { color: var(--accent); }
.svc-banner .svc-company { margin-bottom: .5rem; }
.blog-header .filter-row { margin-top: 2.5rem; }

/* ── Services process steps (stacked variant) ── */
.proc-grid-stacked { grid-template-columns: 1fr; }
.proc-step-stacked { border-right: none; border-bottom: 1px solid var(--rule); }
.proc-step-last { border-bottom: none; }

/* ── Photo placeholders ── */
.photo-frame { width: 100%; aspect-ratio: 3/4; background: #e8e8e8; display: flex; align-items: center; justify-content: center; }
.photo-placeholder { text-align: center; opacity: .35; }
.photo-icon { width: 56px; height: 56px; display: block; margin: 0 auto .75rem; }
.photo-caption { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.photo-placeholder-dark { text-align: center; opacity: .2; }
.photo-icon-lg { width: 72px; height: 72px; display: block; margin: 0 auto 1rem; }
.photo-caption-dark { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: #bbb; }
.photo-real { width: 100%; height: 100%; object-fit: cover; }
.photo-real-dark { width: 100%; height: 100%; object-fit: cover; display: block; }


/* ════════════════════════════════════════════════════════════
   PHASE 3 — Motion accessibility, touch guards, visual depth
   ════════════════════════════════════════════════════════════ */

/* ── Respect reduced motion everywhere ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track, .marquee-track.mq-rev { animation: none !important; }
  .reveal, .reveal-line .inner, .reveal-heading, .section-wipe { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cur-dot, .cur-ring { display: none !important; }
}

/* ── No custom cursor / hover-only effects on touch ── */
@media (pointer: coarse) {
  .cur-dot, .cur-ring { display: none !important; }
}

/* ── Category tag & topic arrow — a touch more accent presence ── */
.category, .tag { color: var(--accent); }
.topic-arrow { transition: transform .2s ease, color .2s ease; }
.topic-row:hover .topic-arrow { color: var(--accent); transform: translateX(3px); }
.stat-num { position: relative; }
.stat-item:hover .stat-num { color: var(--accent); transition: color .2s ease; }

/* ── Depth on dark sections: faint grain + ghost numerals already
   present via pillar-num/fa-number; add a subtle vignette so noir
   sections don't read as flat black ── */
.section-dark { position: relative; }
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,255,255,0.025) 0%, transparent 70%);
  pointer-events: none;
}
.section-dark > .wrap { position: relative; z-index: 1; }

/* ── Callouts / cards get a hair more presence ── */
.exp-card { transition: border-color .2s ease, transform .2s ease; }
.exp-card:hover { border-color: var(--muted-2); }

/* ════════════════════════════════════════════════════════════
   PHASE 3 — Mobile breakpoint consolidation (small-phone pass)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .wrap, .wrap-prose { padding-inline: 1.1rem; }
  .hero-tagline-dark { font-size: 0.92rem; }
  .fa-meta, .post-meta-row { flex-wrap: wrap; row-gap: .35rem; }
  .exp-grid, .pillar-grid { grid-template-columns: 1fr !important; }
  .credential-block { padding: 1.25rem; }
  .cred-row { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .contact-link-row { grid-template-columns: 1fr !important; }
  .author-card { flex-direction: column; text-align: center; align-items: center; }
  .cta-row, .cta-row-left { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .cta-row-left .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE UX PASS — layout, filters, posts, touch
   ════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  html { -webkit-text-size-adjust: 100%; }

  /* Readable type without horizontal overflow */
  .display { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .display-md { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .display-sm { font-size: clamp(1.35rem, 6vw, 1.75rem); }

  .hero-actions-dark {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-actions-dark .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-year {
    top: calc(var(--nav-h) + 0.75rem);
    right: 1rem;
  }
  .hero-scroll-bar {
    left: 1rem;
    bottom: 1.25rem;
  }

  /* Blog filters: horizontal scroll chips instead of wrap mess */
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding-bottom: 0.35rem;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
    scrollbar-width: none;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filt {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 36px;
    padding: 0.4rem 0.9rem;
  }

  .blog-header {
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 2rem;
  }
  .about-header,
  .expertise-header,
  .contact-header,
  .post-header {
    padding-top: calc(var(--nav-h) + 2.5rem);
  }

  .post-title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }
  .post-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-strip {
    flex-wrap: wrap;
  }
  .stat-item {
    flex: 1 1 45%;
    min-width: 40%;
    padding: 1.25rem 0.75rem;
  }

  .marquee-section { overflow: hidden; }
  .topic-row {
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    text-align: left;
  }
  .icai-strip {
    font-size: 0.68rem;
    line-height: 1.55;
    padding: 0.85rem 1.1rem;
  }

  .btn {
    min-height: 44px;
  }

  /* Avoid full-bleed tilt / heavy effects on phones */
  .featured-article { transform: none !important; }
  .featured-article .fa-left,
  .featured-article .fa-right { padding: 1.5rem; }

  .back-top {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }
}

/* ════════════════════════════════════════════════════════════
   PHASE 4 — UX polish: empty states, 404, back-top, monogram
   ════════════════════════════════════════════════════════════ */

/* Photo monogram (replaces broken "images/profile.jpg" placeholder) */
.photo-monogram {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  background: #e8e8e4;
  border: 1px solid #d4d4d0;
}
.photo-monogram-dark {
  width: 100px;
  height: 100px;
  font-size: 1.85rem;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

/* Blog list hover + meta */
.blog-list-row {
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  border-radius: 2px;
  margin-inline: -0.5rem;
  padding-inline: 0.5rem;
}
.blog-list-row:hover {
  background-color: rgba(10, 10, 10, 0.02);
}
.blog-list-row h2 a {
  transition: color 0.15s ease;
}
.blog-row-meta {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}
.blog-empty-state {
  padding: 4rem 0 3rem;
  text-align: center;
  max-width: 420px;
  margin-inline: auto;
}
.blog-empty-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.blog-empty-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.blog-filter-empty {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.blog-filter-empty .btn-text {
  vertical-align: baseline;
}
.blog-count {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted-2);
  font-weight: 500;
}
.blog-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.blog-pager-status {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.blog-pager .btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
@media (max-width: 640px) {
  .blog-pager {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-pager .btn { width: 100%; justify-content: center; }
  .blog-pager-status { text-align: center; order: -1; }
}

/* Filter chips — slightly richer active state */
.filt {
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.filt:active { transform: scale(0.97); }
.filt[data-active="true"] {
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Contact polish */
.contact-link-item {
  position: relative;
  transition: background 0.22s ease, transform 0.22s var(--ease);
}
.contact-link-item .cli-arrow {
  margin-top: auto;
  font-size: 1.25rem;
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-link-item:hover .cli-arrow {
  opacity: 1;
  transform: translateX(4px);
}
.contact-link-row-single .contact-link-item {
  max-width: 520px;
}
.contact-response-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* ════════════════════════════════════════════════════════════
   CINEMATIC HERO SYSTEM — home + all page heroes
   ════════════════════════════════════════════════════════════ */

.cine-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.cine-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: cineDrift 14s ease-in-out infinite alternate;
}
.cine-glow-a {
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  left: -12%;
  top: 10%;
  background: radial-gradient(circle, rgba(245,242,236,0.16) 0%, transparent 68%);
}
.cine-glow-b {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  right: -8%;
  bottom: -5%;
  background: radial-gradient(circle, rgba(120,140,180,0.12) 0%, transparent 70%);
  animation-delay: -4s;
  animation-duration: 18s;
}
@keyframes cineDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3%, -4%, 0) scale(1.08); }
}
.cine-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.cine-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 40%, transparent 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 28%, transparent 72%, rgba(0,0,0,0.5) 100%);
}
.cine-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 4px
  );
  opacity: 0.55;
  mix-blend-mode: soft-light;
}
.cine-frame {
  position: absolute;
  inset: clamp(18px, 3vw, 36px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35);
  pointer-events: none;
}
.cine-ghost {
  position: absolute;
  right: 4%;
  bottom: 8%;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(255,255,255,0.035);
  user-select: none;
  pointer-events: none;
}
.cine-ghost-sm {
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  right: 3%;
  bottom: 6%;
  letter-spacing: 0.1em;
  opacity: 0.9;
  /* Keep ghost type out of the main copy column */
  max-width: 42%;
  overflow: hidden;
  text-align: right;
}
.page-hero-compact .cine-ghost-sm,
.page-hero-post .cine-ghost-sm {
  bottom: 8%;
  right: 2.5%;
  font-size: clamp(2.8rem, 11vw, 6.5rem);
  color: rgba(255,255,255,0.028);
}

.hero-eyeline-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5f2ec;
  margin-right: 0.65rem;
  vertical-align: 0.1em;
  box-shadow: 0 0 0 4px rgba(245,242,236,0.12);
  animation: cinePulse 2.4s ease-in-out infinite;
}
@keyframes cinePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* Home hero: richer noir atmosphere */
.hero-cinematic.hero-noir {
  background: #050505;
  isolation: isolate;
}
.hero-cinematic.hero-noir .cine-stage { z-index: 1; }
.hero-cinematic.hero-noir .hero-body,
.hero-cinematic.hero-noir .hero-year,
.hero-cinematic.hero-noir .hero-scroll-bar,
.hero-cinematic.hero-noir .lb { z-index: 3; }
.hero-cinematic.hero-noir .lb {
  height: clamp(32px, 5vh, 56px);
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.06);
}
.hero-noir .lb-top { border-bottom: 1px solid rgba(255,255,255,0.06); }
.hero-noir .lb-bottom { border-top: 1px solid rgba(255,255,255,0.06); }
.hero-cinematic.hero-noir {
  box-shadow: inset 0 0 200px rgba(0,0,0,0.9);
}
.hero-noir .hero-eyeline {
  display: inline-flex;
  align-items: center;
  color: rgba(245,242,236,0.55);
  letter-spacing: 0.22em;
}
.hero-noir .hero-title-dark {
  text-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.hero-noir .hero-tagline-dark {
  color: rgba(245,242,236,0.62);
  max-width: 36rem;
}
.hero-actions-dark .btn-outline-light {
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
}

/* Shared page heroes (About, Blog, Services, etc.) */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 80% at 20% 0%, rgba(245,242,236,0.06) 0%, transparent 55%),
    #050505;
  color: var(--cream);
  overflow: hidden;
  padding: calc(var(--nav-h) + 3.5rem) 0 4rem;
  border-bottom: 1px solid #121212;
  isolation: isolate;
}
/* Compact heroes: height follows content — no empty black void */
.page-hero-compact {
  min-height: 0;
  display: block;
  padding: calc(var(--nav-h) + 2.85rem) 0 2.5rem;
}
.page-hero-post {
  min-height: 0;
  display: block;
  padding: calc(var(--nav-h) + 2.6rem) 0 2.5rem;
}
.page-hero .cine-stage { z-index: 0; }
.page-hero .lb {
  z-index: 2;
  background: rgba(0,0,0,0.55);
  height: clamp(18px, 2.4vh, 28px);
}
.page-hero .lb-top { border-bottom: 1px solid rgba(255,255,255,0.07); }
.page-hero .lb-bottom { border-top: 1px solid rgba(255,255,255,0.07); }
.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 680px;
}
.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.48);
  margin-bottom: 0.85rem;
}
.page-hero-kicker-sm { margin-bottom: 0.85rem; margin-top: 0.25rem; }
.page-hero-title {
  color: var(--cream) !important;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-shadow: 0 12px 40px rgba(0,0,0,0.45);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.page-hero-rule {
  background: linear-gradient(90deg, rgba(245,242,236,0.55), rgba(245,242,236,0.08)) !important;
  margin-block: 0.9rem 1rem !important;
  animation: ruleGrow 0.9s cubic-bezier(0.16,1,0.3,1) 0.25s forwards;
  width: 0;
  height: 1.5px !important;
}
.page-hero-lead {
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.7;
  color: rgba(245,242,236,0.64);
  max-width: 32rem;
  font-weight: 400;
}
.page-hero-lead strong { color: var(--cream); font-weight: 600; }
.page-hero-body {
  margin-top: 1rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(245,242,236,0.58);
  max-width: 34rem;
}
.page-hero-body-dim { color: rgba(245,242,236,0.45); }
.page-hero-meta {
  margin-top: 1.05rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.36);
}
/* Crisp edge into paper content */
.page-hero-compact::after,
.page-hero-post::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
  z-index: 4;
}

/* About split hero — taller is OK (photo), but not forced empty space */
.page-hero-about {
  padding: calc(var(--nav-h) + 2.75rem) 0 3.25rem;
  min-height: 0;
  display: block;
}
.page-hero-split {
  max-width: var(--max-w);
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) 1.25fr;
  gap: clamp(1.75rem, 4vw, 3.75rem);
  align-items: center;
}
.page-hero-about .page-hero-inner {
  max-width: var(--max-w);
}
.page-hero-photo { width: 100%; }
.photo-frame-cine {
  width: 100%;
  aspect-ratio: 3/4;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden;
}
.photo-placeholder-cine {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
}
.credential-block-cine {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
}
.credential-block-cine .cred-row {
  border-bottom-color: rgba(255,255,255,0.08);
}
.credential-block-cine .cred-label { color: rgba(245,242,236,0.4); }
.credential-block-cine .cred-value { color: #f5f2ec; }

/* Blog tools strip under dark hero */
.page-hero-tools {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(246, 244, 240, 0.92);
  box-shadow: 0 10px 30px rgba(12, 12, 12, 0.03);
}
.page-hero-tools .filter-row { margin: 0; }

/* Post hero specifics */
.post-back-cine {
  color: rgba(245,242,236,0.55) !important;
  margin-bottom: 1.15rem;
}
.post-back-cine:hover { color: #f5f2ec !important; }
.post-meta-cine {
  color: rgba(245,242,236,0.5) !important;
  gap: 0.75rem !important;
  margin-bottom: 0.15rem;
}
.page-hero-post .post-title {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  max-width: 20ch;
  color: #f5f2ec !important;
}
.page-hero-post .post-actions { margin-top: 1.25rem; }
.page-hero-post .btn-pdf {
  border-color: rgba(255,255,255,0.35);
  color: #f5f2ec;
}
.page-hero-post .btn-pdf:hover {
  background: #f5f2ec;
  color: #0a0a0a;
  border-color: #f5f2ec;
}

/* Dark-hero nav also applies on page heroes (body.dark-hero) — already styled */

@media (max-width: 900px) {
  .page-hero-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .page-hero-photo {
    max-width: 240px;
  }
  .photo-frame-cine { aspect-ratio: 4/5; }
  .page-hero-compact .cine-ghost-sm,
  .page-hero-post .cine-ghost-sm {
    font-size: clamp(2.5rem, 16vw, 4.5rem);
    bottom: 10%;
    opacity: 0.85;
  }
}
@media (max-width: 640px) {
  .page-hero-compact {
    min-height: 0;
    padding: calc(var(--nav-h) + 2rem) 0 2.15rem;
  }
  .page-hero-about {
    min-height: 0;
    padding: calc(var(--nav-h) + 1.85rem) 0 2.25rem;
  }
  .page-hero-post {
    min-height: 0;
    padding: calc(var(--nav-h) + 1.85rem) 0 2.1rem;
  }
  .page-hero-lead {
    max-width: none;
    font-size: 0.98rem;
  }
  .cine-frame { inset: 10px; }
  .cine-ghost,
  .cine-ghost-sm,
  .page-hero-compact .cine-ghost-sm {
    font-size: clamp(2.4rem, 18vw, 3.8rem);
    bottom: 12%;
    right: 4%;
    max-width: 50%;
  }
  .page-hero-tools {
    position: static;
  }
  /* Keep crisp 1px edge — do not reintroduce empty black void */
  .page-hero-compact::after,
  .page-hero-post::after {
    height: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cine-glow, .hero-eyeline-dot, .cine-scan { animation: none !important; }
}

/* Footer email line */
.footer-email {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-email a:hover { color: var(--ink); }

/* ── Contact form + layout ─────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.contact-layout-single { grid-template-columns: 1fr; max-width: 640px; }
.contact-form-panel .overline { margin-bottom: 1rem; }
.contact-form { display: block; }
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.cf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.cf-field.cf-full { grid-column: 1 / -1; }
.cf-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cf-field .req { color: #b91c1c; }
.cf-field input,
.cf-field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}
.cf-field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.cf-status {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
}
.cf-status.is-ok { color: #15803d; }
.cf-status.is-err { color: #b91c1c; }
#cfSubmit { margin-top: 1.1rem; min-width: 160px; }
.contact-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  border: 1px solid var(--rule);
  padding: 1.35rem 1.4rem;
  background: #fff;
}
.contact-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.contact-address {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-line;
}
.contact-address-note {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.contact-direct { list-style: none; display: grid; gap: 0.75rem; }
.contact-direct li { display: grid; gap: 0.15rem; }
.cd-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-direct a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
.contact-direct a:hover { color: var(--accent); }
.contact-map {
  border-radius: 2px;
  overflow: hidden;
  background: #f0f0f0;
  min-height: 220px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .cf-grid { grid-template-columns: 1fr; }
}

/* 404 page */
.error-page {
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--rule);
  margin-bottom: 1.25rem;
  user-select: none;
}
.error-lead {
  max-width: 420px;
  margin-inline: auto;
}
.error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease), background 0.15s ease;
}
.back-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-top:hover { background: var(--ink-2); }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .back-top { right: 1rem; bottom: 1rem; width: 40px; height: 40px; }
}

/* Featured article — clearer affordance */
.featured-article {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.featured-article:hover {
  border-color: #cfcfcf;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

/* Buttons — slightly better press feedback */
.btn {
  transition: opacity 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }

/* ════════════════════════════════════════════════════════════
   DESIGN IMPROVISE — cohesive polish pass
   Direction: Ledger Noir — warm paper letterhead + deep navy
   accent + cinematic black title cards. Every rule here is an
   intentional override of earlier layers for visual cohesion.
   ════════════════════════════════════════════════════════════ */

/* ── Selection & body presence ── */
::selection {
  background: rgba(26, 61, 124, 0.14);
  color: var(--ink);
}
.section-noir ::selection,
.hero-noir ::selection,
.page-hero ::selection {
  background: var(--cream);
  color: var(--noir);
}
body {
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
  background-color: var(--paper);
}

/* ── Nav: quieter bar, stronger logo ── */
.nav-logo {
  font-family: var(--font);
  letter-spacing: -0.03em;
}
.nav-logo span {
  font-weight: 400;
  opacity: 0.85;
}
.nav-cta {
  border-radius: var(--radius-sm) !important;
  letter-spacing: 0.02em !important;
}
.site-nav.scrolled {
  background: rgba(245, 242, 235, 0.92);
  box-shadow: 0 10px 32px rgba(12, 12, 12, 0.045);
}

/* ── Buttons: crisp edges, navy ghost option ── */
.btn {
  border-radius: var(--radius-sm);
  letter-spacing: 0.015em;
}
.btn-fill {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.btn-fill:hover {
  opacity: 1;
  background: #1f1f1f;
}
.btn-ghost:hover {
  box-shadow: var(--shadow-soft);
}
.btn-light {
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--noir);
  border-color: var(--cream);
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.btn-light:hover {
  opacity: 1;
  background: #fff;
  transform: translateY(-1px);
}
.btn-outline-light {
  border-radius: var(--radius-sm);
  color: rgba(245, 242, 236, 0.88);
  border-color: rgba(245, 242, 236, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.btn-outline-light:hover {
  color: #fff;
  border-color: rgba(245, 242, 236, 0.55);
  background: rgba(255, 255, 255, 0.08);
}
.btn-text { color: var(--accent); }
.btn-text::after { background: var(--accent); }

/* ── Home hero: denser title card, clearer CTAs ── */
.hero-cinematic.hero-noir .hero-title-dark {
  letter-spacing: -0.03em;
}
.hero-noir .hero-rule {
  background: linear-gradient(90deg, rgba(245, 242, 236, 0.65), rgba(245, 242, 236, 0.08));
  height: 1.5px;
}
.hero-noir .hero-tagline-dark {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
  color: rgba(245, 242, 236, 0.66);
}
.hero-actions-dark {
  gap: 0.85rem;
}

/* ── Statement + pullquote (purpose block) ── */
.pullquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
  max-width: 42rem;
}
.pullquote em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.statement-eyebrow {
  color: var(--muted);
}
.v-rule {
  background: linear-gradient(180deg, transparent, var(--rule), transparent);
}

/* ── Pillars: more breath, serif numbers ── */
.pillar-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}
.pillar h3 {
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}
.pillar p {
  font-size: 0.9rem;
  line-height: 1.75;
}
.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.35) 0%, transparent 40%),
    #efece5;
  border-block: 1px solid rgba(226, 221, 212, 0.85);
}

/* ── Stats: editorial Fraunces figures ── */
.stats-strip {
  background: var(--paper-2);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-label {
  letter-spacing: 0.1em;
  color: var(--muted);
}
.stat-item {
  transition: background 0.2s ease;
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.55);
}
.stat-item:hover .stat-num {
  color: var(--accent);
}

/* ── Featured article: letterhead card ── */
.featured-article {
  background: var(--paper-2);
  border-color: var(--rule);
  border-radius: 2px;
  overflow: hidden;
}
.featured-article .fa-number {
  font-family: var(--font-display);
  font-weight: 500;
  color: rgba(14, 14, 14, 0.07);
}
.featured-article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.featured-article:hover {
  border-color: #d4cfc4;
  box-shadow: var(--shadow-card);
}
/* Category tags — compact chips (never full-width bars) */
.tag,
.tag-featured,
.article-item .tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.28rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--accent);
  background: var(--tag-bg);
  border: 1px solid rgba(26, 61, 124, 0.1);
  border-radius: 999px;
  white-space: nowrap;
}
.tag-featured {
  display: inline-flex;
  margin-bottom: 1rem;
}

/* ── Article cards & blog rows ── */
.article-item h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: color 0.15s ease;
}
.article-item:hover h3 {
  color: var(--accent);
}
.article-item {
  transition: background 0.22s ease;
}
.article-item:hover {
  background: rgba(255, 253, 248, 0.7);
}
.blog-list-row h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: color 0.15s ease;
}
a.blog-list-row.is-clickable:hover,
.blog-list-row:hover {
  background: rgba(255, 253, 248, 0.95);
  box-shadow: inset 3px 0 0 var(--accent);
  padding-left: 0.85rem;
}
a.blog-list-row.is-clickable:hover h2,
.blog-list-row:hover h2 {
  color: var(--accent);
}
.blog-list-row .category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Marquee: quieter, more letterpress ── */
.marquee-section {
  background: #ebe7df;
  border-color: var(--rule);
}
.marquee-item {
  color: #a39e94;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.marquee-item.hi { color: #7a756c; }

/* ── Filter chips ── */
.filt {
  border-color: var(--rule);
  background: var(--paper-2);
  color: var(--muted);
  font-weight: 600;
}
.filt:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}
.filt[data-active="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(12, 12, 12, 0.12);
}
.page-hero-tools {
  background: rgba(245, 242, 235, 0.94);
  border-bottom-color: var(--rule);
  box-shadow: 0 12px 28px rgba(12, 12, 12, 0.035);
}

/* ── Expertise / service cards ── */
.exp-card {
  background: transparent;
  transition:
    background 0.25s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
a.exp-card-link:hover,
.exp-card:hover {
  background: var(--paper-2);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  border-color: transparent;
}
a.exp-card-link:hover h3 {
  color: var(--accent);
}
.exp-card-num {
  color: rgba(14, 14, 14, 0.12);
  font-weight: 500;
}
.expertise-mini-grid {
  background: var(--paper-2);
  box-shadow: var(--shadow-soft);
}
.emg-cell {
  transition: background 0.2s ease;
}
.emg-cell:hover {
  background: #fff;
}
.emg-more { color: var(--accent); }

/* ── Topic rows ── */
.topic-row {
  transition: padding-left 0.25s var(--ease), background 0.2s ease;
  border-bottom-color: var(--rule);
}
.topic-row:hover {
  padding-left: 0.5rem;
  background: linear-gradient(90deg, rgba(26, 61, 124, 0.04), transparent);
}
.topic-row:hover span:first-child {
  color: var(--accent);
}

/* ── Page heroes: tighter type, cream ink ── */
.page-hero {
  background:
    radial-gradient(ellipse 90% 70% at 18% 0%, rgba(245, 242, 236, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(26, 61, 124, 0.12) 0%, transparent 60%),
    #050505;
}
.page-hero-title {
  letter-spacing: -0.028em;
}
.page-hero-lead {
  color: rgba(244, 240, 232, 0.68);
}
.page-hero-kicker {
  color: rgba(244, 240, 232, 0.5);
}
.page-hero-meta {
  color: rgba(244, 240, 232, 0.38);
}
.page-hero-compact {
  padding: calc(var(--nav-h) + 2.6rem) 0 2.35rem;
}

/* ── Contact: elevated form panel ── */
.contact-form-panel {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.85rem 2rem;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}
.cf-field input,
.cf-field textarea {
  background: #fff;
  border-color: var(--rule);
  border-radius: var(--radius-sm);
}
.cf-field input:hover,
.cf-field textarea:hover {
  border-color: #d0c9bc;
}
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-card {
  background: var(--paper-2);
  border-color: var(--rule);
  border-radius: 2px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover {
  border-color: #d4cfc4;
  box-shadow: var(--shadow-soft);
}
.contact-map {
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

/* ── Post body: calmer reading rhythm ── */
.post-body {
  color: #1a1916;
  font-size: 1.06rem;
  line-height: 1.82;
}
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-block: 2.75rem 0.85rem;
}
.post-body blockquote {
  font-family: var(--font-display);
  border-left-color: var(--accent);
  color: var(--muted);
  font-size: 1.12em;
}
.post-body a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}
.author-card {
  background: linear-gradient(180deg, transparent, rgba(239, 236, 229, 0.45));
  border-radius: 2px;
  padding-bottom: 2rem;
}
.author-monogram {
  color: var(--accent);
}

/* ── Footer: quieter, more intentional ── */
.site-footer {
  background:
    linear-gradient(180deg, transparent 0%, rgba(239, 236, 229, 0.55) 100%);
  border-top-color: var(--rule);
  padding-block: 4.5rem 3.25rem;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.footer-brand p {
  max-width: 300px;
  line-height: 1.65;
}
.footer-disclaimer {
  margin-top: 0.65rem;
  font-size: 0.75rem !important;
  color: var(--muted-2) !important;
  max-width: 280px;
  line-height: 1.55 !important;
}
.footer-col h4 {
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.footer-col a:hover {
  color: var(--accent);
}
.social-row a {
  border-color: var(--rule);
  background: var(--paper-2);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social-row a:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}
.icai-strip {
  background: var(--noir);
  color: #7a7a7a;
  letter-spacing: 0.01em;
  line-height: 1.6;
  font-size: 0.68rem;
  text-align: left;
  max-width: none;
  padding: 0.9rem 1.5rem;
}
.icai-strip {
  padding-inline: max(1.25rem, calc((100% - var(--max-w)) / 2 + 1.5rem));
}

/* ── Process steps (services) ── */
.proc-step .proc-num {
  color: rgba(14, 14, 14, 0.12);
}
.proc-grid {
  background: var(--paper-2);
}
.svc-banner {
  background: var(--paper-2);
  border-left-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

/* ── Noir quote block: cream pullquote ── */
.section-noir .pullquote-dark {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  max-width: 40rem;
}
.quote-label {
  color: rgba(245, 242, 236, 0.4);
}
.quote-sub {
  color: rgba(245, 242, 236, 0.5);
}

/* ── About photo frames ── */
.about-photo-dark {
  background: #e5e1d8;
  border-color: #d5d0c6;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* ── Overlines: slight accent option ── */
.overline-accent {
  color: var(--accent);
}

/* ── Category / accent links ── */
.category, .tag { color: var(--accent); }
.emg-num { color: var(--muted); }

/* ── Back-top: navy-ink ── */
.back-top {
  background: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.back-top:hover {
  background: var(--accent);
}

/* ── Callouts use navy info ── */
.callout.info {
  border-left-color: var(--accent);
  background: #eef2f9;
}

/* ── Home scene sections: less forced height on mid screens ── */
@media (max-width: 1100px) {
  .scene { min-height: 0; }
}

/* ── Mobile polish ── */
@media (max-width: 767px) {
  .contact-form-panel {
    padding: 1.35rem 1.25rem 1.5rem;
  }
  .featured-article {
    box-shadow: none;
  }
  a.blog-list-row.is-clickable:hover,
  .blog-list-row:hover {
    padding-left: 0.5rem;
    box-shadow: inset 2px 0 0 var(--accent);
  }
  .pillar-num {
    font-size: 1.15rem;
  }
  .page-hero-compact {
    padding: calc(var(--nav-h) + 1.9rem) 0 2rem;
  }
}

/* ── Desktop: gentle card lift only when hover is real ── */
@media (hover: hover) and (min-width: 768px) {
  a.exp-card-link:hover,
  .exp-card:hover {
    transform: translateY(-3px);
  }
  .featured-article:hover {
    transform: translateY(-1px);
  }
  .featured-article {
    transition: border-color 0.25s ease, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  }
}

/* ── Reduced motion: keep improvise colors, kill motion ── */
@media (prefers-reduced-motion: reduce) {
  a.exp-card-link:hover,
  .exp-card:hover,
  .featured-article:hover,
  .social-row a:hover,
  .btn-light:hover {
    transform: none;
  }
}

/* Nav active CTA stays distinct */
.nav-links a.active:not(.nav-cta) {
  color: var(--ink);
  font-weight: 600;
}

/* Selection on light paper */
::selection {
  background: rgba(29, 78, 216, 0.15);
  color: var(--ink);
}

/* Ensure main has offset for fixed nav on anchor jumps */
#main-content {
  scroll-margin-top: var(--nav-h);
}

/* ════════════════════════════════════════════════════════════
   ABOUT HERO — responsive split + mobile-centered photo
   ════════════════════════════════════════════════════════════ */

.page-hero-about {
  min-height: 0;
  padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
}
.page-hero-about .page-hero-shell.page-hero-split {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  max-width: var(--max-w);
  width: 100%;
  box-sizing: border-box;
}
.page-hero-about .page-hero-photo {
  width: 100%;
  max-width: 340px;
  justify-self: start;
}
.page-hero-about .photo-frame-cine {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(62vh, 520px);
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-about .photo-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.page-hero-about .photo-placeholder-cine {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
  padding: 1.5rem;
  box-sizing: border-box;
}
.page-hero-about .page-hero-copy {
  min-width: 0; /* prevent grid blowout */
  max-width: 38rem;
}
.page-hero-about .page-hero-top {
  max-width: none;
}
.page-hero-about .page-hero-title {
  max-width: none;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
}
.page-hero-about .page-hero-lead,
.page-hero-about .page-hero-body {
  max-width: 36rem;
}
.page-hero-about .credential-block-cine {
  max-width: 36rem;
}
.page-hero-about .cred-row {
  display: grid;
  grid-template-columns: minmax(100px, 7.5rem) 1fr;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
}

/* Tablet: stack, photo centered */
@media (max-width: 900px) {
  .page-hero-about {
    padding: calc(var(--nav-h) + 2rem) 0 2.5rem;
  }
  .page-hero-about .page-hero-shell.page-hero-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: center;
    text-align: center;
  }
  .page-hero-about .page-hero-photo {
    max-width: min(260px, 70vw);
    justify-self: center;
    margin-inline: auto;
    order: -1; /* photo first / middle of attention */
  }
  .page-hero-about .photo-frame-cine {
    aspect-ratio: 3 / 4;
    max-height: min(48vh, 360px);
    margin-inline: auto;
  }
  .page-hero-about .page-hero-copy {
    max-width: 36rem;
    width: 100%;
    text-align: left;
  }
  .page-hero-about .page-hero-top {
    justify-content: space-between;
  }
  .page-hero-about .page-hero-title {
    text-align: left;
  }
}

/* Phone: photo dead-center, tighter copy */
@media (max-width: 640px) {
  .page-hero-about {
    padding: calc(var(--nav-h) + 1.65rem) 0 2.15rem;
  }
  .page-hero-about .page-hero-shell.page-hero-split {
    gap: 1.35rem;
  }
  .page-hero-about .page-hero-photo {
    max-width: min(220px, 58vw);
    justify-self: center;
    margin-inline: auto;
  }
  .page-hero-about .photo-frame-cine {
    max-height: min(42vh, 300px);
    border-radius: 2px;
  }
  .page-hero-about .page-hero-copy {
    text-align: left;
  }
  .page-hero-about .page-hero-top {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
  .page-hero-about .page-hero-title {
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
  }
  .page-hero-about .page-hero-body {
    font-size: 0.92rem;
  }
  .page-hero-about .cred-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    text-align: left;
  }
  .page-hero-about .cred-label {
    font-size: 0.68rem;
  }
}

/* ════════════════════════════════════════════════════════════
   JOURNEY TIMELINE — scroll-animated path
   ════════════════════════════════════════════════════════════ */

.journey-section {
  overflow: hidden;
}
.journey-layout {
  align-items: start;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.65rem;
  border-left: none;
  position: relative;
}
/* Growing vertical line */
.timeline-animated::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rule);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-animated.is-drawn::before,
.timeline-animated:has(.tl-item.visible)::before {
  transform: scaleY(1);
}
.timeline-animated .tl-item {
  position: relative;
  padding-bottom: 2.35rem;
  padding-left: 0.25rem;
  list-style: none;
}
.timeline-animated .tl-item:last-child {
  padding-bottom: 0;
}
.timeline-animated .tl-dot {
  position: absolute;
  left: calc(-1.65rem - 5px);
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 0 rgba(26, 61, 124, 0);
  transform: scale(0.4);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease,
    box-shadow 0.45s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}
.timeline-animated .tl-item.visible .tl-dot {
  transform: scale(1);
  opacity: 1;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(26, 61, 124, 0.12);
}
.timeline-animated .tl-year {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-animated .tl-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.4rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.06s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.06s;
}
.timeline-animated .tl-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease 0.12s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}
.timeline-animated .tl-item.visible .tl-year,
.timeline-animated .tl-item.visible .tl-title,
.timeline-animated .tl-item.visible .tl-desc {
  opacity: 1;
  transform: none;
}

/* When parent timeline has visible items, draw the spine */
.timeline-animated:has(.tl-item.visible)::before {
  transform: scaleY(1);
}

@media (max-width: 900px) {
  .journey-layout {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .journey-intro {
    max-width: 36rem;
  }
}
@media (max-width: 640px) {
  .timeline {
    padding-left: 1.35rem;
  }
  .timeline-animated .tl-dot {
    left: calc(-1.35rem - 5px);
  }
  .timeline-animated .tl-title {
    font-size: 0.98rem;
  }
  .timeline-animated .tl-desc {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-animated::before {
    transform: scaleY(1);
    transition: none;
  }
  .timeline-animated .tl-dot,
  .timeline-animated .tl-year,
  .timeline-animated .tl-title,
  .timeline-animated .tl-desc {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   SHARED PAGE HERO — title-card system for every page
   Same language as home noir: compact, structured, cinematic.
   Not a tall empty void — content-led height with rich atmosphere.
   ════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cream);
  border-bottom: 1px solid #121212;
  background:
    radial-gradient(ellipse 70% 90% at 12% 20%, rgba(245, 242, 236, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 92% 80%, rgba(26, 61, 124, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0, 0, 0, 0.55) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 55%, #070707 100%);
}

/* Content-led height — never force empty black */
.page-hero-compact,
.page-hero-post {
  min-height: 0;
  display: block;
  padding: calc(var(--nav-h) + 2.75rem) 0 2.85rem;
}

/* Shell: full wrap width, stacked title block */
.page-hero-shell {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Back-compat: older .page-hero-inner still works */
.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 42rem;
}

/* Top row: kicker left · meta right */
.page-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
  max-width: 42rem;
}
.page-hero-top .page-hero-kicker {
  margin-bottom: 0;
}
.page-hero-top .page-hero-meta {
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
}

.page-hero-title {
  color: var(--cream) !important;
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.5);
}

.page-hero-rule {
  width: 0;
  max-width: 72px;
  height: 1.5px !important;
  margin-block: 1.1rem 1.15rem !important;
  background: linear-gradient(
    90deg,
    rgba(244, 240, 232, 0.7),
    rgba(244, 240, 232, 0.08)
  ) !important;
  animation: ruleGrow 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.page-hero-lead {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.72;
  font-weight: 400;
  color: rgba(244, 240, 232, 0.68);
}
.page-hero-lead strong {
  color: var(--cream);
  font-weight: 600;
}

.page-hero-meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
  white-space: nowrap;
}

/* Atmosphere layers sit under copy */
.page-hero .cine-stage { z-index: 0; }
.page-hero .lb {
  z-index: 2;
  height: clamp(14px, 2vh, 22px);
  background: rgba(0, 0, 0, 0.65);
}
.page-hero .lb-top { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.page-hero .lb-bottom { border-top: 1px solid rgba(255, 255, 255, 0.07); }

/* Ghost watermark — large, soft, right-aligned, never fights H1 */
.page-hero .cine-ghost,
.page-hero .cine-ghost-sm {
  right: 3%;
  bottom: 12%;
  top: auto;
  font-size: clamp(3.5rem, 14vw, 9rem);
  color: rgba(255, 255, 255, 0.035);
  letter-spacing: 0.06em;
  max-width: 48%;
  line-height: 0.85;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Soft dissolve into paper content */
.page-hero-compact::after,
.page-hero-post::after,
.page-hero-about::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.35));
  pointer-events: none;
  z-index: 2;
}

/* Hairline edge on top of dissolve */
.page-hero-compact::before,
.page-hero-post::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  z-index: 4;
  pointer-events: none;
}

/* Stronger frame inset */
.page-hero .cine-frame {
  inset: clamp(14px, 2.2vw, 28px);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.4),
    inset 0 0 80px rgba(0, 0, 0, 0.25);
}

/* About split still uses shell + photo */
.page-hero-about {
  min-height: 0;
  padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
}
.page-hero-about .page-hero-shell.page-hero-split,
.page-hero-about .page-hero-inner.page-hero-split {
  max-width: var(--max-w);
}
.page-hero-about .page-hero-top {
  max-width: none;
}
.page-hero-about .page-hero-title {
  max-width: 14ch;
}

/* Post heroes: wider title */
.page-hero-post .page-hero-title,
.page-hero-post .post-title {
  max-width: 18ch;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
}
.page-hero-post.page-hero-media .page-hero-split-media .page-hero-title {
  max-width: 16ch;
}
.page-hero-post .page-hero-top {
  max-width: 42rem;
  margin-bottom: 0.85rem;
}
.page-hero-post .post-back-cine {
  margin-bottom: 0;
  font-size: 0.78rem;
}
.page-hero-post .page-hero-kicker {
  margin-left: auto;
}

/* Tools strip sits flush under shared hero */
.page-hero + .page-hero-tools,
.page-hero-compact + .page-hero-tools {
  margin-top: 0;
}

/* ── Expertise cards under shared hero — quieter, editorial ── */
.exp-grid {
  border: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
}
.exp-card {
  padding: 2.15rem 1.85rem;
  background: transparent;
}
.exp-card .exp-icon {
  width: 28px;
  height: 28px;
  opacity: 0.55;
  margin-bottom: 1rem;
  color: var(--ink);
}
.exp-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.exp-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}
.exp-card:hover {
  background: #fffdf8;
  transform: none;
  box-shadow: none;
}
.exp-card:hover .exp-icon {
  opacity: 0.9;
  color: var(--accent);
  transform: none;
}
.exp-card:hover h3 {
  color: var(--accent);
}

/* Mobile: hero top stacks cleanly */
@media (max-width: 767px) {
  .page-hero-compact,
  .page-hero-post {
    padding: calc(var(--nav-h) + 1.85rem) 0 2.15rem;
  }
  .page-hero-shell {
    padding-inline: 1.15rem;
  }
  .page-hero-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
  }
  .page-hero-top .page-hero-meta {
    margin-left: 0;
  }
  .page-hero-title {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
  .page-hero-lead {
    max-width: none;
    font-size: 0.98rem;
  }
  .page-hero .cine-ghost,
  .page-hero .cine-ghost-sm {
    font-size: clamp(2.8rem, 22vw, 4.5rem);
    right: 4%;
    bottom: 10%;
    max-width: 55%;
    opacity: 0.9;
  }
  .page-hero .cine-frame {
    inset: 10px;
  }
  .page-hero-post .page-hero-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-hero-post .page-hero-kicker {
    margin-left: 0;
  }
  .page-hero-compact::after,
  .page-hero-post::after,
  .page-hero-about::after {
    height: 28px;
  }
}

@media (max-width: 900px) {
  .page-hero-about .page-hero-split {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-rule {
    width: 72px;
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════════
   HOME HERO — polish pass (desktop + mobile “best”)
   ════════════════════════════════════════════════════════════ */

.hero-cinematic.hero-noir {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.hero-cinematic .hero-body {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 44rem;
  padding-block: 1.5rem 2rem;
}

/* Year: quiet corner mark */
.hero-year {
  top: calc(var(--nav-h) + 0.85rem);
  right: max(1.15rem, env(safe-area-inset-right));
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(245, 242, 236, 0.32);
}

/* Eyeline: CA role lives here (not next to the name) */
.hero-noir .hero-eyeline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin-bottom: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(245, 242, 236, 0.52);
}

/* Name only — clean Fraunces display (no side “CA”) */
.hero-title-dark {
  display: block;
  margin: 0;
  max-width: 14ch;
}
.hero-title-prefix {
  display: none; /* retired: CA is in eyeline + watermark */
}
.hero-cinematic .display.hero-title-dark {
  font-size: clamp(2.75rem, 8vw, 5.75rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.hero-noir .hero-rule {
  width: 0;
  max-width: 56px;
  height: 1.5px;
  margin-block: 1.05rem 1.2rem;
  background: linear-gradient(90deg, rgba(245, 242, 236, 0.7), rgba(245, 242, 236, 0.08));
}

.hero-noir .hero-tagline-dark {
  max-width: 34rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: rgba(245, 242, 236, 0.64);
  font-weight: 400;
}

/* CTAs */
.hero-actions-dark {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}
.hero-cta-primary,
.hero-cta-secondary {
  min-height: 48px;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  font-size: 0.9rem;
  border-radius: 4px;
}
.hero-cta-primary {
  background: var(--cream);
  color: #0a0a0a;
  border: 1.5px solid var(--cream);
  font-weight: 600;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  gap: 0.55rem;
}
.hero-cta-primary:hover {
  opacity: 1;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}
.hero-cta-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.hero-cta-primary:hover .hero-cta-arrow {
  transform: translateX(3px);
}
.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 242, 236, 0.88);
  border: 1.5px solid rgba(245, 242, 236, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 600;
}
.hero-cta-secondary:hover {
  color: #fff;
  border-color: rgba(245, 242, 236, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

/* Quiet trust line under CTAs */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 1.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.32);
}
.hero-trust-dot {
  opacity: 0.55;
  letter-spacing: 0;
}

/* Scroll cue — clickable, safe-area aware */
a.hero-scroll-bar {
  text-decoration: none;
  color: rgba(245, 242, 236, 0.38);
  left: max(1.15rem, env(safe-area-inset-left));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  transition: color 0.2s ease;
}
a.hero-scroll-bar:hover {
  color: rgba(245, 242, 236, 0.7);
}

/* Ghost CA — softer; hide when hero visual is present */
.hero-cinematic.hero-noir .cine-ghost {
  right: 2%;
  bottom: 6%;
  font-size: clamp(4rem, 22vw, 12rem);
  color: rgba(255, 255, 255, 0.03);
  max-width: 45%;
}
.hero-cinematic.hero-noir:has(.page-hero-visual) .cine-ghost {
  display: none;
}

/* Desktop: roomier title card, side-by-side CTAs */
@media (min-width: 768px) {
  .hero-cinematic.hero-noir {
    justify-content: center;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 3rem;
  }
  .hero-cinematic .hero-body {
    max-width: 48rem;
    padding-block: 2rem 2.5rem;
  }
  .hero-cinematic .display.hero-title-dark {
    max-width: none;
    font-size: clamp(3.5rem, 6.5vw, 5.75rem);
  }
  .hero-noir .hero-eyeline {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.15rem;
  }
  .hero-actions-dark {
    flex-wrap: nowrap;
  }
  .hero-cta-primary,
  .hero-cta-secondary {
    width: auto;
    min-width: 10.5rem;
  }
  .hero-noir .hero-tagline-dark {
    max-width: 36rem;
  }
  .hero-cinematic.hero-noir .cine-ghost {
    right: 4%;
    bottom: 8%;
    font-size: clamp(6rem, 16vw, 12rem);
    color: rgba(255, 255, 255, 0.028);
  }
}

/* Mobile: full screen, but title stack sits mid-upper — not stuck at bottom with empty sky */
@media (max-width: 767px) {
  .hero-cinematic.hero-noir {
    min-height: 100dvh;
    min-height: 100svh;
    justify-content: flex-start;
    /* Start content soon after nav (was: flex-end → huge empty top) */
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: max(3.5rem, calc(env(safe-area-inset-bottom) + 2.75rem));
    box-sizing: border-box;
  }
  .hero-cinematic .hero-body {
    padding-block: 0.15rem 0.25rem;
    max-width: none;
    flex: 0 0 auto;
    /* Nudge stack into the former empty zone */
    margin-top: clamp(0.5rem, 4vh, 2.5rem);
  }
  .hero-noir .hero-eyeline {
    margin-bottom: 0.65rem;
  }
  .hero-cinematic .display.hero-title-dark {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }
  .hero-noir .hero-rule {
    margin-block: 0.8rem 0.95rem;
  }
  .hero-noir .hero-tagline-dark {
    margin-bottom: 1.25rem;
  }
  .hero-actions-dark {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions-dark .btn {
    width: 100%;
  }
  .hero-year {
    top: calc(var(--nav-h) + 0.55rem);
    right: 1rem;
  }
  a.hero-scroll-bar {
    position: absolute;
    left: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    font-size: 0.6rem;
  }
  .hero-cinematic.hero-noir .cine-frame {
    inset: 10px;
  }
  .hero-cinematic.hero-noir .lb {
    height: 12px;
  }
  .hero-cinematic.hero-noir .cine-ghost {
    bottom: 8%;
    font-size: clamp(3.5rem, 28vw, 6rem);
  }
  .hero-trust {
    justify-content: flex-start;
    text-align: left;
    margin-top: 0.9rem;
  }
}

/* Short phones: less vertical padding so stack never feels sparse */
@media (max-width: 767px) and (max-height: 720px) {
  .hero-cinematic.hero-noir {
    padding-top: calc(var(--nav-h) + 1.15rem);
    padding-bottom: 3rem;
  }
  .hero-cinematic .hero-body {
    margin-top: 0.35rem;
  }
  .hero-cinematic .display.hero-title-dark {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }
  .hero-noir .hero-tagline-dark {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
}

@media (hover: none) {
  .hero-cta-primary:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-primary:hover,
  .hero-cta-primary:hover .hero-cta-arrow {
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════
   PAGE HEROES — left copy + right visual (all main pages)
   ════════════════════════════════════════════════════════════ */

.page-hero-media.page-hero-compact {
  padding: calc(var(--nav-h) + 2.5rem) 0 2.85rem;
}
.page-hero-shell.page-hero-split-media {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  max-width: var(--max-w) !important;
  width: 100%;
  position: relative;
  z-index: 5;
}
.page-hero-split-media .page-hero-copy {
  min-width: 0;
  max-width: 38rem;
  position: relative;
  z-index: 2;
}
.page-hero-split-media .page-hero-top {
  max-width: none;
  margin-bottom: 1rem;
}
.page-hero-split-media .page-hero-title {
  max-width: 14ch;
  color: var(--cream) !important;
}
.page-hero-split-media .page-hero-lead {
  max-width: 34rem;
}

/* Visual panel — always visible, solid presence */
.page-hero-visual {
  position: relative;
  z-index: 2;
  justify-self: stretch;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  min-height: 280px;
}
.phv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  height: 100%;
  padding: 1.15rem 1.15rem 1rem;
  border: 1px solid rgba(245, 242, 236, 0.18);
  border-radius: 4px;
  background:
    linear-gradient(160deg, rgba(30, 30, 30, 0.95) 0%, rgba(8, 8, 8, 0.98) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.phv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(245, 242, 236, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(26, 61, 124, 0.35) 0%, transparent 55%);
  pointer-events: none;
}
.phv-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.phv-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.55);
  min-width: 0;
  flex: 1 1 auto;
}
.phv-mark {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(245, 242, 236, 0.75);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.phv-chips {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1rem;
}
.phv-chips span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.85);
  border: 1px solid rgba(245, 242, 236, 0.22);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

/* Write / post — stacked pages */
.phv-stack {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 180px;
}
.phv-sheet {
  position: absolute;
  left: 0; right: 8%;
  background: rgba(245, 242, 236, 0.06);
  border: 1px solid rgba(245, 242, 236, 0.2);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.phv-sheet-1 { top: 0; transform: rotate(-3deg); opacity: 0.55; }
.phv-sheet-2 { top: 1.1rem; transform: rotate(1.5deg); opacity: 0.75; }
.phv-sheet-3 {
  top: 2.2rem;
  transform: none;
  opacity: 1;
  background: rgba(245, 242, 236, 0.1);
  border-color: rgba(245, 242, 236, 0.28);
  min-height: 9rem;
}
.phv-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.45);
  margin-bottom: 0.25rem;
}
.phv-line {
  display: block;
  height: 7px;
  border-radius: 2px;
  background: rgba(245, 242, 236, 0.28);
}
.phv-line.w40 { width: 40%; }
.phv-line.w45 { width: 45%; }
.phv-line.w50 { width: 50%; }
.phv-line.w60 { width: 60%; }
.phv-line.w70 { width: 70%; }
.phv-line.w75 { width: 75%; }
.phv-line.w80 { width: 80%; }
.phv-line.w85 { width: 85%; }
.phv-line.w88 { width: 88%; }
.phv-line.w90 { width: 90%; }
.phv-line.w95 { width: 95%; }

/* Firm — bar chart */
.phv-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 150px;
  padding: 0.5rem 0.25rem 0;
  border-bottom: 1px solid rgba(245, 242, 236, 0.2);
}
.phv-bar {
  flex: 1;
  height: var(--h, 50%);
  min-height: 24px;
  border-radius: 3px 3px 0 0;
  background: rgba(245, 242, 236, 0.22);
}
.phv-bar.is-accent {
  background: linear-gradient(180deg, #3d6bc4 0%, #1a3d7c 100%);
  box-shadow: 0 0 20px rgba(26, 61, 124, 0.45);
}
.phv-metric-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}
.phv-metric {
  border: 1px solid rgba(245, 242, 236, 0.14);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.55rem 0.65rem;
  border-radius: 3px;
}
.phv-metric span {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.4);
  margin-bottom: 0.2rem;
}
.phv-metric strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(245, 242, 236, 0.9);
}

/* Craft — domain radar */
.phv-radar {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 180px;
  display: grid;
  place-items: center;
}
.phv-ring {
  position: absolute;
  border: 1px solid rgba(245, 242, 236, 0.16);
  border-radius: 50%;
}
.phv-ring.r1 { width: 56%; aspect-ratio: 1; }
.phv-ring.r2 { width: 78%; aspect-ratio: 1; }
.phv-ring.r3 { width: 100%; max-width: 200px; aspect-ratio: 1; border-color: rgba(245, 242, 236, 0.28); }
.phv-node {
  position: absolute;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4f0e8;
  background: rgba(26, 61, 124, 0.85);
  border: 1px solid rgba(245, 242, 236, 0.25);
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
}
.phv-node.n1 { top: 8%; left: 50%; transform: translateX(-50%); }
.phv-node.n2 { top: 32%; right: 0; }
.phv-node.n3 { bottom: 22%; right: 8%; }
.phv-node.n4 { bottom: 18%; left: 6%; }
.phv-node.n5 { top: 36%; left: 0; background: rgba(245, 242, 236, 0.12); color: rgba(245, 242, 236, 0.85); }

/* Hello — mail */
.phv-connect {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 160px;
}
.phv-mail {
  width: 120px;
  height: 80px;
  position: relative;
}
.phv-mail-body {
  position: absolute;
  inset: 18px 0 0;
  border: 1.5px solid rgba(245, 242, 236, 0.45);
  background: rgba(245, 242, 236, 0.06);
  border-radius: 2px;
}
.phv-mail-flap {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40px;
  border: 1.5px solid rgba(245, 242, 236, 0.45);
  border-bottom: none;
  clip-path: polygon(0 0, 50% 70%, 100% 0);
  background: rgba(26, 61, 124, 0.4);
}
.phv-connect-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 70%;
}
.phv-connect-lines span {
  height: 6px;
  border-radius: 2px;
  background: rgba(245, 242, 236, 0.22);
}
.phv-connect-lines span:nth-child(2) { width: 80%; }
.phv-connect-lines span:nth-child(3) { width: 55%; background: rgba(26, 61, 124, 0.65); }
.phv-connect-note {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.45);
}

/* Home — 2×2 principle grid (no name/CA repeat) */
.phv-card.phv-home {
  padding: 0;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.phv-home-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 280px;
}
.phv-home-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 1.15rem 1.1rem;
  border-right: 1px solid rgba(245, 242, 236, 0.1);
  border-bottom: 1px solid rgba(245, 242, 236, 0.1);
  background: transparent;
  transition: background 0.2s ease;
}
.phv-home-cell:nth-child(2n) { border-right: none; }
.phv-home-cell:nth-child(n+3) { border-bottom: none; }
.phv-home-cell:hover {
  background: rgba(245, 242, 236, 0.04);
}
.phv-stat-num {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(245, 242, 236, 0.28);
}
.phv-stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: rgba(245, 242, 236, 0.88);
  line-height: 1.3;
}
.phv-home-quote-cell {
  justify-content: center;
  background: rgba(26, 61, 124, 0.28);
  border-right: none;
}
.phv-home-quote-cell:hover {
  background: rgba(26, 61, 124, 0.38);
}
.phv-home-quote {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: rgba(245, 242, 236, 0.9);
}
.phv-home-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  padding: 0.75rem 1.1rem;
  border-top: 1px solid rgba(245, 242, 236, 0.1);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.4);
}

/* About — profile plate (photo + mini snapshot) */
.phv-card.phv-about {
  padding: 1rem 1rem 1.1rem;
  min-height: 340px;
}
.phv-about {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 0;
}
.phv-about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 236, 0.14);
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
}
.phv-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.phv-about-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
}
.phv-about-photo.is-fallback .phv-about-fallback,
.phv-about-photo:not(:has(img)) .phv-about-fallback {
  display: flex;
}
.phv-about-fallback span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 236, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(245, 242, 236, 0.75);
  background: rgba(245, 242, 236, 0.05);
}
.phv-about-meta {
  padding: 0 0.1rem;
}
.phv-about-name {
  margin: 0 0 0.2rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(245, 242, 236, 0.95);
}
.phv-about-sub {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.45);
}
.phv-about-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(245, 242, 236, 0.12);
}
.phv-about-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245, 242, 236, 0.08);
  font-size: 0.82rem;
}
.phv-about-rows li:last-child { border-bottom: none; }
.phv-about-rows span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.4);
  flex-shrink: 0;
}
.phv-about-rows strong {
  font-weight: 600;
  color: rgba(245, 242, 236, 0.9);
  text-align: right;
}

/* About page intro under hero */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.about-snap-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 1.35rem 1.4rem;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}
.about-snap-card .cred-row {
  display: grid;
  grid-template-columns: minmax(90px, 7rem) 1fr;
  gap: 0.5rem 1rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
}
.about-snap-card .cred-row:last-child { border-bottom: none; }
.about-snap-card .cred-label { color: var(--muted); }
.about-snap-card .cred-value { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; }
}

/* Ledger list */
.phv-ledger {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(245, 242, 236, 0.16);
  border-radius: 3px;
  overflow: hidden;
}
.phv-ledger-head {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  padding: 0.55rem 0.75rem;
  background: rgba(245, 242, 236, 0.06);
  border-bottom: 1px solid rgba(245, 242, 236, 0.12);
}
.phv-ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: rgba(245, 242, 236, 0.78);
  border-bottom: 1px solid rgba(245, 242, 236, 0.08);
}
.phv-ledger-row:last-child { border-bottom: none; }
.phv-ledger-row.is-hi {
  background: rgba(26, 61, 124, 0.35);
  color: #f4f0e8;
}
.phv-num {
  font-family: var(--font-display), Georgia, serif;
  font-size: 0.85rem;
  color: rgba(245, 242, 236, 0.4);
}

.page-hero-media .cine-ghost,
.page-hero-media .cine-ghost-sm {
  display: none !important;
}

/* Home hero can also host the visual beside copy */
.hero-cinematic.hero-noir .hero-body.has-hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: var(--max-w);
}
.hero-cinematic.hero-noir .hero-body.has-hero-visual > .hero-copy-col {
  min-width: 0;
}
.hero-cinematic.hero-noir .hero-body.has-hero-visual .page-hero-visual {
  max-width: 360px;
}

@media (max-width: 900px) {
  .page-hero-shell.page-hero-split-media {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .page-hero-visual {
    max-width: min(340px, 100%);
    margin-left: 0;
    min-height: 260px;
  }
  .phv-card { min-height: 280px; }
  .page-hero-split-media .page-hero-copy,
  .page-hero-split-media .page-hero-title {
    max-width: none;
  }
  .page-hero-media.page-hero-compact {
    padding: calc(var(--nav-h) + 1.85rem) 0 2.25rem;
  }
  .hero-cinematic.hero-noir .hero-body.has-hero-visual {
    grid-template-columns: 1fr;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .page-hero-visual {
    max-width: 100%;
  }
  .phv-card { min-height: 260px; }
}

/* ════════════════════════════════════════════════════════════
   BLOG POST — bottom actions (WhatsApp + PDF only)
   ════════════════════════════════════════════════════════════ */

.post-bottom-actions {
  max-width: var(--prose);
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.post-bottom-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.post-bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.post-bottom-btn {
  min-height: 48px;
  gap: 0.5rem;
  font-size: 0.88rem;
  padding: 0.7rem 1.2rem;
  flex: 1 1 auto;
  justify-content: center;
  max-width: 280px;
}
.post-share-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.post-bottom-status {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  min-height: 1.2em;
}
.post-bottom-status[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .post-bottom-actions {
    padding-inline: 1.15rem;
    margin-bottom: 2rem;
  }
  .post-bottom-row {
    flex-direction: column;
  }
  .post-bottom-btn {
    max-width: none;
    width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════
   BLOG — category picker (dropdown + search)
   Replaces horizontal chip scroll on all viewports.
   ════════════════════════════════════════════════════════════ */

.page-hero-tools {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  background: rgba(245, 242, 235, 0.96);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 28px rgba(12, 12, 12, 0.04);
}

.cat-picker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  max-width: 420px;
  position: relative;
}
.cat-picker-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.cat-picker-field {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}
.cat-picker-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cat-picker-toggle:hover {
  border-color: #d0c9bc;
  background: #fff;
}
.cat-picker.is-open .cat-picker-toggle {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 14, 14, 0.06);
  background: #fff;
}
.cat-picker-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-picker-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.cat-picker.is-open .cat-picker-chevron {
  transform: rotate(180deg);
}

.cat-picker-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(12, 12, 12, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(60vh, 360px);
}
.cat-picker-panel[hidden] {
  display: none !important;
}

.cat-picker-search-wrap {
  position: relative;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  flex-shrink: 0;
}
.cat-picker-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  pointer-events: none;
}
.cat-picker-search {
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.75rem 0.5rem 2.15rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cat-picker-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.cat-picker-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.cat-picker-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.35rem;
  flex: 1 1 auto;
}
.cat-picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.12s ease;
  outline: none;
}
.cat-picker-option:hover,
.cat-picker-option:focus-visible {
  background: var(--tag-bg);
}
.cat-picker-option.is-active {
  background: rgba(26, 61, 124, 0.08);
  color: var(--accent);
  font-weight: 600;
}
.cat-opt-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-opt-count {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  min-width: 1.6rem;
  text-align: center;
}
.cat-picker-option.is-active .cat-opt-count {
  color: var(--accent);
  border-color: rgba(26, 61, 124, 0.2);
  background: rgba(26, 61, 124, 0.06);
}
.cat-picker-empty {
  padding: 1rem 1.1rem 1.15rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 767px) {
  .page-hero-tools {
    position: sticky;
    top: var(--nav-h);
    padding: 0.75rem 0;
  }
  .cat-picker {
    max-width: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .cat-picker-field {
    flex: 1 1 auto;
    width: 100%;
  }
  .cat-picker-panel {
    max-height: min(55vh, 340px);
  }
}

/* Blog list mobile polish */
@media (max-width: 640px) {
  .blog-list {
    gap: 0.85rem;
  }
  .blog-card-title {
    font-size: 1.15rem;
  }
  .blog-list-row {
    grid-template-columns: 1fr !important;
    gap: 0.45rem;
    padding-block: 1.5rem;
  }
  .blog-list-row .category {
    order: -1;
    justify-self: start;
  }
}
