/* ============================================================
   AENIGMA — Shared Stylesheet
============================================================ */

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

:root {
  --navy:       #0D1B2A;
  --charcoal:   #2C3E50;
  --warm-gray:  #6B7280;
  --light-gray: #F5F4F2;
  --white:      #FFFFFF;
  --purple:     #6B4FBB;
  --blue:       #2563EB;
  --gradient:   linear-gradient(135deg, #6B4FBB 0%, #2563EB 100%);
  --border:     #E5E7EB;
  --text-body:  #374151;
  --max-w:      960px;
  --section-pad: 96px 24px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}

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

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

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-light   { background: var(--white); color: var(--navy); }

/* ---- Labels & Headings ---- */
.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 12px;
}
.section-headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  max-width: 600px;
}
.section-intro {
  font-size: 17px;
  color: var(--charcoal);
  max-width: 620px;
  margin-bottom: 64px;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================================
   NAVIGATION
============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.5px;
}

.logo-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0 24px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--charcoal);
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.nav-active {
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 1px;
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  padding: 9px 20px;
  border-radius: 3px;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.82; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ============================================================
   INNER PAGE HERO
============================================================ */
.inner-hero {
  padding: 80px 24px 72px;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
}
.inner-hero .container { max-width: 720px; }
.inner-hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 500; margin-bottom: 20px; }
.inner-hero p  { font-size: 18px; color: var(--charcoal); font-weight: 300; line-height: 1.7; max-width: 580px; }

/* ============================================================
   CLOSING CTA BAND
============================================================ */
.closing-cta {
  padding: var(--section-pad);
  text-align: center;
}
.closing-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 500; max-width: 580px; margin: 0 auto 20px; }
.closing-cta p  { font-size: 17px; color: var(--charcoal); max-width: 480px; margin: 0 auto 40px; font-weight: 300; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand .logo-wordmark { color: rgba(255,255,255,0.85); margin-bottom: 8px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 480px; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 24px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.45); transition: color 0.15s; text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-meta {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   FADE-IN
============================================================ */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   HOME — HERO
============================================================ */
.hero { padding: 120px 24px 100px; background: var(--light-gray); text-align: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--warm-gray); margin-bottom: 24px;
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 500; max-width: 780px; margin: 0 auto 24px; }
.hero-sub { font-size: 18px; color: var(--charcoal); max-width: 560px; margin: 0 auto 40px; font-weight: 300; line-height: 1.65; }
.hero-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.round-one-cue { margin-top: 56px; font-size: 13px; color: var(--warm-gray); letter-spacing: 0.02em; }
.round-one-cue strong { color: var(--charcoal); font-weight: 500; }

/* HOME — Credibility Strip */
.credibility-strip { padding: 48px 24px; border-bottom: 1px solid var(--border); text-align: center; }
.credibility-strip p { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 20px; }
.logo-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.logo-row span { font-size: 15px; font-weight: 500; color: var(--charcoal); opacity: 0.55; letter-spacing: 0.03em; }

/* HOME — Philosophy */
.philosophy { padding: var(--section-pad); }
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.principle { border-top: 2px solid var(--border); padding-top: 24px; }
.principle-icon {
  width: 40px; height: 40px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; border-radius: 8px;
  background: linear-gradient(135deg, rgba(107,79,187,0.08), rgba(37,99,235,0.08));
}
.principle-icon svg { width: 20px; height: 20px; }
.principle h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--navy); font-family: 'Inter', sans-serif; }
.principle p  { font-size: 14px; color: var(--warm-gray); line-height: 1.65; }

/* HOME — Seller Teaser */
.seller-teaser { background: var(--navy); color: var(--white); padding: var(--section-pad); }
.seller-teaser .section-label   { color: rgba(255,255,255,0.45); }
.seller-teaser .section-headline { color: var(--white); max-width: 640px; }
.seller-teaser .section-intro   { color: rgba(255,255,255,0.7); max-width: 600px; }
.promise-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 48px; }
.promise-list li { display: flex; gap: 12px; align-items: flex-start; }
.promise-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.promise-check svg { width: 10px; height: 10px; }
.promise-list p { font-size: 15px; color: rgba(255,255,255,0.8); }

/* HOME — Process Preview */
.process-preview { padding: var(--section-pad); background: var(--light-gray); }
.process-steps { display: flex; gap: 0; overflow-x: auto; padding-bottom: 8px; margin-top: 56px; }
.step { flex: 1; min-width: 130px; padding: 0 16px; text-align: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: var(--navy); margin: 0 auto 12px;
}
.step-num.active-step { background: var(--gradient); border-color: transparent; color: white; }
.step h4 { font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif; color: var(--navy); margin-bottom: 4px; }
.step p  { font-size: 12px; color: var(--warm-gray); }

/* ============================================================
   WHY SELL
============================================================ */
.promises-section { padding: var(--section-pad); }
.promise-card { border-top: 1px solid var(--border); padding: 48px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.promise-card:last-child { border-bottom: 1px solid var(--border); }
.promise-label { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-gray); }
.promise-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.promise-card p  { font-size: 16px; color: var(--charcoal); line-height: 1.75; font-weight: 300; }

/* ============================================================
   FOUNDER
============================================================ */
.founder-section { padding: var(--section-pad); }
.founder-layout { display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: start; }
.founder-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden;
  background: var(--light-gray);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-bio h2   { font-size: 32px; font-weight: 500; margin-bottom: 6px; }
.founder-title    { font-size: 14px; color: var(--warm-gray); margin-bottom: 32px; }
.founder-bio p    { font-size: 16px; color: var(--charcoal); font-weight: 300; line-height: 1.8; margin-bottom: 20px; }
.founder-credentials { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.founder-credentials h4 {
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--warm-gray); margin-bottom: 20px; font-family: 'Inter', sans-serif;
}
.credential-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.credential-list li { font-size: 15px; color: var(--text-body); padding-left: 16px; border-left: 3px solid var(--purple); line-height: 1.5; }

/* ============================================================
   ACQUISITION CRITERIA
============================================================ */
.criteria-section { padding: var(--section-pad); }
.criteria-table { width: 100%; border-collapse: collapse; margin-bottom: 56px; font-size: 15px; }
.criteria-table th {
  text-align: left; font-weight: 500; font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--warm-gray); padding: 12px 16px; border-bottom: 2px solid var(--border);
}
.criteria-table td { padding: 20px 16px; border-bottom: 1px solid var(--border); color: var(--text-body); vertical-align: top; }
.criteria-table tr:hover td { background: var(--light-gray); }
.criteria-table td:first-child { font-weight: 500; color: var(--navy); white-space: nowrap; width: 200px; }
.avoid-section { background: var(--light-gray); border-radius: 4px; padding: 40px; margin-bottom: 48px; }
.avoid-section h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.avoid-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.avoid-list li { font-size: 14px; color: var(--charcoal); padding-left: 20px; position: relative; }
.avoid-list li::before { content: '—'; position: absolute; left: 0; color: var(--warm-gray); }
.download-bar { display: flex; align-items: center; gap: 16px; padding: 24px 32px; border: 1px solid var(--border); border-radius: 4px; }
.download-bar p { font-size: 15px; color: var(--charcoal); flex: 1; }
.download-bar a { font-size: 14px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--navy); }

/* ============================================================
   INDUSTRIES
============================================================ */
.industries-section { padding: var(--section-pad); }
.industry-cards { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.industry-card { background: var(--white); padding: 40px; display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; }
.industry-card h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: var(--navy); }
.industry-card p  { font-size: 15px; color: var(--charcoal); font-weight: 300; line-height: 1.7; }

/* ============================================================
   PROCESS
============================================================ */
.process-section { padding: var(--section-pad); }
.round-one-box {
  background: var(--light-gray); border-left: 3px solid var(--purple);
  padding: 32px 40px; margin-bottom: 64px; border-radius: 0 4px 4px 0;
}
.round-one-box h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.round-one-box p  { font-size: 15px; color: var(--charcoal); font-weight: 300; line-height: 1.7; }
.process-timeline { position: relative; padding-left: 48px; }
.process-timeline::before { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 56px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -41px; top: 4px; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--navy); font-family: 'Inter', sans-serif;
}
.timeline-dot.current { background: var(--gradient); border-color: transparent; color: white; }
.timeline-item h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.timeline-item .timeframe {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--warm-gray); margin-bottom: 12px;
}
.timeline-item p { font-size: 15px; color: var(--charcoal); font-weight: 300; line-height: 1.7; max-width: 560px; }

/* ============================================================
   RESOURCES
============================================================ */
.resources-section { padding: var(--section-pad); }
.resource-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.resource-card { border: 1px solid var(--border); border-radius: 4px; padding: 36px; transition: box-shadow 0.2s ease; }
.resource-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.resource-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.resource-card h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.resource-card p  { font-size: 14px; color: var(--warm-gray); line-height: 1.65; margin-bottom: 24px; }
.resource-link { font-size: 14px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: border-color 0.15s; }
.resource-link:hover { border-color: var(--navy); }

/* ============================================================
   BLOG
============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 56px; }
.blog-card { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: box-shadow 0.2s ease; }
.blog-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.blog-card-body { padding: 32px; }
.blog-card .resource-tag { margin-bottom: 10px; }
.blog-card h3 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.blog-card p  { font-size: 14px; color: var(--warm-gray); line-height: 1.65; margin-bottom: 20px; }
.blog-card a.resource-link { font-size: 14px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--border); }

.article-hero { padding: 80px 24px 64px; background: var(--light-gray); border-bottom: 1px solid var(--border); }
.article-hero .container { max-width: 720px; }
.article-meta { font-size: 13px; color: var(--warm-gray); margin-bottom: 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.article-hero h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 500; margin-bottom: 20px; line-height: 1.2; }
.article-hero .lead { font-size: 18px; color: var(--charcoal); font-weight: 300; line-height: 1.7; }
.article-body { padding: 72px 24px; }
.article-body .container { max-width: 720px; }
.article-body h2 { font-size: 24px; font-weight: 500; color: var(--navy); margin: 48px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); margin: 32px 0 10px; }
.article-body p  { font-size: 16px; color: var(--charcoal); font-weight: 300; line-height: 1.8; margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 16px; color: var(--charcoal); font-weight: 300; line-height: 1.7; margin-bottom: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--purple); padding: 16px 24px; margin: 32px 0;
  background: var(--light-gray); border-radius: 0 4px 4px 0;
}
.article-body blockquote p { margin-bottom: 0; font-style: italic; }
.article-nav { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   CONTACT
============================================================ */
.contact-section { padding: var(--section-pad); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.contact-info p  { font-size: 15px; color: var(--charcoal); margin-bottom: 24px; line-height: 1.6; }
.contact-info a  { color: var(--navy); border-bottom: 1px solid var(--border); }
.contact-divider { height: 1px; background: var(--border); margin: 32px 0; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 500; color: var(--charcoal); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 3px;
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text-body);
  background: var(--white); transition: border-color 0.15s; outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--warm-gray); margin-top: 12px; line-height: 1.5; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 820px) {
  :root { --section-pad: 64px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 20px; z-index: 99;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .hamburger { display: flex; }
  .promise-card { grid-template-columns: 1fr; gap: 16px; }
  .founder-layout { grid-template-columns: 1fr; }
  .founder-photo { aspect-ratio: 4/3; max-width: 320px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .industry-card { grid-template-columns: 1fr; gap: 12px; }
  .footer-links { gap: 6px 16px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .process-steps { gap: 0; }
  .step { min-wid