/* =========================================================
   GrowthPartner.asia — Design System & Styles
   ========================================================= */

:root {
  /* Colour tokens — Wood/Fire palette per BRAND-GUIDE.md (Dandexter Asia Sdn Bhd) */
  --navy: #174A2A;        /* Wood / primary — Deep Forest */
  --navy-soft: #1E5A33;   /* hover state, one step toward Leaf Green */
  --green: #2F7D45;       /* Wood / growth — Leaf Green */
  --young-leaf: #49A85B;  /* Wood / transition — Young Leaf (accent depth, growth gradient) */
  --gold: #D85A32;        /* Fire / accent — Ember Orange. Use sparingly, per guide. */
  --gold-deep: #B34522;   /* Ember Orange, darkened — button fills needing white text at AA contrast (5.5:1) */
  --gold-on-dark: #E9A28B; /* Ember Orange, lightened — gold text on navy/dark photo needing AA contrast (4.9:1) */
  --white: #FFFFFF;

  /* Supporting neutrals — not specified in the brand guide (which only defines
     White as background); introduced to keep the multi-section layout legible.
     Sage-tinted so they read as part of the Wood family, not a foreign grey. */
  --ivory: #F3F6F3;
  --slate: #55625A;
  --text: #16241C;
  --border-ivory: #E3E9E4;
  --border-light: #E5EAE6;

  /* Typography — brand typeface per guide, with system fallbacks */
  --font-head: 'Montserrat', 'Avenir Next', Arial, sans-serif;
  --font-body: 'Montserrat', 'Avenir Next', Arial, sans-serif;

  /* Spacing / layout */
  --container-width: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 24px rgba(23, 74, 42, 0.08);
  --shadow-modal: 0 20px 60px rgba(23, 74, 42, 0.25);
  --transition: 220ms ease;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

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

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-head);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  border: 1.5px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-gold {
  background: var(--gold-deep);
  color: var(--white);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(216,90,50,0.35); }
.btn-block { width: 100%; border-radius: var(--radius-sm); }

.link-cta {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--green);
  font-family: var(--font-head);
  font-size: 15px;
}
.link-cta:hover { text-decoration: underline; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(243, 246, 243, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-ivory);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-mark { display: flex; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
/* Logo hierarchy per BRAND-GUIDE.md: GrowthPartner is the master brand (one
   solid, bold unit); .asia is the regional descriptor and stays smaller and
   lighter, on the same line, never split into separate colours. */
.logo-master { color: var(--navy); font-weight: 800; }
.logo-region { color: var(--slate); font-weight: 500; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-nav ul {
  display: flex;
  gap: 12px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--navy); }
/* .nav-cta lives inside .main-nav (so it stacks naturally in the mobile
   dropdown) but must keep its button styling, not the plain-link styling
   above — restore it with higher specificity. */
.main-nav a.nav-cta,
.main-nav a.nav-cta:hover {
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-cta {
  padding: 11px 18px;
  font-size: 13px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* =========================================================
   Sections — shared
   ========================================================= */
.section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--green); }
.eyebrow-light { color: var(--gold); }

/* max-width uses ch (character-width) instead of a fixed px value, wrapped in
   min() against 100% — this scales with the heading's own font metrics and
   never exceeds its container, so it adapts fluidly at any screen size
   instead of leaving a fixed, disproportionate gap on wide monitors. */
h2 { font-size: 40px; max-width: min(100%, 50ch); }
.on-navy { color: var(--white); }

.section-intro {
  max-width: min(100%, 95ch);
  color: var(--slate);
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 48px;
}
.on-navy-sub { color: #C7D9CC; }

.closing-statement, .highlight-statement {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  max-width: min(100%, 77ch);
  margin-top: 48px;
}
.section-navy .highlight-statement { color: var(--white); }

.investment-note {
  margin-top: 40px;
  font-style: italic;
  color: var(--slate);
}

.micro { font-size: 14px; color: var(--slate); }
/* .micro and .on-navy-sub have equal specificity (0,1,0 each), so combining
   them on one element left the cascade order decide the winner — .micro's
   dark colour was overriding .on-navy-sub's light one on dark backgrounds,
   making the text unreadable. This compound rule (0,2,0) always wins. */
.micro.on-navy-sub { color: #C7D9CC; }

.center-cta { text-align: center; margin-top: 40px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: linear-gradient(180deg, var(--ivory) 0%, #FBF9F3 100%);
  padding: 88px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 56px;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: 18px;
  color: var(--slate);
  max-width: 560px;
}
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 18px;
}
.hero-visual { width: 100%; }

/* =========================================================
   Cards / Grids
   ========================================================= */
.card-grid {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.problem-card {
  background: var(--white);
  border: 1px solid var(--border-ivory);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(23,74,42,0.1); }
.problem-card h3 { font-size: 20px; color: var(--navy); }
.problem-card p { color: var(--slate); margin-bottom: 0; font-size: 15.5px; }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.compare-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.compare-card h3 { color: var(--white); font-size: 19px; }
.compare-card p { color: #C7D9CC; margin-bottom: 0; font-size: 15px; }
.compare-card-featured {
  background: var(--gold);
  border-color: var(--gold);
}
.compare-card-featured h3, .compare-card-featured p { color: var(--navy); }

.system-diagram {
  max-width: 620px;
  margin: 40px auto 0;
}
.system-node { cursor: pointer; }
.system-node circle:not(.node-hit) { transition: r 160ms ease, fill 160ms ease; }
.system-node:hover circle:not(.node-hit),
.system-node:focus-visible circle:not(.node-hit) { r: 12; }
.system-node.is-active circle:not(.node-hit) { r: 13; fill: var(--navy); }
.system-node:focus-visible { outline: none; }
.system-node:focus-visible .node-hit { stroke: var(--green); stroke-width: 2; fill: rgba(47,125,69,0.08); }

.system-detail {
  max-width: 560px;
  margin: 28px auto 0;
  background: var(--white);
  border: 1px solid var(--border-ivory);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  text-align: center;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.system-detail.is-visible { opacity: 1; }
.system-detail-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 16px;
}
.system-detail-text {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 0;
}

.service-card {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-index {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.service-card h3 { font-size: 20px; }
.service-card p { color: var(--slate); font-size: 15px; }
.scope-list { margin: 14px 0 8px; }
.scope-list li {
  font-size: 14px;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.model-card {
  background: var(--white);
  border: 1px solid var(--border-ivory);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.model-card h3 { font-size: 20px; }
.model-card p { color: var(--slate); font-size: 15px; }
.model-card .model-meta {
  color: var(--green);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  margin: -2px 0 12px;
}
.model-label {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 16px 0 6px;
}

/* =========================================================
   About / Founder
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.portrait-frame {
  aspect-ratio: 900 / 1100;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.founder-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.founder-title { color: var(--green); font-weight: 600; margin-bottom: 20px; }
.about-copy p { color: var(--text); }
.founder-quote {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 28px 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
}
.credibility-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 24px;
}
.credibility-list li {
  font-size: 14.5px;
  padding-left: 18px;
  position: relative;
  color: var(--slate);
}
.credibility-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* =========================================================
   Fit section
   ========================================================= */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.fit-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.15);
}
.fit-card h3 { color: var(--white); font-size: 19px; margin-bottom: 18px; }
.fit-card li {
  color: #C7D9CC;
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  margin-bottom: 12px;
}
.fit-yes li::before { content: '+'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.fit-no li::before { content: '−'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* =========================================================
   Scorecard
   ========================================================= */
.scorecard-grid { max-width: 720px; }
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 24px 0 36px;
}
.two-col-list li {
  font-size: 15px;
  padding-left: 18px;
  position: relative;
  color: var(--text);
}
.two-col-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* =========================================================
   Insights
   ========================================================= */
.insight-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(23,74,42,0.12); }
.insight-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.insight-card h3 { font-size: 18px; padding: 22px 22px 0; }
.insight-card p { font-size: 14.5px; color: var(--slate); padding: 10px 22px 22px; margin-bottom: 0; }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta { text-align: center; }
.final-cta h2 { margin-left: auto; margin-right: auto; }
.final-cta .section-intro { margin-left: auto; margin-right: auto; }
.final-cta .micro { margin-top: 18px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: #C7D9CC;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { margin-bottom: 10px; }
.footer-logo .logo-master { color: var(--white); }
.footer-logo .logo-region { color: #B7C9BC; }
.footer-endorsement {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ABBA2;
  margin: 0 0 18px;
}
.footer-tagline { color: #A9C7B2; font-size: 14.5px; }
.footer-links li { margin-bottom: 10px; font-size: 14.5px; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { margin-bottom: 10px; font-size: 14.5px; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  padding: 22px 24px;
  font-size: 13px;
  color: #9FB6A7;
}

/* =========================================================
   Modals / Forms
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 74, 42, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  padding: 44px 40px;
  position: relative;
  box-shadow: var(--shadow-modal);
  transform: translateY(12px);
  transition: transform var(--transition);
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--slate);
}
.modal-close:hover { color: var(--navy); }
.modal h2 { font-size: 26px; }
.modal-sub { color: var(--slate); margin-bottom: 28px; }

.site-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-full { grid-column: 1 / -1; }
.site-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-head);
}
.site-form input,
.site-form select,
.site-form textarea {
  padding: 11px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--white);
}
.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}
.site-form input:invalid:not(:placeholder-shown),
.site-form textarea:invalid:not(:placeholder-shown) {
  border-color: #C05A5A;
}
.consent-row { margin-top: 6px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--slate);
}
.checkbox-label input { margin-top: 3px; }
.form-confirmation {
  grid-column: 1 / -1;
  background: #E9F1EA;
  color: var(--green);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 500;
}
.form-confirmation a { color: inherit; text-decoration: underline; }
.form-helper {
  color: var(--slate);
  font-size: 12.5px;
  margin: -8px 0 0;
}
.checkbox-label a { color: var(--green); text-decoration: underline; }

/* =========================================================
   Proof strip
   ========================================================= */
.proof-strip {
  background: var(--white);
  border-top: 1px solid var(--border-ivory);
  border-bottom: 1px solid var(--border-ivory);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 24px;
  padding-bottom: 24px;
}
.proof-grid div { padding: 4px 24px; border-left: 1px solid var(--border-ivory); }
.proof-grid div:first-child { border-left: 0; padding-left: 0; }
.proof-grid strong,
.proof-grid span { display: block; }
.proof-grid strong { color: var(--navy); font-family: var(--font-head); font-size: 18px; }
.proof-grid span { color: var(--slate); font-size: 12.5px; margin-top: 4px; }

/* =========================================================
   Accordion (progressive disclosure — used to shorten dense
   lists by default while keeping full detail one click away)
   ========================================================= */
.accordion-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 10px 0 0;
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.accordion-trigger .accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  line-height: 1;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms ease;
}
.accordion-panel.is-open { max-height: 600px; }
.accordion-panel .scope-list { padding-top: 10px; }

/* =========================================================
   Interactive Growth Scorecard quiz
   ========================================================= */
.quiz-wrap { max-width: 640px; margin: 0 auto; }
.quiz-progress {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 36px;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--green);
  width: 10%;
  transition: width 320ms ease;
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }
.quiz-meta {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 10px;
}
.quiz-question {
  font-family: var(--font-head);
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 22px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option {
  text-align: left;
  padding: 15px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  font-family: var(--font-body);
}
.quiz-option:hover { border-color: var(--green); }
.quiz-option.is-selected {
  border-color: var(--green);
  background: #E9F1EA;
  font-weight: 600;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}
.quiz-nav .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.quiz-result { text-align: center; }
.quiz-result-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.quiz-result h3 { font-size: 27px; }
.quiz-result p { color: var(--slate); max-width: 520px; margin: 0 auto 24px; }
.quiz-restart {
  font-size: 13.5px;
  color: var(--slate);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  margin-top: 14px;
  font-family: var(--font-body);
}

/* =========================================================
   Subpages — hero banner, breadcrumb, article layout
   ========================================================= */
.page-hero {
  position: relative;
  background: url('../assets/page-hero-bg.jpg') center/cover no-repeat;
  padding: 76px 0 64px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(23, 74, 42, 0.35);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #C7D9CC;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gold-on-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: #6C7A90; }
.page-hero h1 {
  color: var(--white);
  font-size: 46px;
  max-width: 760px;
}
.page-hero .page-hero-sub {
  color: #DCE1EA;
  font-size: 18px;
  max-width: 640px;
  margin-top: 16px;
}

.breadcrumb-light { color: var(--slate); }
.breadcrumb-light a { color: var(--green); }
.breadcrumb-light .sep { color: var(--border-ivory); }

.page-section { padding: 80px 0; }

.scope-block {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 32px 30px;
  margin-top: 32px;
}
.scope-block h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 16px;
}

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.article-meta {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 8px;
}
.article-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 {
  font-size: 26px;
  margin-top: 1.6em;
}
.article-body p { margin-bottom: 1.2em; }
.article-body ul { margin: 0 0 1.2em; padding-left: 20px; list-style: disc; }
.article-body li { margin-bottom: 8px; }
.article-pullquote {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 2em 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 20px;
  color: var(--navy);
}
.article-cta {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  margin-top: 3em;
}
.article-cta h3 { color: var(--white); font-size: 20px; }
.article-cta p { color: #C7D9CC; margin-bottom: 20px; }

.related-links {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 14.5px;
}
.related-links a { color: var(--green); font-weight: 600; }
.related-links a:hover { text-decoration: underline; }
.legal-copy h2 { margin-top: 38px; }
.legal-note {
  margin-top: 40px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  font-size: 14px;
}

@media (max-width: 640px) {
  .page-hero h1 { font-size: 32px; }
  .page-hero { padding: 56px 0 48px; }
  .article-body { font-size: 16.5px; }
  .related-links { flex-direction: column; gap: 10px; }
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive breakpoints
   ========================================================= */

/* =========================================================
   Visual-first homepage infographics
   ========================================================= */
.section-heading-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { color: var(--slate); max-width: 460px; margin-bottom: 5px; }

.constraint-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 32px;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.constraint-item {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius);
}
.constraint-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #E9F1EA;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
}
.constraint-item strong,
.constraint-item small { display: block; }
.constraint-item strong { color: var(--navy); font-family: var(--font-head); }
.constraint-item small { color: var(--slate); margin-top: 4px; }
.constraint-item-fire { background: #FFF0EA; }
.constraint-item-fire .constraint-icon { background: var(--gold); color: var(--white); }
.constraint-arrow { color: #A8B9AC; font-size: 24px; }
.visual-caption { text-align: center; color: var(--slate); font-weight: 600; margin: 28px auto 0; }

.fractional-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.fractional-layout h2 { margin-bottom: 18px; }
.leadership-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
}
.leadership-bridge > div {
  min-width: 160px;
  padding: 24px 18px;
  text-align: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
}
.leadership-bridge span,
.leadership-bridge small { display: block; }
.leadership-bridge div > span { color: var(--white); font-family: var(--font-head); font-weight: 700; }
.leadership-bridge small { color: #A9C7B2; margin-top: 5px; font-size: 12px; }
.leadership-bridge .bridge-core { background: var(--green); transform: scale(1.08); }
.leadership-bridge .bridge-core small { color: #E5F1E7; }
.bridge-line { width: 34px; height: 2px; background: var(--gold); }

.growth-engine {
  position: relative;
  max-width: 820px;
  height: 500px;
  margin: 42px auto 0;
}
.growth-engine::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border: 1px dashed #ABC0AF;
  border-radius: 50%;
}
.engine-core,
.engine-ring {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  font-family: var(--font-head);
}
.engine-core {
  width: 170px;
  height: 170px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(23,74,42,.2);
}
.engine-core strong { font-size: 20px; line-height: 1.25; }
.engine-ring {
  width: 150px;
  height: 150px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border-ivory);
  box-shadow: var(--shadow-card);
}
.engine-ring span { color: var(--gold); font-size: 11px; font-weight: 800; }
.engine-ring strong { color: var(--navy); margin: 5px 0; }
.engine-ring small { color: var(--slate); font-size: 11px; }
.engine-ring-1 { left: 50%; top: 0; transform: translateX(-50%); }
.engine-ring-2 { right: 7%; top: 24%; }
.engine-ring-3 { right: 20%; bottom: 0; }
.engine-ring-4 { left: 20%; bottom: 0; }
.engine-ring-5 { left: 7%; top: 24%; }

.service-card { display: flex; flex-direction: column; }
.service-card .link-cta { margin-top: auto; padding-top: 20px; }
.service-outcome {
  display: inline-flex;
  align-self: flex-start;
  color: var(--green) !important;
  background: #E9F1EA;
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--font-head);
  font-size: 11px !important;
  font-weight: 700;
}

.journey-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 40px; }
.journey-flow article {
  position: relative;
  min-height: 170px;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--green);
  box-shadow: var(--shadow-card);
}
.journey-flow article:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--gold);
  font-size: 22px;
}
.journey-flow span { color: var(--gold); font-family: var(--font-head); font-size: 12px; font-weight: 800; }
.journey-flow h3 { margin: 18px 0 8px; }
.journey-flow p { color: var(--slate); margin: 0; }

.founder-strengths { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.founder-strengths span {
  padding: 8px 12px;
  border: 1px solid var(--border-ivory);
  border-radius: 999px;
  color: var(--green);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
}

.fit-visual { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.fit-signals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fit-signals span {
  padding: 18px 16px 18px 42px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  position: relative;
}
.fit-signals span::before { content: '✓'; position: absolute; left: 16px; color: var(--gold); font-weight: 800; }

.scorecard-banner {
  display: grid;
  grid-template-columns: 1fr 150px auto;
  gap: 40px;
  align-items: center;
  padding: 44px 48px;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.scorecard-banner h2 { font-size: clamp(26px,3vw,38px); margin-bottom: 0; }
.scorecard-gauge {
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 72%, #E5ECE6 72% 100%);
  position: relative;
}
.scorecard-gauge::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--white); }
.scorecard-gauge strong,
.scorecard-gauge small { z-index: 1; }
.scorecard-gauge strong { color: var(--navy); font-family: var(--font-head); font-size: 34px; line-height: 1; }
.scorecard-gauge small { color: var(--slate); font-size: 10px; }

@media (max-width: 1080px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 46px; }
}

/* Nav collapses to a hamburger earlier than the content breakpoints below —
   7 links + language toggle + CTA button simply don't fit below this width
   without crowding or overflow, regardless of font/spacing tweaks. */
@media (max-width: 1272px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--border-ivory);
    padding: 12px 24px 24px;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 4px; }
  .site-header.nav-open .main-nav a { display: block; padding: 12px 0; font-size: 16px; }
  .site-header.nav-open .nav-cta { display: block; margin: 10px 0 0; white-space: normal; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 320px; }
  .fit-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div:nth-child(3) { border-left: 0; }
  .proof-grid div { padding: 10px 20px; }
  .section-heading-row,
  .fractional-layout,
  .fit-visual { grid-template-columns: 1fr; gap: 28px; }
  .constraint-map { display: grid; grid-template-columns: repeat(5,1fr); }
  .constraint-arrow { display: none; }
  .journey-flow { grid-template-columns: 1fr 1fr; }
  .journey-flow article:nth-child(2)::after { display: none; }
  .scorecard-banner { grid-template-columns: 1fr 130px; }
  .scorecard-banner .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  h2 { font-size: 30px; }
  .hero-copy h1 { font-size: 34px; }
  .hero { padding: 56px 0 48px; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .two-col-list, .credibility-list { grid-template-columns: 1fr; }
  .site-form { grid-template-columns: 1fr; }
  .modal { padding: 32px 22px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { text-align: center; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-left: 0; border-top: 1px solid var(--border-ivory); padding: 14px 0; }
  .proof-grid div:first-child { border-top: 0; }
  .section-heading-row { margin-bottom: 28px; }
  .constraint-map { grid-template-columns: 1fr; padding: 22px; }
  .leadership-bridge { flex-direction: column; }
  .leadership-bridge > div { width: 100%; }
  .bridge-line { width: 2px; height: 24px; }
  .growth-engine { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .growth-engine::before { display: none; }
  .engine-core,
  .engine-ring { position: static; width: auto; height: auto; min-height: 126px; transform: none; border-radius: var(--radius); }
  .engine-core { grid-column: 1 / -1; grid-row: 1; }
  .engine-ring-1,
  .engine-ring-2,
  .engine-ring-3,
  .engine-ring-4,
  .engine-ring-5 { inset: auto; transform: none; }
  .journey-flow { grid-template-columns: 1fr; }
  .journey-flow article:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -24px; transform: translateX(50%); }
  .journey-flow article:nth-child(2)::after { display: block; }
  .fit-signals { grid-template-columns: 1fr; }
  .scorecard-banner { grid-template-columns: 1fr; padding: 30px 24px; }
  .scorecard-gauge { width: 110px; height: 110px; }
  .scorecard-banner .btn { grid-column: auto; width: 100%; text-align: center; }
  body { font-size: 16px; }
}
