/* Intelligent Governance: its own look, loaded after aegis-learn.css, which still supplies the form and FAQ parts.
   Effects rewritten in plain CSS from these open components:
   Morph line, perspective grid, roll-call marquee, gliding highlight, glowing card:
     Adapted from Vengeance UI, (c) 2025-2026 Ashutoshx7, MIT License.
   Stacking cards: adapted from Skiper UI (skiper-ui.com), component skiper16. Attribution is required for its free components. */
#governance__page { margin: 0; background: #0a0a0a; --navh: 96px; }
html { scroll-behavior: smooth; }
#governance__page .ig { background: #0a0a0a; color: #fff; }
.ig p { margin: 0; }
#governance__page .ig-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
#governance__page .ig h1, #governance__page .ig h2, #governance__page .ig h3, #governance__page .ig h4 { color: inherit; margin: 0; text-wrap: balance; }
#governance__page .ig h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.05; letter-spacing: -.034em; max-width: 19ch; }
#governance__page .ig-sec { padding: clamp(76px, 10vw, 150px) 0; scroll-margin-top: 70px; }
#governance__page .ig-ink { background: #0a0a0a; color: #fff; }
#governance__page .ig-white { background: #fff; color: #161616; }
#governance__page .ig-grey { background: #f5f5f5; color: #161616; }
#governance__page .ig-ch { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #cbaa5c; margin-bottom: clamp(20px, 2.6vw, 34px); }
#governance__page .ig-ch::before { content: ''; width: 36px; height: 1px; background: currentColor; }
#governance__page .ig-white .ig-ch, #governance__page .ig-grey .ig-ch { color: #a7283d; }
#governance__page .ig-lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; letter-spacing: -.01em; max-width: 44ch; margin-top: 20px; opacity: .74; text-wrap: balance; }
#governance__page .ig-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

#ig-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #a7283d, #cbaa5c); transform: scaleX(0); transform-origin: 0 50%; z-index: 2000; }

/* hero */
#governance__page .ig-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px 0 clamp(28px, 3.4vw, 48px); overflow: hidden; background: #0a0a0a; }
#governance__page .ig-hero .ig-wrap { position: relative; z-index: 3; width: 100%; }
.ig-field { position: absolute; inset: 0; perspective: 2000px; overflow: hidden; }
.ig-lit { position: absolute; inset: 0; perspective: 2000px; --mx: 72%; --my: 34%; -webkit-mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0, transparent 72%); mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000 0, transparent 72%); }
.ig-plane { position: absolute; left: 62%; top: 40%; width: 150rem; height: 150rem; transform: translate(-50%, -50%) rotateX(30deg) rotateY(-5deg) rotateZ(20deg) scale(2); transform-style: preserve-3d; background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px); background-size: 32px 32px; }
.ig-plane-gold { background-image: linear-gradient(rgba(244,215,128,.85) 1px, transparent 1px), linear-gradient(90deg, rgba(244,215,128,.85) 1px, transparent 1px); }
.ig-pulse { position: absolute; display: block; background: linear-gradient(180deg, transparent, #f4d780); width: 1px; height: 120px; top: 0; opacity: 0; }
.ig-pulse-x { background: linear-gradient(90deg, transparent, #f4d780); width: 120px; height: 1px; left: 0; top: auto; }
.ig-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, #0a0a0a 8%, rgba(10,10,10,.82) 42%, rgba(10,10,10,.1) 78%), linear-gradient(180deg, rgba(10,10,10,0) 55%, #0a0a0a 100%), radial-gradient(50% 45% at 92% 8%, rgba(167,40,61,.32), transparent 72%); }
#governance__page .ig-hero h1 { font-size: clamp(38px, 5.4vw, 80px); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; max-width: 21ch; }
.ig-kicker { display: block; font-size: 14px; font-weight: 600; letter-spacing: .03em; line-height: 1.4; color: #cbaa5c; margin-bottom: clamp(22px, 3vw, 38px); }
#governance__page .ig-morph { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 .3em; margin-top: clamp(22px, 2.8vw, 38px); font-size: clamp(25px, 3.5vw, 50px); font-weight: 600; letter-spacing: -.028em; line-height: 1.2; color: rgba(255,255,255,.55); }
.ig-morph-box { position: relative; display: inline-block; flex: 1 1 11em; min-width: 11em; height: 1.2em; font-weight: 700; color: #f4d780; filter: url(#ig-threshold); }
.ig-word { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; }
.ig-word:first-child { opacity: 1; }
#governance__page .ig-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(26px, 3vw, 40px); }
#governance__page .ig-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 12px; background: linear-gradient(135deg, #cbaa5c, #f4d780); color: #1d1405; font-weight: 600; font-size: 16px; transition: transform .2s; }
#governance__page .ig-btn:hover { transform: translateY(-2px); color: #1d1405; text-decoration: none; }
#governance__page .ig-text-link { color: #fff; font-weight: 600; font-size: 15px; }
#governance__page .ig-text-link:hover { color: #f4d780; }
#governance__page .ig-hero-foot { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.62); }
#governance__page .ig-hero-foot a { color: #f4d780; }
#governance__page .ig-hero-foot strong { color: #fff; font-weight: 600; }

/* roll-call */
#governance__page .ig-roll { overflow-x: clip; }
#governance__page .ig-roll-label { font-size: 13px; font-weight: 600; color: #6b6b73; margin: clamp(44px, 5vw, 68px) 0 12px; }
.ig-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); overflow: hidden; }
.ig-track { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px 0; }
#governance__page .ig-track li { flex: none; margin: 0; display: flex; align-items: center; white-space: nowrap; font-size: clamp(26px, 3.8vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.25; color: #161616; }
#governance__page .ig-track li::after { content: ''; width: .22em; height: .22em; border-radius: 50%; margin: 0 .6em; background: #cbaa5c; }
#governance__page .ig-marquee-b .ig-track li { color: #a7283d; }

/* the thesis, lit word by word */
#governance__page .ig-thesis { padding: clamp(110px, 16vw, 230px) 0; }
#governance__page .ig-words { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.14; letter-spacing: -.032em; font-weight: 600; max-width: 22ch; color: #fff; }
.ig-words span { transition: opacity .35s ease; }
#governance__page .ig-answer { margin-top: clamp(44px, 6vw, 80px); font-size: clamp(22px, 2.8vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -.024em; max-width: 26ch; color: #f4d780; text-wrap: balance; }

/* numbers */
#governance__page .ig-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(44px, 5vw, 72px); padding-top: 28px; border-top: 1px solid #e5e5e5; }
#governance__page .ig-nums b { display: block; font-size: clamp(42px, 5.8vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, #a7283d, #cbaa5c); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
#governance__page .ig-nums span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: #4a4444; max-width: 24ch; }
.ig-split-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); background: #f0ecdf; }
.ig-split-bar i { display: block; width: 30%; background: #a7283d; }
.ig-split-bar u { display: block; width: 70%; background: linear-gradient(90deg, #cbaa5c, #f4d780); }
#governance__page .ig-split-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 12px; font-size: 15px; color: #4a4444; }
#governance__page .ig-split-note strong { color: #161616; font-weight: 600; }

/* gliding highlight */
.ig-hgrid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid #dcdcdc; border-left: 1px solid #dcdcdc; }
.ig-hl { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; z-index: 0; pointer-events: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), width .3s cubic-bezier(.2,.7,.2,1), height .3s cubic-bezier(.2,.7,.2,1), background-color .3s, opacity .3s; }
#governance__page .ig-cell { position: relative; z-index: 1; padding: clamp(22px, 2.6vw, 36px); border-right: 1px solid #dcdcdc; border-bottom: 1px solid #dcdcdc; transition: color .25s; }
#governance__page .ig-cell h3 { font-size: clamp(20px, 2vw, 27px); line-height: 1.15; letter-spacing: -.024em; margin-bottom: 10px; }
#governance__page .ig-cell p { font-size: 15.5px; line-height: 1.45; color: #4a4444; transition: color .25s; }
#governance__page .ig-cell.is-on { color: #fff; }
#governance__page .ig-cell.is-on p { color: rgba(255,255,255,.86); }
#governance__page .ig-cell.is-on.on-gold { color: #161616; }
#governance__page .ig-cell.is-on.on-gold p { color: #2a1f08; }

/* the journey: stacking cards */
.ig-stack { margin-top: clamp(44px, 5vw, 72px); }
#governance__page .ig-slot { position: sticky; top: calc(var(--navh) + var(--i) * 34px); margin-bottom: 26px; }
.ig-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); padding: clamp(26px, 3.6vw, 52px); border-radius: 24px; min-height: 340px; transform-origin: 50% 0; transform: scale(calc(1 - var(--d, 0) * .04)); box-shadow: 0 -18px 46px -18px rgba(0,0,0,.65); will-change: transform; }
.ig-card-1 { background: #171717; border: 1px solid rgba(203,170,92,.32); }
.ig-card-2 { background: linear-gradient(150deg, #5e161d, #862127); }
.ig-card-3 { background: linear-gradient(150deg, #862127, #a7283d); }
.ig-card-4 { background: linear-gradient(145deg, #cbaa5c, #f4d780); color: #161616; }
#governance__page .ig-tab { font-size: 13px; font-weight: 600; letter-spacing: .05em; opacity: .72; }
#governance__page .ig-card h3 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1; letter-spacing: -.045em; margin: 10px 0 14px; }
#governance__page .ig-card-1 h3 { color: #f4d780; }
#governance__page .ig-does { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35; letter-spacing: -.012em; max-width: 26ch; }
#governance__page .ig-mods { list-style: none; margin: 0; padding: 0; align-self: end; }
#governance__page .ig-mods li { margin: 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.3; font-weight: 500; }
#governance__page .ig-card-4 .ig-mods li { border-color: rgba(0,0,0,.2); }
#governance__page .ig-mods b { font-weight: 600; opacity: .6; margin-right: 10px; font-variant-numeric: tabular-nums; }
.ig-stack-end { height: 14vh; }
#governance__page .ig-capstone { font-size: clamp(19px, 2vw, 27px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; max-width: 34ch; }
#governance__page .ig-capstone span { color: #f4d780; }

/* read more */
#governance__page .ig-more { margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid rgba(128,128,128,.32); }
#governance__page .ig-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 18px 0; font-size: 16px; font-weight: 600; }
#governance__page .ig-more summary::-webkit-details-marker { display: none; }
#governance__page .ig-more summary::after { content: '+'; font-size: 20px; font-weight: 400; line-height: 1; color: #cbaa5c; transition: transform .2s; }
#governance__page .ig-more[open] summary::after { transform: rotate(45deg); }
#governance__page .ig-mod-list { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(24px, 4vw, 56px); counter-reset: m; }
#governance__page .ig-mod-list li { margin: 0; counter-increment: m; }
#governance__page .ig-mod-list li::before { content: counter(m, decimal-leading-zero); display: block; font-size: 13px; font-weight: 600; color: #cbaa5c; margin-bottom: 4px; }
#governance__page .ig-mod-list strong { display: block; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.012em; margin-bottom: 4px; }
#governance__page .ig-mod-list span { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.72); }

/* the scenario */
#governance__page .ig-crimson { background: linear-gradient(165deg, #6d1a22 0%, #862127 45%, #a7283d 100%); color: #fff; }
#governance__page .ig-crimson .ig-ch { color: #f4d780; }
#governance__page .ig-huge { font-size: clamp(42px, 8vw, 118px) !important; line-height: .99 !important; letter-spacing: -.045em !important; max-width: 13ch !important; }
#governance__page .ig-crimson .ig-lead { opacity: .92; }
.ig-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(44px, 5vw, 72px); align-items: start; }
#governance__page .ig-tile { border: 1px solid rgba(255,255,255,.28); border-radius: 14px; transition: background-color .2s; }
#governance__page .ig-tile:hover, #governance__page .ig-tile[open] { background: rgba(0,0,0,.2); }
#governance__page .ig-tile summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; padding: 19px 22px; font-size: 16.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
#governance__page .ig-tile summary::-webkit-details-marker { display: none; }
#governance__page .ig-tile summary::after { content: '+'; flex: none; font-weight: 400; font-size: 20px; line-height: 1; color: #f4d780; transition: transform .2s; }
#governance__page .ig-tile[open] summary::after { transform: rotate(45deg); }
#governance__page .ig-tile p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.88); }

/* the certificate */
.ig-cert-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
#governance__page .ig-gets { list-style: none; margin: clamp(26px, 3vw, 38px) 0 0; padding: 0; }
#governance__page .ig-gets li { margin: 0; padding: 13px 0; border-top: 1px solid #e5e5e5; font-size: 16.5px; line-height: 1.35; color: #2a2a2a; }
@property --ig-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ig-cert { position: relative; isolation: isolate; border-radius: 24px; }
.ig-cert::before, .ig-cert::after { content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: 26px; background: conic-gradient(from var(--ig-a), #cbaa5c, #f4d780, #a7283d, #862127, #cbaa5c); }
.ig-cert::after { inset: -12px; z-index: -2; border-radius: 34px; filter: blur(26px); opacity: .55; }
#governance__page .ig-cert-in { background: #0d0d0d; color: #fff; border-radius: 24px; padding: clamp(28px, 3.6vw, 48px); }
#governance__page .ig-cert-in .ig-tab { color: #f4d780; opacity: 1; }
#governance__page .ig-cert-in h3 { font-size: clamp(27px, 3.1vw, 42px); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 12px; }
#governance__page .ig-cert-in p { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.7); }
#governance__page .ig-seals { list-style: none; margin: 24px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#governance__page .ig-seals li { margin: 0; padding: 6px 13px; border: 1px solid rgba(203,170,92,.5); border-radius: 100px; font-size: 13px; color: #f4d780; }

/* the vision */
#governance__page .ig-vision h2 { font-size: clamp(25px, 3vw, 40px); max-width: 26ch; }
#governance__page .ig-tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
#governance__page .ig-tags li { margin: 0; padding: 6px 14px; background: #fff; border: 1px solid #e5e5e5; border-radius: 100px; font-size: 14px; color: #3a3131; }

/* FAQ and enquiry */
#governance__page .ig-faq { max-width: 880px; }
#governance__page .ig-faq h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 28px; max-width: none; }
#governance__page .ig-enquire { background: radial-gradient(55% 60% at 100% 0%, rgba(167,40,61,.42), transparent 70%), radial-gradient(45% 50% at 0% 100%, rgba(203,170,92,.16), transparent 70%), #0a0a0a; color: #fff; }
.ig-enq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
#governance__page .ig-enquire h2 { font-size: clamp(34px, 4.4vw, 60px); }
#governance__page .ig-contact { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.72); }
#governance__page .ig-contact strong { display: block; color: #fff; font-size: 18px; font-weight: 600; }
#governance__page .ig-contact a { color: #f4d780; }
#governance__page .ig-credit { margin-top: 22px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.42); }
#governance__page .ig-formcard { background: #fff; color: #161616; border-radius: 22px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
#governance__page .ig-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
#governance__page .ig-formcard .axl-btn { width: 100%; justify-content: center; padding-top: 15px; padding-bottom: 15px; font-size: 16px; }
#governance__page .ig-formcard .axl-form-note { color: #6b6b73; }
#governance__page .ig-formcard h3 { color: #161616; margin-bottom: 8px; }
#governance__page .ig-formcard .axl-formok { border: 0; background: none; padding: 8px 0; }

/* motion, only when the script runs and the reader has not asked for less */
@media (prefers-reduced-motion: no-preference) {
  .ig-js #governance__page .ig-r { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .ig-js #governance__page .ig-r.in { opacity: 1; transform: none; }
  .ig-js .ig-words span:not(.on) { opacity: .16; }
  .ig-word { animation: ig-morph calc(var(--n) * 2.6s) linear infinite both; animation-delay: calc(var(--i) * 2.6s); }
  .ig-word:first-child { opacity: 0; }
  .ig-pulse { animation: ig-pulse-y 7s linear infinite; animation-delay: var(--t); }
  .ig-pulse-x { animation-name: ig-pulse-x; }
  .ig-marquee .ig-track { flex-wrap: nowrap; width: max-content; animation: ig-roll var(--dur, 60s) linear infinite; }
  .ig-marquee-b .ig-track { animation-direction: reverse; }
  .ig-marquee:hover .ig-track { animation-play-state: paused; }
  .ig-cert::before, .ig-cert::after { animation: ig-spin 7s linear infinite; }
}
/* The Vengeance morph is timed for 3 words; these percentages are reworked for 6 at 2.6s each, so only two ever overlap. */
@keyframes ig-morph {
  0% { opacity: 0; filter: blur(14px); transform: scale(.97); transform-origin: 0 50%; }
  4% { opacity: 1; filter: blur(0); transform: none; }
  14% { opacity: 1; filter: blur(0); transform: none; }
  18%, 100% { opacity: 0; filter: blur(14px); transform: scale(1.03); transform-origin: 0 50%; }
}
@keyframes ig-roll { to { transform: translateX(-50%); } }
@keyframes ig-spin { to { --ig-a: 360deg; } }
@keyframes ig-pulse-y { 0% { transform: translateY(-120px); opacity: 0; } 8% { opacity: .9; } 55% { opacity: .9; } 70%, 100% { transform: translateY(1700px); opacity: 0; } }
@keyframes ig-pulse-x { 0% { transform: translateX(-120px); opacity: 0; } 8% { opacity: .9; } 55% { opacity: .9; } 70%, 100% { transform: translateX(1700px); opacity: 0; } }

@media (max-width: 991px) {
  .ig-cert-grid, .ig-enq-grid { grid-template-columns: minmax(0, 1fr); }
  #governance__page .ig-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-tiles, .ig-hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #governance__page .ig-mod-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  #governance__page { --navh: 84px; }
  .ig-tiles, .ig-hgrid { grid-template-columns: minmax(0, 1fr); }
  .ig-card { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 14px; }
  #governance__page .ig-slot { top: calc(var(--navh) + var(--i) * 26px); margin-bottom: 18px; }
  #governance__page .ig-f2 { grid-template-columns: minmax(0, 1fr); }
  .ig-plane { left: 80%; top: 28%; }
  .ig-shade { background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.82) 40%, #0a0a0a 92%); }
  .ig-morph-box { flex-basis: 100%; min-width: 0; }
}
/* On short screens, or with less motion, the stack is just a list: no card should be taller than the space it sticks in. */
@media (max-height: 640px), (prefers-reduced-motion: reduce) {
  #governance__page .ig-slot { position: static; }
  .ig-card { transform: none; }
  .ig-stack-end { display: none; }
}
