/* ==========================================================================
   Eagan Legal, PLLC — Fractional General Counsel
   Palette matched to the Eagan Legal PLLC engagement letter template
   (navy blue / gold accent / cream)

   Typography note: this stylesheet deliberately uses only the visitor's own
   system fonts (no Google Fonts or other third-party font CDN). That means
   loading this site never sends a font request — or the visitor's IP
   address — to any third party. See privacy.html.
   ========================================================================== */

:root {
  --charcoal: #0c1f33;
  --brown-dark: #163a5c;
  --brown-mid: #2d5a82;
  --brown-deep: #14283b;
  --tan: #b8860b;
  --tan-light: #d9ab4f;
  --gold: #b8860b;
  --gold-hover: #8f6a08;
  --cream: #fafafa;
  --cream-alt: #eaf0f6;
  --ink: #202b36;
  --ink-soft: #5b6b78;
  --line: rgba(27, 58, 92, 0.14);

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--brown-deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-hover);
  margin-bottom: 14px;
  display: inline-block;
}

.section {
  padding: 96px 0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #241d18;
}
.btn-primary:hover {
  background: var(--gold-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(250, 246, 240, 0.45);
  color: var(--cream);
}
.btn-outline:hover {
  background: rgba(250, 246, 240, 0.12);
  border-color: var(--cream);
}

.btn-ghost {
  background: transparent;
  border-color: var(--brown-deep);
  color: var(--brown-deep);
}
.btn-ghost:hover {
  background: var(--brown-deep);
  color: var(--cream);
}

/* ---------------- Header / Nav ---------------- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(33, 28, 25, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}
.logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1;
}
.logo-text .dot { color: var(--gold); }
.logo-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--tan-light);
  margin-top: 3px;
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav.nav-links a {
  color: rgba(250,246,240,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
nav.nav-links a:hover { color: var(--tan-light); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--charcoal) 0%, var(--brown-dark) 48%, var(--brown-mid) 100%);
  color: var(--cream);
  padding: 190px 0 130px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(190,158,119,0.16) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(190,158,119,0.10) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.12;
}
.hero h1 em {
  font-style: normal;
  color: var(--tan-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(250,246,240,0.82);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(250,246,240,0.14);
  padding-top: 26px;
}
.hero-meta div { min-width: 110px; }
.hero-meta .num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--tan-light);
  display: block;
}
.hero-meta .label {
  font-size: 0.8rem;
  color: rgba(250,246,240,0.65);
  letter-spacing: 0.02em;
}
/* Stat cell with no leading figure — reads as a peer to the numbered stats. */
.hero-meta .stat-wide {
  display: flex;
  align-items: center;
  max-width: 230px;
}
.hero-meta .stat-wide .label {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--tan-light);
}

.hero-visual {
  position: relative;
  border: 1px solid rgba(250,246,240,0.14);
  background: rgba(250,246,240,0.04);
  border-radius: 6px;
  padding: 40px;
  backdrop-filter: blur(2px);
}
.hero-visual .hero-headshot {
  display: block;
  width: 224px;
  max-width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 1px solid rgba(250,246,240,0.18);
  margin-bottom: 26px;
}
.hero-visual h3 {
  color: var(--cream);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.hero-visual p {
  color: rgba(250,246,240,0.78);
  font-size: 0.98rem;
  margin-bottom: 0;
}
.hero-visual .divider {
  height: 1px;
  background: rgba(250,246,240,0.14);
  margin: 26px 0;
}
.hero-visual ul { list-style: none; padding: 0; margin: 0; }
.hero-visual li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(250,246,240,0.85);
  margin-bottom: 12px;
}
.hero-visual li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--tan-light); flex-shrink: 0; }

/* ---------------- Trust bar ---------------- */
.trust-bar {
  background: var(--brown-deep);
  padding: 30px 0;
  border-bottom: 1px solid rgba(250,246,240,0.08);
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-bar span.label {
  color: rgba(250,246,240,0.55);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.trust-logos span {
  font-family: var(--serif);
  font-weight: 600;
  color: rgba(250,246,240,0.75);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* ---------------- Venn / What is a Fractional GC ---------------- */
.venn-section { background: var(--cream); }
.venn-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.venn-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.venn-circles {
  position: relative;
  width: 440px;
  max-width: 100%;
  height: 250px;
}
.venn-circle {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.venn-circle.left {
  left: 0;
  top: 0;
  background: var(--brown-dark);
  color: var(--cream);
  justify-content: flex-start;
  text-align: left;
  padding: 24px 78px 24px 30px;
}
.venn-circle.right {
  left: 190px;
  top: 0;
  background: var(--gold);
  color: var(--brown-deep);
  justify-content: flex-end;
  text-align: right;
  padding: 24px 30px 24px 78px;
}
.venn-circle span {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 3px;
}
.venn-icon {
  position: absolute;
  left: 220px;
  top: 168px;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  color: var(--cream);
  z-index: 2;
}
.venn-connector {
  width: 2px;
  height: 28px;
  background: var(--gold);
}
.venn-label {
  max-width: 320px;
  text-align: center;
  background: var(--cream-alt);
  padding: 18px 24px;
  border-top: 3px solid var(--gold);
}
.venn-label strong {
  display: block;
  font-family: var(--serif);
  color: var(--brown-deep);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.venn-label span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.venn-copy h2 { margin-bottom: 20px; }
.venn-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.venn-copy .check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.venn-copy .check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--ink);
}
.venn-copy .check-list svg { width: 20px; height: 20px; color: var(--gold-hover); flex-shrink: 0; margin-top: 2px; }

/* ---------------- Comparison table ---------------- */
.comparison-wrap { overflow-x: auto; margin-top: 8px; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
  background: #fff;
}
.comparison-table thead th {
  background: #1B3A5C;
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  text-align: left;
  padding: 16px 18px;
  font-size: 0.95rem;
  vertical-align: bottom;
}
.comparison-table tbody th {
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--brown-deep);
  padding: 16px 18px;
  white-space: nowrap;
}
.comparison-table tbody td {
  padding: 16px 18px;
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.5;
}
.comparison-table tbody tr:nth-child(odd) { background: #f3f4f6; }
.comparison-table tbody tr:nth-child(even) { background: #fff; }
.comparison-table .col-eagan {
  border-left: 3px solid #B8860B;
  color: var(--ink);
  font-weight: 500;
}
.comparison-table thead th.col-eagan { color: #fff; }

/* ---------------- Services ---------------- */
.services { background: var(--cream-alt); }
.service-group { margin-bottom: 40px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-label {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--brown-deep);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--cream);
  padding: 34px 28px;
  transition: background 0.2s ease;
}
.service-card:hover { background: #fff; }
.service-card .icon {
  width: 40px;
  height: 40px;
  color: var(--gold-hover);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------------- About ---------------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-credentials {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px;
  background: var(--cream-alt);
}
.about-credentials h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--gold-hover);
}
.about-credentials ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.92rem; }
.about-credentials li { margin-bottom: 6px; }

.about-copy .eyebrow { margin-bottom: 10px; }
.about-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 22px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.03rem; }
.about-copy blockquote {
  margin: 30px 0;
  padding: 20px 26px;
  border-left: 3px solid var(--gold);
  background: var(--cream-alt);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--brown-deep);
  font-style: italic;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.pillar {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pillar svg { width: 22px; height: 22px; color: var(--gold-hover); flex-shrink: 0; margin-top: 2px; }
.pillar strong { display: block; font-size: 0.96rem; color: var(--brown-deep); margin-bottom: 3px; }
.pillar span { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------------- Process ---------------- */
.process { background: var(--brown-deep); color: var(--cream); }
.process .section-header h2 { color: var(--cream); }
.process .section-header p { color: rgba(250,246,240,0.72); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 24px;
  border: 1px solid rgba(250,246,240,0.14);
  border-radius: 6px;
  background: rgba(250,246,240,0.03);
}
.process-step .step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--tan-light);
  opacity: 0.85;
  margin-bottom: 14px;
  display: block;
}
.process-step h3 { color: var(--cream); font-size: 1.08rem; margin-bottom: 10px; }
.process-step p { color: rgba(250,246,240,0.72); font-size: 0.92rem; margin: 0; }

/* ---------------- Speaking / thought leadership ---------------- */
.speaking { background: var(--cream); }
.speaking-intro {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
}
.speaking-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}
.speaking-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.speaking-item .year {
  font-family: var(--serif);
  color: var(--gold-hover);
  font-size: 1.1rem;
  min-width: 52px;
}
.speaking-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.speaking-item p { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }

/* ---------------- FAQ ---------------- */
.faq { background: var(--cream-alt); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--brown-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  font-size: 1.4rem;
  color: var(--gold-hover);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 700px;
}

/* ---------------- Final CTA ---------------- */
.cta-final {
  background: linear-gradient(155deg, var(--brown-mid), var(--charcoal));
  color: var(--cream);
  text-align: center;
  padding: 100px 0;
}
.cta-final h2 { color: var(--cream); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-final p {
  color: rgba(250,246,240,0.78);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}
.cta-final .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
footer.site-footer {
  background: var(--charcoal);
  color: rgba(250,246,240,0.6);
  padding: 56px 0 28px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(250,246,240,0.1);
}
.footer-brand .logo-text { color: var(--cream); }
.footer-brand p { margin-top: 14px; max-width: 320px; color: rgba(250,246,240,0.55); }
.footer-col h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; color: rgba(250,246,240,0.6); }
.footer-col a:hover { color: var(--tan-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
}
.footer-bottom .disclaimer {
  max-width: 720px;
  font-size: 0.78rem;
  color: rgba(250,246,240,0.42);
  line-height: 1.6;
}

/* ---------------- Utility ---------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 90px; }
  .venn-wrap { grid-template-columns: 1fr; gap: 44px; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .speaking-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn span.long { display: none; }
  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .venn-circles { width: 320px; height: 190px; }
  .venn-circle { width: 190px; height: 190px; font-size: 0.72rem; }
  .venn-circle.left { padding: 18px 58px 18px 20px; }
  .venn-circle.right { left: 130px; padding: 18px 20px 18px 58px; }
  .venn-icon { left: 160px; top: 128px; width: 30px; height: 30px; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 26px 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mobile-nav a {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.5rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(250,246,240,0.1);
}
.mobile-nav .close-btn {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.8rem;
  cursor: pointer;
}
