/* ============================================================
   IntellectVA — Global Stylesheet
   Creative minimalist editorial w/ hand-drawn accents + drop caps
   ============================================================ */

:root {
  --bg:          #FFFFFF;
  --bg-2:        #FAF8F4;          /* warm cream tint */
  --bg-3:        #F1F5F9;
  --surface:     #FFFFFF;
  --border:      #E5E0D5;          /* warm soft border */
  --border-dark: #94A3B8;

  --text:        #111827;
  --text-2:      #565D63;
  --text-3:      #788A94;
  --text-inv:    #FFFFFF;

  --accent:      #111827;
  --accent-hover:#1F2937;
  --highlight:   #FFE9A8;          /* hand-drawn highlight yellow */
  --ink:         #1F2937;          /* hand-drawn stroke */

  --slate:       #788A94;
  --charcoal:    #565D63;

  --sans:  'Plus Jakarta Sans', system-ui, sans-serif;
  --body:  'Inter', system-ui, sans-serif;
  --serif: 'Libre Baskerville', Georgia, serif;
  --mono:  'JetBrains Mono', 'Fira Code', monospace;

  --read:  68ch;
  --wrap:  1120px;

  --r:     6px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-pill:100px;

  --ease:  cubic-bezier(0.4, 0, 0.2, 1);

  --shadow:    0 1px 3px rgba(17,24,39,0.05);
  --shadow-md: 0 4px 14px rgba(17,24,39,0.08);
  --shadow-lg: 0 12px 32px rgba(17,24,39,0.10);
  --shadow-xl: 0 22px 50px rgba(17,24,39,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text-2); font-family: var(--body); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--accent); color: var(--text-inv);
  padding: 8px 16px; border-radius: var(--r); font-size: 0.85rem; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ===== LOGO WORDMARK ===== */
.nav-logo {
  display: inline-flex; align-items: center;
  text-decoration: none; margin-right: auto;
}
.logo-wordmark {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.7rem; letter-spacing: -0.025em;
  color: var(--text); line-height: 1;
}
.logo-wordmark em {
  font-style: italic; color: var(--text);
  background-image: linear-gradient(transparent 60%, var(--highlight) 60%);
  background-size: 100% 100%;
  padding: 0 2px;
}
.logo-wordmark-light { color: var(--text-inv); }
.logo-wordmark-light em { color: var(--text-inv); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px; height: 72px;
}
@media (min-width: 768px) { .nav-inner { padding: 0 40px; } }

.nav-desktop { display: none; align-items: center; gap: 4px; }
@media (min-width: 960px) { .nav-desktop { display: flex; } }

.nav-link {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--text-2);
  padding: 8px 14px; border-radius: var(--r); transition: color .18s, background .18s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-2); }

.nav-cta {
  font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  background: var(--accent); color: var(--text-inv);
  padding: 10px 20px; border-radius: var(--r-pill); margin-left: 10px;
  transition: background .18s, transform .18s;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav-item { position: relative; }
.nav-item-label {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--text-2);
  padding: 8px 14px; border-radius: var(--r); transition: color .18s, background .18s;
}
.nav-item-label:hover, .nav-item.open .nav-item-label { color: var(--text); background: var(--bg-2); }
.nav-caret { transition: transform .2s var(--ease); flex-shrink: 0; }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 8px;
  min-width: 300px; box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease);
}
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-dropdown-link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--r);
  font-size: 0.88rem; color: var(--text-2);
  transition: background .15s, color .15s;
}
.nav-dropdown-link:hover { background: var(--bg-2); color: var(--text); }
.nav-dd-icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; background: var(--bg-2); color: var(--text);
}
.nav-dropdown-link strong { display: block; font-weight: 600; color: var(--text); font-size: 0.88rem; }
.nav-dropdown-link small { display: block; font-size: 0.76rem; color: var(--text-3); margin-top: 2px; }

.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--r); }
@media (min-width: 960px) { .hamburger { display: none; } }
.hamburger-line {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s;
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(17,24,39,0.4); z-index: 800; }
.mobile-overlay.open { display: block; }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 850;
  background: var(--surface); border-bottom: 1px solid var(--border);
  max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 0 24px;
  box-shadow: var(--shadow-xl);
}
.mobile-menu.open { display: block; }
.mobile-menu-item {
  display: block; padding: 12px 24px;
  font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--text-2);
}
.mobile-menu-item.accent { color: var(--accent); font-weight: 600; }
.mobile-accordion { border-bottom: 1px solid var(--border); }
.mobile-accordion-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--text);
}
.mobile-accordion-body { display: none; padding: 4px 0 12px; }
.mobile-accordion.open .mobile-accordion-body { display: block; }
.mobile-accordion-link { display: block; padding: 9px 36px; font-size: 0.9rem; color: var(--text-2); }
.mobile-acc-caret { transition: transform .2s; flex-shrink: 0; }
.mobile-accordion.open .mobile-acc-caret { transform: rotate(180deg); }

/* ===== HAND-DRAWN ACCENTS ===== */
.scribble-underline {
  display: inline-block; position: relative; padding-bottom: 4px;
}
.scribble-underline::after {
  content: '';
  position: absolute; left: -3%; right: -3%; bottom: -2px; height: 9px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 9' preserveAspectRatio='none'><path d='M2 6 C 40 1, 80 8, 110 4 S 180 1, 218 5' stroke='%23111827' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>") no-repeat center;
  background-size: 100% 100%;
}
.highlight-marker {
  background-image: linear-gradient(transparent 62%, var(--highlight) 62%);
  background-size: 100% 100%;
  padding: 0 4px;
}
.circle-word {
  display: inline-block; position: relative; padding: 4px 10px;
}
.circle-word::before {
  content: '';
  position: absolute; inset: -4px -2px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 60' preserveAspectRatio='none'><path d='M80 4 C 35 4, 6 16, 6 30 C 6 46, 40 56, 82 56 C 130 56, 154 44, 154 30 C 154 14, 124 4, 78 4' stroke='%23111827' stroke-width='2.2' fill='none' stroke-linecap='round'/></svg>") no-repeat center;
  background-size: 100% 100%;
  pointer-events: none;
}
.arrow-doodle {
  display: inline-block; width: 32px; height: 16px; vertical-align: middle;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 16'><path d='M2 8 Q 12 2, 22 8 L 26 4 M 22 8 L 26 12' stroke='%23111827' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;
  background-size: contain;
}
.divider-dots {
  display: flex; justify-content: center; gap: 10px; padding: 40px 0; opacity: 0.4;
}
.divider-dots span {
  width: 4px; height: 4px; border-radius: 50%; background: var(--text);
}

/* ===== METADATA LABEL ===== */
.meta-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3);
  margin-bottom: 14px;
}
.meta-label::before {
  content: ''; width: 24px; height: 1px; background: var(--text-3);
}

.eyebrow-tag {
  display: inline-block;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 0.95rem; color: var(--text-2);
  margin-bottom: 14px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.94rem;
  padding: 13px 26px; border-radius: var(--r-pill); transition: all .2s var(--ease);
  cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: var(--text-inv); border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--text); border: 1.5px solid var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--text-inv); transform: translateY(-2px); }

/* ===== SECTION ===== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; color: var(--text);
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.08rem; line-height: 1.7; color: var(--text-2); max-width: 52ch;
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 96px;
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -100px; top: 60px; width: 320px; height: 320px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><circle cx='100' cy='100' r='92' stroke='%23111827' stroke-width='1.5' fill='none' stroke-dasharray='3 6' opacity='0.18'/></svg>") no-repeat center;
  background-size: contain; z-index: 0; pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute; left: -60px; bottom: -40px; width: 200px; height: 200px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M20 100 Q 100 20, 180 100 T 340 100' stroke='%23111827' stroke-width='1.4' fill='none' opacity='0.12' stroke-linecap='round'/></svg>") no-repeat center;
  background-size: contain; z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .hero-inner { padding: 0 40px; } }

.hero-title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; color: var(--text);
  margin-bottom: 24px; max-width: 18ch;
}
.hero-title em {
  font-style: italic; font-weight: 700;
}
.hero-sub {
  font-size: 1.18rem; line-height: 1.72; color: var(--text-2);
  max-width: 56ch; margin-bottom: 36px;
  font-family: var(--body);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 56px; margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--serif); font-weight: 700; font-size: 2.2rem;
  letter-spacing: -0.025em; color: var(--text);
}
.hero-stat-label { font-size: 0.85rem; color: var(--text-3); margin-top: 4px; }

/* ===== INNER HERO (about, services, etc) ===== */
.inner-hero {
  padding: 140px 0 64px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.inner-hero::after {
  content: '';
  position: absolute; right: -80px; top: 80px; width: 240px; height: 240px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><circle cx='100' cy='100' r='92' stroke='%23111827' stroke-width='1.5' fill='none' stroke-dasharray='3 6' opacity='0.16'/></svg>") no-repeat center;
  background-size: contain; z-index: 0; pointer-events: none;
}
.inner-hero-inner { position: relative; z-index: 1; }
.inner-hero-title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.022em;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; color: var(--text); margin-bottom: 18px;
}
.inner-hero-title em { font-style: italic; }
.inner-hero-sub {
  font-size: 1.1rem; line-height: 1.7; color: var(--text-2); max-width: 56ch;
}

/* ===== COMPARISON TABLE ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th {
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text);
  padding: 16px 20px; text-align: left;
  border-bottom: 2px solid var(--text);
}
table td {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.94rem; line-height: 1.65; color: var(--text-2);
  vertical-align: top;
}
table td strong { color: var(--text); font-weight: 600; }
table tr:last-child td { border-bottom: none; }

/* ===== PROCESS STEPS (now numbered cards, no grid lines) ===== */
.process-list {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin: 48px 0;
}
@media (min-width: 768px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-list { grid-template-columns: repeat(4, 1fr); } }

.process-card {
  position: relative; padding: 28px 24px 26px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-2); border: 1.5px solid var(--text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--text);
  margin-bottom: 18px; font-style: italic;
}
.step-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  color: var(--text); margin-bottom: 8px;
}
.step-body { font-size: 0.92rem; line-height: 1.65; color: var(--text-2); margin-bottom: 12px; }
.step-output {
  padding: 8px 12px;
  background: var(--bg-2); border-radius: var(--r);
  font-size: 0.78rem; color: var(--text-2);
  font-style: italic; font-family: var(--serif);
}
.step-output::before { content: '→ '; color: var(--text); font-weight: 600; }

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }

.service-card {
  background: var(--surface); padding: 30px 28px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--text); }

.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--bg-2); color: var(--text);
  margin-bottom: 18px;
}
.service-icon .material-symbols-outlined { font-size: 28px; }
.audience-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  margin-bottom: 14px;
}
.audience-icon .material-symbols-outlined { font-size: 24px; }
.service-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  color: var(--text); margin-bottom: 10px;
}
.service-body { font-size: 0.9rem; line-height: 1.65; color: var(--text-2); }
.service-tools {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px;
}
.tool-chip {
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  color: var(--text-3); background: var(--bg-2); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: var(--r-pill);
}

/* ===== AUDIENCE CARDS (services page) ===== */
.audience-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 640px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .audience-grid { grid-template-columns: repeat(5, 1fr); } }

.audience-card {
  padding: 26px 22px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: background .2s, border-color .2s, transform .2s;
}
.audience-card:hover { background: var(--surface); border-color: var(--text); transform: translateY(-3px); }
.audience-emoji { font-size: 1.8rem; margin-bottom: 12px; display: block; } /* legacy */
.audience-title {
  font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 6px;
}
.audience-body { font-size: 0.85rem; line-height: 1.6; color: var(--text-2); }

/* ===== ROI CALCULATOR ===== */
.calc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-md);
  max-width: 680px; margin: 0 auto;
}
.calc-field { margin-bottom: 28px; }
.calc-label {
  display: block; font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  color: var(--text); margin-bottom: 10px;
}
.calc-label span { font-weight: 400; color: var(--text-3); font-size: 0.82rem; margin-left: 6px; }
.calc-range { width: 100%; accent-color: var(--accent); margin-top: 8px; }
.calc-range-val {
  font-family: var(--serif); font-style: italic; font-size: 0.95rem;
  color: var(--text); margin-top: 6px;
}
.calc-results {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px; margin-top: 32px;
}
.calc-result-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.calc-result-row:last-child { border-bottom: none; }
.calc-result-label { font-size: 0.9rem; color: var(--text-2); }
.calc-result-val {
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--text);
}
.calc-frame {
  margin-top: 28px; padding: 22px 24px;
  background: var(--text); border-radius: var(--r-lg); color: var(--text-inv);
  font-size: 0.95rem; line-height: 1.65;
}
.calc-frame strong { color: var(--highlight); }
.calc-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== CONTACT FORM ===== */
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-label {
  font-family: var(--sans); font-weight: 600; font-size: 0.88rem; color: var(--text);
}
.form-input, .form-select, .form-textarea {
  padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r);
  font-family: var(--body); font-size: 0.94rem; color: var(--text);
  background: var(--bg-2); transition: border-color .18s, background .18s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--text); background: var(--bg);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form-check {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--r-pill);
  cursor: pointer; font-size: 0.85rem; color: var(--text-2);
  transition: border-color .15s, background .15s;
}
.form-check:hover { border-color: var(--text); background: var(--bg-2); }
.form-check input { accent-color: var(--accent); }

/* ===== BLOG ===== */
.blog-header { padding: 130px 0 48px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.blog-title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.022em;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; color: var(--text);
  margin-bottom: 18px;
}
.blog-title em { font-style: italic; }
.blog-intro { font-size: 1.12rem; line-height: 1.7; color: var(--text-2); max-width: 54ch; font-family: var(--body); }

.blog-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px; padding: 64px 0 96px;
}
@media (min-width: 620px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none;
  color: inherit; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--text); }

.blog-thumb {
  position: relative; aspect-ratio: 16 / 9; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-2) 0%, #E8E0D0 100%);
  border-bottom: 1px solid var(--border);
}
.blog-emoji {
  font-size: 3.2rem; line-height: 1; position: relative; z-index: 1;
  filter: grayscale(0.25);
} /* legacy */
.blog-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); position: relative; z-index: 1;
}
.blog-icon .material-symbols-outlined { font-size: 38px; }
.blog-cat-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text);
  background: rgba(255,255,255,0.92); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: var(--r-pill);
}

.blog-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.blog-card-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  line-height: 1.3; color: var(--text);
}
.blog-card-excerpt { font-size: 0.9rem; line-height: 1.65; color: var(--text-2); flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.7rem; color: var(--text-3);
}
.blog-card-meta span::before { content: "·"; margin-right: 10px; }
.blog-card-meta span:first-child::before { content: none; }

/* ===== SINGLE POST ===== */
.post-wrap { padding: 130px 0 0; }
.post-head { max-width: var(--read); margin: 0 auto 40px; padding: 0 24px; }
@media (min-width: 768px) { .post-head { padding: 0 40px; } }

.post-breadcrumb {
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-3);
  margin-bottom: 22px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.post-breadcrumb a { color: var(--text-3); }
.post-breadcrumb a:hover { color: var(--text); }
.post-cat {
  display: inline-flex; font-family: var(--mono); font-size: 0.66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text);
  background: var(--highlight);
  padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: 18px;
}
.post-title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.022em;
  font-size: clamp(1.95rem, 4.5vw, 3rem); line-height: 1.12; color: var(--text);
  margin-bottom: 20px;
}
.post-title em { font-style: italic; }
.post-lede { font-size: 1.18rem; line-height: 1.7; color: var(--text-2); margin-bottom: 28px; font-family: var(--body); }
.post-byline {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.avatar-ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--text); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avatar-core { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 0.85rem; color: var(--text-inv); }
.post-byline-name { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.post-byline-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }

.post-body { max-width: var(--read); margin: 0 auto; padding: 0 24px 80px; }
@media (min-width: 768px) { .post-body { padding: 0 40px 80px; } }

/* Drop cap on first paragraph */
.post-body > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 700; font-style: italic;
  float: left; font-size: 4.2rem; line-height: 0.9; margin: 6px 12px 0 0;
  color: var(--text);
}

.post-body h2 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.2; color: var(--text);
  margin: 56px 0 18px;
}
.post-body h2 em { font-style: italic; }
.post-body h3 {
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
  color: var(--text); margin: 36px 0 14px;
}
.post-body p { font-size: 1.08rem; line-height: 1.85; color: var(--text-2); margin-bottom: 22px; font-family: var(--body); }
.post-body p strong, .post-body li strong { color: var(--text); font-weight: 600; }
.post-body a {
  color: var(--text); text-decoration: none;
  background-image: linear-gradient(transparent 92%, var(--text) 92%);
  background-size: 100% 100%;
  transition: background-image .15s;
}
.post-body a:hover {
  background-image: linear-gradient(transparent 60%, var(--highlight) 60%);
}
.post-body ul, .post-body ol { margin: 0 0 24px; padding-left: 26px; }
.post-body li { font-size: 1.05rem; line-height: 1.78; color: var(--text-2); margin-bottom: 10px; font-family: var(--body); }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body hr {
  border: none; height: 24px; margin: 56px 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 12'><circle cx='12' cy='6' r='2.4' fill='%23111827'/><circle cx='40' cy='6' r='2.4' fill='%23111827'/><circle cx='68' cy='6' r='2.4' fill='%23111827'/></svg>") no-repeat center;
  background-size: 80px 12px;
  opacity: 0.5;
}
.post-body blockquote {
  margin: 36px 0; padding: 4px 0 4px 32px; border-left: 4px solid var(--text);
  font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.5; color: var(--text);
}
.post-body blockquote::first-letter { font-weight: 700; }

.callout {
  display: flex; gap: 14px; margin: 32px 0; padding: 22px 24px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); position: relative;
}
.callout::before {
  content: ''; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px;
  background: var(--text); border-radius: 2px;
}
.callout-ico { font-size: 1.4rem; line-height: 1.4; flex-shrink: 0; }
.callout-label {
  display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 6px;
}
.callout-body p { font-size: 0.98rem; line-height: 1.7; color: var(--text-2); margin: 0; font-family: var(--body); }

.post-share { display: flex; align-items: center; gap: 14px; margin: 48px 0 32px; flex-wrap: wrap; }
.post-share-label { font-size: 0.82rem; color: var(--text-3); font-family: var(--mono); }
.post-share-row { display: flex; gap: 8px; }
.share-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%; color: var(--text-2);
  transition: border-color .15s, color .15s, background .15s;
}
.share-btn:hover { border-color: var(--text); color: var(--text); background: var(--bg-2); }
.share-btn.copied { border-color: #16A34A; color: #16A34A; }

.post-cta {
  padding: 36px 32px; background: var(--text); border-radius: var(--r-xl);
  color: var(--text-inv); margin: 48px 0;
}
.post-cta h2 { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 700; color: var(--text-inv); margin-bottom: 12px; }
.post-cta p { font-size: 1rem; line-height: 1.65; color: rgba(229,224,213,0.85); margin-bottom: 22px; font-family: var(--body); }
.post-cta .btn-primary { background: var(--text-inv); color: var(--text); border-color: var(--text-inv); }
.post-cta .btn-primary:hover { background: var(--bg-2); }

.post-author {
  display: flex; gap: 16px; padding: 32px 0; border-top: 1px solid var(--border);
}
.post-author-name { font-family: var(--serif); font-weight: 700; color: var(--text); margin-bottom: 6px; }
.post-author-bio { font-size: 0.92rem; line-height: 1.7; color: var(--text-2); font-family: var(--body); }

.post-related { padding: 56px 0 80px; }
.post-related .sec-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--text);
  margin-bottom: 28px; letter-spacing: -0.02em;
}
.post-related .sec-title em { font-style: italic; }

/* ===== FOOTER ===== */
.site-footer { background: var(--text); color: var(--text-inv); padding: 72px 0 0; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .footer-inner { padding: 0 40px; } }

.footer-brand-row { padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 48px; }
.footer-logo { margin-bottom: 18px; }
.footer-tagline { font-size: 0.95rem; line-height: 1.7; color: rgba(229,224,213,0.7); max-width: 56ch; margin-bottom: 24px; font-family: var(--body); }

.footer-social { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.social-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; color: rgba(229,224,213,0.7);
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.social-icon:hover { border-color: var(--highlight); color: var(--highlight); transform: translateY(-2px); }

.footer-email { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: rgba(229,224,213,0.75); }
.footer-email:hover { color: var(--highlight); }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }

.footer-col-title {
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.footer-col-desc { font-size: 0.88rem; line-height: 1.65; color: rgba(229,224,213,0.6); font-family: var(--body); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem; color: rgba(229,224,213,0.72); text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--highlight); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap;
}
.footer-copy { font-family: var(--mono); font-size: 0.72rem; color: rgba(255,255,255,0.4); }

/* ===== CONTACT PAGE ===== */
.contact-info-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  flex-shrink: 0;
}
.contact-info-label { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 4px; }
.contact-info-value { font-size: 0.94rem; color: var(--text-2); }
.contact-info-value a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.contact-social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.contact-social-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--r-pill);
  font-size: 0.82rem; color: var(--text-2); font-family: var(--sans); font-weight: 500;
  transition: border-color .15s, color .15s;
}
.contact-social-link:hover { border-color: var(--text); color: var(--text); }

/* ===== ABOUT TIMELINE ===== */
.about-grid {
  display: grid; gap: 60px; grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.1fr 1fr; } }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: 20px; padding-bottom: 36px; position: relative;
}
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute; left: 17px; top: 36px; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-dot {
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2);
  border: 1.5px solid var(--text); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--serif); font-style: italic; font-size: 0.85rem; font-weight: 700; color: var(--text);
}
.timeline-content { flex: 1; padding-top: 6px; }
.timeline-title { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 6px; }
.timeline-body { font-size: 0.92rem; line-height: 1.65; color: var(--text-2); font-family: var(--body); }

/* ===== LEGAL PAGE ===== */
.legal-body { max-width: var(--read); margin: 0 auto; padding: 0 24px 80px; }
@media (min-width: 768px) { .legal-body { padding: 0 40px 80px; } }
.legal-body h2 { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--text); margin: 44px 0 14px; }
.legal-body h3 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--text); margin: 28px 0 10px; }
.legal-body p, .legal-body li { font-size: 1rem; line-height: 1.8; color: var(--text-2); margin-bottom: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 20px; }
.legal-body ul li { list-style: disc; }
.legal-body ol li { list-style: decimal; }
.legal-body strong { color: var(--text); }
.legal-meta { font-family: var(--mono); font-size: 0.78rem; color: var(--text-3); margin-bottom: 32px; }

/* ===== MATERIAL SYMBOLS ===== */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal;
  font-size: 24px; line-height: 1; letter-spacing: normal;
  text-transform: none; display: inline-block; white-space: nowrap;
  word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}
.icon-xs { font-size: 16px; }
.icon-sm { font-size: 20px; }
.icon-md { font-size: 28px; }
.icon-lg { font-size: 36px; }
.icon-xl { font-size: 48px; }
.icon-2xl { font-size: 64px; }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text); margin-bottom: 18px;
}
.icon-circle .material-symbols-outlined { font-size: 28px; }
.icon-circle-sm {
  width: 44px; height: 44px;
}
.icon-circle-sm .material-symbols-outlined { font-size: 22px; }

/* ===== STOCK PHOTO ELEMENTS ===== */
.photo-frame {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--bg-2);
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.02);
}
.photo-frame.aspect-4-5 { aspect-ratio: 4 / 5; }
.photo-frame.aspect-3-2 { aspect-ratio: 3 / 2; }
.photo-frame.aspect-1-1 { aspect-ratio: 1 / 1; }

/* Hero split layout */
.hero-split {
  display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}
.hero-photo-stack {
  position: relative; padding: 12px;
}
.hero-photo-stack::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 80%; height: 80%;
  border: 1.5px solid var(--text); border-radius: var(--r-lg);
  transform: translate(-16px, -16px);
  z-index: 0; opacity: 0.45;
}
.hero-photo-stack .photo-frame { position: relative; z-index: 1; }

/* Meet your VA / portrait cards */
.portrait-grid {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .portrait-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 940px) { .portrait-grid { grid-template-columns: repeat(4, 1fr); } }
.portrait-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s;
}
.portrait-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portrait-card .photo-frame { border: none; border-radius: 0; aspect-ratio: 4 / 5; }
.portrait-body { padding: 18px 20px; }
.portrait-name { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.portrait-role { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }

/* Photo credit */
.photo-credit {
  font-family: var(--mono); font-size: 0.66rem; color: var(--text-3);
  margin-top: 8px; letter-spacing: 0.04em;
}
.photo-credit a { color: var(--text-3); text-decoration: underline; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.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; }

@media (max-width: 639px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .hero-stats { gap: 28px; }
  .calc-card { padding: 24px; }
}
