/* TOKENS */
:root {
  --ink:        #3F2514;
  --ink-body:   #5C4F3D;
  --rust:       #8B5A35;
  --rust-light: #C28A5E;
  --rust-dark:  #7A4E2D;
  --gold:       #E3A132;
  --gold-light: #fdd163;
  --white:      #FFFFFF;
  --cream:      #F2EEE8;
  --dust:       #C8C2B8;
  --slate:      #7A8EA0;
  --dkslate:    #546D82;
  --dkblue:     #0D1B2A;
  --accent:     #A3BED6;
  --taupe:      #ADA383;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/*  RESET  */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {font-family: var(--font-body); background: var(--cream); color: var(--ink);  line-height: 1.7;
  overflow-x: hidden; font-size: clamp(1.1rem, 0.6071rem + 0.1369vw, 2.25rem);}
/*  TYPOGRAPHY  */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h2 {font-size: clamp(2.5rem, 1.9632rem + 0.1491vw, 4rem);}
h2.micro-to-multi {color: var(--white); margin-bottom: 1rem; width: 28ch}
h3 {font-size: clamp(1.9rem, 1.3274rem + 0.159vw, 3.5rem); display: inline-block; font-weight: 900; text-align: center; margin:1.75rem auto .75rem; padding-top:1.75rem; border-top:1px solid var(--rust-light)}
h3 span {font-size: clamp(1.9rem, 1.5064rem + 0.1093vw, 3rem); display: inline-block; font-weight: 900; text-align: center; color: var(--rust); border-bottom: 1px solid var(--dust); width: 1rem;}
/*  HAMBURGER (mobile only, hidden by default)  */
.nav-links {display: none}
.hamburger {display: flex;  flex-direction: column;  gap: 5px;  background: none;  border: none;
  cursor: pointer;  padding:.25rem;}
.hamburger span {display: block;  width: 1.5rem; height: 0.125rem;  background: var(--cream);
  border-radius: 0.125rem; transition: transform 0.3s, opacity 0.3s;  transform-origin: center;}
.hamburger.open span:first-child  { transform: translateY(7px) rotate(45deg); background: var(--cream);}
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); background: var(--cream);}
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--cream)}
/* Hide the original nav hamburger while the overlay is open */
body.menu-open #hamburger {opacity: 0; visibility: hidden; pointer-events: none}
/*  MOBILE OVERLAY  */
.mobile-overlay {position: fixed; inset: 0;  z-index: 999; overflow-y: auto; background: var(--dkblue);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease}
.mobile-overlay.open {opacity: 1; visibility:visible; pointer-events: auto}
.mobile-overlay .nav-logo {position: absolute; top: 1rem; left: 1.5rem; z-index: 1000}
.mobile-overlay .nav-logo img {display: block; width: auto; max-width: 10rem; height: auto}
/* X BUTTON INSIDE OVERLAY */
.overlay-close {position: fixed; top: 1.8rem; right: 2.6rem;  left: auto;  z-index: 1001; border:1px solid #fff; padding: .5rem .25rem}
.overlay-inner {display: flex; flex-direction: column; padding: 5.5rem 2rem 2rem}
.overlay-inner a {padding: 0.7rem 0; color: var(--cream); text-align:center; text-decoration: none; border-bottom: 0.5px solid rgba(255, 255, 255, 0.08); transition: color 0.2s}
.overlay-inner a:hover {color: var(--gold)}
.overlay-social {
  margin-top: 1.75rem;
  text-align: center;
}
.overlay-social-label {display: block; margin-bottom: 0.65rem; color: var(--cream);  font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7;}
.overlay-social-links {display: flex; justify-content: center; gap: 1.25rem;}
.overlay-social-links a {padding: 0;  color: var(--gold); font-size: 0.95rem; font-weight: 700; border-bottom: none}
.overlay-social-links a:hover {color: var(--cream)}

@media (min-width: 1024px) {
  .hamburger {display: none}
  nav, .nav-links {display: flex; }
}
  /*  NAV  */
nav {position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(13,27,42,0.96);  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;  height: 5.5rem; border-bottom: 1px solid rgba(232,160,32,0.2)}
.nav-logo img {max-width: 14rem; height: auto; padding: .75rem}
.nav-links {gap: 2rem; list-style: none; margin-top: 2rem}
.nav-links a {color: rgba(255,255,255,0.95); text-decoration: none; font-size: clamp(0.875rem, 0.7813rem + 0.25vw, 1rem);  font-weight: 500;  letter-spacing: 0.02em;  transition: color 0.2s}
.nav-links a:hover {color: var(--gold-light)}
.nav-cta {background: var(--rust); color: white !important;  padding: 0.4rem 1.1rem;
  border-radius: 4px;  font-weight: 600 !important; transition: background 0.2s !important}
.nav-cta:hover {background: var(--rust-light) !important}


/*  HERO  */
.hero {min-height: 90vh;
  background: var(--dkblue);
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(27,138,107,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(232,160,32,0.1) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero inner — mobile first: single column */
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero-left { display: flex; flex-direction: column; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 3rem auto 1rem; }

.btn-primary {
  background: var(--rust-dark);
  color: white;
  padding: 0.85rem 2rem;
  border: 3px solid #fff;
  border-radius: 6px;
  outline: 2px solid var(--gold-light);
  font-weight: 600; font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--ink)}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.95);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.85);
  font-weight: 500; font-size: 1.1rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: white; }

.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  border-top: 0px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/*  HERO RIGHT — micro-services card  */
.hero-right {
  border-top: 1px solid var(--dust);
  padding: 1.5rem 0 0;
}
.hero-right-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: 0.75rem;
}
.hero-right h2 {width: 25ch; font-size: clamp(1.2rem, 2.5vw, 1.75rem);  color: var(--accent);
  line-height: 1.25;  margin-bottom: 1rem;  letter-spacing: .02em;}
.hero-right-intro {
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.hero-right-intro strong { color: var(--gold-light); font-weight: 600; }

.validation-list {background: var(--white); list-style: none; padding: 2rem; margin: 0; }
.validation-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  color: var(--dkblue);
  line-height: 1.6;
}
.validation-list li:last-child { border-bottom: none; padding-bottom: 0; }
.val-icon {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  background: rgba(173,115,73,0.2);
  border: 1px solid rgba(173,115,73,0.35);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; margin-top: 0.1rem;
}
.val-source {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.2rem;
  letter-spacing: 0.03em;
}

/*  SECTIONS  */
section { padding: 5rem 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {font-size: clamp(1rem, 0.6779rem + 0.0895vw, 1.9rem); font-weight: 600; letter-spacing: 0.1em;  text-transform: uppercase; color: var(--rust);  margin-bottom: 0.75rem; display: block}
.sme-user-gen-overview img {width: 80%; max-width: 700px; height: auto; box-shadow: 1px 1px 9px 3px rgba(0,0,0,0.20); margin: 0 auto}
.brand-experience-plan {text-align:center;  }
.brand-experience-plan img {width: 100%; max-width: 768px; margin: 1.5rem auto; text-align:center; box-shadow: 1px 1px 9px 3px rgba(0,0,0,0.20)}
.section-body {font-size: 1.05rem; color: #000; line-height: 1.8}
.hero .section-label, .hero-left .section-label {color: var(--gold-light)}
/*  FOUNDER  */
.founder-section h2 {color: var(--white)}
.founder-section { background: var(--dkblue); }
.founder-section .section-title { color: var(--white); }
.founder-section .section-label { color: var(--gold-light); }
.founder-bio {background: var(--cream); padding: 2rem; border-radius: 0.5rem}
.founder-bio p { margin-bottom: 1rem; }
.sme-user-gen-overview {margin: 2.5rem auto 1.5rem; text-align:center}

@media (min-width: 1024px) {
  .sme-user-gen-overview {float:none; margin: 1.5rem auto 1rem}
  .sme-user-gen-overview img {width: 80%; max-width: 800px; height: auto; box-shadow: 1px 1px 9px 3px rgba(0,0,0,0.20); margin: 0 auto}
}
/*  ABOUT  */
#about {background: var(--white); }
.about-grid {display: grid; grid-template-columns: 1fr; gap: 0.5rem; align-items: center}
.about-text p { color: var(--white); line-height: 1.85; margin-bottom: 1.25rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-callout {color: white; position: relative;  overflow: hidden; margin: 0 auto; width: 80%; max-width: 1300px}
.vision {margin: 1.5rem auto}
.about-callout blockquote {font-size: clamp(1.4rem, 0.7143rem + 0.1905vw, 3rem); letter-spacing: 0.03em; font-style: italic; line-height: 1.6;
  color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1}
.about-callout cite {
  font-size: 0.8rem; color: var(--gold-light);
  font-style: normal; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--dkblue);
  padding: .5rem .75rem;
}
@media (min-width: 768px){

}
@media (min-width: 1024px){
}
/*  strategy  */
.platform-strategy { background: var(--dkblue); }
.platform-strategy .section-label {width: 20ch; background: rgba(255,255,255,.9); text-align:center}
.strategy {width: 100%; max-width: 1100px; margin: 0 auto;background: rgba(255,255,255,.95)}
.strategy .section-label {}
.strategy-cols {display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem}
.strategy p.hero-right-intro {color:var(--white)}
.strategy p.hero-right-intro strong {color:var(--white); font-style:italic}
.feature-card {
  background: var(--white);
  border-radius: 12px; padding: 1.75rem;
  border: 1px solid var(--dust);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--rust);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.feature-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 44px; height: 44px;
  background: rgba(173,115,73,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; color: var(--ink); padding-top:0; margin: 0 0 0.75rem 0; border:0
}
.feature-card p {color: var(--dkslate); line-height: 1.7}

/*  PRICING  and KPIs*/
#pricing { background: var(--dkblue); }
#pricing .section-title { color: var(--white);}
.platform-strategy .section-label { color: var(--cream); background:var(--dkblue)}
#pricing .section-body { color: rgba(255,255,255,0.55); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.price-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 2rem;
  transition: border-color 0.2s;
}
.price-card.featured { background: var(--rust-dark); border-color: var(--gold); }
.price-card:not(.featured):hover { border-color: rgba(255,255,255,0.35); }
.price-tier {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 0.75rem; display: block;
}
.price-card.featured .price-tier, .kpis p, .kpis h2 { color: rgba(255,255,255,0.8); }
.kpis h2 {margin: 1.5rem 0 1.25rem 0; width: 18ch}
 .kpis h3 {color:var(--gold-light); letter-spacing:.04em}
 .kpis ul {margin-left: 3rem}
 .kpis li {color: var(--white)}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.25rem; color: white;
  line-height: 1; margin-bottom: 0.5rem;
}
.price-desc { font-size: 0.85rem; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.9); }
.price-features { list-style: none; }
.price-features li {
  font-size: 0.875rem; color: rgba(255,255,255,0.9);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.price-card.featured .price-features li { color: rgba(255,255,255,1); }
.price-features li::before { content: '✓'; color: var(--rust-light); font-weight: 700; flex-shrink: 0; }
.price-card.featured .price-features li::before { color: var(--gold-light); }

/*  DIAGRAMS  */
.innovation { background: var(--white); }
.diagram-block {background: var(--white);
  margin-top: 2.5rem; text-align:center;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--dust);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.diagram-block img {width: 100%; display: block; padding: 1rem; max-width: 768px; margin:1rem auto; text-align:center}
.diagram-caption {
  background: var(--cream); padding: 0.75rem 1.25rem;
  font-size: 0.8rem; color: var(--dkslate);
  font-style: italic; border-top: 1px solid var(--dust);
}

/*  SUCCESS FACTORS  */
#success { background: var(--cream); }
.success-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.success-card {
  background: var(--white);
  border-radius: 12px; padding: 1.75rem;
  border-left: 4px solid var(--rust);
}
.success-card h3 {
  font-family: var(--font-display);
  color: var(--ink); margin-bottom: 0.75rem;
}
.success-card p { font-size: 0.9rem; color: var(--dkslate); line-height: 1.7; }
.success-card ul { margin-top: 0.75rem; padding-left: 1rem; }
.success-card ul li { font-size: 0.85rem; color: var(--dkslate); margin-bottom: 0.3rem; }

/*  OPEN SOURCE  */
#opensource { background: var(--ink); }
#opensource .section-title { color: white; }
#opensource .section-label { color: var(--gold-light); }
.oss-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.oss-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 1.75rem;
}
.oss-name {
  font-family: var(--font-display);
  color: var(--gold-light); margin-bottom: 0.5rem;
}
.oss-card p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.oss-badge {
  display: inline-block; margin-top: 0.75rem;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rust-light); border: 1px solid var(--rust);
  padding: 0.2rem 0.6rem; border-radius: 100px;
}

/*  BLUEPRINT  */
#blueprint { background: var(--cream); }
h2.swot-by-scenario {margin-top: 5rem}
/*  RESEARCH  STATS  */
#research { background: var(--dkblue); }
#research .section-label { color: var(--gold-light); }
#research .section-title { color: var(--white); }
#research .section-body { color: rgba(255,255,255,0.6); margin-bottom: 3rem; }

.stats-grid {display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem;}
.stat-card { background: rgba(255,255,255,0.04); border-radius: 12px;  padding: 1.75rem;
  border: 4px solid var(--rust); transition: border-color 0.2s, background 0.2s}
.stat-card:hover {background: rgba(255,255,255,0.07); border-color: var(--gold)}
.stat-card-num {font-family: var(--font-display); font-size: 2.5rem;  color: var(--gold);
  line-height: 1; margin-bottom: 0.5rem}
.stat-card-claim {font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 0.75rem}
.stat-card-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(227,161,50,0.3);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}
.stat-card-source:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}
.stat-card-source::after { content: ' →'; }

/*  FOOTER  */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 3rem 5%;
  text-align: center;
  font-size: 0.85rem;
}
footer strong { color: var(--gold-light); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-links {
  display: flex; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  list-style: none; margin-bottom: 1.5rem;
}
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

/*  ANIMATIONS  */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   BREAKPOINTS — all in one place, no duplicates
   ============================================================ */
  .hamburger { display: flex; }
.about-grid .section-label {padding-top: 3rem}
@media (min-width: 768px) {

}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-right { border-top: none; border-top: 1px solid var(--dkslate); padding: 2rem 0 0 0; }

  .strategy-cols { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .success-grid { grid-template-columns: repeat(2, 1fr); }
  .oss-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-right { border-top: none; border-left: 1px solid var(--dkslate); padding: 2rem 0 0 2.5rem}
  /*.about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }*/
  .about-grid { grid-template-columns: 1fr; gap: 3rem}
  .strategy-cols { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .success-grid { grid-template-columns: repeat(2, 1fr); }
  .oss-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}