/* ==========================================================================
   Executive Office Group — main stylesheet
   Derived from design-mockup.html. Keep tokens in sync with the mockup.
   ========================================================================== */

:root {
  --navy: #0A1929;
  --gold: #D4AF37;
  --gold-soft: #F4D03F;
  --charcoal: #1A1A1A;
  --soft: #F5F5F0;
  --navy-mid: #1E3A5F;
  --muted: #5b6b7a;
  --gold-text: #7d621a;
  --line: rgba(10, 25, 41, 0.08);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  line-height: 1.55;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------------------------
   Skip link
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-soft); color: var(--navy); }
.btn-ghost { border-color: rgba(212, 175, 55, 0.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(212, 175, 55, 0.12); }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* -------------------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 25, 41, 0.08); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled .site-nav { border-bottom-color: transparent; }

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--gold); font-style: italic; }

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { height: 34px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}
.nav-links a {
  color: #334155;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links .current-menu-item > a { color: var(--navy); }
.nav-links .current-menu-item > a { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.nav-links .eog-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links .eog-menu a { color: #334155; text-decoration: none; }
.nav-links .eog-menu a:hover { color: var(--navy); }
.nav-links .menu-cta a { color: var(--navy); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* -------------------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  background: linear-gradient(135deg, #0A1929 0%, #122B45 60%, #1E3A5F 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none' stroke='rgba(212,175,55,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}
.hero .wrapper { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: #fff;
  max-width: 900px;
}
.hero h1 em { color: var(--gold-soft); font-style: italic; }
.hero-sub {
  font-size: 22px;
  color: #cdd4da;
  max-width: 550px;
  margin-top: 28px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.2px;
}
.cta-row { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 84px 0 72px;
  background: linear-gradient(135deg, #0A1929 0%, #122B45 60%, #1E3A5F 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none' stroke='rgba(212,175,55,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
}
.page-hero .wrapper { position: relative; z-index: 1; }
.page-hero .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #fff;
  max-width: 820px;
}
.page-hero h1 em { color: var(--gold-soft); font-style: italic; }
.page-hero p {
  font-size: 20px;
  font-weight: 300;
  color: #cdd4da;
  max-width: 620px;
  margin-top: 20px;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------------------- */
.section { padding: 80px 0; }
.section--soft { background: var(--soft); }
.section--white { background: #fff; }
.section--dark { background: linear-gradient(135deg, #0A1929 0%, #122B45 100%); color: #fff; }

.section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 40px;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.section--dark h2 { color: #fff; }
.section .subhead {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 640px;
}
.section--dark .subhead { color: #cdd4da; }
.section-head--wide .subhead { max-width: 760px; }

/* -------------------------------------------------------------------------
   Tier cards
   ------------------------------------------------------------------------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier {
  background: #fff;
  padding: 38px 32px;
  border-radius: 12px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 40px rgba(10, 25, 41, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 12px 50px rgba(10, 25, 41, 0.12); }
.tier h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}
.tier .price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--navy);
  line-height: 1;
}
.tier .price span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}
.tier p { font-size: 14.5px; color: #475569; line-height: 1.55; margin-top: 10px; }
.tier p:last-of-type { margin-bottom: 18px; }
.tier .includes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.tier .includes li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #475569;
  margin-bottom: 8px;
  line-height: 1.45;
}
.tier .includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.tier .ideal-for {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tier .tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: auto;
}

/* -------------------------------------------------------------------------
   Case studies
   ------------------------------------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case { border-top: 2px solid var(--navy); padding-top: 28px; }
.case .client {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.case h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.case p { font-size: 14px; color: #334155; line-height: 1.6; }
.case .result {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold-text);
  font-weight: 600;
  margin-top: 14px;
}

/* Illustrative note */
.note {
  background: rgba(212, 175, 55, 0.1);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 40px;
  max-width: 760px;
}

/* -------------------------------------------------------------------------
   Process
   ------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 40px rgba(10, 25, 41, 0.06);
}
.step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold-text);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}
.step h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p { font-size: 14.5px; color: #475569; line-height: 1.55; }

/* -------------------------------------------------------------------------
   FAQ (native details/summary accordion)
   ------------------------------------------------------------------------- */
.faq { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  padding: 0 40px 22px 0;
  max-width: 720px;
}

/* -------------------------------------------------------------------------
   Panel intro (two-column, About)
   ------------------------------------------------------------------------- */
.panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.panel-grid p { font-size: 15.5px; color: #475569; line-height: 1.7; margin-bottom: 16px; }
.panel-grid h2 { margin-bottom: 20px; }
.credentials h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 14px;
}
.credentials {
  background: var(--soft);
  border-left: 3px solid var(--gold);
  padding: 28px 30px;
  border-radius: 0 12px 12px 0;
}
.credentials p { font-size: 14.5px; color: #475569; line-height: 1.65; margin-bottom: 12px; }
.credentials .placeholder-note {
  font-size: 13px;
  color: #92400e;
  background: rgba(212, 175, 55, 0.14);
  padding: 10px 12px;
  border-radius: 6px;
}
.cred-list { list-style: none; margin: 16px 0 0; padding: 0; }
.cred-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: #334155;
}
.cred-list li strong { color: var(--navy); font-weight: 600; display: block; }
.cred-list li span { color: var(--muted); font-size: 13.5px; }

/* -------------------------------------------------------------------------
   Newsletter
   ------------------------------------------------------------------------- */
.newsletter { text-align: center; }
.newsletter h2 { font-size: 32px; }
.newsletter p { max-width: 540px; margin: 0 auto 24px; color: #475569; font-size: 15px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(10, 25, 41, 0.18);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: #fff;
}

/* -------------------------------------------------------------------------
   Forms (engage + newsletter)
   ------------------------------------------------------------------------- */
.eog-form { max-width: 680px; margin: 0 auto; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}
.form-row .req { color: var(--gold); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(10, 25, 41, 0.18);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-actions { margin-top: 8px; }
.form-alert {
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.5;
}
.form-alert--success { background: rgba(212, 175, 55, 0.14); border-left: 3px solid var(--gold); color: #334155; }
.form-alert--error { background: #fef2f2; border-left: 3px solid #dc2626; color: #7f1d1d; }
.field-error {
	color: #dc2626;
	font-size: 12.5px;
	margin-top: 5px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.field-error::before {
	content: "\26A0";
	font-size: 14px;
}

/* What happens next */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.next-step { padding-top: 22px; border-top: 2px solid var(--navy); }
.next-step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold-text);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}
.next-step h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.next-step p { font-size: 14px; color: #475569; line-height: 1.6; }

/* -------------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------------- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0A1929 0%, #122B45 100%);
  color: #fff;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.cta-section h2 em { color: var(--gold-soft); font-style: italic; }
.cta-section p {
  font-size: 18px;
  color: #cdd4da;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   Blog / Knowledge Hub
   ------------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { display: flex; flex-direction: column; }
.post-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0A1929, #1E3A5F);
  border-radius: 8px;
  margin-bottom: 18px;
  overflow: hidden;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.post-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: 14.5px; color: #475569; line-height: 1.6; }
.read-more {
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
}
.read-more:hover { color: var(--gold); }

.archive-header { padding: 72px 0 24px; }
.archive-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -1.5px;
}
.archive-header p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* -------------------------------------------------------------------------
   Long-form articles (.prose)
   Brand typography: Cormorant display headings, navy/gold tables, gold
   markers and callouts. Shared by blog posts and Knowledge Hub guides.
   ------------------------------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 1.25em; }
.prose > :first-child { margin-top: 0; }

.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--navy);
  margin-top: 2.2em;
  padding-bottom: 12px;
  position: relative;
}
.prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
}
.prose h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
  color: var(--navy);
  margin-top: 1.9em;
}
.prose p, .prose li { font-size: 17px; line-height: 1.72; color: #334155; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  font-weight: 500;
}
.prose a:hover { color: #8a6d1f; text-decoration-color: var(--navy); }

/* Callouts */
.prose blockquote {
  background: rgba(212, 175, 55, 0.1);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 20px 26px;
  margin: 1.8em 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}
.prose blockquote p { font-family: inherit; font-size: inherit; color: inherit; margin: 0; }

/* Lists — native markers tinted gold. Native list markers are the most
   reliable across browsers (and survive forced-colors/high-contrast mode),
   unlike a positioned ::before pseudo-element. */
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.8em; }
.prose ul > li, .prose ol > li { padding-left: 0.15em; margin-top: 0.55em; }
.prose ul > li::marker { color: var(--gold); }
.prose ol > li::marker {
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
  font-weight: 500;
}
.prose li > ul, .prose li > ol { margin-top: 0.5em; }

/* Tables — navy header, gold top rule, soft striping */
.prose .table-wrap {
  overflow-x: auto;
  margin: 1.9em 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.prose thead th {
  background: var(--navy);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  text-align: left;
  padding: 13px 16px;
  white-space: nowrap;
}
.prose tbody td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  color: #334155;
  line-height: 1.55;
}
.prose tbody tr:nth-child(even) { background: var(--soft); }
.prose tbody td strong { color: var(--navy); }

/* Rules */
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* Inline code / pre */
.prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86em;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--navy-mid);
}
.prose pre {
  background: var(--navy);
  color: #e5e7eb;
  border-radius: 8px;
  padding: 20px 22px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose img { border-radius: 8px; }

.entry-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-top: 14px;
}

/* Table of contents */
.toc {
  background: var(--soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 0 0 44px;
}
.toc h2 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  padding: 0;
}
.toc h2::after { display: none; }
.toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 36px;
}
.toc li { padding: 0; margin: 0 0 8px; break-inside: avoid; }
.toc li::before { display: none; }
.toc a { color: var(--navy); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.toc a:hover { color: var(--gold); }

/* Article chrome: breadcrumbs + related */
.article-hero .breadcrumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 18px;
}
.article-hero .breadcrumbs a { color: #cdd4da; text-decoration: none; }
.article-hero .breadcrumbs a:hover { color: var(--gold-soft); }
.article-hero .breadcrumbs .sep { margin: 0 8px; color: rgba(255, 255, 255, 0.35); }
.article-hero .article-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 16px;
  max-width: none;
}

.related {
  max-width: 760px;
  margin: 64px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.related a {
  display: block;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.related a:hover { color: var(--gold); }

/* Pillar guide cards on the Knowledge Hub index */
.pillar-card {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--navy);
  padding-top: 24px;
}
.pillar-card .pillar-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pillar-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 10px;
}
.pillar-card h3 a { color: var(--navy); text-decoration: none; }
.pillar-card h3 a:hover { color: var(--gold); }
.pillar-card p { font-size: 14.5px; color: #475569; line-height: 1.6; }
.pillar-card .read-more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 14px; color: var(--navy); text-decoration: none; }
.pillar-card .read-more:hover { color: var(--gold); }

.collection-subhead {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
  margin: 44px 0 24px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.collection-subhead:first-of-type { margin-top: 8px; }

@media (max-width: 900px) {
  .prose h2 { font-size: 28px; }
  .toc ol { columns: 1; }
  .related ul { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--navy); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-positioning {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--navy);
  margin-top: 6px;
}
.footer-legal {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 720px;
}

/* -------------------------------------------------------------------------
   Utility / 404
   ------------------------------------------------------------------------- */
.center { text-align: center; }
.narrow { max-width: 720px; margin: 0 auto; }
.error-404 { padding: 120px 0; text-align: center; }
.error-404 .code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 14px;
}
.error-404 h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  color: var(--navy);
  margin: 12px 0 16px;
  letter-spacing: -1.5px;
}
.error-404 p { color: var(--muted); margin-bottom: 28px; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .panel-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 42px; letter-spacing: -1.5px; }
  .hero { padding: 72px 0 64px; }
  .hero-sub { font-size: 18px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero p { font-size: 17px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 32px; }
  .tier-grid, .case-grid, .process-grid, .post-grid, .next-steps { grid-template-columns: 1fr; }
  .cta-section { padding: 72px 0; }
  .cta-section h2 { font-size: 36px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10, 25, 41, 0.08);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-links .eog-menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-links .eog-menu li { width: 100%; }
  .nav-links .menu-cta { width: 100%; padding-top: 10px; }
  .nav-links .menu-cta a { text-align: center; }
  .site-nav { position: relative; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .page-hero h1 { font-size: 31px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-grid-2 .form-row { margin-bottom: 0; }
}

/* -------------------------------------------------------------------------
   Cookie consent
   ------------------------------------------------------------------------- */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(10, 25, 41, 0.1);
}
.consent[hidden] { display: none; }
.consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.consent-text { font-size: 13.5px; color: #334155; margin: 0; max-width: 760px; }
.consent-text a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-decline { border: 1.5px solid rgba(10, 25, 41, 0.35); color: var(--navy); background: transparent; }
.consent-decline:hover { background: rgba(10, 25, 41, 0.05); color: var(--navy); }
@media (max-width: 600px) {
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; text-align: center; }
}

/* -------------------------------------------------------------------------
   Form honeypot (anti-spam) — hidden from people, reachable by bots.
   ------------------------------------------------------------------------- */
.eog-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
