/* ============================================================
   YOUR LAW FIRM — SHARED STYLESHEET
   All pages use this file. Edit here to change the whole site.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0c1220;
  --navy-mid:   #141e30;
  --navy-light: #1e2d45;
  --gold:       #c8a96e;
  --gold-light: #e0c896;
  --gold-dim:   #8a6f42;
  --cream:      #f5f0e8;
  --cream-dim:  #d9d0bc;
  --white:      #ffffff;
  --muted:      #8a9ab5;
  --divider:    rgba(200,169,110,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── PRELOADER ── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; }

.pre-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem; letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.pre-bar-wrap {
  width: 200px; height: 1px;
  background: rgba(200,169,110,0.15);
  overflow: hidden;
}

.pre-bar {
  height: 100%; width: 0;
  background: var(--gold);
  animation: loadBar 1.6s 0.5s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes loadBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: rgba(12,18,32,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1rem; letter-spacing: 0.15em;
  color: var(--gold); text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--cream); }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }

.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-dim); text-decoration: none; transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.25s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute; top: calc(100% + 1rem); left: -1rem;
  background: var(--navy-mid);
  border: 1px solid var(--divider);
  min-width: 200px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 200;
}

.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
  display: block; padding: 0.7rem 1.2rem;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream-dim); text-decoration: none;
  border-bottom: 1px solid var(--divider);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: rgba(200,169,110,0.06); color: var(--gold); }

.nav-cta {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.65rem 1.6rem; border: 1px solid var(--gold);
  color: var(--gold); text-decoration: none; transition: all 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Hamburger mobile */
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--cream); transition: all 0.3s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 5vw 5rem;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--divider);
  position: relative; overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(200,169,110,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.page-hero-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.15; color: var(--white);
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }

.page-hero-sub {
  font-size: 1rem; color: var(--muted); max-width: 520px;
  margin-top: 1.2rem; line-height: 1.8;
}

.breadcrumb {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold-dim); }

/* ── SHARED SECTION STYLES ── */
section { padding: 6rem 5vw; }

.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.7rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 300; line-height: 1.2; color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold-light); }

.section-lead {
  font-size: 0.95rem; color: var(--muted); max-width: 560px;
  line-height: 1.85; margin-top: 1rem; margin-bottom: 2.5rem;
}

.gold-line { width: 50px; height: 1px; background: var(--gold); margin: 1.2rem 0 2rem; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block; padding: 0.9rem 2.2rem;
  background: var(--gold); color: var(--navy);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; transition: background 0.25s;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.2rem; border: 1px solid var(--gold);
  color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; transition: all 0.25s;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

.btn-text {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; transition: gap 0.2s;
}
.btn-text:hover { gap: 0.9rem; }
.btn-text::after { content: '→'; }

/* ── PHOTO PLACEHOLDERS ── */
.ph {
  background: var(--navy-light); border: 1px solid var(--divider);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 2rem; text-align: center;
}
.ph-label {
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-dim); line-height: 2.2; margin-top: 0.5rem;
  border: 1px dashed rgba(200,169,110,0.25); padding: 0.6rem 1rem;
}
.ph-icon { font-size: 2rem; opacity: 0.4; margin-bottom: 0.3rem; }

/* ── IMPACT BAR ── */
.impact-bar {
  background: var(--gold); padding: 4.5rem 5vw;
}
.impact-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.impact-item { text-align: center; }
.impact-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300; color: var(--navy); line-height: 1;
}
.impact-label {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-mid); margin-top: 0.4rem;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-mid);
  padding: 4rem 5vw 2rem;
  border-top: 1px solid var(--divider);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1rem; letter-spacing: 0.15em; color: var(--gold);
  display: block; margin-bottom: 1rem; text-decoration: none;
}
.footer-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.8; max-width: 270px; }
.footer-col-title {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.83rem; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--divider);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: var(--muted); }

/* ── ANIMATIONS (page entry) ── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  animation: fadeIn 0.7s ease forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* ── FORM ── */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--navy-light);
  border: 1px solid rgba(200,169,110,0.2);
  color: var(--cream); padding: 0.8rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%; padding: 0.95rem;
  background: var(--gold); border: none; color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; cursor: pointer; transition: background 0.25s;
}
.btn-submit:hover { background: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .impact-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-mid); padding: 1.5rem 5vw;
    border-bottom: 1px solid var(--divider); gap: 1.2rem;
  }
  nav.open .nav-cta { display: block; margin: 0 5vw 1.5rem; text-align: center; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .impact-inner { grid-template-columns: 1fr 1fr; }
}
/* ── CHECKBOX FIX ── */
.form-group input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  accent-color: var(--gold);
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin-top: 3px !important;
}

/* ============================================================
   BLOG / INSIGHTS  — index + article styles
   ============================================================ */

/* ── Reading progress bar (article pages) ── */
#read-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light));
  z-index: 300; transition: width 0.1s linear;
}

/* ── Featured post (index) ── */
.blog-featured {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--divider); margin-bottom: 3.5rem;
  background: var(--navy-mid); overflow: hidden;
}
.bf-visual {
  position: relative; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 90% 70% at 60% 40%, rgba(200,169,110,0.10) 0%, transparent 65%),
    linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-right: 1px solid var(--divider);
}
.bf-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 25%, transparent 100%);
}
.bf-icon { position: relative; z-index: 1; opacity: 0.55; }
.bf-body { padding: 3rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.bf-badge {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.7rem;
}
.bf-badge::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.bf-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.15; color: var(--white);
  margin-bottom: 1rem;
}
.bf-title em { font-style: italic; color: var(--gold-light); }
.bf-excerpt { font-size: 0.92rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.4rem; max-width: 520px; }
.bf-meta { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 1.6rem; }

/* ── Category filter pills ── */
.blog-filter-bar { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.8rem; }
.filter-pill {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.6rem 1.4rem; border: 1px solid var(--divider);
  color: var(--cream-dim); background: transparent; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold); }
.filter-pill.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ── Article card grid ── */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.blog-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--divider); background: var(--navy-mid);
  text-decoration: none; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.blog-card:hover {
  transform: translateY(-5px); border-color: rgba(200,169,110,0.45);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.8);
}
.bc-visual {
  position: relative; height: 168px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 90% 80% at 60% 35%, rgba(200,169,110,0.10) 0%, transparent 65%),
    linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--divider); overflow: hidden;
}
.bc-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}
.bc-icon { position: relative; z-index: 1; opacity: 0.5; transition: opacity 0.25s; }
.blog-card:hover .bc-icon { opacity: 0.8; }
.bc-cat-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.32rem 0.7rem; background: rgba(12,18,32,0.85);
  border: 1px solid var(--divider); color: var(--gold);
}
.bc-content { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.bc-meta { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.7rem; }
.bc-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.3rem; line-height: 1.25; color: var(--white); margin-bottom: 0.7rem;
}
.blog-card:hover .bc-title { color: var(--gold-light); }
.bc-excerpt { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; flex: 1; }
.bc-readmore {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s;
}
.blog-card:hover .bc-readmore { gap: 0.8rem; }
.bc-readmore::after { content: '→'; }

/* ── ARTICLE PAGE ── */
.article-meta-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem;
  margin-top: 1.6rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim);
}
.article-meta-bar .amb-cat { color: var(--gold); border: 1px solid var(--divider); padding: 0.3rem 0.8rem; }
.article-meta-bar .amb-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-dim); }

.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 5vw; align-items: start; }

/* Article typography */
.article-body { max-width: 760px; }
.article-body .lead {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300;
  font-style: italic; color: var(--cream); line-height: 1.6; margin-bottom: 2.2rem;
}
.article-body h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.85rem; color: var(--white); margin: 2.8rem 0 1rem; line-height: 1.25;
  scroll-margin-top: 6rem;
}
.article-body h2 em { font-style: italic; color: var(--gold-light); }
.article-body h3 {
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 1.02rem;
  color: var(--gold-light); margin: 1.8rem 0 0.6rem; letter-spacing: 0.01em;
}
.article-body p { font-size: 0.94rem; color: var(--cream-dim); line-height: 1.95; margin-bottom: 1.2rem; }
.article-body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--divider); transition: border-color 0.2s; }
.article-body a:hover { border-color: var(--gold); }
.article-body strong { color: var(--white); font-weight: 500; }

.article-list { list-style: none; margin: 1.2rem 0 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.article-list li {
  position: relative; padding-left: 1.6rem; font-size: 0.9rem; color: var(--cream-dim); line-height: 1.75;
}
.article-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 0.8rem; }

.article-body blockquote {
  margin: 1.8rem 0; padding: 1.4rem 1.8rem; border-left: 2px solid var(--gold);
  background: rgba(200,169,110,0.04);
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.2rem;
  color: var(--cream); line-height: 1.6;
}

/* Callout boxes */
.callout {
  margin: 1.8rem 0; padding: 1.5rem 1.7rem; border: 1px solid var(--divider);
  background: var(--navy-mid); position: relative;
}
.callout-title {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem;
}
.callout-title::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.callout p { font-size: 0.88rem; margin-bottom: 0.6rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left: 3px solid #c87a6e; }
.callout.warn .callout-title { color: #d99488; }
.callout.warn .callout-title::before { background: #d99488; }
.callout.tip { border-left: 3px solid var(--gold); }

/* Key takeaways box */
.takeaways {
  margin: 2.2rem 0; padding: 1.8rem 2rem; border: 1px solid var(--divider);
  background: linear-gradient(135deg, rgba(200,169,110,0.05), transparent);
}
.takeaways .callout-title { margin-bottom: 1.1rem; }
.takeaways ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.takeaways li { position: relative; padding-left: 1.7rem; font-size: 0.88rem; color: var(--cream-dim); line-height: 1.7; }
.takeaways li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 0.85rem; }

/* In-article figure (gradient panel) */
.article-figure {
  margin: 2rem 0; height: 240px; position: relative; overflow: hidden;
  border: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 80% 70% at 55% 40%, rgba(200,169,110,0.10) 0%, transparent 65%),
    linear-gradient(135deg, var(--navy-light), var(--navy));
}
.article-figure::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}
.article-figure svg { position: relative; z-index: 1; opacity: 0.5; }

.article-disclaimer {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--divider);
  font-size: 0.78rem; color: var(--muted); line-height: 1.75; font-style: italic;
}

/* Author / firm box */
.author-box {
  margin-top: 2.5rem; padding: 1.8rem; border: 1px solid var(--divider);
  background: var(--navy-mid); display: flex; gap: 1.2rem; align-items: flex-start;
}
.author-mark {
  width: 52px; height: 52px; flex-shrink: 0; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--gold);
}
.author-name { font-size: 0.92rem; font-weight: 500; color: var(--white); }
.author-role { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin: 0.2rem 0 0.6rem; }
.author-bio { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

/* Share row */
.share-row { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.share-row span { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dim); }
.share-row a {
  width: 34px; height: 34px; border: 1px solid var(--divider);
  display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.2s;
}
.share-row a:hover { border-color: var(--gold); color: var(--gold); }

/* Article sidebar */
.article-sidebar { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1.5rem; }
.toc-card, .related-card, .cta-card { background: var(--navy-light); border: 1px solid var(--divider); padding: 1.7rem; }
.cta-card { background: linear-gradient(160deg, var(--navy-light), var(--navy-mid)); }
.sidebar-heading {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 1.1rem;
}
.toc-list { list-style: none; display: flex; flex-direction: column; }
.toc-list a {
  display: block; padding: 0.55rem 0; font-size: 0.8rem; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid var(--divider); transition: color 0.2s, padding-left 0.2s;
}
.toc-list a:last-child { border-bottom: none; }
.toc-list a:hover, .toc-list a.active { color: var(--gold); padding-left: 0.4rem; }
.related-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.related-list a { text-decoration: none; display: block; }
.related-list .rl-cat { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.related-list .rl-title { font-size: 0.85rem; color: var(--cream-dim); line-height: 1.45; margin-top: 0.25rem; transition: color 0.2s; }
.related-list a:hover .rl-title { color: var(--gold-light); }
.cta-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; }

/* Continue reading */
.continue-reading { background: var(--navy-mid); border-top: 1px solid var(--divider); }

@media (max-width: 960px) {
  .blog-featured { grid-template-columns: 1fr; }
  .bf-visual { min-height: 220px; border-right: none; border-bottom: 1px solid var(--divider); }
  .bf-body { padding: 2.2rem 1.8rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-body { max-width: none; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── Blog photo fallback (drop images in images/blog/) ──
   If a matching image is found, JS adds .has-photo and sets it as a
   cover background; otherwise the original gradient + icon look stays. */
.bc-visual.has-photo .bc-icon,
.bf-visual.has-photo .bf-icon { display: none; }
.bc-visual.has-photo::before,
.bf-visual.has-photo::before,
.article-figure.has-photo::before { display: none; }
.bc-visual.has-photo,
.bf-visual.has-photo,
.article-figure.has-photo { background-size: cover; background-position: center; }
.article-figure.has-photo svg { display: none; }
.bc-visual.has-photo::after,
.bf-visual.has-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,18,32,0.62) 0%, rgba(12,18,32,0.12) 60%, rgba(12,18,32,0.04) 100%);
}

/* ── Blog pagination ── */
.blog-pagination {
  display: flex; justify-content: center; align-items: center; gap: 0.5rem;
  margin-top: 3.5rem; flex-wrap: wrap;
}
.page-btn {
  min-width: 42px; height: 42px; padding: 0 0.9rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--divider); background: transparent;
  color: var(--cream-dim); font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.05em; cursor: pointer; transition: all 0.2s;
}
.page-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.page-btn.nav-btn { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem; }

/* ── Stat number fade + rise reveal ── */
.stat-fade {
  opacity: 0; transform: translateY(0.45em); filter: blur(8px);
  will-change: opacity, transform, filter;
}
.stat-fade.is-revealed {
  opacity: 1; transform: translateY(0); filter: blur(0);
  transition: opacity 0.95s ease, transform 1s cubic-bezier(.16,1,.3,1), filter 0.95s ease;
}