@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:          #0f0e0c;
  --ink-muted:    #6b6860;
  --ink-faint:    #b8b5af;
  --paper:        #faf9f6;
  --paper-warm:   #f2f0ea;
  --paper-mid:    #e8e5dc;
  --accent:       #1a3a2e;
  --accent-mid:   #2d6b52;
  --accent-light: #e8f2ed;
  --gold:         #c4922a;
  --gold-light:   #fdf5e6;
  --border:       rgba(15,14,12,0.10);
  --border-mid:   rgba(15,14,12,0.18);
  --radius:       4px;
  --radius-lg:    12px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max-w:        1160px;
  --transition:   240ms cubic-bezier(0.4,0,0.2,1);
  --shadow:       0 1px 3px rgba(15,14,12,0.06), 0 4px 16px rgba(15,14,12,0.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTILITIES ─────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 760px; }
.container--mid { max-width: 960px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
}
.eyebrow--accent { color: var(--accent-mid); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--accent-mid); }
.display--xl  { font-size: clamp(40px, 6vw, 72px); }
.display--lg  { font-size: clamp(30px, 4vw, 52px); }
.display--md  { font-size: clamp(24px, 3vw, 38px); }
.display--sm  { font-size: clamp(20px, 2.5vw, 28px); }

.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--border-mid);
  margin: 24px 0;
}
.divider--accent { background: var(--accent-mid); }

/* ── HEADER / NAV ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--accent-mid); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  transition: color var(--transition);
  font-weight: 400;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu .nav-cta a {
  background: var(--accent);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
}
.nav-menu .nav-cta a:hover { background: var(--accent-mid); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--transition);
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -300px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,107,82,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-mid);
  flex-shrink: 0;
}
.hero-kicker span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-title { margin-bottom: 28px; }
.hero-desc { margin-bottom: 40px; max-width: 440px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}
.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.hero-card-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.hero-framework-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.hero-framework-row:last-child { border-bottom: none; }
.hero-fw-name { font-weight: 500; color: var(--ink); }
.hero-fw-status {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  font-weight: 500;
}
.status-applies { background: rgba(26,58,46,0.1); color: var(--accent); }
.status-review  { background: rgba(196,146,42,0.12); color: var(--gold); }
.status-monitor { background: rgba(15,14,12,0.06); color: var(--ink-muted); }

.hero-card-cta {
  margin-top: 20px;
  text-align: center;
}
.hero-card-cta a {
  font-size: 13px;
  color: var(--accent-mid);
  font-weight: 500;
  border-bottom: 1px solid rgba(45,107,82,0.3);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}
.hero-card-cta a:hover { border-color: var(--accent-mid); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: white;
}
.btn--primary:hover { background: var(--accent-mid); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--border-mid);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

.btn--text {
  background: none;
  color: var(--ink-muted);
  padding: 0;
  font-weight: 400;
  font-size: 14px;
}
.btn--text:hover { color: var(--ink); }
.btn--text::after { content: ' →'; }

/* ── SECTION SCAFFOLDING ───────────────────────────────── */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--flush { padding: 0; }
.section--dark {
  background: var(--accent);
  color: white;
}
.section--warm { background: var(--paper-warm); }
.section--border-top { border-top: 1px solid var(--border); }

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .divider { margin: 24px auto; }

/* ── TRUST BAR ─────────────────────────────────────────── */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 400;
}
.trust-item-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex-shrink: 0;
}

/* ── SERVICES GRID ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--paper);
  padding: 36px 32px;
  transition: background var(--transition);
}
.service-card:hover { background: white; }

.service-number {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--paper-mid);
  line-height: 1;
  margin-bottom: 20px;
  font-style: italic;
}
.service-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
}
.service-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 400;
}

/* ── ABOUT / PROFILE ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.about-sticky { position: sticky; top: 100px; }

.profile-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profile-header {
  background: var(--accent);
  padding: 32px;
  color: white;
}
.profile-initials {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 16px;
  font-style: italic;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.profile-title { font-size: 13px; opacity: 0.7; font-weight: 300; }

.profile-body { padding: 24px 32px; }
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.profile-row:last-child { border-bottom: none; }
.profile-row-label { color: var(--ink-muted); font-weight: 300; }
.profile-row-value { color: var(--ink); font-weight: 400; text-align: right; max-width: 60%; }

.credentials-list { list-style: none; }
.credentials-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.credentials-list li:last-child { border-bottom: none; }
.cred-year {
  font-size: 12px;
  color: var(--ink-faint);
  min-width: 44px;
  padding-top: 2px;
  font-weight: 400;
}
.cred-body { flex: 1; }
.cred-role {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
}
.cred-org { font-size: 13px; color: var(--ink-muted); font-weight: 300; }

/* ── WIDGET SECTION ────────────────────────────────────── */
.widget-section { background: var(--paper-warm); }
.widget-wrapper {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.widget-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ── PRICING ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pricing-card--featured {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.pricing-card-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.pricing-card--featured .pricing-card-label { color: rgba(255,255,255,0.55); }
.pricing-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}
.pricing-card-price {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1;
}
.pricing-card-price-note {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 24px;
  font-weight: 300;
}
.pricing-card--featured .pricing-card-price-note { color: rgba(255,255,255,0.6); }
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.pricing-features li::before { content: '—'; color: var(--ink-faint); flex-shrink: 0; font-size: 12px; }
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.12); }
.pricing-card--featured .pricing-features li::before { color: rgba(255,255,255,0.4); }

/* ── BLOG / RESOURCES ──────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.post-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.post-card-category {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 12px;
  font-weight: 400;
}
.post-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}
.post-card-excerpt {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}
.post-card-meta {
  font-size: 12px;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── CTA BAND ──────────────────────────────────────────── */
.cta-band {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
  color: white;
}
.cta-band .display { color: white; }
.cta-band .display em { color: rgba(255,255,255,0.6); }
.cta-band .lead { color: rgba(255,255,255,0.65); margin: 20px auto 40px; max-width: 500px; }
.cta-band .btn--ghost {
  border-color: rgba(255,255,255,0.35);
  color: white;
}
.cta-band .btn--ghost:hover { border-color: white; }

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { color: white; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── SINGLE PAGE / POSTS ───────────────────────────────── */
.page-hero {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
}
.post-body {
  padding: 64px 0;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin: 48px 0 16px;
  color: var(--ink);
}
.post-body h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 32px 0 12px;
  color: var(--ink);
}
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol {
  margin: 0 0 20px 24px;
}
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--accent-mid); border-bottom: 1px solid rgba(45,107,82,0.3); }
.post-body a:hover { border-color: var(--accent-mid); }
.post-body strong { font-weight: 500; }
.post-body blockquote {
  border-left: 3px solid var(--accent-mid);
  padding: 16px 0 16px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--ink-muted);
}

/* ── CONTACT ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.contact-info-value { font-size: 15px; color: var(--ink); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--border); padding: 24px 20px; gap: 20px; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp 600ms ease both; }
.animate-up-delay-1 { animation-delay: 100ms; }
.animate-up-delay-2 { animation-delay: 200ms; }
.animate-up-delay-3 { animation-delay: 300ms; }
