/* ═══════════════════════════════════════════
   NUMESTRA — Finance Intelligence Governance
   Main Stylesheet v1.0.0
   ═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --blue:       #0030FF;
  --navy:       #0A0E1A;
  --slate:      #5A6080;
  --bg:         #FAF9F5;
  --white:      #FFFFFF;
  --lavender:   #E8ECFF;
  --mist:       #DCE1F6;
  --periwinkle: #748EFF;
  --border:     #F0F1F5;
  --border-mid: #D8DCE8;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-card:  0 1px 3px rgba(10,14,26,.06), 0 4px 16px rgba(10,14,26,.06);
  --shadow-hover: 0 4px 8px rgba(10,14,26,.08), 0 12px 32px rgba(0,48,255,.10);
  --shadow-modal: 0 24px 80px rgba(10,14,26,.24);

  --transition: 200ms ease;
  --transition-slow: 400ms ease;

  --container: 1200px;
  --container-narrow: 780px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--slate); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--navy); line-height: 1.25; font-weight: 700; }

/* ─── LAYOUT ─── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.container-narrow { max-width: var(--container-narrow); }

/* ─── SKIP LINK ─── */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--blue); color: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm); z-index: 9999; }
.skip-link:focus { top: 1rem; }

/* ═══════════════════════════════════════════
   HEADER & NAV
   ═══════════════════════════════════════════ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,249,245,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: var(--space-lg); height: 68px; }

/* Logo */
.site-branding { flex-shrink: 0; }
.site-branding .custom-logo { height: 40px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.logo-text:hover { text-decoration: none; color: var(--blue); }
.logo-n { color: var(--blue); }

/* Nav */
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-menu { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-menu > .menu-item > a { font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--slate); padding: .5rem .875rem; border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition); white-space: nowrap; display: flex; align-items: center; gap: .25rem; }
.nav-menu > .menu-item > a:hover { color: var(--navy); background: var(--lavender); text-decoration: none; }
.nav-menu > .menu-item > a .arrow { font-size: .7em; opacity: .6; }

/* Dropdown */
.menu-item { position: relative; }
.dropdown { position: absolute; top: calc(100% + .5rem); left: 0; min-width: 240px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .5rem; box-shadow: var(--shadow-hover); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity var(--transition), transform var(--transition); z-index: 200; }
.menu-item:hover > .dropdown,
.menu-item:focus-within > .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown li a { display: block; padding: .625rem .875rem; font-size: .875rem; color: var(--slate); border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition); }
.dropdown li a:hover { background: var(--lavender); color: var(--navy); text-decoration: none; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; border-radius: var(--radius-sm); }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.header-cta { flex-shrink: 0; }

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; padding: .75rem 1.5rem; border-radius: var(--radius-sm); transition: all var(--transition); white-space: nowrap; cursor: pointer; text-decoration: none !important; line-height: 1; }
.btn-sm { font-size: .8125rem; padding: .5rem 1rem; }
.btn-lg { font-size: 1.0625rem; padding: .875rem 1.875rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; border: 2px solid var(--blue); }
.btn-primary:hover { background: #0026cc; border-color: #0026cc; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,48,255,.3); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--lavender); color: var(--navy); border-color: var(--blue); }
.btn-ghost { background: var(--lavender); color: var(--navy); border: 2px solid transparent; }
.btn-ghost:hover { background: var(--mist); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); border: 2px solid #fff; font-weight: 700; }
.btn-white:hover { background: var(--lavender); color: var(--blue); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ═══════════════════════════════════════════
   SECTIONS — COMMON
   ═══════════════════════════════════════════ */
section { padding: var(--space-3xl) 0; }
.section-header { margin-bottom: var(--space-xl); max-width: 680px; }
.section-header-centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header-light { color: #fff; }
.section-header-light h2, .section-header-light .section-eyebrow { color: #fff; }
.section-eyebrow { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: var(--space-sm); }
.section-header-light .section-eyebrow { color: rgba(255,255,255,.7); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: var(--space-md); }
.section-subtitle { font-size: 1.125rem; color: var(--slate); line-height: 1.7; max-width: 640px; }
.section-header-centered .section-subtitle { margin: 0 auto; }
.section-cta { display: flex; gap: var(--space-sm); margin-top: var(--space-xl); flex-wrap: wrap; }
.lead-text { font-size: 1.25rem; line-height: 1.7; color: var(--navy); margin-bottom: var(--space-md); }
p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* Info box */
.info-box { background: var(--lavender); border-left: 3px solid var(--blue); padding: var(--space-md) var(--space-lg); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: var(--space-lg) 0; }
.info-box h3 { font-size: 1rem; margin-bottom: .5rem; }
.info-box p:last-child { margin-bottom: 0; }

/* Card link */
.card-link { font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: .25rem; margin-top: var(--space-sm); transition: gap var(--transition); }
.card-link:hover { gap: .5rem; text-decoration: none; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero { padding: var(--space-3xl) 0; background: var(--bg); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 440px; gap: var(--space-3xl); align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: .625rem; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: var(--space-md); }
.eyebrow-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.hero-headline { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.1; letter-spacing: -.03em; color: var(--navy); margin-bottom: var(--space-md); }
.hero-subtitle { font-size: 1.125rem; line-height: 1.7; color: var(--slate); margin-bottom: var(--space-lg); max-width: 560px; }
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: var(--space-lg); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .625rem; }
.trust-badge { display: inline-flex; align-items: center; gap: .375rem; font-family: var(--font-display); font-size: .75rem; font-weight: 600; color: var(--slate); background: var(--lavender); padding: .375rem .75rem; border-radius: 100px; }
.trust-badge svg { color: var(--blue); }

/* EJS Diagram (Hero Visual) */
.hero-visual { position: relative; }
.ejs-diagram { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-md); box-shadow: var(--shadow-hover); }
.ejs-layer { border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: .625rem; }
.ejs-layer:last-of-type { margin-bottom: 0; }
.ejs-stewardship { background: var(--lavender); border: 1.5px solid #c5ccf5; }
.ejs-judgment { background: var(--mist); border: 1.5px solid #bcc5ee; }
.ejs-execution { background: var(--blue); }
.ejs-execution .layer-label { color: #fff; }
.ejs-execution .layer-desc { color: rgba(255,255,255,.8); }
.layer-label { font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.layer-desc { font-size: .75rem; color: var(--slate); line-height: 1.4; }
.ejs-label { text-align: center; font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--periwinkle); margin-top: var(--space-sm); }

/* ═══════════════════════════════════════════
   PAGE HERO VARIANTS
   ═══════════════════════════════════════════ */
.page-hero { padding: var(--space-2xl) 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin-bottom: var(--space-md); }
.page-hero-subtitle { font-size: 1.125rem; color: var(--slate); max-width: 640px; line-height: 1.7; margin-bottom: var(--space-lg); }
.page-eyebrow { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: var(--space-sm); }
.page-hero-dark { background: var(--navy); }
.page-hero-dark h1, .page-hero-dark .page-eyebrow, .page-hero-dark .page-hero-subtitle { color: #fff; }
.page-hero-dark .page-eyebrow { color: var(--periwinkle); }
.page-hero-dark .page-hero-subtitle { color: rgba(255,255,255,.75); }
.page-hero-blue { background: var(--blue); }
.page-hero-blue h1, .page-hero-blue .page-eyebrow, .page-hero-blue .page-hero-subtitle { color: #fff; }
.page-hero-blue .page-eyebrow { color: rgba(255,255,255,.7); }
.page-hero-light { background: var(--lavender); }

/* ═══════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════ */
.section-problem { background: var(--navy); }
.section-problem .section-header { max-width: none; }
.section-problem h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.problem-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin: var(--space-xl) 0; }
.stat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: var(--space-lg); text-align: center; }
.stat-number { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; color: var(--periwinkle); line-height: 1; margin-bottom: .5rem; }
.stat-number span { font-size: 60%; }
.stat-label { font-size: .9375rem; color: rgba(255,255,255,.85); font-weight: 500; margin-bottom: .5rem; }
.stat-source { font-size: .75rem; color: rgba(255,255,255,.4); }
.problem-text { max-width: 780px; margin: 0 auto; text-align: center; }
.problem-text p { color: rgba(255,255,255,.75); font-size: 1.0625rem; }

/* ═══════════════════════════════════════════
   SOLUTION SECTION
   ═══════════════════════════════════════════ */
.section-solution { background: var(--white); }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.solution-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); transition: box-shadow var(--transition), border-color var(--transition); }
.solution-card:hover { box-shadow: var(--shadow-hover); border-color: var(--periwinkle); }
.solution-icon { width: 52px; height: 52px; background: var(--lavender); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md); color: var(--blue); }
.solution-card h3 { font-size: 1.125rem; margin-bottom: .625rem; }

/* ═══════════════════════════════════════════
   FOCUS AREAS
   ═══════════════════════════════════════════ */
.section-focus { background: var(--bg); }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.focus-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); transition: all var(--transition); }
.focus-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); }
.focus-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; margin-bottom: var(--space-md); }
.focus-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.focus-card h3 a { color: var(--navy); }
.focus-card h3 a:hover { color: var(--blue); text-decoration: none; }
.focus-card p { font-size: .9rem; color: var(--slate); margin: 0; }

/* ═══════════════════════════════════════════
   AUDIENCE
   ═══════════════════════════════════════════ */
.section-audience { background: var(--lavender); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.audience-card { background: var(--white); border-radius: var(--radius-md); padding: var(--space-lg); border: 1px solid rgba(116,142,255,.2); }
.audience-icon { width: 44px; height: 44px; background: var(--lavender); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-sm); color: var(--blue); }
.audience-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.audience-card p { font-size: .9rem; margin: 0; }

/* ═══════════════════════════════════════════
   SERVICES PREVIEW
   ═══════════════════════════════════════════ */
.section-services-preview { background: var(--white); }
.services-preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.service-preview-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); display: flex; flex-direction: column; transition: all var(--transition); }
.service-preview-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); }
.service-type-badge { display: inline-block; font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--lavender); padding: .25rem .625rem; border-radius: 100px; margin-bottom: var(--space-sm); align-self: flex-start; }
.service-preview-card h3 { font-size: 1.125rem; margin-bottom: .625rem; }
.service-preview-card p { font-size: .9375rem; color: var(--slate); flex: 1; }

/* ═══════════════════════════════════════════
   FOUNDER SECTION
   ═══════════════════════════════════════════ */
.section-founder { background: var(--bg); }
.founder-inner { display: grid; grid-template-columns: 1fr 420px; gap: var(--space-3xl); align-items: start; }
.founder-credentials { margin: var(--space-lg) 0; }
.credential-pill { display: inline-block; font-family: var(--font-display); font-size: .75rem; font-weight: 600; color: var(--navy); background: var(--lavender); border: 1px solid var(--mist); padding: .375rem .75rem; border-radius: 100px; margin: .25rem .25rem .25rem 0; }
.founder-quote-card { background: var(--navy); border-radius: var(--radius-xl); padding: var(--space-xl); }
.founder-quote-card blockquote { font-size: 1.0625rem; line-height: 1.7; color: rgba(255,255,255,.88); font-style: italic; margin-bottom: var(--space-md); }
.founder-quote-card cite { font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--periwinkle); font-style: normal; }

/* ═══════════════════════════════════════════
   RESOURCES PREVIEW
   ═══════════════════════════════════════════ */
.section-resources-preview { background: var(--lavender); }
.resources-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.resource-preview-card { background: var(--white); border-radius: var(--radius-md); padding: var(--space-lg); border: 1px solid rgba(116,142,255,.2); display: flex; flex-direction: column; gap: var(--space-sm); }
.resource-type { font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--periwinkle); }
.resource-preview-card h3 { font-size: 1.0625rem; margin: 0; }
.resource-preview-card p { font-size: .9rem; color: var(--slate); flex: 1; margin: 0; }

/* ═══════════════════════════════════════════
   LEAD CAPTURE
   ═══════════════════════════════════════════ */
.section-lead-capture { background: var(--white); }
.lead-capture-inner { display: grid; grid-template-columns: 1fr 480px; gap: var(--space-3xl); align-items: start; }
.lead-list { margin: var(--space-md) 0; }
.lead-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; color: var(--slate); padding: .375rem 0; }
.lead-list li::before { content: ''; width: 18px; height: 18px; background: var(--lavender); border-radius: 50%; flex-shrink: 0; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230030FF' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; margin-top: 2px; }
.lead-capture-form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-xl); }

/* ═══════════════════════════════════════════
   CTA BLOCK (dark section)
   ═══════════════════════════════════════════ */
.section-cta-block { background: var(--blue); }
.cta-block { text-align: center; }
.cta-block h2 { color: #fff; margin-bottom: var(--space-md); }
.cta-block p { color: rgba(255,255,255,.8); font-size: 1.0625rem; margin-bottom: var(--space-lg); }
.cta-actions { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   EJS FULL (FIGOS Page)
   ═══════════════════════════════════════════ */
.section-ejs { background: var(--white); }
.ejs-layers-full { display: flex; flex-direction: column; gap: var(--space-md); }
.ejs-full-layer { display: grid; grid-template-columns: 80px 1fr; gap: var(--space-lg); align-items: start; padding: var(--space-xl); border-radius: var(--radius-lg); border: 1.5px solid var(--border); }
.ejs-stewardship-full { background: var(--lavender); border-color: #c5ccf5; }
.ejs-judgment-full { background: var(--mist); border-color: #bcc5ee; }
.ejs-execution-full { background: var(--navy); border-color: var(--navy); }
.ejs-execution-full h3, .ejs-execution-full .layer-subtitle, .ejs-execution-full p, .ejs-execution-full h4, .ejs-execution-full li { color: rgba(255,255,255,.9) !important; }
.layer-number { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--blue); opacity: .4; line-height: 1; padding-top: .25rem; }
.ejs-execution-full .layer-number { color: #fff; }
.layer-content h3 { font-size: 1.5rem; margin-bottom: .25rem; }
.layer-subtitle { font-size: .9375rem; color: var(--slate); margin-bottom: var(--space-md); font-style: italic; }
.layer-activities h4 { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: .625rem; }
.layer-activities ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .375rem; }
.layer-activities li { font-size: .875rem; color: var(--slate); padding-left: 1rem; position: relative; }
.layer-activities li::before { content: '→'; position: absolute; left: 0; color: var(--periwinkle); }

/* ═══════════════════════════════════════════
   FRAMEWORKS GRID
   ═══════════════════════════════════════════ */
.frameworks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.framework-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); display: flex; flex-direction: column; transition: all var(--transition); }
.framework-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); }
.framework-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--border); line-height: 1; margin-bottom: .25rem; }
.framework-badge { display: inline-block; font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--periwinkle); background: var(--lavender); padding: .25rem .625rem; border-radius: 100px; margin-bottom: var(--space-sm); align-self: flex-start; }
.framework-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.framework-card p { font-size: .9rem; color: var(--slate); flex: 1; }

/* ═══════════════════════════════════════════
   GAP GRID (FIG Page)
   ═══════════════════════════════════════════ */
.section-gap { background: var(--bg); }
.gap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.gap-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); }
.gap-icon { width: 40px; height: 40px; background: #FFF0F0; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-sm); color: #CC3333; }
.gap-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.gap-card p { font-size: .9rem; color: var(--slate); margin: 0; }

/* ═══════════════════════════════════════════
   SERVICES FULL (Services Page)
   ═══════════════════════════════════════════ */
.section-services-full { background: var(--bg); }
.service-full-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-xl); margin-bottom: var(--space-lg); }
.service-full-card:last-child { margin-bottom: 0; }
.service-header { border-bottom: 1px solid var(--border); padding-bottom: var(--space-lg); margin-bottom: var(--space-lg); }
.service-description { font-size: 1.0625rem; color: var(--slate); margin-top: var(--space-sm); margin-bottom: 0; }
.service-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-bottom: var(--space-lg); }
.service-body h3 { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--space-sm); }
.service-body ul { list-style: none; }
.service-body li { font-size: .9rem; color: var(--slate); padding: .375rem 0 .375rem 1.25rem; position: relative; border-bottom: 1px solid var(--border); }
.service-body li:first-child { border-top: 1px solid var(--border); }
.service-body li::before { content: '→'; position: absolute; left: 0; color: var(--periwinkle); }

/* ═══════════════════════════════════════════
   RESOURCES (Tools Page)
   ═══════════════════════════════════════════ */
.section-resources { background: var(--bg); }
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.resource-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); transition: all var(--transition); }
.resource-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); }
.resource-header { display: flex; align-items: center; justify-content: space-between; }
.resource-type-badge { font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--periwinkle); background: var(--lavender); padding: .25rem .625rem; border-radius: 100px; }
.resource-card h3 { font-size: 1.0625rem; margin: 0; }
.resource-card p { font-size: .9rem; color: var(--slate); flex: 1; margin: 0; }

/* ═══════════════════════════════════════════
   WORKSHOPS (Workshops Page)
   ═══════════════════════════════════════════ */
.section-workshops { background: var(--bg); }
.workshop-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); margin-bottom: var(--space-3xl); }
.workshop-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-xl); }
.workshop-card h2 { font-size: 1.375rem; margin: var(--space-sm) 0 .625rem; }
.workshop-header { display: flex; gap: .5rem; flex-wrap: wrap; }
.workshop-status-badge { display: inline-block; font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 100px; }
.workshop-status-badge.free { background: #E6F9F0; color: #1A7A4A; }
.workshop-status-badge.paid { background: var(--lavender); color: var(--blue); }
.workshop-status-badge.coming-soon { background: #FFF3E0; color: #B35900; }
.workshop-status-badge.future { background: var(--border); color: var(--slate); }
.workshop-type-badge { font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--bg); color: var(--slate); padding: .3rem .75rem; border-radius: 100px; border: 1px solid var(--border); }
.workshop-meta { margin-top: var(--space-md); }
.workshop-meta-item { display: flex; gap: .75rem; font-size: .875rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.workshop-meta-item:last-child { border-bottom: none; }
.workshop-meta-item strong { min-width: 80px; color: var(--navy); }
.registration-form-section { border-top: 1px solid var(--border); padding-top: var(--space-3xl); }
.form-container-centered { max-width: 600px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   BOOK PAGE
   ═══════════════════════════════════════════ */
.section-book { background: var(--bg); }
.book-grid { display: grid; grid-template-columns: 320px 1fr; gap: var(--space-3xl); align-items: start; }
.book-cover-placeholder { background: var(--navy); border-radius: var(--radius-lg); aspect-ratio: 2/3; display: flex; align-items: center; justify-content: center; padding: var(--space-xl); box-shadow: var(--shadow-hover); }
.book-cover-inner { text-align: center; }
.book-cover-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: var(--space-sm); }
.book-cover-subtitle { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.5; margin-bottom: var(--space-md); }
.book-cover-author { font-family: var(--font-display); font-size: .875rem; font-weight: 600; color: var(--periwinkle); }
.book-cover-brand { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .5rem; }
.book-status-note { font-size: .875rem; color: var(--slate); text-align: center; margin-top: var(--space-sm); }
.book-meta { background: var(--lavender); border-radius: var(--radius-md); padding: var(--space-md) var(--space-lg); margin: var(--space-lg) 0; }
.book-meta-item { display: flex; gap: var(--space-sm); font-size: .9rem; padding: .5rem 0; border-bottom: 1px solid rgba(116,142,255,.2); }
.book-meta-item:last-child { border-bottom: none; }
.book-meta-item strong { min-width: 160px; color: var(--navy); }
.section-book-chapters { background: var(--white); }
.chapters-list { display: flex; flex-direction: column; gap: 0; }
.chapter-item { display: flex; align-items: center; gap: var(--space-md); padding: 1rem 0; border-bottom: 1px solid var(--border); }
.chapter-label { font-family: var(--font-display); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--periwinkle); min-width: 100px; }
.chapter-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy); }
.section-book-waitlist { background: var(--lavender); }
.waitlist-form { max-width: 480px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */
.section-about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-3xl); align-items: start; }
.founder-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-xl); position: sticky; top: 88px; }
.founder-avatar-placeholder { width: 80px; height: 80px; background: var(--lavender); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: var(--space-md); color: var(--periwinkle); font-size: .625rem; font-weight: 600; text-transform: uppercase; gap: .25rem; }
.founder-card h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.founder-title { font-size: .875rem; color: var(--slate); margin-bottom: var(--space-md); line-height: 1.5; }
.founder-bio { font-size: .9rem; color: var(--slate); margin-bottom: var(--space-md); }
.founder-bio p { margin-bottom: .75rem; }
.founder-credential-list { display: flex; flex-direction: column; gap: .5rem; padding-top: var(--space-md); border-top: 1px solid var(--border); }
.cred-item { display: flex; flex-direction: column; font-size: .825rem; }
.cred-item strong { color: var(--navy); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.cred-item span { color: var(--slate); }
.section-mission { background: var(--white); }
.mission-statement { background: var(--navy); color: #fff; border-radius: var(--radius-xl); padding: var(--space-xl); margin: var(--space-lg) 0 var(--space-xl); }
.mission-statement p { font-size: 1.25rem; line-height: 1.7; color: rgba(255,255,255,.9); font-style: italic; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.value-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); }
.value-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; color: var(--blue); }

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */
.section-contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-3xl); align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-xl); }
.contact-form-wrap h2 { margin-bottom: var(--space-lg); }
.contact-info { position: sticky; top: 88px; }
.contact-info h2 { margin-bottom: var(--space-lg); }
.contact-detail { display: flex; gap: var(--space-md); align-items: flex-start; padding: var(--space-sm) 0; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.contact-detail:last-of-type { border-bottom: none; }
.contact-icon { width: 36px; height: 36px; background: var(--lavender); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.contact-response-time { background: var(--lavender); border-radius: var(--radius-md); padding: var(--space-md); margin: var(--space-md) 0; font-size: .9rem; }
.contact-quick-links { margin-top: var(--space-md); }
.contact-quick-links h3 { font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: var(--space-sm); }
.contact-quick-links ul { list-style: none; }
.contact-quick-links li { padding: .375rem 0; border-bottom: 1px solid var(--border); }
.contact-quick-links a { font-size: .9375rem; color: var(--blue); }

/* ═══════════════════════════════════════════
   BLOG / ARCHIVE
   ═══════════════════════════════════════════ */
.section-blog { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-hover); border-color: var(--periwinkle); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; display: block; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.blog-card-meta { display: flex; gap: 1rem; font-size: .8125rem; color: var(--slate); }
.blog-card h2 { font-size: 1.0625rem; margin: 0; }
.blog-card h2 a { color: var(--navy); }
.blog-card h2 a:hover { color: var(--blue); text-decoration: none; }
.blog-card p { font-size: .9rem; color: var(--slate); flex: 1; margin: 0; }
.pagination { margin-top: var(--space-xl); display: flex; justify-content: center; }
.no-posts { text-align: center; color: var(--slate); }

/* ═══════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════ */
.post-featured-image { margin-bottom: var(--space-xl); }
.post-featured-image img { border-radius: var(--radius-lg); width: 100%; height: auto; }
.entry-content { font-size: 1.0625rem; line-height: 1.8; }
.entry-content h2 { font-size: 1.75rem; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.375rem; margin: 1.75rem 0 .875rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content blockquote { border-left: 3px solid var(--blue); padding-left: var(--space-md); margin: var(--space-lg) 0; font-style: italic; color: var(--navy); font-size: 1.125rem; }
.post-footer { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--border); }
.post-author-card { background: var(--lavender); border-radius: var(--radius-md); padding: var(--space-lg); margin: var(--space-lg) 0; }
.author-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.author-title { font-size: .875rem; color: var(--blue); margin-bottom: .5rem; }
.author-bio { font-size: .9rem; color: var(--slate); margin: 0; }

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.numestra-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-field { display: flex; flex-direction: column; gap: .375rem; }
.form-field label { font-family: var(--font-display); font-size: .8125rem; font-weight: 600; color: var(--navy); }
.required { color: var(--blue); }
.numestra-form input[type="text"],
.numestra-form input[type="email"],
.numestra-form input[type="tel"],
.numestra-form select,
.numestra-form textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border-mid); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); font-size: .9375rem; transition: border-color var(--transition), box-shadow var(--transition); -webkit-appearance: none; appearance: none; }
.numestra-form input:focus, .numestra-form select:focus, .numestra-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,48,255,.12); }
.numestra-form textarea { resize: vertical; min-height: 100px; }
.numestra-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6080' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.5rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.form-message { font-size: .9rem; padding: .75rem 1rem; border-radius: var(--radius-sm); display: none; }
.form-message.success { background: #E6F9F0; color: #1A5C38; display: block; }
.form-message.error { background: #FFF0F0; color: #8B1A1A; display: block; }
.form-privacy { font-size: .8rem; color: var(--slate); text-align: center; }
.field-error { font-size: .8rem; color: #CC0000; display: none; }
.field-error.visible { display: block; }
.btn-loading { display: none; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: inline; }

/* Newsletter bar forms */
.newsletter-bar-form .form-row { display: flex; gap: .625rem; flex-wrap: wrap; }
.newsletter-bar-form input, .newsletter-bar-form select { flex: 1; min-width: 160px; }
.newsletter-bar-form .form-message { flex-basis: 100%; }

/* ═══════════════════════════════════════════
   NEWSLETTER BAR
   ═══════════════════════════════════════════ */
.newsletter-bar { background: var(--navy); padding: var(--space-2xl) 0; }
.newsletter-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.newsletter-bar-text h3 { font-size: 1.5rem; color: #fff; margin-bottom: .5rem; }
.newsletter-bar-text p { color: rgba(255,255,255,.7); margin: 0; }
.newsletter-bar-form input, .newsletter-bar-form select { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.newsletter-bar-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-bar-form select option { background: var(--navy); color: #fff; }
.newsletter-bar-form input:focus, .newsletter-bar-form select:focus { border-color: var(--periwinkle); box-shadow: 0 0 0 3px rgba(116,142,255,.25); }
.newsletter-bar-form .form-privacy { color: rgba(255,255,255,.4); text-align: left; margin-top: .5rem; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: var(--space-3xl) 0 var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--space-xl); padding-bottom: var(--space-xl); border-bottom: 1px solid var(--border); }
.footer-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.footer-tagline { font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--navy); margin: var(--space-sm) 0 var(--space-xs); line-height: 1.4; }
.footer-mission { font-size: .875rem; color: var(--slate); line-height: 1.6; margin-bottom: var(--space-sm); }
.footer-credentials { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--space-sm); }
.credential-badge { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--lavender); color: var(--blue); padding: .25rem .625rem; border-radius: 100px; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--lavender); border-radius: var(--radius-sm); color: var(--blue); transition: background var(--transition), color var(--transition); margin-top: .5rem; }
.footer-social:hover { background: var(--blue); color: #fff; }
.footer-col h4 { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: var(--space-md); }
.footer-col ul { list-style: none; }
.footer-col li { padding: .375rem 0; border-bottom: 1px solid var(--border); }
.footer-col li:first-child { border-top: 1px solid var(--border); }
.footer-col a { font-size: .9rem; color: var(--slate); transition: color var(--transition); }
.footer-col a:hover { color: var(--blue); text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: var(--space-lg); flex-wrap: wrap; gap: var(--space-md); }
.footer-legal p { font-size: .8125rem; color: var(--slate); }
.footer-legal p:first-child { margin-bottom: .25rem; }
.footer-nav-bottom { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer-nav-bottom a { font-size: .8125rem; color: var(--slate); }
.footer-nav-bottom a:hover { color: var(--blue); text-decoration: none; }

/* ═══════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════ */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: var(--space-md); }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10,14,26,.6); backdrop-filter: blur(4px); }
.modal-content { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius-xl); padding: var(--space-xl); max-width: 520px; width: 100%; box-shadow: var(--shadow-modal); max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: var(--space-md); right: var(--space-md); width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--slate); cursor: pointer; transition: background var(--transition); }
.modal-close:hover { background: var(--lavender); color: var(--navy); }
.modal-resource-name { color: var(--blue); font-weight: 600; margin-bottom: var(--space-md); }

/* ═══════════════════════════════════════════
   CONTENT (page.php / single.php)
   ═══════════════════════════════════════════ */
.section-content { background: var(--bg); }
.section-why-management-accounting { background: var(--white); }
.section-why-management-accounting .container { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* ═══════════════════════════════════════════
   404
   ═══════════════════════════════════════════ */
.error-404-number { font-family: var(--font-display); font-size: 8rem; font-weight: 800; color: var(--lavender); line-height: 1; margin-bottom: .5rem; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════ */
.breadcrumbs { padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: .8125rem; color: var(--slate); }
.breadcrumbs a { color: var(--slate); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { margin: 0 .5rem; }
.breadcrumbs .current { color: var(--navy); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner, .founder-inner, .lead-capture-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .founder-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .book-cover-placeholder { max-width: 280px; }
  .newsletter-bar-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 5rem; }
  section { padding: var(--space-2xl) 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 68px 0 0 0; background: var(--white); z-index: 99; transform: translateX(100%); transition: transform var(--transition-slow); overflow-y: auto; padding: var(--space-md); flex-direction: column; justify-content: flex-start; align-items: stretch; }
  .site-nav.open { transform: translateX(0); }
  .nav-menu { flex-direction: column; gap: 0; }
  .nav-menu > .menu-item > a { padding: .875rem 0; border-bottom: 1px solid var(--border); border-radius: 0; width: 100%; }
  .dropdown { position: static; opacity: 1; pointer-events: all; transform: none; box-shadow: none; border: none; background: var(--lavender); border-radius: var(--radius-sm); margin-top: .25rem; display: none; }
  .menu-item.open > .dropdown { display: block; }
  .header-cta { display: none; }

  .solution-grid, .focus-grid, .audience-grid { grid-template-columns: 1fr; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .problem-stats { grid-template-columns: 1fr; }
  .resources-preview-grid { grid-template-columns: 1fr; }
  .frameworks-grid { grid-template-columns: 1fr; }
  .gap-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .workshop-types { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .service-body { grid-template-columns: 1fr; }
  .ejs-full-layer { grid-template-columns: 1fr; }
  .layer-activities ul { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions, .section-cta { flex-direction: column; align-items: flex-start; }
  .cta-actions { justify-content: center; align-items: center; }
}

@media (max-width: 480px) {
  .newsletter-bar-form .form-row { flex-direction: column; }
}
