@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');
/* ============================================================
   VIRTUAL SOLUTIONS VE — site.css
   Shared design system for all institutional pages.
   Brand-matched to the flagship landing (style.css).
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080810;
  --bg-2:       #0d0d18;
  --bg-3:       #12121f;
  --surface:    #18182a;
  --surface-2:  #1e1e34;
  --border:     rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.13);
  --white:      #ffffff;
  --grey-1:     #e8e8ec;
  --grey-2:     #9898aa;
  --grey-3:     #6b6b80;
  --accent:     #00B5BE;
  --accent-2:   #6c63ff;
  --accent-glow:rgba(0,181,190,0.25);
  --cta:        #FF5033;
  --cta-hover:  #E8421F;
  --green:      #34d399;
  --amber:      #fbbf24;
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --container:  1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--grey-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(0,181,190,0.3); color: #fff; }

/* Ambient backdrop */
body::before {
  content:''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 82% -8%, rgba(0,181,190,0.10), transparent 60%),
    radial-gradient(800px 600px at -5% 100%, rgba(255,80,51,0.07), transparent 60%);
}

/* ── Layout ────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--white); line-height: 1.08; letter-spacing: -0.022em; }
.h1, h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
.h2, h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h3, h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
em { font-style: italic; color: var(--accent); }
.serif-cta em { color: var(--cta); }
p { color: var(--grey-2); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--grey-1); line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow::before { content:''; width: 18px; height: 1px; background: var(--accent); opacity: 0.6; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--cta); color: #fff; border-color: var(--cta); box-shadow: 0 6px 24px -8px var(--cta); }
.btn--primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--cta); }
.btn--accent { background: var(--accent); color: #04121a; border-color: var(--accent); }
.btn--accent:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--grey-1); border-color: var(--border-mid); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }
.btn--full { width: 100%; }

/* ── Navigation ────────────────────────────────────────────── */
.snav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,16,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.snav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.snav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); font-size: 1rem; flex-shrink: 0; }
.snav__logo img { width: 32px; height: 32px; border-radius: 8px; }
.snav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; }
.snav__links a { font-size: 0.875rem; font-weight: 500; color: var(--grey-2); padding: 8px 13px; border-radius: 8px; transition: color .2s, background .2s; }
.snav__links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.snav__links a.is-current { color: var(--accent); }
.snav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.snav__login { font-size: 0.85rem; font-weight: 500; color: var(--grey-2); padding: 8px 6px; }
.snav__login:hover { color: var(--white); }
.snav__burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.snav__burger span { width: 22px; height: 2px; background: var(--grey-1); border-radius: 2px; transition: transform .25s, opacity .25s; }
.snav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.snav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.snav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.snav__mobile {
  display: none; position: fixed; inset: 68px 0 0; z-index: 99;
  background: rgba(8,8,16,0.98); backdrop-filter: blur(20px);
  padding: 1.5rem clamp(1.1rem,4vw,2rem); flex-direction: column; gap: 0.25rem;
}
.snav__mobile.is-open { display: flex; }
.snav__mobile a { font-size: 1.05rem; color: var(--grey-1); padding: 14px 8px; border-bottom: 1px solid var(--border); font-weight: 500; }
.snav__mobile a:hover { color: var(--accent); }
.snav__mobile .btn { margin-top: 1.25rem; }

/* ── Page hero ─────────────────────────────────────────────── */
.phero { padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4rem); position: relative; text-align: center; }
.phero__inner { max-width: 820px; margin-inline: auto; }
.phero h1 { margin-bottom: 1.25rem; }
.phero .lead { max-width: 640px; margin: 0 auto 2rem; }
.phero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Cards / grids ─────────────────────────────────────────── */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2rem); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card--hover:hover { border-color: var(--border-mid); transform: translateY(-3px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0,181,190,0.12); color: var(--accent); margin-bottom: 1.1rem; border: 1px solid rgba(0,181,190,0.25);
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.93rem; line-height: 1.6; }

/* ── Stats strip ───────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2vw,1.5rem); }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); line-height: 1; }
.stat__num em { color: var(--accent); }
.stat__label { font-size: 0.8rem; color: var(--grey-2); margin-top: 0.5rem; }

/* ── Checklist ─────────────────────────────────────────────── */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--grey-1); font-size: 0.96rem; line-height: 1.5; }
.ticks li::before { content:'✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band__box {
  background: linear-gradient(150deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border-mid); border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.cta-band__box::before { content:''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(0,181,190,0.12), transparent 70%); pointer-events: none; }
.cta-band h2 { position: relative; margin-bottom: 1rem; }
.cta-band p { position: relative; max-width: 540px; margin: 0 auto 2rem; }
.cta-band__actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────── */
.sfooter { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.sfooter__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.sfooter__brand-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); margin-bottom: 0.9rem; }
.sfooter__brand-logo img { width: 30px; height: 30px; border-radius: 8px; }
.sfooter__tag { font-size: 0.88rem; color: var(--grey-2); max-width: 30ch; margin-bottom: 1rem; }
.sfooter__col h4 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 1rem; }
.sfooter__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.sfooter__col a { font-size: 0.88rem; color: var(--grey-2); }
.sfooter__col a:hover { color: var(--accent); }
.sfooter__social { display: flex; gap: 10px; margin-top: 1rem; }
.sfooter__social a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--grey-2); }
.sfooter__social a:hover { color: var(--accent); border-color: rgba(0,181,190,0.3); }
.sfooter__bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--grey-3); }
.sfooter__bottom a { color: var(--grey-3); }
.sfooter__bottom a:hover { color: var(--grey-1); }
.sfooter__charity { color: var(--grey-2); }

/* ── Misc ──────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: rgba(0,181,190,0.12); color: var(--accent); border: 1px solid rgba(0,181,190,0.25); }
.pill--cta { background: rgba(255,80,51,0.12); color: #ff8a72; border-color: rgba(255,80,51,0.25); }
.divider { height: 1px; background: var(--border); border: 0; margin-block: clamp(2rem,5vw,3.5rem); }
.muted { color: var(--grey-3); font-size: 0.82rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
  .sfooter__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .snav__links, .snav__login { display: none; }
  .snav__burger { display: flex; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .sfooter__grid { grid-template-columns: 1fr 1fr; }
  .sfooter__brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   FIXED NAV + LIGHT/DARK THEME (unified across all pages)
   ============================================================ */
body { padding-top: 68px; }
.snav { position: fixed; left: 0; right: 0; background: rgba(8,8,16,0.72); }
[data-theme="light"] .snav { background: rgba(255,255,255,0.82); border-bottom-color: rgba(15,20,40,0.10); }

.snav__toggle {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border-mid);
  background: transparent; color: var(--grey-2); display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex-shrink: 0;
  transition: color .2s, border-color .2s, background .2s;
}
.snav__toggle:hover { color: var(--white); border-color: var(--accent); }
.snav__toggle .moon { display: none; }
.snav__toggle .sun  { display: block; }
[data-theme="light"] .snav__toggle .sun  { display: none; }
[data-theme="light"] .snav__toggle .moon { display: block; }

/* Light palette */
[data-theme="light"] {
  --bg: #f4f5f8; --bg-2: #ffffff; --bg-3: #eef0f5; --surface: #ffffff; --surface-2: #f1f2f7;
  --border: rgba(15,20,40,0.10); --border-mid: rgba(15,20,40,0.16);
  --white: #10111c; --grey-1: #24252f; --grey-2: #54566a; --grey-3: #8a8c9c;
  --accent: #0098a0; --accent-2: #5b53e6;
}
[data-theme="light"] body::before {
  background:
    radial-gradient(900px 600px at 82% -8%, rgba(0,181,190,0.08), transparent 60%),
    radial-gradient(800px 600px at -5% 100%, rgba(255,80,51,0.05), transparent 60%);
}
[data-theme="light"] .snav__links a:hover { background: rgba(15,20,40,0.05); }
[data-theme="light"] .btn--ghost:hover { background: rgba(15,20,40,0.06); color: var(--white); }

/* ── 3D book mockup (shared with homepage) ──────────────────── */
@keyframes bookFloat {
  0%, 100% { transform: perspective(1000px) rotateY(-22deg) rotateX(3deg) translateY(0px); }
  50%      { transform: perspective(1000px) rotateY(-22deg) rotateX(3deg) translateY(-10px); }
}
.book-mockup { position: relative; width: 200px; height: 270px; margin: 0 auto 2rem; animation: bookFloat 5s ease-in-out infinite; transform-style: preserve-3d; }
.book-mockup__spine { position: absolute; left: -18px; top: 4px; bottom: 4px; width: 20px; background: linear-gradient(to right, #08080f, #1a1a2e); border-radius: 3px 0 0 3px; transform: skewY(-1deg); border-right: 1px solid rgba(255,255,255,0.06); }
.book-mockup__cover { position: absolute; inset: 0; background: linear-gradient(160deg, #0f0f1e 0%, #0d0d18 60%, #121224 100%); border-radius: 3px 8px 8px 3px; overflow: hidden; display: flex; flex-direction: column; padding: 22px 18px 18px; border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,80,51,0.1), 0 0 60px rgba(255,80,51,0.12); }
.book-mockup__accent-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cta) 0%, var(--accent) 100%); }
.book-mockup__eyebrow { font-size: 8px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cta); margin: 8px 0 10px; }
.book-mockup__title { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: #fff; font-weight: 400; flex-shrink: 0; }
.book-mockup__desc { font-size: 9px; color: rgba(255,255,255,0.45); line-height: 1.5; margin-top: 10px; }
.book-mockup__divider { height: 1px; background: rgba(255,255,255,0.07); margin: 14px 0; flex-shrink: 0; }
.book-mockup__chapters { font-size: 8px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; }
.book-mockup__footer { margin-top: auto; display: flex; align-items: center; gap: 7px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.book-mockup__logo { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.book-mockup__brand { font-size: 7.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.book-mockup__pages { position: absolute; right: -7px; top: 5px; bottom: 5px; width: 9px; background: repeating-linear-gradient(to bottom, #c8c8d4 0px, #c8c8d4 1px, #e4e4ee 1px, #e4e4ee 4px); border-radius: 0 2px 2px 0; box-shadow: 2px 0 6px rgba(0,0,0,0.3); }
.book-mockup__shadow { position: absolute; bottom: -20px; left: 10%; right: 5%; height: 30px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%); filter: blur(8px); z-index: -1; }
.book-side__proof { text-align: center; }
.book-side__stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.book-side__line { font-size: 0.78rem; color: var(--grey-2); font-weight: 500; margin-bottom: 0.25rem; }
.book-side__sub { font-size: 0.7rem; color: var(--grey-3); }
@media (prefers-reduced-motion: reduce) { .book-mockup { animation: none; } }

/* ── Motion polish: press feedback, nav elevation, page-in, focus, tabular ── */
.btn { transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(0.97); }
.card:active { transform: scale(0.99); }
.snav { transition: background .25s var(--ease), box-shadow .25s var(--ease); }
.snav.is-scrolled { background: rgba(8,8,16,0.93); box-shadow: 0 8px 30px rgba(0,0,0,0.28); }
[data-theme="light"] .snav.is-scrolled { background: rgba(255,255,255,0.94); box-shadow: 0 8px 30px rgba(15,20,40,0.10); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.stat__num { font-variant-numeric: tabular-nums; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFade .4s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .btn:active, .card:active { transform: none; }
}

/* Staggered reveal for grid children — cascade instead of all-at-once */
.grid > .reveal:nth-child(2) { transition-delay: .07s; }
.grid > .reveal:nth-child(3) { transition-delay: .14s; }
.grid > .reveal:nth-child(4) { transition-delay: .21s; }
.grid > .reveal:nth-child(n+5) { transition-delay: .28s; }

/* ── Press feedback for the nav theme toggle + reduced-motion guard ── */
.snav__toggle { transition: transform .12s ease, color .2s, border-color .2s; }
.snav__toggle:active { transform: scale(0.9); }
@media (prefers-reduced-motion: reduce) { .btn:active, .snav__toggle:active { transform: none; } }

/* Press feedback on whole-card links (blog cards) — match portal tactility */
a.card--hover:active { transform: translateY(-1px) scale(0.99); }
@media (prefers-reduced-motion: reduce) { a.card--hover:active { transform: none; } }

/* ═══ Role-card component — Who We Serve hub + niche cross-links ═══ */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px){ .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .role-grid { grid-template-columns: 1fr; } }
.role-card { display: flex; flex-direction: column; text-decoration: none; background: linear-gradient(155deg, var(--bg-2), var(--bg-3)); border: 1px solid var(--border-mid); border-radius: 18px; padding: 1.6rem; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.role-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.role-card__icon { font-size: 1.9rem; line-height: 1; }
.role-card h3 { color: var(--white); font-size: 1.2rem; margin: .8rem 0 .4rem; }
.role-card__line { color: var(--grey-2); font-size: .92rem; line-height: 1.55; flex: 1; }
.role-card__roi { display: flex; gap: 1.1rem; margin: 1.15rem 0; padding-top: 1rem; border-top: 1px solid var(--border); }
.role-card__roi b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); line-height: 1; }
.role-card__roi span { font-size: .66rem; color: var(--grey-3); }
.role-card__more { color: var(--accent); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s var(--ease); margin-top: auto; }
.role-card:hover .role-card__more { gap: 11px; }
.role-card--sm { padding: 1.2rem 1.3rem; }
.role-card--sm h3 { font-size: 1.04rem; margin: .55rem 0 .3rem; }
.role-card--sm .role-card__line { font-size: .86rem; }

/* ═══ Nav dropdown — Who We Serve ▾ ═══ */
.snav__has-sub { position: relative; }
.snav__has-sub > a::after { content: '▾'; font-size: .7em; margin-left: 5px; opacity: .7; display: inline-block; transition: transform .2s var(--ease); }
.snav__has-sub:hover > a::after, .snav__has-sub:focus-within > a::after { transform: rotate(180deg); }
.snav__sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--surface); border: 1px solid var(--border-mid); border-radius: 16px; padding: 8px; box-shadow: 0 28px 60px -22px rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease); z-index: 200; }
.snav__has-sub:hover .snav__sub, .snav__has-sub:focus-within .snav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px); }
.snav__mega { min-width: 290px; }
.snav__mega--2 { min-width: 470px; }
.snav__mega-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
.snav__mega-grid--2 { grid-template-columns: 1fr 1fr; gap: 2px 6px; }
.snav__mi { display: flex; align-items: flex-start; gap: 11px; padding: 9px 11px; border-radius: 12px; text-decoration: none; transition: background .15s var(--ease); }
.snav__mi:hover { background: rgba(255,255,255,0.06); }
[data-theme="light"] .snav__mi:hover { background: rgba(15,20,40,0.05); }
.snav__mi-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); }
.snav__mi-ic .ico { width: 17px; height: 17px; }
.snav__mi-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.snav__mi-t { font-size: .88rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.snav__mi-d { font-size: .735rem; color: var(--grey-3); line-height: 1.3; white-space: nowrap; }
.snav__mi.is-current .snav__mi-t { color: var(--accent); }
.snav__sub-all { display: block; margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--border); color: var(--accent); font-weight: 600; font-size: .82rem; text-decoration: none; transition: background .15s var(--ease); }
.snav__sub-all:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.snav__mobile-sub { padding-left: 2rem !important; font-size: .92rem !important; opacity: .82; }
.role-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .role-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .role-grid--4 { grid-template-columns: 1fr; } }

/* ═══ inline SVG icons (emoji replacement) ═══ */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; flex: none; }
.card__icon .ico { width: 24px; height: 24px; }
.snav__mobile-sub .ico { width: 18px; height: 18px; color: var(--accent); }
.snav__mobile-sub .ico { margin-right: 8px; }
.role-card__icon, .ns-hero__glyph { color: var(--accent); }
.sfooter__charity .ico { color: var(--cta); margin-right: 5px; vertical-align: -0.18em; }

/* Forge-style display weighting */
.stat__num, .role-card__roi b, .book-mockup__title { font-weight: 700; }
