/* N3CA SHARIA v3 — html.n3s (assets/revamp/n3ca-sharia.js). The Sharia chapter on the N3CA Core page.
   v3: no new visual language. Every value below is taken from the page's own N3CA look (n3ca-x.css): frame lines,
   grey-tail headings at 34–56px, numbered hairline boards with teal corner brackets, card-art drawings, night list rows. */
.n3s { --sh-teal: #29ccb2; --sh-ink: #11131f; --sh-grey: #555a6b; --sh-line: #e3e4ea; --sh-nline: rgba(255, 255, 255, .1); --sh-night: #0e1020; }
.n3s #sharia { scroll-margin-top: 72px; }

/* ---- sections: same frame, padding and head as the Core sections above ---- */
.n3s .n3sOpen, .n3s .n3sIx, .n3s .n3sAp, .n3s .n3sCo { position: relative; isolation: isolate; background: #fff; box-sizing: border-box; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(96px, 10vw, 144px) var(--pad-x); }
.n3s .n3sOpen::before, .n3s .n3sIx::before, .n3s .n3sAp::before, .n3s .n3sCo::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pad-x); right: var(--pad-x); z-index: -1; pointer-events: none; border-left: 1px solid rgba(17, 19, 31, .07); border-right: 1px solid rgba(17, 19, 31, .07); }
.n3s .n3sOpen { border-top: 1px solid var(--sh-line); }
.n3s .n3sHead { margin: 0 0 56px; padding: 0 24px; max-width: 760px; }
.n3s .n3sH { margin: 0; color: var(--sh-ink); font: 500 clamp(34px, 3.6vw, 56px)/1.08 "Geologica", sans-serif; letter-spacing: -.03em; text-wrap: balance; }
.n3s .n3sH .n3G { background-image: linear-gradient(90deg, #11131f 0 50%, #a3a7b3 50% 100%); }
.n3s .n3sH--dark { color: #fff; }
.n3s .n3sH--dark .n3G { background-image: linear-gradient(90deg, #fff 0 50%, rgba(255, 255, 255, .42) 50% 100%); }
.n3s .n3sLead { margin: 20px 0 0; color: var(--sh-grey); font-size: 18px; line-height: 1.6; max-width: 640px; }
.n3s .n3sOpen__logo { display: block; height: 40px; width: auto; margin: 0 0 32px; }
.n3s .n3sOpen__top { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 4vw, 64px); align-items: center; margin: 0 0 64px; }
.n3s .n3sOpen__top .n3sHead { margin: 0; }
.n3s .n3sOpen__cta { margin-top: 32px; }
.n3s .n3sOpen__stage { position: relative; aspect-ratio: 6 / 4.4; background: none; display: flex; align-items: center; justify-content: center; overflow: visible; }
.n3s .n3sOpen__art { width: 74%; height: 74%; }
.n3s .n3sOpen__art svg { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; }

/* numbered hairline boards (as "How N3CA Core helps" and "What N3CA Core delivers") */
.n3s .n3sBoard { display: grid; border-top: 1px solid var(--sh-line); border-bottom: 1px solid var(--sh-line); }
.n3s .n3sBoard--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.n3s .n3sBoard--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.n3s .n3sCell { position: relative; padding: 32px 24px 48px; }
.n3s .n3sBoard--4 .n3sCell + .n3sCell { border-left: 1px solid var(--sh-line); }
.n3s .n3sBoard--3 .n3sCell:not(:nth-child(3n + 1)) { border-left: 1px solid var(--sh-line); }
.n3s .n3sBoard--3 .n3sCell:nth-child(n + 4) { border-top: 1px solid var(--sh-line); }
.n3s .n3sCell .n3xNo { color: #4a3dcc; margin-bottom: 28px; }
.n3s .n3sCell h3 { margin: 0 0 10px; color: var(--sh-ink); font: 600 20px/1.3 "Geologica", sans-serif; letter-spacing: -.01em; }
.n3s .n3sCell p { margin: 0; color: var(--sh-grey); font-size: 15px; line-height: 1.6; }
.n3s .n3sCell::after { content: ""; position: absolute; inset: 12px; pointer-events: none; opacity: 0; transform: scale(1.04); transition: opacity .3s, transform .5s cubic-bezier(.2, .8, .2, 1); --c: #29ccb2; --l: 14px;
  background: linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 2px, linear-gradient(var(--c), var(--c)) 0 0 / 2px var(--l), linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 2px, linear-gradient(var(--c), var(--c)) 100% 0 / 2px var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 2px, linear-gradient(var(--c), var(--c)) 0 100% / 2px var(--l), linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 2px, linear-gradient(var(--c), var(--c)) 100% 100% / 2px var(--l); background-repeat: no-repeat; }
.n3s .n3sCell:hover::after { opacity: 1; transform: none; }
.n3s .n3sCell__ops { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sh-line); color: #8a8f9e; font: 500 12.5px/1.6 "JetBrains Mono", ui-monospace, monospace; background: none; }

/* modules: the board's cells carry a drawing each (card-art, white theme), more on hover */
.n3s .n3sMod .n3xNo { position: absolute; right: 24px; top: 32px; margin: 0; color: #a3a7b3; }
.n3s .n3sMod__art { height: 230px; margin: 0 0 28px; display: flex; align-items: flex-end; justify-content: center; }
.n3s .n3sMod__art svg { width: 100% !important; height: 100% !important; max-width: 300px !important; max-height: 220px !important; }
.n3s .n3sMod__more { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s ease, opacity .35s, margin-top .5s ease; }
.n3s .n3sMod:hover .n3sMod__more, .n3s .n3sMod:focus-within .n3sMod__more { max-height: 120px; opacity: 1; margin-top: 14px; }
.n3s .n3sMod__more li { position: relative; padding: 4px 0 4px 16px; color: var(--sh-ink); font-size: 14px; line-height: 1.45; }
.n3s .n3sMod__more li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--sh-teal); }
@media (hover: none) { .n3s .n3sMod__more { max-height: none; opacity: 1; margin-top: 14px; } }

/* ---- fair by design: night, the nisbah flow (approved drawing) ---- */
.n3s .n3sFlow { position: relative; isolation: isolate; background: var(--sh-night); min-height: 100vh; box-sizing: border-box; padding: clamp(96px, 10vw, 144px) calc(var(--pad-x) + 24px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 96px); align-items: center; --wc: 6; --wb: 6; }
.n3s .n3sFlow::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pad-x); right: var(--pad-x); z-index: -1; pointer-events: none; border-left: 1px solid rgba(255, 255, 255, .08); border-right: 1px solid rgba(255, 255, 255, .08); }
.n3s .n3sFlow .n3sLead { color: rgba(255, 255, 255, .62); }
.n3s .n3sFlow .n3sHead { padding: 0; margin: 0; }
.n3s .n3sFlow__list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.n3s .n3sFlow__list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); font-size: 15.5px; line-height: 1.5; }
.n3s .n3sFlow__list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; background: var(--sh-teal); }
.n3s .n3sFlow__nisbah { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 28px; color: rgba(255, 255, 255, .7); font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.n3s .n3sFlow__nisbah > span { margin-right: 6px; }
.n3s .n3sChip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: rgba(255, 255, 255, .86); font: 500 15px/1 "JetBrains Mono", ui-monospace, monospace; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.n3s .n3sChip:hover { border-color: var(--sh-teal); color: #fff; }
.n3s .n3sChip.is-on { background: var(--sh-teal); border-color: var(--sh-teal); color: var(--sh-night); }

.n3s .n3sFlow__art { position: relative; aspect-ratio: 660 / 420; width: 100%; }
.n3s .n3sFlow__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.n3s .n3sFlow__base { stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; stroke-linecap: round; }
.n3s .n3sFlow__base--c { stroke: var(--sh-teal); stroke-width: var(--wc); opacity: .9; transition: stroke-width .8s cubic-bezier(.65, 0, .35, 1); }
.n3s .n3sFlow__base--b { stroke: #4a3dcc; stroke-width: var(--wb); opacity: 1; transition: stroke-width .8s cubic-bezier(.65, 0, .35, 1); }
.n3s .n3sFlow__run { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 9 140; stroke-dashoffset: 9; opacity: 0; filter: drop-shadow(0 0 4px rgba(41, 204, 178, .9)); }
.n3s .n3sFlow.is-in .n3sFlow__run { animation: n3sRun 3.6s cubic-bezier(.45, 0, .55, 1) var(--d, 0s) infinite; }
@keyframes n3sRun { 0% { stroke-dashoffset: 9; opacity: 0; } 8% { opacity: 1; } 45% { opacity: 1; } 55% { stroke-dashoffset: -100; opacity: 0; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.n3s .n3sFlow__box { stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; fill: var(--sh-night); }
.n3s .n3sFlow__ring { stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; fill: var(--sh-night); }
.n3s .n3sFlow__arc { fill: none; stroke-width: 7; transform: rotate(-90deg); transform-origin: 420px 210px; transition: stroke-dasharray .8s cubic-bezier(.65, 0, .35, 1), stroke-dashoffset .8s cubic-bezier(.65, 0, .35, 1); }
.n3s .n3sFlow__arc--c { stroke: var(--sh-teal); }
.n3s .n3sFlow__arc--b { stroke: #4a3dcc; }
.n3s .n3sFlow__end { transition: r .8s cubic-bezier(.65, 0, .35, 1); }
.n3s .n3sFlow.is-tick .n3sFlow__ring { animation: n3sTick .8s cubic-bezier(.2, .8, .2, 1); transform-box: fill-box; transform-origin: center; }
@keyframes n3sTick { 40% { transform: scale(1.08); } }
.n3s .n3sFlow__side { display: flex; flex-direction: column; }
.n3s .n3sFlow__dot { fill: rgba(255, 255, 255, .55); }
.n3s .n3sFlow__end--c { fill: var(--sh-teal); }
.n3s .n3sFlow__end--b { fill: #4a3dcc; }
.n3s .n3sTag { position: absolute; left: var(--x); top: var(--y); transform: translate(0, -50%); color: rgba(255, 255, 255, .9); font: 500 14px/1.3 "Geologica", sans-serif; white-space: nowrap; }
.n3s .n3sTag--src { transform: translate(18px, -50%); }
.n3s .n3sTag--node { transform: translate(-50%, 0); color: #fff; text-align: center; }
.n3s .n3sTag--top { transform: none; color: rgba(255, 255, 255, .42); font: 500 11px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.n3s .n3sSplit { position: absolute; left: var(--x); top: var(--y); transform: translate(0, -50%); display: flex; flex-direction: column; gap: 4px; padding-left: 18px; color: rgba(255, 255, 255, .7); font: 500 13px/1 "Geologica", sans-serif; }
.n3s .n3sSplit b { font: 500 28px/1 "Geologica", sans-serif; letter-spacing: -.02em; color: #fff; }
.n3s .n3sSplit--c b { color: var(--sh-teal); }

.n3s .n3sFlow__legend { display: none; }



/* ---- compliance: night, sticky heading left, numbered rows right (as "A complete core") ---- */
.n3s .n3sCo { background: var(--sh-night); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: start; justify-content: stretch; }
.n3s .n3sCo::before { border-color: rgba(255, 255, 255, .08); }
.n3s .n3sCo__head { position: sticky; top: 140px; padding: 0 0 0 24px; }
.n3s .n3sCo__head .n3sHead { padding: 0; margin: 0; }
.n3s .n3sCo .n3sLead { color: rgba(255, 255, 255, .62); }
.n3s .n3sCo__rows { border-top: 1px solid var(--sh-nline); padding-right: 24px; }
.n3s .n3sCo__row { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--sh-nline); }
.n3s .n3sCo__row .n3xNo { margin: 6px 0 0; color: var(--sh-teal); }
.n3s .n3sCo__row h3 { margin: 0 0 8px; color: #fff; font: 500 22px/1.3 "Geologica", sans-serif; letter-spacing: -.01em; }
.n3s .n3sCo__row p { margin: 0; color: rgba(255, 255, 255, .6); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.n3s .n3sCo__row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--sh-teal); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.n3s .n3sCo__row:hover::before { width: 100%; }
.n3s .n3sCo__psak { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0 0; border-top: 1px solid var(--sh-nline); }
.n3s .n3sCo__psak > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--sh-nline); }
.n3s .n3sCo__psak dt { color: #fff; font: 500 16px/1.3 "Geologica", sans-serif; }
.n3s .n3sCo__psak dd { margin: 4px 0 0; color: var(--sh-teal); font: 500 12.5px/1 "JetBrains Mono", ui-monospace, monospace; }

/* reveal */
.n3s .n3sCell, .n3s .n3sCo__row { opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .9s cubic-bezier(.2, .8, .2, 1); }
.n3s .is-in .n3sCell, .n3s .is-in .n3sCo__row { opacity: 1; transform: none; }
.n3s .is-in :is(.n3sCell, .n3sCo__row):nth-child(2) { transition-delay: .06s; }
.n3s .is-in :is(.n3sCell, .n3sCo__row):nth-child(3) { transition-delay: .12s; }
.n3s .is-in :is(.n3sCell, .n3sCo__row):nth-child(n + 4) { transition-delay: .18s; }

/* ---- Core / Sharia rail ---- */
/* it lives in the left gutter, outside the frame line, so it never sits on text; hidden where the gutter is too narrow */
.n3s .n3sRail { position: fixed; left: calc((var(--pad-x) - 80px) / 2); top: 50%; border: 1px solid rgba(255, 255, 255, .14); z-index: 60; display: flex; flex-direction: column; padding: 4px; border-radius: 0; background: rgba(17, 19, 31, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 32px -12px rgba(10, 6, 60, .45); transform: translate(-12px, -50%); opacity: 0; pointer-events: none; transition: opacity .4s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.n3s .n3sRail.is-in { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
@media (max-width: 1279px) { .n3s .n3sRail { display: none; } }
.n3s .n3sRail a { position: relative; z-index: 1; display: block; width: 70px; padding: 11px 0; text-align: center; border-radius: 0; color: rgba(255, 255, 255, .62); font: 500 13px/1 "Geologica", sans-serif; text-decoration: none; transition: color .4s; }
.n3s .n3sRail a[data-k="core"] { color: #fff; }
.n3s .n3sRail.is-sh a[data-k="core"] { color: rgba(255, 255, 255, .62); }
.n3s .n3sRail.is-sh a[data-k="sharia"] { color: var(--sh-night); }
.n3s .n3sRail__pill { position: absolute; top: 4px; left: 4px; right: 4px; height: calc(50% - 4px); border-radius: 0; background: #4a3dcc; transition: transform .6s cubic-bezier(.65, 0, .35, 1), background-color .6s; }
.n3s .n3sRail.is-sh .n3sRail__pill { transform: translateY(100%); background: var(--sh-teal); }


@media (max-width: 1024px) {
  .n3s .n3sBoard--4, .n3s .n3sBoard--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n3s .n3sBoard .n3sCell:nth-child(n) { border-left: 0; }
  .n3s .n3sBoard .n3sCell:nth-child(2n) { border-left: 1px solid var(--sh-line); }
  .n3s .n3sBoard .n3sCell:nth-child(n + 3) { border-top: 1px solid var(--sh-line); }
  .n3s .n3sFlow, .n3s .n3sCo, .n3s .n3sOpen__top { grid-template-columns: 1fr; }
  .n3s .n3sCo__head { position: static; }
}
@media (max-width: 560px) {
  .n3s .n3sBoard--4, .n3s .n3sBoard--3 { grid-template-columns: 1fr; }
  .n3s .n3sBoard .n3sCell:nth-child(n) { border-left: 0; }
  .n3s .n3sBoard .n3sCell + .n3sCell { border-top: 1px solid var(--sh-line); }
  /* review 10 Nov 2026: text keeps the Core sections' inset from the frame lines on phones (16px heads, 24px cells) */
  .n3s .n3sHead, .n3s .n3sHead--open { padding: 0 16px !important; }
  .n3s .n3sFlow .n3sHead, .n3s .n3sCo .n3sHead { padding: 0 !important; }
  .n3s .n3sCo .n3sHead { padding: 0 16px !important; }
  .n3s .n3sOpen__top { gap: 40px; }
  .n3s .n3sOpen__stage { margin: 0 16px; }
  .n3s .n3sCell { padding: 28px 24px 40px; }
  .n3s .n3sCo__head { padding: 0; }
  .n3s .n3sCo__rows { padding: 0 16px; }
  .n3s .n3sCo__row { grid-template-columns: 40px 1fr; }
  .n3s .n3sCo__psak { grid-template-columns: 1fr 1fr; }
  .n3s .n3sFlow { padding-left: calc(var(--pad-x) + 16px); padding-right: calc(var(--pad-x) + 16px); }
  .n3s .n3sTag, .n3s .n3sSplit { display: none; }
  .n3s .n3sFlow__legend { display: block; list-style: none; counter-reset: lg; margin: 20px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .n3s .n3sFlow__legend li { counter-increment: lg; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); font-size: 14.5px; }
  .n3s .n3sFlow__legend li::before { content: "0" counter(lg); color: var(--sh-teal); font: 500 12px/1.6 "JetBrains Mono", ui-monospace, monospace; }
  .n3s .n3sLeg--c b { color: var(--sh-teal); }
  .n3s .n3sLeg--b b { color: #fff; }
  .n3s .n3sFlow__nisbah > span { width: 100%; margin: 0 0 4px; }
  .n3s .n3sChip { padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .n3s .n3sCell, .n3s .n3sCo__row { opacity: 1; transform: none; }
}
/* API cells: the operations line sits on one baseline across the row */
.n3s .n3sAp .n3sCell { display: flex; flex-direction: column; }
.n3s .n3sAp .n3sCell p { margin-bottom: 20px; }
.n3s .n3sAp .n3sCell__ops { margin-top: auto; }

/* review 10 Nov 2026 (Manager: "no colour for now, plain grey like Linear"): the flow drawing is monochrome too.
   Customer share = light, bank share = mid grey; the ratio still reads from the line weights, the pool split and the ends. */
.n3s .n3sFlow__base--c { stroke: #e7e7f1; opacity: 1; }
.n3s .n3sFlow__base--b { stroke: #62666d; }
.n3s .n3sFlow__arc--c { stroke: #e7e7f1; }
.n3s .n3sFlow__arc--b { stroke: #62666d; }
.n3s .n3sFlow__end--c { fill: #e7e7f1; }
.n3s .n3sFlow__end--b { fill: #62666d; }
.n3s .n3sFlow__run { filter: none; }
.n3s .n3sSplit--c b { color: #fff; }
.n3s .n3sSplit--b b { color: #8a8f9e; }
.n3s .n3sChip.is-on { background: #e7e7f1; border-color: #e7e7f1; color: var(--sh-night); }
.n3s .n3sChip:hover { border-color: #e7e7f1; }
.n3s .n3sFlow__list li::before { background: #62666d; }
.n3s .n3sLeg--c b { color: #fff; }
.n3s .n3sLeg--b b { color: #8a8f9e; }
.n3s .n3sFlow__legend li::before { color: #8a8f9e; }

/* review 10 Nov 2026: the flow is still until the drawing is hovered (or a ratio is picked); then the flows run
   and the bank share turns purple */
.n3s .n3sFlow__side:hover .n3sFlow__base--b, .n3s .n3sFlow__side:hover .n3sFlow__arc--b { stroke: #6a5ff0; }
.n3s .n3sFlow__side:hover .n3sFlow__end--b { fill: #6a5ff0; }
.n3s .n3sFlow__base--b, .n3s .n3sFlow__arc--b { transition: stroke .45s, stroke-width .8s cubic-bezier(.65, 0, .35, 1), stroke-dasharray .8s cubic-bezier(.65, 0, .35, 1), stroke-dashoffset .8s cubic-bezier(.65, 0, .35, 1); }

/* review 10 Nov 2026: API cells, the operations line sits closer to the bottom edge */
.n3s .n3sAp .n3sCell { padding-bottom: 24px; }
.n3s .n3sAp .n3sCell__ops { padding-top: 14px; }
/* review 10 Nov 2026: the share labels at the right end of the flow stayed past the right frame line; the drawing
   leaves room for them so they end on the content edge, in line with the nisbah chips */
.n3s .n3sFlow__art { width: calc(100% - 64px); }
@media (max-width: 560px) { .n3s .n3sFlow__art { width: 100%; } }
/* motion v5: the flows run without a pause between pulses */
.n3s .n3sFlow.is-in .n3sFlow__run { animation: n3sRun5 2.6s linear var(--d, 0s) infinite; }
@keyframes n3sRun5 { 0% { stroke-dashoffset: 9; opacity: 0; } 6%, 92% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }

/* v7 (Manager, 16 Nov 2026): N3CA Sharia has its own page; Core keeps only a link to it in the hero */
.n3s .n3sGo { display: inline-flex; align-items: center; gap: 8px; }
.n3s .n3sGo__ic { width: 16px; height: 16px; flex: none; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.n3s .n3sGo:hover .n3sGo__ic, .n3s .n3sGo:focus-visible .n3sGo__ic { transform: translate(2px, -2px); }
/* Sharia page: the hero's visual is the balance drawing */
.n3s--page .n3sHeroFig { display: flex; align-items: center; justify-content: center; background: none !important; }
.n3s--page .n3sHeroFig .n3sHeroArt { width: 86%; aspect-ratio: 1 / 1; }
.n3s--page .n3sHeroFig .n3sHeroArt svg { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; }
/* the four highlights follow the hero directly: no full-screen height, no repeated heading */
.n3s--page .n3sOpen--board { min-height: 0; padding-top: clamp(96px, 10vw, 144px); padding-bottom: clamp(96px, 10vw, 144px); border-top: 0; }
.n3s--page .n3xPhoto img { object-position: 42% 30%; }   /* keep the banker in frame when the photo is cropped */
/* v8: a heading before the four points, spaced like Core's 'How N3CA Core helps' (96 to the cards) */
.n3s--page .n3sHead--why { margin: 0 0 96px; }
@media (max-width: 640px) { .n3s--page .n3sHead--why { margin-bottom: 48px; } }
