/* ==========================================================================
   BridgeWay — Financial Performance & Business Improvement Consultancy
   Design system + site styles

   Note on responsive rules: every @media override lives in the RESPONSIVE
   section at the very end of this file. CSS resolves rules of equal
   specificity by source order, so a media query placed earlier than the
   base rule it targets can lose to that later base rule even while the
   query matches. Keeping all overrides last avoids that trap.
   ========================================================================== */

:root{
  /* Dark palette */
  --bg:            #0A0A0C;
  --bg-alt:        #0D0D10;
  --surface:       #131316;
  --surface-2:     #18181C;
  --surface-3:     #1F1F24;
  --border:        rgba(255,255,255,0.09);
  --border-soft:   rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.16);

  --text:          #F5F4F1;
  --text-dim:      #A6A6AD;
  --text-dimmer:   #6E6E77;

  /* White sections — same accent, inverted surface */
  --w-bg:          #FBFAF8;
  --w-surface:     #FFFFFF;
  --w-border:      rgba(10,10,12,0.10);
  --w-border-soft: rgba(10,10,12,0.07);
  --w-text:        #14130F;
  --w-text-dim:    #55534C;
  --w-text-dimmer: #8B8880;

  /* Accent — sampled from the official logo */
  --orange:        #FC7512;
  --orange-light:  #FF9A4D;
  --orange-dim:    #C75E0E;
  --orange-wash:   rgba(252,117,18,0.10);
  --orange-wash-strong: rgba(252,117,18,0.18);
  --orange-wash-onwhite: rgba(252,117,18,0.09);

  --white: #F5F4F1;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1240px;
  --container-narrow: 860px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --header-h: 84px;

  --ease: cubic-bezier(.16,.8,.24,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,p{ margin: 0; }
input, textarea, select{ font-family: inherit; }

::selection{ background: var(--orange); color: #0A0A0C; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utility ---------- */
.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow{ width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }
.section{ padding: 128px 0; position: relative; }
.section-tight{ padding: 88px 0; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
}
.eyebrow::before{ content: ""; width: 22px; height: 1.5px; background: var(--orange); display: inline-block; }

.accent{ color: var(--orange); }

.h-display{ font-size: clamp(2.5rem, 5.6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.h1{ font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
.h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; margin: 0; }
.h3{ font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-dim); font-weight: 400; line-height: 1.6; max-width: 46ch; }
.lede-lg{ font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--text-dim); line-height: 1.55; max-width: 52ch; }
.small{ font-size: 0.875rem; color: var(--text-dim); }

.section-head{ max-width: 640px; margin-bottom: 60px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--radius-pill);
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary{ background: var(--orange); color: #0A0A0A; }
.btn-primary:hover{ background: var(--orange-light); box-shadow: 0 10px 34px -6px rgba(252,117,18,0.6); transform: translateY(-2px) scale(1.015); }
.btn-primary:active{ transform: translateY(-1px) scale(1.0); }
.btn-secondary{ background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover{ border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--text-dim); border-color: var(--border); padding: 13px 22px; }
.btn-ghost:hover{ color: var(--text); border-color: var(--border-strong); }
.btn-block{ width: 100%; white-space: normal; line-height: 1.35; }
.btn-lg{ padding: 18px 34px; font-size: 0.9rem; }
.btn svg{ width: 15px; height: 15px; transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover svg{ transform: translateX(3px); }

/* Buttons on a white section */
.section-white .btn-secondary{ color: var(--w-text); border-color: var(--w-border); }
.section-white .btn-secondary:hover{ border-color: var(--orange); color: var(--orange-dim); }
.section-white .btn-ghost{ color: var(--w-text-dim); border-color: var(--w-border); }
.section-white .btn-ghost:hover{ color: var(--w-text); border-color: var(--w-border); }

.cta-row{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Language switcher ---------- */
.lang-switch{
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 4px; flex-shrink: 0;
}
.lang-switch button{
  background: transparent; border: none; color: var(--text-dimmer);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 7px 12px; border-radius: var(--radius-pill);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-switch button.is-active{ background: var(--orange); color: #140900; }
.lang-switch button:not(.is-active):hover{ color: var(--text); }
.section-white .lang-switch{ border-color: var(--w-border); }
.section-white .lang-switch button{ color: var(--w-text-dimmer); }
.section-white .lang-switch button:not(.is-active):hover{ color: var(--w-text); }

.mobile-lang-switch{ display: flex; justify-content: center; margin-bottom: 28px; }
.mobile-lang-switch .lang-switch{ padding: 5px; }
.mobile-lang-switch .lang-switch button{ font-size: 0.8rem; padding: 9px 20px; }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(10,10,12,0.4); backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s var(--ease);
}
.site-header.is-scrolled{ background: rgba(10,10,12,0.82); backdrop-filter: blur(14px); border-bottom-color: var(--border-soft); }
.site-header .container{ display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* The current logo is a light wordmark with orange accents, drawn for dark
   surfaces directly — no white plate behind it. */
.logo-mark{
  display: inline-flex; align-items: center;
  transition: transform .35s var(--ease), opacity .35s var(--ease); flex-shrink: 0;
}
.logo-mark:hover{ transform: translateY(-1px); opacity: 0.9; }
.logo-mark img{ height: 24px; width: auto; display: block; }
.logo-mark.lg img{ height: 34px; }
.logo-mark.xl img{ height: 42px; }

.main-nav{ display: flex; align-items: center; gap: 36px; }
.main-nav ul{ display: flex; align-items: center; gap: 34px; }
.main-nav a{
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-dim);
  position: relative; padding: 6px 0; transition: color .25s var(--ease);
}
.main-nav a::after{ content: ""; position: absolute; left: 0; bottom: 0; width: 0%; height: 1.5px; background: var(--orange); transition: width .3s var(--ease); }
.main-nav a:hover{ color: var(--text); }
.main-nav a:hover::after{ width: 100%; }
.main-nav a.is-active{ color: var(--text); }
.main-nav a.is-active::after{ width: 100%; }

.header-actions{ display: flex; align-items: center; gap: 16px; }
.header-actions .btn{ padding: 13px 22px; font-size: 0.76rem; }

.nav-toggle{
  display: none; width: 42px; height: 42px; border-radius: 8px;
  border: 1px solid var(--border); background: transparent;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle .bars{ position: relative; width: 18px; height: 12px; }
.nav-toggle .bars i{ position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease); }
.nav-toggle .bars i:nth-child(1){ top: 0; }
.nav-toggle .bars i:nth-child(2){ top: 5.5px; }
.nav-toggle .bars i:nth-child(3){ top: 11px; }
.nav-toggle.is-open .bars i:nth-child(1){ top: 5.5px; transform: rotate(45deg); }
.nav-toggle.is-open .bars i:nth-child(2){ opacity: 0; }
.nav-toggle.is-open .bars i:nth-child(3){ top: 5.5px; transform: rotate(-45deg); }

.mobile-nav{
  position: fixed; inset: 0; top: var(--header-h);
  background: rgba(9,9,11,0.98); backdrop-filter: blur(10px); z-index: 990;
  display: flex; flex-direction: column; padding: 32px 26px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.mobile-nav.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul{ display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul a{
  display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
  padding: 14px 4px; border-bottom: 1px solid var(--border-soft); color: var(--text);
}
.mobile-nav ul a.is-active{ color: var(--orange); }
.mobile-nav .mobile-nav-cta{ margin-top: 26px; }

/* ---------- Backgrounds / texture ---------- */
.bg-grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  pointer-events: none;
}
.bg-grid.on-white{
  background-image:
    linear-gradient(to right, rgba(10,10,12,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,12,0.05) 1px, transparent 1px);
}
.bg-glow{ position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; opacity: 0.5; }

/* ---------- White section ---------- */
.section-white{
  background: var(--w-bg);
  color: var(--w-text);
}
.section-white .eyebrow{ color: var(--orange-dim); }
.section-white .lede, .section-white .lede-lg{ color: var(--w-text-dim); }
.section-white .small{ color: var(--w-text-dim); }

/* ---------- Hero ---------- */
.hero{ position: relative; padding: calc(var(--header-h) + 120px) 0 130px; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.hero .bg-glow{ width: 760px; height: 760px; top: -300px; right: -220px; background: radial-gradient(circle, var(--orange-wash-strong), transparent 68%); }
.hero .bg-glow.two{ width: 460px; height: 460px; top: 220px; left: -220px; background: radial-gradient(circle, rgba(252,117,18,0.10), transparent 70%); opacity: 0.8; }

.hero-single{ position: relative; max-width: 760px; }
.hero-copy .h-display{ margin-bottom: 24px; }
.hero-copy .h-display span{ display: block; }
.hero-copy .h-display .line-accent{ color: var(--orange); }
.hero-copy .lede-lg{ margin-bottom: 38px; }

/* Financial graphic living quietly behind the hero copy, not in front of it */
.hero-bg-graphic{
  position: absolute; top: 50%; right: -6%; transform: translateY(-50%);
  width: min(64vw, 900px); max-width: 900px; opacity: 0.34;
  pointer-events: none; z-index: 0;
  mask-image: linear-gradient(to left, black 30%, transparent 88%);
  -webkit-mask-image: linear-gradient(to left, black 30%, transparent 88%);
}
.hero-bg-graphic svg{ width: 100%; height: auto; display: block; }
.hero .container{ position: relative; z-index: 1; }

/* ---------- Statement / short conceptual line ---------- */
.statement-block{ text-align: center; }
.statement-block .statement{ font-size: clamp(1.6rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.24; max-width: 880px; margin: 0 auto; }

/* ---------- Interactive methodology stepper ---------- */
.stepper{ position: relative; }
.stepper-track{ position: relative; height: 2px; background: var(--border-soft); margin: 0 0 0; display: none; }
.stepper-indicator{ position: absolute; top: 0; left: 0; height: 100%; width: 25%; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transition: left .5s var(--ease-out), width .5s var(--ease-out); }

.stepper-stages{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.stepper-stage{
  background: var(--surface); border: none; text-align: left; padding: 34px 26px 30px; color: var(--text);
  position: relative; cursor: pointer; transition: background .35s var(--ease), padding .35s var(--ease);
}
.stepper-stage .stepper-num{ font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--text-dimmer); margin-bottom: 22px; display: block; transition: color .3s var(--ease); }
.stepper-stage h3{ font-size: 1.15rem; margin-bottom: 8px; transition: color .3s var(--ease); }
.stepper-stage .stepper-tagline{ font-size: 0.86rem; color: var(--text-dim); }
.stepper-stage:hover{ background: var(--surface-2); }
.stepper-stage:hover .stepper-num{ color: var(--orange-light); }
.stepper-stage.is-active{ background: var(--surface-2); padding-top: 30px; }
.stepper-stage.is-active .stepper-num{ color: var(--orange); }
.stepper-stage.is-active h3{ color: var(--orange); }
.stepper-stage.is-active::before{ content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--orange); }

.stepper-detail{
  margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.stepper-detail-text p{ color: var(--text-dim); font-size: 0.95rem; max-width: 60ch; }
.stepper-detail-text .stepper-detail-title{ color: var(--text); font-weight: 700; margin-bottom: 8px; display: block; }
.stepper-nav{ display: flex; gap: 10px; flex-shrink: 0; }
.stepper-nav button{
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent;
  display: flex; align-items: center; justify-content: center; color: var(--text-dim);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.stepper-nav button:hover{ border-color: var(--orange); color: var(--orange); background: var(--orange-wash); }
.stepper-nav button svg{ width: 16px; height: 16px; }

/* Mobile accordion fallback for the stepper */
.stepper-mobile{ display: none; flex-direction: column; gap: 10px; }
.stepper-accordion-item{ border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.stepper-accordion-head{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px; background: transparent; border: none; color: var(--text); text-align: left;
}
.stepper-accordion-head .stepper-num{ font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; color: var(--text-dimmer); margin-right: 12px; }
.stepper-accordion-head h3{ font-size: 1.02rem; flex: 1; }
.stepper-accordion-head .chev{ width: 18px; height: 18px; color: var(--text-dimmer); flex-shrink: 0; transition: transform .3s var(--ease); }
.stepper-accordion-item.is-open .stepper-accordion-head .chev{ transform: rotate(45deg); }
.stepper-accordion-item.is-open .stepper-accordion-head h3, .stepper-accordion-item.is-open .stepper-accordion-head .stepper-num{ color: var(--orange); }
.stepper-accordion-body{ max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.stepper-accordion-body p{ padding: 0 22px 22px; color: var(--text-dim); font-size: 0.9rem; }
.stepper-accordion-item.is-open .stepper-accordion-body{ max-height: 200px; }

/* ---------- Financial ecosystem diagram (Founding Program: What We Look At) ---------- */
.ecosystem{ position: relative; max-width: 620px; margin: 0 auto; aspect-ratio: 1 / 1; }
.ecosystem-lines{ position: absolute; inset: 0; width: 100%; height: 100%; }
.ecosystem-lines line{ stroke: var(--border-strong); stroke-width: 1.5; transition: stroke .3s var(--ease); }
.ecosystem-lines line.is-active{ stroke: var(--orange); }
.ecosystem-center{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 168px; height: 168px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle, var(--surface-3), var(--surface));
  border: 1px solid rgba(252,117,18,0.4);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px;
  box-shadow: 0 0 0 10px rgba(252,117,18,0.05);
}
.ecosystem-center span{ font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; line-height: 1.3; color: var(--text); }
.ecosystem-node{
  position: absolute; transform: translate(-50%,-50%);
  width: 128px; padding: 14px 16px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--surface);
  text-align: center; color: var(--text-dim); font-size: 0.8rem; font-weight: 700;
  cursor: pointer; z-index: 2; transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.ecosystem-node:hover, .ecosystem-node:focus-visible{ border-color: rgba(252,117,18,0.5); color: var(--text); background: var(--surface-2); transform: translate(-50%,-50%) scale(1.05); }
.ecosystem-node.is-active{ border-color: var(--orange); color: var(--orange); background: var(--surface-2); }
.ecosystem-detail{
  margin-top: 36px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); padding: 28px 32px; text-align: center; max-width: 620px; margin-left: auto; margin-right: auto;
}
.ecosystem-detail .ecosystem-detail-title{ display: block; color: var(--orange); font-weight: 800; letter-spacing: 0.04em; margin-bottom: 8px; }
.ecosystem-detail p{ color: var(--text-dim); font-size: 0.94rem; }

/* Mobile fallback list for the ecosystem diagram */
.ecosystem-list{ display: none; flex-direction: column; gap: 10px; }
.ecosystem-list-item{ border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.ecosystem-list-head{ width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: transparent; border: none; color: var(--text); text-align: left; font-weight: 700; font-size: 0.94rem; }
.ecosystem-list-head .chev{ width: 18px; height: 18px; color: var(--text-dimmer); flex-shrink: 0; transition: transform .3s var(--ease); }
.ecosystem-list-item.is-open .chev{ transform: rotate(45deg); }
.ecosystem-list-item.is-open .ecosystem-list-head{ color: var(--orange); }
.ecosystem-list-body{ max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.ecosystem-list-body p{ padding: 0 20px 20px; color: var(--text-dim); font-size: 0.88rem; }
.ecosystem-list-item.is-open .ecosystem-list-body{ max-height: 200px; }

/* ---------- Dynamic timeline (Founding Program: What You Can Expect) ---------- */
.timeline{ position: relative; max-width: 720px; }
.timeline-rail{ position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--w-border); }
.timeline-rail-fill{ width: 100%; height: 0%; background: linear-gradient(180deg, var(--orange), var(--orange-light)); transition: height 1.2s var(--ease-out); }
.timeline-item{ position: relative; padding: 0 0 44px 52px; }
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-dot{
  position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--w-surface); border: 2px solid var(--w-border); display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: var(--w-text-dim); z-index: 1; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.timeline-item.is-active .timeline-dot{ border-color: var(--orange); color: var(--orange); }
.timeline-item h3{ color: var(--w-text); margin-bottom: 8px; }
.timeline-item p{ color: var(--w-text-dim); font-size: 0.94rem; max-width: 52ch; }

/* ---------- "Yes style" expandable cards (Founding Program: Is This For You) ---------- */
.yes-cards{ display: flex; flex-direction: column; gap: 12px; }
.yes-card{ border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.yes-card-head{
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: transparent; border: none; color: var(--text); text-align: left;
}
.yes-card-check{
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: transparent; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.yes-card-check svg{ width: 15px; height: 15px; }
.yes-card.is-open .yes-card-check{ border-color: var(--orange); background: var(--orange); color: #0A0A0A; }
.yes-card-head span.statement{ flex: 1; font-size: 1rem; font-weight: 700; }
.yes-card.is-open .yes-card-head span.statement{ color: var(--orange); }
.yes-card-head .chev{ width: 18px; height: 18px; color: var(--text-dimmer); flex-shrink: 0; transition: transform .3s var(--ease); }
.yes-card.is-open .yes-card-head .chev{ transform: rotate(180deg); }
.yes-card-body{ max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.yes-card-body p{ padding: 0 24px 24px 70px; color: var(--text-dim); font-size: 0.92rem; max-width: 58ch; }
.yes-card.is-open .yes-card-body{ max-height: 200px; }

/* ---------- Founding block (site wide highlight) ---------- */
.founding-block{
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, #1B1006 0%, var(--bg) 55%);
  border-top: 1px solid rgba(252,117,18,0.2); border-bottom: 1px solid rgba(252,117,18,0.2);
  overflow: hidden;
}
.founding-block .bg-grid{ mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, black 30%, transparent 85%); }
.founding-block .bg-glow{ width: 620px; height: 620px; bottom: -280px; left: -160px; background: radial-gradient(circle, var(--orange-wash-strong), transparent 70%); opacity: 0.8; }
.founding-badge{
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 14px;
  border-radius: var(--radius-pill); border: 1px solid rgba(252,117,18,0.5); background: var(--orange-wash);
  color: var(--orange); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px;
}
.founding-badge .pulse{ width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 2.2s infinite; }
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(252,117,18,0.5); }
  70%{ box-shadow: 0 0 0 8px rgba(252,117,18,0); }
  100%{ box-shadow: 0 0 0 0 rgba(252,117,18,0); }
}
.founding-layout{ display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 56px; align-items: start; }
.founding-list{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.founding-list li{
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02); font-size: 0.86rem; font-weight: 600;
}
.founding-list li svg{ width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; }
.founding-card{ border: 1px solid rgba(252,117,18,0.3); border-radius: var(--radius-lg); background: var(--surface); padding: 38px 34px; }
.founding-card .h3{ margin-bottom: 10px; }
.founding-card p{ color: var(--text-dim); margin-bottom: 26px; }
.founding-card .cta-row{ flex-direction: column; align-items: stretch; }
.founding-card .cta-row .btn{ width: 100%; white-space: normal; line-height: 1.35; }

/* ---------- Card grid (assessment areas) ---------- */
.card-grid{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.info-card{
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 24px; background: var(--surface);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.info-card:hover{ border-color: rgba(252,117,18,0.4); transform: translateY(-3px); background: var(--surface-2); }
.info-card .icon{ width: 38px; height: 38px; border-radius: 10px; background: var(--orange-wash); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--orange); }
.info-card .icon svg{ width: 18px; height: 18px; }
.info-card h4{ font-size: 1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.005em; }
.info-card p{ font-size: 0.85rem; color: var(--text-dim); }

/* Card grid on a white section */
.section-white .info-card{ background: var(--w-surface); border-color: var(--w-border); box-shadow: 0 1px 3px rgba(20,19,15,0.04); }
.section-white .info-card:hover{ border-color: rgba(252,117,18,0.5); background: var(--w-surface); box-shadow: 0 10px 30px -12px rgba(20,19,15,0.14); }
.section-white .info-card .icon{ background: var(--orange-wash-onwhite); }
.section-white .info-card p{ color: var(--w-text-dim); }

/* ---------- Expect list (checkmarks) ---------- */
.check-list{ display: flex; flex-direction: column; gap: 0; }
.check-list li{ display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-soft); font-size: 1.02rem; font-weight: 600; }
.check-list li:first-child{ padding-top: 0; }
.check-list li .num{
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: var(--text-dim); flex-shrink: 0;
}

/* ---------- Forms ---------- */
.form-grid{ display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
.form-row-2{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.field label{ display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.field input, .field textarea, .field select{
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 15px 16px; color: var(--text); font-size: 0.96rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea{ resize: vertical; min-height: 130px; }
.field select{
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E77' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px;
}
.field select:invalid{ color: var(--text-dimmer); }
.field input::placeholder, .field textarea::placeholder{ color: var(--text-dimmer); }
.field input:focus, .field textarea:focus, .field select:focus{ outline: none; border-color: var(--orange); background-color: var(--surface-2); }
.form-panel{ border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 44px; }
.form-note{ font-size: 0.8rem; color: var(--text-dimmer); margin-top: 16px; }
.form-error-banner{
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid rgba(229,72,77,0.4); background: rgba(229,72,77,0.08);
  color: #FF7A7F; font-size: 0.86rem; line-height: 1.5;
}
.form-error-banner.is-visible{ display: block; }

.form-success{ display: none; text-align: center; padding: 50px 20px; }
.form-success.is-visible{ display: block; }
.form-success .icon-circle{ width: 62px; height: 62px; border-radius: 50%; background: var(--orange-wash); border: 1px solid rgba(252,117,18,0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: var(--orange); }
.form-success .icon-circle svg{ width: 26px; height: 26px; }
.form-success h3{ margin-bottom: 10px; }
.form-success p{ color: var(--text-dim); }

/* ---------- Booking panel ---------- */
.booking-panel{
  border: 1px solid var(--w-border); border-radius: var(--radius-lg); background: var(--w-surface);
  padding: 46px 40px; display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 40px; align-items: center;
  box-shadow: 0 1px 3px rgba(20,19,15,0.04);
}
.booking-meta{ display: flex; flex-direction: column; gap: 18px; }
.booking-meta .row{ display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--w-text-dim); }
.booking-meta .row svg{ width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.booking-embed{
  border: 1px dashed var(--w-border); border-radius: var(--radius-md); min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px;
  background: repeating-linear-gradient(135deg, rgba(10,10,12,0.015) 0px, rgba(10,10,12,0.015) 10px, transparent 10px, transparent 20px);
}
.booking-embed .icon-circle{ width: 46px; height: 46px; border-radius: 50%; background: var(--orange-wash-onwhite); display: flex; align-items: center; justify-content: center; color: var(--orange-dim); }
.booking-embed .icon-circle svg{ width: 20px; height: 20px; }
.booking-embed p{ font-size: 0.82rem; color: var(--w-text-dimmer); max-width: 30ch; }
.booking-embed code{ font-size: 0.72rem; color: var(--w-text-dimmer); background: var(--w-bg); padding: 4px 8px; border-radius: 5px; border: 1px solid var(--w-border-soft); }

/* ---------- Footer ---------- */
.site-footer{ border-top: 1px solid var(--border-soft); padding: 72px 0 34px; background: var(--bg-alt); }
.footer-top{ display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--border-soft); }
.footer-brand p{ color: var(--text-dim); font-size: 0.9rem; margin-top: 18px; max-width: 30ch; }
.footer-col h5{ font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dimmer); margin-bottom: 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 0.92rem; color: var(--text-dim); transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--orange); }
.footer-cta p{ color: var(--text-dim); font-size: 0.88rem; margin-bottom: 20px; max-width: 28ch; }
.footer-cta .btn{ width: 100%; text-align: center; white-space: normal; line-height: 1.35; }
.footer-bottom{ padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p{ font-size: 0.8rem; color: var(--text-dimmer); }
.footer-bottom-right{ display: flex; align-items: center; gap: 18px; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: .08s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .24s; }
.reveal-delay-4{ transition-delay: .32s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ position: relative; padding: calc(var(--header-h) + 76px) 0 78px; border-bottom: 1px solid var(--border-soft); overflow: hidden; }
.page-hero .bg-glow{ width: 560px; height: 560px; top: -240px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, var(--orange-wash-strong), transparent 70%); }
.page-hero .h1{ max-width: 820px; }
.page-hero .lede-lg{ margin-top: 22px; }
.breadcrumb-eyebrow{ color: var(--text-dimmer); font-size: 0.8rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.breadcrumb-eyebrow a:hover{ color: var(--orange); }
.breadcrumb-eyebrow .accent{ color: var(--orange); }

/* ---------- Section connector (orange line carried between sections) ----------
   Draws itself in as it scrolls into view (JS toggles .is-drawn) rather than
   sitting there statically, so the homepage reads as one continuous thread
   rather than a stack of separate blocks. */
.flow-connector{ display: flex; flex-direction: column; align-items: center; gap: 0; position: relative; z-index: 1; height: 64px; overflow: hidden; }
.flow-connector span{
  width: 2px; height: 0%; max-height: 54px;
  background: linear-gradient(180deg, transparent, var(--orange) 40%, var(--orange) 60%, transparent);
  transition: height 1s var(--ease-out);
}
.flow-connector.is-drawn span{ height: 100%; }
.flow-connector .dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0;
  opacity: 0; transition: opacity .4s var(--ease) .6s;
}
.flow-connector.is-drawn .dot{ opacity: 1; animation: pulse 2.2s infinite; }
.flow-connector.on-white span{ background: linear-gradient(180deg, transparent, var(--orange-dim) 40%, var(--orange-dim) 60%, transparent); }
.flow-connector.on-white .dot{ background: var(--orange-dim); }

/* ---------- Seam fade (soft blend between a dark section and the white one that follows) ---------- */
.seam-fade{ position: relative; height: 64px; margin-bottom: -64px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg-alt), var(--w-bg)); }
.seam-fade.from-bg{ background: linear-gradient(180deg, var(--bg), var(--w-bg)); }

/* ---------- Directional reveal variants (horizontal movement into position) ---------- */
.reveal-left{ opacity: 0; transform: translateX(-26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-left.is-visible{ opacity: 1; transform: translateX(0); }
.reveal-right{ opacity: 0; transform: translateX(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-right.is-visible{ opacity: 1; transform: translateX(0); }

/* ---------- Parallax hook (JS applies a subtle scroll-linked translateY) ---------- */
.parallax-el{ will-change: transform; }

/* ---------- About BridgeWay preview (homepage) ---------- */
.about-preview{ display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 56px; align-items: center; }
.about-preview-figures{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.about-preview-figure{ border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 22px; background: var(--surface); }
.about-preview-figure .label{ display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.about-preview-figure p{ font-size: 0.86rem; color: var(--text-dim); }

/* ---------- Financial Department Health Check (interactive questionnaire) ---------- */
.healthcheck{ max-width: 720px; margin: 0 auto; }
.hc-progress{ display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.hc-progress-bar{ flex: 1; height: 3px; border-radius: var(--radius-pill); background: var(--border); overflow: hidden; }
.hc-progress-fill{ height: 100%; width: 20%; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transition: width .5s var(--ease-out); }
.hc-progress-label{ font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; color: var(--text-dimmer); flex-shrink: 0; }

.hc-panel{ border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 44px 40px; position: relative; overflow: hidden; min-height: 360px; }

.hc-questions{ position: relative; }
.hc-question{
  display: none; opacity: 0; transform: translateX(18px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.hc-question.is-current{ display: block; }
.hc-question.is-active{ opacity: 1; transform: translateX(0); }
.hc-question h3{ font-size: 1.3rem; margin-bottom: 26px; max-width: 44ch; }
.hc-options{ display: flex; flex-direction: column; gap: 10px; }
.hc-option{
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: transparent; color: var(--text); font-size: 0.94rem; font-weight: 600;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.hc-option:hover{ border-color: rgba(252,117,18,0.45); background: var(--surface-2); transform: translateX(3px); }
.hc-option .hc-letter{
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: var(--text-dimmer);
}
.hc-option:hover .hc-letter{ border-color: var(--orange); color: var(--orange); }

.hc-back{
  margin-top: 26px; display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: none; color: var(--text-dimmer); font-size: 0.82rem; font-weight: 700;
  transition: color .25s var(--ease);
}
.hc-back:hover{ color: var(--text); }
.hc-back[hidden]{ display: none; }

.hc-result{ text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.hc-result.is-visible{ opacity: 1; transform: translateY(0); }
.hc-result-eyebrow{ display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.hc-result-title{ font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.hc-result-desc{ color: var(--text-dim); max-width: 52ch; margin: 0 auto 30px; }
.hc-result-areas{ border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 26px 0; margin-bottom: 30px; }
.hc-result-areas-label{ display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; color: var(--text-dimmer); margin-bottom: 14px; }
.hc-result-tags{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hc-result-tag{ padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid rgba(252,117,18,0.4); background: var(--orange-wash); color: var(--orange); font-size: 0.84rem; font-weight: 700; }
.hc-result-cta h4{ font-size: 1.15rem; margin-bottom: 10px; max-width: 40ch; margin-left: auto; margin-right: auto; }
.hc-result-cta p{ color: var(--text-dim); max-width: 48ch; margin: 0 auto 24px; }
.hc-disclaimer{ margin-top: 22px; font-size: 0.76rem; color: var(--text-dimmer); }
.hc-retake{ margin-top: 18px; background: transparent; border: none; color: var(--text-dimmer); font-size: 0.8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hc-retake:hover{ color: var(--text); }

/* ---------- Phone field with country calling code selector ---------- */
.phone-field{ display: flex; align-items: stretch; gap: 0; }
.phone-country{ position: relative; flex-shrink: 0; }
.phone-country-btn{
  display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--text); font-size: 0.9rem;
  min-width: 96px;
}
.phone-country-btn .flag{ font-size: 1.05rem; line-height: 1; }
.phone-country-btn .code{ font-weight: 600; }
.phone-country-btn .chev{ width: 12px; height: 12px; color: var(--text-dimmer); margin-left: auto; }
.phone-field input[type="tel"]{ border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.phone-country-dropdown{
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
  width: 280px; max-width: calc(100vw - 48px); max-height: 320px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.5); overflow: hidden; display: none; flex-direction: column;
}
.phone-country-dropdown.is-open{ display: flex; }
.phone-country-search{ padding: 10px; border-bottom: 1px solid var(--border-soft); }
.phone-country-search input{ width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 12px; color: var(--text); font-size: 0.88rem; }
.phone-country-search input:focus{ outline: none; border-color: var(--orange); }
.phone-country-list{ overflow-y: auto; max-height: 260px; }
.phone-country-option{
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: transparent; border: none; color: var(--text); font-size: 0.86rem; text-align: left;
}
.phone-country-option:hover, .phone-country-option.is-highlighted{ background: var(--surface-3); }
.phone-country-option .flag{ font-size: 1.05rem; }
.phone-country-option .name{ flex: 1; }
.phone-country-option .code{ color: var(--text-dimmer); font-weight: 600; }
.phone-country-empty{ padding: 16px; text-align: center; color: var(--text-dimmer); font-size: 0.84rem; }

/* ---------- Form validation ---------- */
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: #E5484D; }
.field.has-error .phone-country-btn{ border-color: #E5484D; }
.field-error{ display: none; color: #FF7A7F; font-size: 0.78rem; margin-top: 8px; }
.field.has-error .field-error{ display: block; }

/* ---------- Misc ---------- */
.divider{ height: 1px; background: var(--border-soft); border: none; margin: 0; }
.center-cta{ text-align: center; }
.center-cta .cta-row{ justify-content: center; }

.two-col{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: start; }

.who-grid{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.who-card{ border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 22px; font-size: 0.92rem; font-weight: 600; color: var(--text); position: relative; }
.who-card::before{ content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); display: inline-block; margin-bottom: 16px; }

/* ==========================================================================
   RESPONSIVE OVERRIDES — kept together at the end of the file so equal
   specificity cascade order always favours these over the base rules above.
   ========================================================================== */

@media (max-width: 980px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .header-actions{ gap: 10px; }
  .header-actions .btn{ padding: 11px 16px; font-size: 0.7rem; }
  .header-actions .lang-switch{ padding: 3px; }
  .header-actions .lang-switch button{ padding: 6px 10px; font-size: 0.68rem; }

  .hero-bg-graphic{ opacity: 0.22; width: 78vw; right: -14%; }

  .stepper-stages{ grid-template-columns: repeat(2, minmax(0,1fr)); }

  .founding-layout{ grid-template-columns: minmax(0,1fr); gap: 40px; }
  .founding-list{ grid-template-columns: minmax(0,1fr); }

  .about-preview{ grid-template-columns: minmax(0,1fr); gap: 32px; }

  .card-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .who-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }

  .form-row-2{ grid-template-columns: minmax(0,1fr); }
  .booking-panel{ grid-template-columns: minmax(0,1fr); padding: 32px 24px; }

  .footer-top{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); row-gap: 40px; }
  .two-col{ grid-template-columns: minmax(0,1fr); gap: 36px; }
}

@media (max-width: 900px){
  .section{ padding: 84px 0; }
  .section-tight{ padding: 64px 0; }
  .container, .container-narrow{ padding: 0 22px; }
}

@media (max-width: 560px){
  .card-grid{ grid-template-columns: minmax(0,1fr); }
  .who-grid{ grid-template-columns: minmax(0,1fr); }
}

/* Interactive methodology stepper: below 760px the four-up grid gets tight
   for hover/tap targets, so it swaps for a tap-to-expand accordion — each
   stage keeps its own description without needing a shared detail panel. */
@media (max-width: 760px){
  .stepper-track, .stepper-stages, .stepper-detail{ display: none; }
  .stepper-mobile{ display: flex; }
}

/* Financial ecosystem diagram: the radial hub-and-spoke layout needs room
   for six orbiting nodes without overlapping or clipping, so below 700px it
   is replaced by a plain expandable list covering the same six areas. */
@media (max-width: 700px){
  .ecosystem, .ecosystem-detail{ display: none; }
  .ecosystem-list{ display: flex; }
}

@media (max-width: 640px){
  .timeline-item{ padding-left: 44px; }
  .timeline-rail{ left: 13px; }
  .timeline-dot{ width: 28px; height: 28px; font-size: 0.66rem; }

  .hc-panel{ padding: 30px 22px; min-height: 300px; }
  .hc-question h3{ font-size: 1.1rem; }
  .hc-option{ padding: 14px 16px; font-size: 0.88rem; }
}

@media (max-width: 480px){
  .footer-top{ grid-template-columns: minmax(0,1fr); }

  /* Long CTA labels ("Apply for the Client Founding Program") do not fit a
     single nowrap line at narrow widths; stack cta-row buttons full width
     and let their text wrap inside the pill instead of overflowing it. */
  .cta-row{ flex-direction: column; align-items: stretch; }
  .cta-row .btn{ width: 100%; white-space: normal; line-height: 1.35; text-align: center; }
}

@media (max-width: 420px){
  .btn{ font-size: 0.8rem; padding: 15px 22px; letter-spacing: 0.04em; }
  .btn-lg{ padding: 16px 24px; font-size: 0.84rem; }
}

/* Below ~560px the collapsed header (logo + language switch + CTA + toggle)
   no longer fits: the CTA text cannot shrink below its nowrap min-content
   width, so the toggle gets pushed past the viewport edge and becomes
   unreachable. Dropping the CTA earlier, with margin, keeps the toggle
   always on screen — the Founding Program CTA is still the first thing
   inside the mobile menu, so nothing is lost. */
@media (max-width: 620px){
  .header-actions .btn{ display: none; }
  .header-actions{ gap: 8px; }
}
