/* ============================================================
   Country-Specific Pages — Minimal CSS
   Only keyframes, pseudo-elements, and animation triggers
   that Tailwind cannot handle inline.
   ============================================================ */

/* ── Keyframes ── */
@keyframes cp-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(40,183,183,.22); }
  50% { box-shadow: 0 0 0 6px rgba(40,183,183,.08); }
}
@keyframes cp-orb-float {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(30px,-20px); }
}
@keyframes cp-rotate-slow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
@keyframes cp-bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes cp-dot-pop {
  from { transform: translateX(-50%) scale(0); opacity: 0; }
  to { transform: translateX(-50%) scale(1); opacity: 1; }
}
@keyframes cp-bar-sheen {
  from { left: -30%; }
  to { left: 130%; }
}
@keyframes cp-rail-shimmer {
  0% { left: -30%; }
  100% { left: 130%; }
}

/* ── Animation utility classes ── */
.cp-pulse-dot { animation: cp-pulse-dot 2s ease-in-out infinite; }
.cp-orb-float { animation: cp-orb-float 14s ease-in-out infinite; }
.cp-orb-float-delayed { animation: cp-orb-float 14s ease-in-out infinite; animation-delay: -7s; }
.cp-rotate-slow { animation: cp-rotate-slow 60s linear infinite; }
.cp-rotate-slow-80 { animation: cp-rotate-slow 80s linear infinite; }
.cp-bar-grow { transform-origin: left; animation: cp-bar-grow 1.4s cubic-bezier(.22,1,.36,1) forwards; }
.cp-bar-grow-delayed { transform-origin: left; animation: cp-bar-grow 1.4s cubic-bezier(.22,1,.36,1) forwards; animation-delay: .2s; }
.cp-orb-float-12 { animation: cp-orb-float 12s ease-in-out infinite; }
.cp-orb-float-12-delayed { animation: cp-orb-float 12s ease-in-out infinite; animation-delay: -6s; }

/* ── Scroll reveal ── */
.cp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.cp-reveal.in { opacity: 1; transform: translateY(0); }
.cp-reveal[data-delay="1"] { transition-delay: .08s; }
.cp-reveal[data-delay="2"] { transition-delay: .16s; }
.cp-reveal[data-delay="3"] { transition-delay: .24s; }
.cp-reveal[data-delay="4"] { transition-delay: .32s; }

/* ── Data-viz .lit triggers ── */
/* Comparison table rows stagger in */
.cp-cmp-table tbody tr {
  opacity: 0; transform: translateY(8px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.cp-cmp-table.lit tbody tr { opacity: 1; transform: none; }
.cp-cmp-table.lit tbody tr:nth-child(1) { transition-delay: .04s; }
.cp-cmp-table.lit tbody tr:nth-child(2) { transition-delay: .08s; }
.cp-cmp-table.lit tbody tr:nth-child(3) { transition-delay: .12s; }
.cp-cmp-table.lit tbody tr:nth-child(4) { transition-delay: .16s; }
.cp-cmp-table.lit tbody tr:nth-child(5) { transition-delay: .20s; }
.cp-cmp-table.lit tbody tr:nth-child(6) { transition-delay: .24s; }
.cp-cmp-table.lit tbody tr:nth-child(7) { transition-delay: .28s; }
.cp-cmp-table.lit tbody tr:nth-child(8) { transition-delay: .32s; }
.cp-cmp-table.lit tbody tr:nth-child(9) { transition-delay: .36s; }
.cp-cmp-table.lit tbody tr:nth-child(10) { transition-delay: .40s; }
.cp-cmp-table.lit tbody tr:nth-child(11) { transition-delay: .44s; }

/* Comparison mark pop-in */
.cp-cmp-table tbody tr td .cp-mark {
  transform: scale(0);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.cp-cmp-table.lit tbody tr td .cp-mark { transform: scale(1); }
.cp-cmp-table.lit tbody tr:nth-child(1) .cp-mark { transition-delay: .18s; }
.cp-cmp-table.lit tbody tr:nth-child(2) .cp-mark { transition-delay: .22s; }
.cp-cmp-table.lit tbody tr:nth-child(3) .cp-mark { transition-delay: .26s; }
.cp-cmp-table.lit tbody tr:nth-child(4) .cp-mark { transition-delay: .30s; }
.cp-cmp-table.lit tbody tr:nth-child(5) .cp-mark { transition-delay: .34s; }
.cp-cmp-table.lit tbody tr:nth-child(6) .cp-mark { transition-delay: .38s; }
.cp-cmp-table.lit tbody tr:nth-child(7) .cp-mark { transition-delay: .42s; }
.cp-cmp-table.lit tbody tr:nth-child(8) .cp-mark { transition-delay: .46s; }
.cp-cmp-table.lit tbody tr:nth-child(9) .cp-mark { transition-delay: .50s; }
.cp-cmp-table.lit tbody tr:nth-child(10) .cp-mark { transition-delay: .54s; }
.cp-cmp-table.lit tbody tr:nth-child(11) .cp-mark { transition-delay: .58s; }

/* Matrix rows stagger */
.cp-matrix-row {
  opacity: 0; transform: translateX(-12px);
  transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
}
.cp-matrix-card.lit .cp-matrix-row { opacity: 1; transform: none; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(2) { transition-delay: .05s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(3) { transition-delay: .08s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(4) { transition-delay: .11s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(5) { transition-delay: .14s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(6) { transition-delay: .17s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(7) { transition-delay: .20s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(8) { transition-delay: .23s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(9) { transition-delay: .26s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(10) { transition-delay: .29s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(11) { transition-delay: .32s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(12) { transition-delay: .35s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(13) { transition-delay: .38s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(14) { transition-delay: .41s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(15) { transition-delay: .44s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(16) { transition-delay: .47s; }
.cp-matrix-card.lit .cp-matrix-row:nth-child(17) { transition-delay: .50s; }

/* GCC tiles cascade — tiles stay visible, animate on .lit */
.cp-gcc-tile {
  opacity: 1; transform: none;
}
.cp-gcc-map.lit .cp-gcc-tile { opacity: 1; transform: none; }
.cp-gcc-map.lit .cp-gcc-tile:nth-child(1) { transition-delay: .04s; }
.cp-gcc-map.lit .cp-gcc-tile:nth-child(2) { transition-delay: .08s; }
.cp-gcc-map.lit .cp-gcc-tile:nth-child(3) { transition-delay: .12s; }
.cp-gcc-map.lit .cp-gcc-tile:nth-child(4) { transition-delay: .16s; }
.cp-gcc-map.lit .cp-gcc-tile:nth-child(5) { transition-delay: .20s; }
.cp-gcc-map.lit .cp-gcc-tile:nth-child(6) { transition-delay: .24s; }

/* Report tags cascade — tags stay visible, animate on .lit */
.cp-rtag {
  opacity: 1; transform: none;
}
.cp-rtags.lit .cp-rtag { opacity: 1; transform: none; }
.cp-rtags.lit .cp-rtag:nth-child(1) { transition-delay: .02s; }
.cp-rtags.lit .cp-rtag:nth-child(2) { transition-delay: .05s; }
.cp-rtags.lit .cp-rtag:nth-child(3) { transition-delay: .08s; }
.cp-rtags.lit .cp-rtag:nth-child(4) { transition-delay: .11s; }
.cp-rtags.lit .cp-rtag:nth-child(5) { transition-delay: .14s; }
.cp-rtags.lit .cp-rtag:nth-child(6) { transition-delay: .17s; }
.cp-rtags.lit .cp-rtag:nth-child(7) { transition-delay: .20s; }
.cp-rtags.lit .cp-rtag:nth-child(8) { transition-delay: .23s; }
.cp-rtags.lit .cp-rtag:nth-child(9) { transition-delay: .26s; }
.cp-rtags.lit .cp-rtag:nth-child(10) { transition-delay: .29s; }
.cp-rtags.lit .cp-rtag:nth-child(11) { transition-delay: .32s; }
.cp-rtags.lit .cp-rtag:nth-child(12) { transition-delay: .35s; }
.cp-rtags.lit .cp-rtag:nth-child(13) { transition-delay: .38s; }
.cp-rtags.lit .cp-rtag:nth-child(14) { transition-delay: .41s; }
.cp-rtags.lit .cp-rtag:nth-child(15) { transition-delay: .44s; }
.cp-rtags.lit .cp-rtag:nth-child(16) { transition-delay: .47s; }

/* Engine facts cascade — facts stay visible, animate on .lit */
.cp-fact {
  opacity: 1; transform: none;
}
.cp-facts.lit .cp-fact { opacity: 1; transform: none; }
.cp-facts.lit .cp-fact:nth-child(1) { transition-delay: .30s; }
.cp-facts.lit .cp-fact:nth-child(2) { transition-delay: .35s; }
.cp-facts.lit .cp-fact:nth-child(3) { transition-delay: .40s; }
.cp-facts.lit .cp-fact:nth-child(4) { transition-delay: .45s; }
.cp-facts.lit .cp-fact:nth-child(5) { transition-delay: .50s; }
.cp-facts.lit .cp-fact:nth-child(6) { transition-delay: .55s; }
.cp-facts.lit .cp-fact:nth-child(7) { transition-delay: .60s; }
.cp-facts.lit .cp-fact:nth-child(8) { transition-delay: .65s; }
.cp-facts.lit .cp-fact:nth-child(9) { transition-delay: .70s; }

/* Calendar band rails — grow on .lit */
.cp-cal-rail i {
  display: block; height: 100%; border-radius: 9999px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s cubic-bezier(.22,1,.36,1);
}
.cp-cal-timeline.lit .cp-cal-rail i { transform: scaleX(1); }
.cp-cal-timeline.lit .cp-cal-band:nth-child(1) .cp-cal-rail i { transition-delay: .10s; }
.cp-cal-timeline.lit .cp-cal-band:nth-child(2) .cp-cal-rail i { transition-delay: .25s; }
.cp-cal-timeline.lit .cp-cal-band:nth-child(3) .cp-cal-rail i { transition-delay: .40s; }
.cp-cal-timeline.lit .cp-cal-band:nth-child(4) .cp-cal-rail i { transition-delay: .55s; }
.cp-cal-timeline.lit .cp-cal-band:nth-child(5) .cp-cal-rail i { transition-delay: .70s; }

/* Fund bar sheen effect */
.cp-fund-bar i { position: relative; overflow: hidden; }
.cp-fund-bar i::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  animation: cp-bar-sheen 2.4s 1.4s ease-out 2;
}

/* Calendar dot pop animation per month */
.cp-cal-dot {
  animation: cp-dot-pop .5s cubic-bezier(.22,1,.36,1) backwards;
}
.cp-cal-dot-2 { animation-delay: .04s; }
.cp-cal-dot-3 { animation-delay: .08s; }
.cp-cal-dot-4 { animation-delay: .12s; }
.cp-cal-dot-5 { animation-delay: .16s; }
.cp-cal-dot-6 { animation-delay: .20s; }
.cp-cal-dot-7 { animation-delay: .24s; }
.cp-cal-dot-8 { animation-delay: .28s; }
.cp-cal-dot-9 { animation-delay: .32s; }
.cp-cal-dot-10 { animation-delay: .36s; }
.cp-cal-dot-11 { animation-delay: .40s; }
.cp-cal-dot-12 { animation-delay: .44s; }

/* ── Pseudo-element decorations (cannot be done inline) ── */

/* Gradient rule on top of cards */
.cp-rule-top { position: relative; }
.cp-rule-top::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF9900 0%, #FF5C00 30%, #007AA4 65%, #28B7B7 100%);
  z-index: 1;
}

/* Rule-top with hover reveal */
.cp-rule-hover { position: relative; overflow: hidden; }
.cp-rule-hover::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF9900 0%, #FF5C00 30%, #007AA4 65%, #28B7B7 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.cp-rule-hover:hover::before { transform: scaleX(1); }

/* Eyebrow dash before */
.cp-eyebrow::before {
  content: ""; width: 28px; height: 2.5px; background: currentColor;
  border-radius: 2px; flex-shrink: 0;
}

/* Section gradient rule bar */
.cp-section-rule {
  width: 96px; height: 5px; border-radius: 2px;
  background: linear-gradient(90deg, #FF9900 0%, #FF5C00 30%, #007AA4 65%, #28B7B7 100%);
}

/* Risk strip item number trailing line */
.cp-rstrip-num::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.3);
}

/* Risk badge pulse glow */
@keyframes cp-risk-glow {
  0%, 100% { box-shadow: 0 2px 8px rgba(255,92,0,.3); }
  50% { box-shadow: 0 2px 16px rgba(255,92,0,.5); }
}
.cp-rstrip-num {
  animation: cp-risk-glow 2.5s ease-in-out infinite;
}

/* Persona list X markers */
.cp-persona-x::before {
  content: "\2715"; position: absolute; left: 0; top: 0;
  color: #FF5C00; font-weight: 800; font-size: 11px;
}
.cp-persona-x-amber::before {
  content: "\2715"; position: absolute; left: 0; top: 0;
  color: #C76700; font-weight: 800; font-size: 11px;
}

/* Mercans arrow prefix */
.cp-arrow-prefix::before {
  content: "\2192"; color: #FF5C00; font-weight: 800; flex-shrink: 0;
}

/* Detail point arrow tag */
.cp-dp-tag::before {
  content: "\2192"; color: #FF5C00;
}

/* Report tag dot */
.cp-rtag-dot::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #28B7B7; flex-shrink: 0;
}

/* Hero dashed circle ring */
.cp-dashed-ring::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  border: 1.5px dashed rgba(0,122,164,.16);
  animation: cp-rotate-slow 60s linear infinite;
}

/* Hero stamp seal orange dot */
.cp-seal-dot::before {
  content: ""; position: absolute; top: -2px; left: -2px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF5C00; box-shadow: 0 0 0 2px #fff;
}

/* Pulse dot before */
.cp-pulse-before::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #28B7B7; box-shadow: 0 0 0 3px rgba(40,183,183,.22);
  animation: cp-pulse-dot 2s ease-in-out infinite;
}

/* Engine badge live dot */
.cp-live-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #28B7B7; animation: cp-pulse-dot 2s ease-in-out infinite;
}

/* Calendar flag pointer */
.cp-cal-flag::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid #007AA4;
}
.cp-cal-flag::before {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid #fff; z-index: 1;
}

/* Compliance card top color bars */
.cp-cc-bar { position: relative; }
.cp-cc-bar::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  border-radius: 0 0 2px 2px;
}
.cp-cc-orange::before { background: #FF5C00; }
.cp-cc-blue::before { background: #007AA4; }
.cp-cc-amber::before { background: #FF9900; }
.cp-cc-teal::before { background: #28B7B7; }

/* Secband left rule */
.cp-secband-rule { position: relative; overflow: hidden; }
.cp-secband-rule::before {
  content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%;
  background: linear-gradient(90deg, #FF9900 0%, #FF5C00 30%, #007AA4 65%, #28B7B7 100%);
}

/* Dual workforce VS circle */
.cp-vs-divider { position: relative; }
.cp-vs-divider::before {
  content: "vs"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: #007AA4; display: grid; place-items: center;
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase;
  border: 2px solid #007AA4; z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Matrix head teal glow */
.cp-matrix-head { position: relative; overflow: hidden; }
.cp-matrix-head::after {
  content: ""; position: absolute; top: 0; right: 0; width: 80px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(40,183,183,.18));
  pointer-events: none;
}

/* Workforce panel decorative circle */
.cp-wfp-circle { position: relative; overflow: hidden; }
.cp-wfp-circle::after {
  content: ""; position: absolute; bottom: -50%; right: -10%;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}

/* CTA comparison table header gradient accent */
.cp-cmp-us-accent { position: relative; }
.cp-cmp-us-accent::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FF5C00, #007AA4, #28B7B7);
}

/* Recog label lines */
.cp-recog-label::before,
.cp-recog-label::after {
  content: ""; width: 32px; height: 1px; background: #E5EBEE;
}

/* ── Theme override resets for .country-page ── */
/* Prevent theme's Tailwind Preflight from breaking country page elements */
.country-page * { box-sizing: border-box; }
.country-page section { display: block; }
.country-page img { display: inline-block; max-width: 100%; }
.country-page svg { display: inline-block; vertical-align: middle; }
.country-page a { color: inherit; text-decoration: none; }
.country-page ul { list-style: none; margin: 0; padding: 0; }
.country-page h1, .country-page h2, .country-page h3, .country-page h4 {
  font-family: 'Raleway', sans-serif;
  margin: 0; padding: 0;
}
.country-page p { margin: 0; }
.country-page .hero-lead { margin-bottom: 36px !important; }
.country-page .lead { margin-bottom: 18px !important; }
.country-page .s-gcc-l p { margin-bottom: 36px !important; }
.country-page .chapter-body p { margin-bottom: 0; }
.country-page table { border-collapse: collapse; }

/* Force button styles — theme's Preflight strips color/bg on links */
.country-page a.text-white { color: #fff !important; }
.country-page .bg-white { background-color: #fff !important; }

/* Button links — override WP's a:where(:not(.wp-element-button)) underline */
.country-page a {
  text-decoration: none !important;
}
.country-page a[style*="display:flex"] {
  cursor: pointer !important;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s cubic-bezier(.22,1,.36,1) !important;
}
.country-page a[style*="display:flex"]:hover {
  transform: translateY(-2px);
}
.country-page a[style*="color:#fff"] {
  color: #fff !important;
}
.country-page a[style*="color:#007AA4"] {
  color: #007AA4 !important;
}
/* Orange button hover glow */
.country-page a[style*="background:linear-gradient(79deg"]:hover {
  box-shadow: 0 8px 24px rgba(255,92,0,.32) !important;
}
/* Outline button hover fill */
.country-page a[style*="border:1.5px solid #007AA4"]:hover {
  background: #007AA4 !important;
  color: #fff !important;
}
/* CTA ghost button hover */
.country-page a[style*="border:1.5px solid rgba(255,255,255"]:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,.08) !important;
}

/* GCC grid — force buttons to behave as grid items */
.country-page .cp-gcc-map {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}
.country-page .cp-gcc-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

/* Force buttons to not stretch full width */
.country-page a[style*="width:fit-content"] {
  width: fit-content !important;
  max-width: 100% !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

/* ── Hover effects (from design) ── */

/* Difference cards — gradient rule reveal + lift */
.country-page .cp-rule-hover {
  transition: all .35s cubic-bezier(.22,1,.36,1);
}
.country-page .cp-rule-hover:hover {
  border-color: transparent !important;
  box-shadow: 0 2px 6px rgba(10,22,32,.06), 0 18px 42px rgba(0,122,164,.12) !important;
  transform: translateY(-4px);
}

/* Persona cards — orange glow lift */
.country-page [style*="border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column"] {
  transition: all .35s cubic-bezier(.22,1,.36,1);
}
.country-page [style*="border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column"]:hover {
  border-color: rgba(255,92,0,.35) !important;
  box-shadow: 0 18px 40px rgba(255,92,0,.1);
  transform: translateY(-4px);
}

/* Risk strip items — subtle highlight */
.country-page [style*="padding:28px 24px;border-right:1px solid rgba(255,92,0"] {
  transition: background .25s;
}
.country-page [style*="padding:28px 24px;border-right:1px solid rgba(255,92,0"]:hover {
  background: rgba(255,92,0,.06) !important;
}

/* Kuwait expertise (8 things) — background shift */
.country-page [style*="border-right:1px solid #E5EBEE;border-bottom:1px solid #E5EBEE;padding:40px"] {
  transition: background .3s cubic-bezier(.22,1,.36,1);
}
.country-page [style*="border-right:1px solid #E5EBEE;border-bottom:1px solid #E5EBEE;padding:40px"]:hover {
  background: linear-gradient(180deg, #fff, #F4F9FB) !important;
}

/* Matrix rows — highlight */
.country-page .cp-matrix-row {
  transition: background .15s;
}
.country-page .cp-matrix-row:hover {
  background: #F6F9FA;
}

/* Compliance calendar cards — lift */
.country-page .cp-cc-bar {
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.country-page .cp-cc-bar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,122,164,.08);
  border-color: rgba(0,122,164,.3) !important;
}

/* Workforce panels — subtle lift */
.country-page [style*="border-radius:14px;overflow:hidden;border:1px solid #E5EBEE;background:#fff;box-shadow"] {
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.country-page [style*="border-radius:14px;overflow:hidden;border:1px solid #E5EBEE;background:#fff;box-shadow"]:hover {
  transform: translateY(-3px);
}

/* GCC country tiles — lift + blue border */
.country-page .cp-gcc-btn {
  transition: all .25s cubic-bezier(.22,1,.36,1) !important;
}
.country-page .cp-gcc-btn:hover {
  background: #E8F4F7 !important;
  border-color: rgba(0,122,164,.4) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,122,164,.08);
}

/* Report tags — blue fill on hover */
.country-page .cp-rtag {
  transition: all .25s cubic-bezier(.22,1,.36,1);
}
.country-page .cp-rtag:hover {
  background: #007AA4 !important;
  border-color: #007AA4 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,122,164,.18);
}

/* Compliance band pills — lift */
.country-page [style*="border:1px solid #E5EBEE;padding:10px 15px;border-radius:6px;font-size:13.5px"] {
  transition: all .25s cubic-bezier(.22,1,.36,1);
}
.country-page [style*="border:1px solid #E5EBEE;padding:10px 15px;border-radius:6px;font-size:13.5px"]:hover {
  border-color: #007AA4 !important;
  background: #E8F4F7 !important;
  transform: translateY(-1px);
}

/* Recognition strip items — subtle lift */
.country-page [style*="min-width:140px;max-width:220px"] {
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.country-page [style*="min-width:140px;max-width:220px"]:hover {
  transform: translateY(-3px);
}

/* Fund card rows — subtle shift */
.country-page [style*="border-radius:8px;padding:14px 16px;display:grid"] {
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.country-page [style*="border-radius:8px;padding:14px 16px;display:grid"]:hover {
  transform: translateX(2px);
}

/* Facts grid cells — bg highlight */
.country-page .cp-fact {
  transition: background .2s;
}
.country-page .cp-fact:hover {
  background: #F6F9FA !important;
}

/* Max-width constraint for content inside sidebar layout */
.country-page section > div:first-child {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure grids render properly inside flex parent */
.country-page .grid { display: grid !important; }
.country-page [style*="grid-template-columns"] { display: grid !important; }

/* Top spacing so content doesn't collide with nav */
.country-page { margin-top: 24px; }

/* SVG in buttons should be inline */
.country-page a svg, .country-page button svg { display: inline-block; flex-shrink: 0; }

/* Font imports for country pages */
.country-page { font-family: 'Open Sans', sans-serif; }
.country-page .font-raleway { font-family: 'Raleway', sans-serif !important; }

/* ── Responsive overrides ── */
/* Inline grid-template-columns can't have media queries, so we override here */

/* Prevent horizontal overflow */
.country-page { overflow-x: clip; }
.country-page section { overflow-x: clip; }
.country-page .s-chapters { overflow: visible; }

@media (max-width: 1100px) {
  /* Stack all 2-column grids */
  .country-page [style*="grid-template-columns:1.25fr 1fr"],
  .country-page [style*="grid-template-columns:1.05fr 1fr;gap:56px"],
  .country-page [style*="grid-template-columns:1fr 1.6fr"],
  .country-page [style*="grid-template-columns:1fr 1.8fr"],
  .country-page [style*="grid-template-columns:1fr 1fr;gap:64px"],
  .country-page [style*="grid-template-columns:1fr 1fr;gap:20px"],
  .country-page [style*="grid-template-columns:1fr auto;gap:56px"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* 4-col grids → 2-col */
  .country-page [style*="grid-template-columns:repeat(4,1fr);gap:0;border-top"],
  .country-page [style*="grid-template-columns:repeat(4,1fr);margin-bottom"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 3-col grids → 2-col */
  .country-page [style*="grid-template-columns:repeat(3,1fr);gap:20px"],
  .country-page [style*="grid-template-columns:repeat(3,1fr);gap:18px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* GCC map 3-col → 2-col */
  .country-page [style*="grid-template-columns:1fr 1fr 1fr"],
  .country-page .cp-gcc-map {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* VS divider hide */
  .cp-vs-divider::before { display: none; }

  /* Stats 4-col → 2-col */
  .country-page [style*="grid-template-columns:repeat(4,1fr);gap:32px"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 680px) {
  /* Stack everything to 1 column */
  .country-page [style*="grid-template-columns:repeat(4,1fr)"],
  .country-page [style*="grid-template-columns:repeat(3,1fr);gap:20px"],
  .country-page [style*="grid-template-columns:repeat(3,1fr);gap:18px"],
  .country-page [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .country-page [style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero stat line */
  .country-page [style*="grid-template-columns:repeat(4,1fr);gap:32px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Matrix rows stack */
  .country-page .cp-matrix-row {
    grid-template-columns: 1fr !important;
  }

  /* Reduce section padding */
  .country-page section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Reduce font sizes */
  .country-page h1 { font-size: 2rem !important; }
  .country-page h2 { font-size: 1.6rem !important; }

  /* Hero orbs smaller */
  .country-page .cp-orb-float,
  .country-page .cp-orb-float-delayed {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cp-reveal { opacity: 1; transform: none; }
  .cp-cmp-table tbody tr,
  .cp-matrix-row,
  .cp-gcc-tile,
  .cp-rtag,
  .cp-fact { opacity: 1; transform: none; }
  .cp-cal-rail i { transform: scaleX(1); }
}


/* ============================================================
   KUWAIT V2 DESIGN — Full prototype CSS
   Added from kuwait-payroll-v2.html design handoff
   ============================================================ */

/* ── Mercans Design Tokens ── */
:root {
  --mc-blue: #007AA4;
  --mc-blue-deep: #005C7C;
  --mc-blue-shadow: #002F3F;
  --mc-orange: #FF5C00;
  --mc-orange-light: #FF9900;
  --mc-teal: #28B7B7;
  --mc-teal-mid: #1497BA;
  --mc-orange-grad: linear-gradient(79deg, #FF5C00 2%, #FF9900 98%);
  --mc-blue-grad: linear-gradient(180deg, #28B7B7 4%, #1497BA 49%, #007AA4 98%);
  --mc-rule: linear-gradient(90deg, #FF9900 0%, #FF5C00 30%, #007AA4 65%, #28B7B7 100%);
  --ink: #0A1620;
  --ink-2: #1A2632;
  --muted: #5A6770;
  --muted-2: #8A95A0;
  --line: #E5EBEE;
  --line-soft: #F0F4F6;
  --wash: #F6F9FA;
  --pale: #E8F4F7;
  --warm: #FFF5E6;
  --warm-strong: #FFEED9;
  --ff-display: 'Raleway', sans-serif;
  --ff-body: 'Open Sans', sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, monospace;
  --container: 1280px;
  --gutter: 40px;
  --section-y: 120px;
  --sh-card: 0 1px 2px rgba(10,22,32,.04), 0 8px 24px rgba(10,22,32,.06);
}

/* ── Base resets for v2 country pages ── */
.country-page h1, .country-page h2, .country-page h3, .country-page h4 {
  font-family: var(--ff-display); letter-spacing: -.02em; color: var(--ink);
}
.country-page a { color: inherit; text-decoration: none; }
.country-page img, .country-page svg { display: block; max-width: 100%; }
.country-page button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
.country-page ul { list-style: none; }

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

/* ── Universal Editorial Chrome ── */
.dossier-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mc-orange);
}
.dossier-tag::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.dossier-tag.blue { color: var(--mc-blue); }
.dossier-tag.teal { color: var(--mc-teal); }
.dossier-tag.ink { color: var(--ink); }

h2.bigtitle {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
  color: var(--ink); margin: 16px 0 18px; text-wrap: balance;
}
h2.bigtitle em { font-style: italic; font-weight: 500; color: var(--mc-blue); display: inline; }
h2.bigtitle .or { color: var(--mc-orange); }

.lead { font-size: 1.12rem; color: var(--muted); line-height: 1.72; max-width: 720px; }
.lead strong { color: var(--ink); font-weight: 600; }

.specline {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 11.5px; font-weight: 600;
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 14px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
.specline .ref { color: var(--mc-blue); font-weight: 700; }
.specline .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); opacity: .4; }
.specline .pulse {
  color: var(--mc-teal); display: inline-flex; align-items: center; gap: 7px; font-weight: 700;
}
.specline .pulse::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mc-teal);
  box-shadow: 0 0 0 3px rgba(40,183,183,.22); animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 3px rgba(40,183,183,.22); }
  50% { box-shadow: 0 0 0 7px rgba(40,183,183,.05); }
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--mc-rule); z-index: 300; transition: width .08s linear;
  box-shadow: 0 0 12px rgba(0,122,164,.4);
}

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(0,122,164,.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 80%, rgba(40,183,183,.12), transparent 60%),
    linear-gradient(180deg, #FBFDFE 0%, #F4F9FB 100%);
  padding: 36px 0 80px;
}
.hero-stripe { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--mc-rule); }

.hero-stamp {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px 0 26px; margin-bottom: 48px; border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 12.5px; font-weight: 600;
  color: var(--muted); letter-spacing: .1em; text-transform: uppercase;
}
.hero-stamp .crumb-line { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.hero-stamp .crumb-line .flag { font-size: 18px; line-height: 1; }
.hero-stamp .crumb-line .sep { color: var(--muted-2); opacity: .5; font-weight: 400; }
.hero-stamp .pulse {
  margin-left: auto; color: var(--mc-teal); display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
}
.hero-stamp .pulse::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mc-teal);
  box-shadow: 0 0 0 3px rgba(40,183,183,.22); animation: pulseDot 2s ease-in-out infinite;
}

.hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }

h1.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.3rem, 4.6vw, 4.05rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 32px; text-wrap: balance;
}
h1.hero-title em { font-style: italic; font-weight: 500; color: var(--mc-blue); }

.hero-lead { font-size: 1.18rem; line-height: 1.7; color: var(--muted); max-width: 560px; margin-bottom: 36px !important; }
.hero-lead strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; margin-top: 0; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--ff-body); font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  transition: all .25s cubic-bezier(.22,1,.36,1); white-space: nowrap;
  text-decoration: none !important;
}
.btn-primary { background: var(--mc-orange-grad); color: #fff !important; box-shadow: 0 4px 14px rgba(255,92,0,.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,92,0,.32); color: #fff !important; }
.btn-outline { background: transparent; color: var(--mc-blue) !important; border: 1.5px solid var(--mc-blue); }
.btn-outline:hover { background: var(--mc-blue); color: #fff !important; }

/* Hero stat row */
.hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; padding-top: 32px; border-top: 1px solid var(--line); }
.hstat { padding-right: 24px; } /* Bug #2: removed vertical column separators */
.hstat:last-child { border-right: none; }
.hstat-num {
  font-family: var(--ff-body); font-weight: 800;
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  line-height: .95; letter-spacing: -.045em; color: var(--ink);
  display: flex; align-items: baseline; gap: 3px; font-variant-numeric: tabular-nums;
}
.hstat-num .u { color: var(--mc-orange); font-size: .78em; font-weight: 800; letter-spacing: -.02em; }
.hstat-lbl {
  margin-top: 10px; font-family: var(--ff-mono); font-size: 11px; font-weight: 600;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
}

/* ── PIFSS Card ── */
.pifss-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--sh-card); position: relative;
}
.pifss-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--mc-rule);
}

.snap-section { border-top: 1px solid var(--line); padding: 18px 24px 6px; background: linear-gradient(180deg, #fff, #FAFCFD); }
.snap-section-h {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mc-blue); margin-bottom: 12px;
}
.snap-section-pulse { color: var(--mc-teal); font-weight: 700; letter-spacing: .04em; }

/* Scrollable snapshot list */
.snap-listwrap { position: relative; margin: 6px 0 4px; }
.snap-list {
  display: flex; flex-direction: column; max-height: 300px; overflow-y: auto;
  padding: 4px 14px 4px 0;
  mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
  scroll-behavior: smooth;
}
.snap-list::-webkit-scrollbar { width: 4px; }
.snap-list::-webkit-scrollbar-track { background: transparent; }
.snap-list::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--mc-teal), var(--mc-blue)); border-radius: 2px; }
.snap-list { scrollbar-width: thin; scrollbar-color: var(--mc-teal) transparent; }

.sl-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; line-height: 1.4; flex-shrink: 0;
}
.sl-row:last-child { border-bottom: none; }
.sl-row dt { color: var(--muted); font-weight: 500; flex-shrink: 0; }
.sl-row dd {
  /* allow long values to wrap instead of forcing the card (and page) wider */
  font-family: var(--ff-mono); font-size: 12.5px; font-weight: 700; color: var(--ink);
  text-align: right; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere;
}
.sl-row dd.warn { color: var(--mc-orange); }
.sl-row dd.good { color: #1A8585; }
.sl-row dd.flag { color: var(--mc-orange); font-weight: 800; }

.snap-scroll-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 6px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 700;
  color: var(--muted-2); letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none; transition: opacity .25s;
}
.snap-listwrap.at-end .snap-scroll-hint { opacity: 0; }
.snap-scroll-hint .arrow {
  display: inline-flex; width: 14px; height: 14px; animation: scrollHint 1.8s ease-in-out infinite; color: var(--mc-teal);
}
@keyframes scrollHint {
  0%,100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(3px); opacity: 1; }
}

.pifss-head {
  padding: 18px 24px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #FAFCFD);
}
.pifss-head .icon {
  /* Bug #1: drop the coloured box, render the flag glyph 1.5x larger (14px -> 21px) */
  display: grid; place-items: center; font-size: 21px; line-height: 1;
}
.pifss-head .ttl {
  font-family: var(--ff-display); font-size: 14px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.pifss-head .badge {
  margin-left: auto; font-family: var(--ff-mono); font-size: 11px;
  color: var(--mc-teal); font-weight: 700; letter-spacing: .06em;
  background: rgba(40,183,183,.1); padding: 5px 10px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pifss-head .badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mc-teal);
  animation: pulseDot 2s ease-in-out infinite;
}

/* Architecture diagram */
.pifss-arch { padding: 24px; }
.arch-label {
  font-family: var(--ff-mono); font-size: 11px; font-weight: 700;
  color: var(--mc-blue); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.arch-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.fund-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 8px; }
.fund-rail { position: relative; padding: 18px 20px; border-radius: 10px; overflow: hidden; }
.fund-rail.basic { background: linear-gradient(90deg, rgba(0,122,164,.07), rgba(40,183,183,.05)); border: 1px solid rgba(0,122,164,.22); }
.fund-rail.supp { background: linear-gradient(90deg, rgba(255,92,0,.05), rgba(255,153,0,.07)); border: 1px solid rgba(255,153,0,.25); }
.fund-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.fund-name { font-family: var(--ff-display); font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.fund-meta { font-family: var(--ff-mono); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.fund-cap { font-family: var(--ff-mono); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.fund-rail.basic .fund-cap { background: var(--mc-blue); color: #fff; }
.fund-rail.supp .fund-cap { background: var(--mc-orange); color: #fff; }
.fund-bar { height: 8px; border-radius: 4px; background: rgba(0,0,0,.05); overflow: hidden; position: relative; }
.fund-bar i { display: block; height: 100%; border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.3s cubic-bezier(.22,1,.36,1); }
.fund-rail.basic .fund-bar i { background: linear-gradient(90deg, #007AA4, #28B7B7); width: 54.5%; }
.fund-rail.supp .fund-bar i { background: linear-gradient(90deg, #FF5C00, #FF9900); width: 100%; }
.pifss-card.lit .fund-bar i { transform: scaleX(1); }
.pifss-card.lit .fund-rail.supp .fund-bar i { transition-delay: .2s; }

/* Sheen sweep */
.fund-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); pointer-events: none;
}
.pifss-card.lit .fund-bar::after { animation: barSheen 1.6s 1.2s ease-out 1; }
@keyframes barSheen { from { left: -40%; } to { left: 140%; } }

.fund-axis {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 8px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 600; color: var(--muted-2); letter-spacing: .05em;
}
.fund-axis span:nth-child(2), .fund-axis span:nth-child(3) { text-align: center; }
.fund-axis span:last-child { text-align: right; }

.pifss-foot {
  padding: 14px 24px; background: linear-gradient(180deg, #FAFCFD, #F4F9FB);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.pifss-foot-l { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.pifss-foot-l strong { color: var(--mc-blue); font-family: var(--ff-display); font-weight: 800; }
.pifss-foot-tag {
  font-family: var(--ff-mono); font-size: 10px; font-weight: 700;
  background: var(--pale); color: var(--mc-blue); padding: 5px 10px; border-radius: 4px; letter-spacing: .08em;
}

/* ── RECOGNITION ── */
.recog { padding: 64px 0 80px; background: var(--pale); }
.recog-inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.recog-label {
  font-family: var(--ff-mono); font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mc-blue); text-align: center;
}
.recog-row { display: grid; grid-template-columns: repeat(5,1fr); align-items: stretch; width: 100%; gap: 20px; }
.rs {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 18px;
  background: #fff; border-radius: 14px; padding: 28px 18px 26px;
  box-shadow: 0 1px 2px rgba(10,22,32,.04), 0 6px 18px rgba(0,122,164,.06);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.rs:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(10,22,32,.05), 0 14px 28px rgba(0,122,164,.10); }
.rs-logo-slot { height: 88px; width: 100%; display: flex; align-items: center; justify-content: center; }
.rs-logo-img { max-height: 72px; height: auto; width: auto; max-width: 220px; object-fit: contain; }
.rs-meta { font-family: var(--ff-body); font-size: 14px; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.5; letter-spacing: 0; }
@media (max-width: 880px) {
  .recog-row { grid-template-columns: repeat(2,1fr); gap: 32px 24px; }
  .recog-row .rs:nth-child(5) { grid-column: 1/-1; justify-self: center; max-width: 50%; }
}

/* ── RISK SECTION ── */
.s-risk { padding: var(--section-y) 0; background: #fff; position: relative; }
.s-risk-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,92,0,.06) 1px, transparent 1.5px);
  background-size: 32px 32px; opacity: .5;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
}
.s-risk-in { position: relative; z-index: 1; }
.s-risk-head { max-width: 840px; margin-bottom: 56px; }

.risk-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 80px; }
.risk-card {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255,153,0,.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(255,92,0,.06), transparent 65%),
    linear-gradient(160deg, #FFFCF8 0%, #FFFFFF 50%, #FFF7EE 100%);
  border: 1px solid rgba(255,153,0,.22); border-radius: 12px;
  padding: 26px 24px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; transition: all .3s cubic-bezier(.22,1,.36,1);
}
.risk-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(255,92,0,.14); border-color: rgba(255,92,0,.4); }
.risk-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #FF9900, #FF5C00); }
.risk-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,.12), transparent 70%); pointer-events: none;
}

.risk-sev { display: inline-flex; gap: 3px; align-items: flex-end; margin-bottom: 16px; }
.risk-sev span { width: 5px; background: rgba(255,92,0,.18); border-radius: 2px; height: 8px; }
.risk-sev span:nth-child(2) { height: 13px; }
.risk-sev span:nth-child(3) { height: 18px; }
.risk-sev[data-sev="3"] span:nth-child(1) { background: #FF9900; }
.risk-sev[data-sev="4"] span:nth-child(1), .risk-sev[data-sev="4"] span:nth-child(2) { background: #FF9900; }
.risk-sev[data-sev="5"] span:nth-child(1), .risk-sev[data-sev="5"] span:nth-child(2), .risk-sev[data-sev="5"] span:nth-child(3) { background: #FF5C00; }
.risk-sev[data-sev="6"] span { background: #FF5C00; }

.risk-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.risk-num { font-family: var(--ff-body); font-size: 14px; font-weight: 900; color: var(--mc-orange); letter-spacing: .06em; } /* Bug #4: numbers in Open Sans */
.risk-tier { font-family: var(--ff-mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mc-orange); background: rgba(255,92,0,.1); padding: 4px 9px; border-radius: 4px; }
.risk-card h4 { font-family: var(--ff-body); font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -.015em; margin-bottom: 12px; } /* Bug #4: card headings (often contain numbers) in Open Sans */
.risk-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; }
@media (max-width: 1100px) { .risk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .risk-grid { grid-template-columns: 1fr; } }

/* ── Provider cards ── */
.providers-head { margin-bottom: 36px; }
.providers { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.provider { position: relative; border-radius: 16px; overflow: hidden; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s; isolation: isolate; }
.provider.p1 { background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255,92,0,.16), transparent 60%), radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255,153,0,.10), transparent 65%), linear-gradient(160deg, #FFF8F2 0%, #FFFFFF 55%, #FFEEDA 100%); border: 1px solid rgba(255,92,0,.30); }
.provider.p2 { background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255,153,0,.14), transparent 60%), radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255,194,51,.10), transparent 65%), linear-gradient(160deg, #FFFBF2 0%, #FFFFFF 55%, #FFF3DC 100%); border: 1px solid rgba(255,153,0,.30); }
.provider.p3 { background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255,194,51,.16), transparent 60%), radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255,220,120,.10), transparent 65%), linear-gradient(160deg, #FFFDF4 0%, #FFFFFF 55%, #FFF8E2 100%); border: 1px solid rgba(255,194,51,.36); }
.provider:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(255,92,0,.14); }
.provider.p1:hover { border-color: rgba(255,92,0,.55); }
.provider.p2:hover { border-color: rgba(255,153,0,.55); }
.provider.p3:hover { border-color: rgba(255,194,51,.65); }

.provider-wm { position: absolute; top: -30px; right: -8px; font-family: var(--ff-display); font-size: 230px; font-weight: 900; line-height: 1; letter-spacing: -.06em; color: rgba(255,92,0,.08); pointer-events: none; user-select: none; z-index: 0; }
.provider.p2 .provider-wm { color: rgba(255,153,0,.10); }
.provider.p3 .provider-wm { color: rgba(255,194,51,.14); }

.provider-head { padding: 24px 28px 18px; display: flex; flex-direction: column; border-bottom: 1px solid rgba(255,92,0,.18); position: relative; z-index: 1; }
.provider.p2 .provider-head { border-bottom-color: rgba(255,153,0,.20); }
.provider.p3 .provider-head { border-bottom-color: rgba(255,194,51,.25); }
.provider-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.provider-tag { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.provider-badge { margin-left: auto; font-family: var(--ff-mono); font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 6px 11px; border-radius: 5px; text-transform: uppercase; }
.provider.p1 .provider-badge { background: #fff; color: #C73C00; border: 1.5px solid rgba(255,92,0,.5); box-shadow: 0 2px 6px rgba(255,92,0,.18); }
.provider.p2 .provider-badge { background: #fff; color: #B86A00; border: 1.5px solid rgba(255,153,0,.5); box-shadow: 0 2px 6px rgba(255,153,0,.18); }
.provider.p3 .provider-badge { background: #fff; color: #9B7300; border: 1.5px solid rgba(255,194,51,.55); box-shadow: 0 2px 6px rgba(255,194,51,.18); }
.provider h4 { font-family: var(--ff-body); font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.015em; line-height: 1.22; margin-bottom: 6px; } /* Bug #4 */
.provider-sub { font-family: var(--ff-mono); font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.provider-body { padding: 22px 28px 28px; position: relative; z-index: 1; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.4) 100%); }
.provider-body p { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin-bottom: 20px; }
.provider-body strong { color: var(--ink); font-weight: 700; }
/* Bug #6: the theme's `.country-page ul { padding:0 }` reset (specificity 0,1,1) was
   beating `.provider-fails`, so padding-top never applied and the dashed rule sat flush
   on the bullets. Raise specificity with `.country-page` so the spacing below the line wins. */
.country-page .provider-fails { list-style: none; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; margin-top: 8px; border-top: 1px dashed rgba(255,92,0,.25); }
.provider.p2 .provider-fails { border-top-color: rgba(255,153,0,.28); }
.provider.p3 .provider-fails { border-top-color: rgba(255,194,51,.32); }
.provider-fails li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.provider-fails li .x { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; font-family: var(--ff-display); font-size: 14px; font-weight: 900; background: rgba(255,92,0,.12); color: var(--mc-orange); margin-top: 1px; line-height: 1; }
.provider.p2 .provider-fails li .x { background: rgba(255,153,0,.16); color: #C76700; }
.provider.p3 .provider-fails li .x { background: rgba(255,194,51,.22); color: #A87800; }

/* ── Chapters (Mercans Difference) ── */
.s-chapters { padding: var(--section-y) 0; background: linear-gradient(180deg, #fff, var(--wash)); }
.s-chapters-head { max-width: 840px; margin-bottom: 64px; }
.chapter { display: grid; grid-template-columns: 160px 1fr 1fr; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--line); position: relative; align-items: start; }
.chapter:last-child { border-bottom: none; }
.chapter-num { font-family: var(--ff-body); font-size: clamp(5rem,8vw,7.5rem); font-weight: 900; line-height: .85; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--mc-blue); display: flex; flex-direction: column; gap: 6px; position: sticky; top: 32px; } /* Bug #4: numbers in Open Sans */
.chapter-num em { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; font-style: normal; color: var(--mc-orange); letter-spacing: .18em; text-transform: uppercase; -webkit-text-stroke: 0; }
.chapter-body h3 { font-family: var(--ff-display); font-size: 1.55rem; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; text-wrap: balance; }
.chapter-body p { font-size: 15px; line-height: 1.72; color: var(--muted); }
.chapter-body p strong { color: var(--ink); font-weight: 700; }
.chapter-body .proof { margin-top: 20px; padding: 14px 18px; background: rgba(40,183,183,.06); border-left: 3px solid var(--mc-teal); font-size: 13.5px; color: var(--muted); line-height: 1.6; border-radius: 0 6px 6px 0; }
.chapter-body .proof strong { color: #1A8585; }

.chapter-viz { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; min-height: 240px; box-shadow: var(--sh-card); position: relative; }
.chapter-viz-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chapter-viz-head .ttl { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--mc-blue); letter-spacing: .1em; text-transform: uppercase; }
.chapter-viz-head .live { margin-left: auto; font-family: var(--ff-mono); font-size: 10px; font-weight: 700; color: var(--mc-teal); letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; }
.chapter-viz-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mc-teal); animation: pulseDot 2s ease-in-out infinite; }

/* Architecture viz */
.archviz { position: relative; }
.archviz-row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 10px 0; align-items: center; }
.archviz-row-lbl { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
/* Bug #5 (v2): light track restored; value shown as dark text inside a soft white
   pill so it's always legible over either the track or a (now lighter) fill bar. */
.archviz-row-rail { height: 24px; border-radius: 6px; position: relative; display: flex; align-items: center; background: #EAEFF2; overflow: hidden; }
.archviz-row-rail i { display: block; height: 100%; border-radius: 6px; transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.22,1,.36,1); }
.archviz.lit .archviz-row-rail i { transform: scaleX(1); }
.archviz-row-rail .v { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--ink); z-index: 1; background: rgba(255,255,255,.82); padding: 3px 8px; border-radius: 5px; box-shadow: 0 1px 2px rgba(10,22,32,.08); }
.archviz-row[data-tier="basic"] .archviz-row-rail i { background: linear-gradient(90deg, #3FA8CC, #5FCFCF); width: 60%; }
.archviz-row[data-tier="supp"] .archviz-row-rail i { background: linear-gradient(90deg, #FF8A4A, #FFB06E); width: 100%; }
.archviz-row[data-tier="gcc"] .archviz-row-rail i { background: linear-gradient(90deg, #45AECB, #66D0CB); width: 80%; transition-delay: .1s; }
.archviz-row[data-tier="hijri"] .archviz-row-rail i { background: linear-gradient(90deg, #5CCBBE, #F2D070); width: 45%; transition-delay: .2s; }
.archviz-row[data-tier="ashal"] .archviz-row-rail i { background: linear-gradient(90deg, #4AA0CB, #E8C46E); width: 90%; transition-delay: .3s; }

/* Team viz */
.teamviz { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.tv { background: #fff; padding: 18px 14px; text-align: center; }
.tv-icon { width: 38px; height: 38px; border-radius: 8px; margin: 0 auto 10px; background: rgba(0,122,164,.08); color: var(--mc-blue); display: grid; place-items: center; font-weight: 800; font-size: 14px; font-family: var(--ff-display); }
.tv-name { font-family: var(--ff-display); font-size: 12.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.tv-meta { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.teamviz-foot { grid-column: 1/-1; background: linear-gradient(180deg, #FAFCFD, #F4F9FB); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.teamviz-foot-lbl { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.teamviz-foot-val { font-family: var(--ff-display); font-size: 13px; font-weight: 800; color: var(--mc-blue); }

/* Cert viz */
.certviz { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.cv { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 12px; text-align: center; position: relative; transition: all .25s cubic-bezier(.22,1,.36,1); }
.cv:hover { border-color: var(--mc-teal); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(40,183,183,.12); }
.cv-shield { width: 28px; height: 28px; margin: 0 auto 8px; display: grid; place-items: center; color: var(--mc-teal); }
.cv-name { font-family: var(--ff-display); font-size: 12px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.cv-meta { font-family: var(--ff-mono); font-size: 9px; font-weight: 700; color: var(--mc-teal); letter-spacing: .08em; margin-top: 4px; }

/* ── Heatmap (Capability Table) ── */
.s-heatmap { padding: 48px 0 var(--section-y); background: var(--wash); }
.s-heatmap-head { max-width: 760px; margin-bottom: 32px; }
.sub-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mc-blue); margin-bottom: 12px; }
.sub-eyebrow .sub-sep { width: 24px; height: 1.5px; background: var(--mc-blue); border-radius: 2px; }
.sub-eyebrow .sub-meta { color: var(--muted); font-weight: 600; letter-spacing: .08em; }
.sub-title { font-family: var(--ff-display); font-size: clamp(1.5rem,2.4vw,2rem); font-weight: 800; color: var(--ink); letter-spacing: -.025em; line-height: 1.18; margin-bottom: 14px; text-wrap: balance; }
.sub-lead { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 680px; }

.heatmap { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-card); overflow: hidden; max-width: 1080px; margin: 0 auto; }
.heatmap-head { padding: 18px 24px; background: linear-gradient(90deg, var(--mc-blue-shadow) 0%, var(--mc-blue) 100%); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.heatmap-head h3 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.heatmap-legend { display: flex; gap: 14px; }
.heatmap-legend span { font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 7px; }
.heatmap-legend i { font-style: normal; width: 24px; height: 6px; border-radius: 3px; display: inline-block; }
.heatmap-legend .l-yes { background: linear-gradient(90deg, #28B7B7, #1497BA); }
.heatmap-legend .l-part { background: linear-gradient(90deg, #FF9900, #FFB266); }
.heatmap-legend .l-no { background: rgba(255,92,0,.25); }
.heatmap-body { overflow-x: auto; }
/* Bug #9: Native / Partial / Gap legend moved out of the dark header to a prominent
   footer strip below the table, with readable dark text. */
.heatmap-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; padding: 18px 24px; border-top: 1px solid var(--line); background: var(--wash); }
.heatmap-foot .heatmap-legend { gap: 28px; flex-wrap: wrap; justify-content: center; }
.heatmap-foot .heatmap-legend span { color: var(--ink); font-size: 12px; font-weight: 700; }
.heatmap-foot .heatmap-legend i { width: 28px; height: 8px; }
.hm-grid { display: grid; grid-template-columns: minmax(240px,1.6fr) repeat(4,minmax(120px,.85fr)); min-width: 780px; }
.hm-col-h { padding: 14px 18px; font-family: var(--ff-display); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--wash); position: relative; }
.hm-col-h.them { color: var(--muted); font-size: 11px; }
.hm-col-h.us { color: var(--mc-blue); background: linear-gradient(180deg, var(--pale), var(--wash)); position: relative; }
.hm-col-h.us::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--mc-orange), var(--mc-blue), var(--mc-teal)); }
.hm-cell { padding: 14px 18px; font-size: 13.5px; line-height: 1.4; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.hm-cell.name { font-weight: 700; color: var(--ink); }
.hm-cell.us { background: linear-gradient(180deg, rgba(232,244,247,.6), rgba(244,250,251,.6)); }
.hm-cell.them { background: #FBFCFD; }
.hm-grid > div:nth-last-child(-n+5) { border-bottom: none; }
.hm-fill { height: 7px; border-radius: 4px; background: rgba(0,0,0,.05); overflow: hidden; position: relative; }
.hm-fill i { display: block; height: 100%; border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.heatmap.lit .hm-fill i { transform: scaleX(1); }
.hm-fill.full i { background: linear-gradient(90deg, #28B7B7, #1497BA); width: 100%; }
.hm-fill.part i { background: linear-gradient(90deg, #FF9900, #FFB266); width: 50%; }
.hm-fill.none i { background: rgba(255,92,0,.3); width: 8%; }
.hm-note { font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.hm-cell.us .hm-note { color: var(--mc-blue); font-weight: 700; }
.heatmap.lit .hm-cell .hm-fill i { transition-delay: calc(var(--r, 0) * 0.06s); }

/* ── Statutory Dashboard ── */
.s-stat { padding: var(--section-y) 0; background: linear-gradient(180deg, var(--wash), #fff); }
.s-stat-head { max-width: 840px; margin-bottom: 56px; }
.dash { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-card); overflow: hidden; }
.dash-head { padding: 20px 28px; background: linear-gradient(90deg, var(--mc-blue-shadow), var(--mc-blue)); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.dash-head h3 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dash-head .live { font-family: var(--ff-mono); font-size: 11px; color: #A6E8E8; font-weight: 700; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 7px; }
.dash-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mc-teal); box-shadow: 0 0 0 3px rgba(40,183,183,.25); animation: pulseDot 2s ease-in-out infinite; }
.dial-row { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.dial { padding: 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.dial:last-child { border-right: none; }
.dial-arc { position: relative; width: 140px; height: 80px; margin-bottom: 14px; }
.dial-arc svg { width: 100%; height: 100%; overflow: visible; }
.dial-arc-track { stroke: rgba(0,122,164,.1); stroke-width: 10; fill: none; stroke-linecap: round; }
.dial-arc-fill { stroke-width: 10; fill: none; stroke-linecap: round; stroke-dasharray: 251.327; stroke-dashoffset: 251.327; transition: stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1); }
.dash.lit .dial-arc-fill { stroke-dashoffset: var(--dash, 0); }
.dial-arc-val { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font-family: var(--ff-body); font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.dial-arc-val .u { font-size: .78em; color: var(--mc-blue); font-weight: 700; font-family: var(--ff-mono); margin-left: 3px; }
.dial-name { font-family: var(--ff-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; margin-bottom: 4px; }
.dial-meta { font-family: var(--ff-mono); font-size: 10.5px; color: var(--muted-2); letter-spacing: .04em; }
.dash-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
.dash-table { border-right: 1px solid var(--line); }
.dash-table-h { padding: 14px 24px; background: var(--wash); font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.drow { display: grid; grid-template-columns: 1.2fr 1fr; padding: 14px 24px; border-bottom: 1px solid var(--line-soft); align-items: center; transition: background .2s; }
.drow:hover { background: var(--wash); }
.drow:last-child { border-bottom: none; }
.drow-k { font-family: var(--ff-body); font-size: 13.5px; color: var(--ink); font-weight: 600; }
.drow-v { font-family: var(--ff-mono); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.drow-v .n { color: var(--mc-blue); background: var(--pale); padding: 3px 9px; border-radius: 4px; }
.drow-v .w { color: #C76700; background: rgba(255,153,0,.14); padding: 3px 9px; border-radius: 4px; }
.drow-v .ok { color: #1A8585; background: rgba(40,183,183,.14); padding: 3px 9px; border-radius: 4px; }
.dash-notes { padding: 8px; }
.dash-note { padding: 20px 22px; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.dash-note:last-child { border-bottom: none; }
.dash-note-num { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 800; color: var(--mc-blue); background: var(--pale); border-radius: 8px; height: 38px; width: 48px; display: grid; place-items: center; border: 1px solid rgba(0,122,164,.2); }
.dash-note h4 { font-family: var(--ff-body); font-size: 14.5px; font-weight: 800; color: var(--ink); margin-bottom: 6px; line-height: 1.3; letter-spacing: -.01em; } /* Bug #4 */
.dash-note p { font-size: 13px; color: var(--muted); line-height: 1.62; }
.dash-note-tag { display: inline-block; margin-top: 10px; font-family: var(--ff-mono); font-size: 10.5px; font-weight: 700; color: var(--mc-orange); letter-spacing: .06em; }

/* ── Calculator ── */
.s-calc { padding: var(--section-y) 0; background: linear-gradient(180deg, #fff, var(--wash)); position: relative; overflow: hidden; }
.s-calc-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(0,122,164,.05) 1px, transparent 1.5px); background-size: 36px 36px; mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%); opacity: .6; }
.s-calc-in { position: relative; z-index: 1; }
.s-calc-head { max-width: 840px; margin-bottom: 56px; }
.calc { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-card); overflow: hidden; }
.calc-head { padding: 18px 28px; background: linear-gradient(90deg, var(--mc-blue-shadow), var(--mc-blue)); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.calc-head h3 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.calc-head .live { font-family: var(--ff-mono); font-size: 11px; color: #A6E8E8; font-weight: 700; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 7px; }
.calc-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mc-teal); box-shadow: 0 0 0 3px rgba(40,183,183,.25); animation: pulseDot 2s ease-in-out infinite; }
.calc-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; }
.calc-inputs { padding: 32px 36px; border-right: 1px solid var(--line); background: linear-gradient(180deg, #fff, #FAFCFD); }
.calc-output { padding: 32px 36px; background: #fff; }
.calc-section { margin-bottom: 28px; }
.calc-section:last-child { margin-bottom: 0; }
.calc-section-title { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mc-blue); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.calc-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.calc-toggle { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; background: var(--wash); border: 1px solid var(--line); border-radius: 10px; padding: 5px; }
.calc-toggle button { padding: 11px 10px; border-radius: 7px; font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: all .22s cubic-bezier(.22,1,.36,1); display: flex; align-items: center; justify-content: center; gap: 7px; }
.calc-toggle button:hover { color: var(--ink); }
.calc-toggle button .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); transition: background .22s; }
.calc-toggle button.act { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.calc-toggle button.act .dot { background: var(--mc-orange); }
.calc-input { margin-bottom: 18px; }
.calc-input:last-child { margin-bottom: 0; }
.calc-input-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc-input-name { font-family: var(--ff-body); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.calc-input-val { font-family: var(--ff-mono); font-size: 14px; font-weight: 700; color: var(--mc-blue); background: var(--pale); padding: 4px 10px; border-radius: 4px; letter-spacing: .02em; min-width: 100px; text-align: right; }
.calc-input-val .ku { color: var(--muted); font-size: 11px; margin-left: 3px; font-weight: 600; }
.calc-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--mc-blue) 0%, var(--mc-blue) var(--p,50%), rgba(0,122,164,.12) var(--p,50%), rgba(0,122,164,.12) 100%); outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--mc-blue); cursor: pointer; box-shadow: 0 2px 8px rgba(0,122,164,.3); transition: transform .15s; }
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--mc-blue); cursor: pointer; box-shadow: 0 2px 8px rgba(0,122,164,.3); }
.calc-slider-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--ff-mono); font-size: 10px; color: var(--muted-2); letter-spacing: .04em; }
.calc-note { margin-top: 18px; padding: 14px 16px; background: linear-gradient(180deg, rgba(0,122,164,.05), rgba(0,122,164,.02)); border-left: 3px solid var(--mc-blue); border-radius: 0 6px 6px 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.calc-note strong { color: var(--ink); font-weight: 700; }
.calc-stack { background: linear-gradient(180deg, var(--wash), #fff); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 24px; }
.calc-stack-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.calc-stack-title .lbl { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mc-blue); }
.calc-stack-title .tot { font-family: var(--ff-body); font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-stack-title .tot .ku { color: var(--mc-blue); font-size: .55em; font-weight: 700; margin-left: 5px; font-family: var(--ff-mono); }
.calc-stack-bar { height: 40px; border-radius: 8px; background: rgba(0,0,0,.04); display: flex; overflow: hidden; position: relative; }
.cseg { height: 100%; position: relative; transition: flex-basis .7s cubic-bezier(.22,1,.36,1); display: flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 10.5px; font-weight: 700; color: #fff; letter-spacing: .04em; overflow: hidden; flex-shrink: 0; min-width: 0; }
/* Bug #7: 2px white divider between every surface so adjacent orange segments
   (income tax + employer cost) read as distinct bands instead of one blob.
   Inset shadow keeps the flex-basis percentages intact. */
.cseg + .cseg { box-shadow: inset 2px 0 0 #fff; }
.cseg-val { padding: 0 6px; } /* keep value text off the segment edges */
.cseg.net { background: linear-gradient(90deg, #28B7B7, #1497BA); }
.cseg.emp { background: linear-gradient(90deg, #007AA4, #005C7C); }
.cseg.sup { background: linear-gradient(90deg, #FF9900, #FFB266); }
.cseg.ert { background-image: repeating-linear-gradient(45deg, #FF5C00 0, #FF5C00 8px, #FF9900 8px, #FF9900 16px); }
.cseg-val { white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.calc-stack-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.calc-stack-legend span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.calc-stack-legend i { font-style: normal; width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.calc-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 24px; }
.cm { background: #fff; padding: 18px 22px; transition: background .2s; }
.cm:hover { background: var(--wash); }
.cm-lbl { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.cm-val { font-family: var(--ff-body); font-size: 1.85rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; margin-top: 8px; display: flex; align-items: baseline; gap: 5px; font-variant-numeric: tabular-nums; }
.cm-val .u { color: var(--mc-blue); font-size: .5em; font-weight: 700; font-family: var(--ff-mono); }
.cm-val.warn { color: var(--mc-orange); }
.cm-val.warn .u { color: var(--mc-orange); }
.cm-val.good { color: #1A8585; }
.cm-val.good .u { color: #1A8585; }
.cm-meta { font-family: var(--ff-mono); font-size: 10.5px; color: var(--muted); margin-top: 5px; letter-spacing: .04em; }
.calc-explainer { padding: 18px; background: linear-gradient(180deg, rgba(40,183,183,.06), rgba(0,122,164,.04)); border: 1px solid rgba(40,183,183,.18); border-radius: 10px; }
.calc-explainer-h { font-family: var(--ff-display); font-size: 12px; font-weight: 800; color: #1A8585; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.calc-explainer-h::before { content: "\2713"; color: var(--mc-teal); font-size: 11px; background: rgba(40,183,183,.18); width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; }
.calc-explainer-text { font-size: 13px; color: var(--muted); line-height: 1.62; }
.calc-explainer-text strong { color: var(--ink); font-weight: 700; }
.calc-foot { padding: 14px 28px; background: linear-gradient(180deg, #FAFCFD, #F4F9FB); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.calc-foot a { font-family: var(--ff-display); font-size: 12px; font-weight: 800; color: var(--mc-orange); letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.calc-foot a:hover { color: var(--mc-blue); }
@media (max-width: 1100px) { .calc-body { grid-template-columns: 1fr; } .calc-inputs { border-right: none; border-bottom: 1px solid var(--line); } .calc-metrics { grid-template-columns: 1fr; } }

/* ── Eight Things (Atlas) ── */
.s-eight { padding: var(--section-y) 0; background: #fff; }
.s-eight-head { max-width: 840px; margin-bottom: 48px; }
.atlas { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.atlas-card { padding: 36px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; transition: background .3s cubic-bezier(.22,1,.36,1); }
.atlas-card:hover { background: linear-gradient(180deg, #fff, var(--wash)); }
.atlas-card:hover .atlas-wm { color: rgba(0,122,164,.16); transform: translate(8px,-8px); }
.atlas-wm { position: absolute; top: 12px; right: 18px; font-family: var(--ff-body); font-size: 108px; font-weight: 900; color: rgba(0,122,164,.06); letter-spacing: -.06em; line-height: .85; pointer-events: none; user-select: none; transition: all .4s cubic-bezier(.22,1,.36,1); } /* Bug #4: numbers in Open Sans */
.atlas-num { font-family: var(--ff-mono); font-size: 11.5px; color: var(--mc-orange); font-weight: 700; letter-spacing: .14em; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.atlas-num::before { content: ""; width: 20px; height: 1.5px; background: var(--mc-orange); }
.atlas-card h4 { font-family: var(--ff-body); font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; line-height: 1.28; letter-spacing: -.015em; position: relative; z-index: 1; max-width: 92%; } /* Bug #4 */
.atlas-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; }
.atlas-mercans { margin-top: 22px; font-size: 13px; font-weight: 700; color: var(--mc-blue); display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); line-height: 1.5; position: relative; z-index: 1; }
.atlas-mercans::before { content: "\2192"; color: var(--mc-orange); font-weight: 800; flex-shrink: 0; }

/* ── Dual Workforce Flow ── */
.s-flow { padding: var(--section-y) 0; background: linear-gradient(180deg, #fff, var(--wash)); }
.s-flow-head { max-width: 840px; margin-bottom: 64px; }
.flowboard { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-card); overflow: hidden; }
.flowboard-head { padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(90deg, var(--mc-blue-shadow), var(--mc-blue)); flex-wrap: wrap; gap: 12px; }
.flowboard-head h3 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.flowboard-head .meta { font-family: var(--ff-mono); font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .06em; }
.flowtrack { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; padding: 0; }
.flowtrack-side { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 18px; }
.flowtrack-side.nat { background: linear-gradient(180deg, rgba(0,122,164,.04), rgba(40,183,183,.04)); border-right: 1px solid var(--line); }
.flowtrack-side.exp { background: linear-gradient(180deg, rgba(255,92,0,.04), rgba(255,153,0,.04)); border-left: 1px solid var(--line); }
.flow-side-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.flow-side-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
.flow-side-pop { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 5px 10px; border-radius: 4px; }
.nat .flow-side-pop { background: rgba(0,122,164,.1); color: var(--mc-blue); border: 1px solid rgba(0,122,164,.22); }
.exp .flow-side-pop { background: rgba(255,92,0,.1); color: var(--mc-orange); border: 1px solid rgba(255,92,0,.22); }
.flow-side-sub { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-bottom: 18px; }
.flow-side-engine { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 18px; min-height: 72px; }
.flow-side-engine-icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; font-family: var(--ff-display); font-weight: 800; font-size: 13px; }
.nat .flow-side-engine-icon { background: var(--mc-blue-grad); color: #fff; }
.exp .flow-side-engine-icon { background: var(--mc-orange-grad); color: #fff; }
.flow-side-engine-name { font-family: var(--ff-display); font-size: 14px; font-weight: 800; color: var(--ink); }
.flow-side-engine-meta { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.flow-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-content: start; }
.flow-item-num { font-family: var(--ff-mono); font-size: 11px; font-weight: 800; color: var(--mc-blue); height: 24px; display: grid; place-items: center; background: var(--pale); border-radius: 4px; }
.exp .flow-item-num { color: var(--mc-orange); background: rgba(255,92,0,.08); }
.flow-item p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.flow-item p strong { color: var(--ink); font-weight: 700; }
.flow-spine { background: #fff; display: flex; flex-direction: column; align-items: center; position: relative; padding: 0; }
.flow-spine::before { content: ""; position: absolute; top: 60px; bottom: 60px; width: 1.5px; background: linear-gradient(180deg, var(--mc-blue), var(--mc-orange)); border-radius: 1px; }
.flow-spine-mark { position: absolute; left: 50%; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--mc-blue); color: var(--mc-blue); font-family: var(--ff-display); font-weight: 800; font-size: 13px; display: grid; place-items: center; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.flow-spine-mark.top { top: 36px; }
.flow-spine-mark.mid { top: 50%; transform: translate(-50%,-50%); background: linear-gradient(135deg, var(--mc-blue), var(--mc-orange)); border-color: transparent; color: #fff; }
.flow-spine-mark.bot { bottom: 36px; top: auto; border-color: var(--mc-orange); color: var(--mc-orange); }

/* ── Calendar Timeline ── */
.s-cal { padding: var(--section-y) 0; background: #fff; }
.s-cal-head { max-width: 840px; margin-bottom: 48px; }

/* ── Bug #8: Calendar-grid view (replaces the old .cal-tl bar/timeline) ──
   A real 12-month calendar: recurring obligations stated once up top, then each
   month cell shows only the dated/seasonal deadlines that actually fall in it. */
.calx { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 36px; box-shadow: var(--sh-card); position: relative; overflow: hidden; margin-bottom: 32px; }
.calx::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--mc-orange), var(--mc-blue), var(--mc-teal)); }
.calx-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.calx-title { font-family: var(--ff-display); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.calx-title .yr { color: var(--mc-blue); }
.calx-legend { display: flex; gap: 16px; flex-wrap: wrap; }
.calx-legend span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.calx-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.calx-k-o { background: var(--mc-orange); }
.calx-k-b { background: var(--mc-blue); }
.calx-k-t { background: var(--mc-teal); }
.calx-recurring { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 22px; border-radius: 10px; background: var(--wash); border: 1px solid var(--line); }
.calx-recurring-lbl { font-family: var(--ff-mono); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mc-orange); padding: 4px 10px; border-radius: 5px; background: rgba(255,92,0,.1); white-space: nowrap; }
.calx-recurring-items { font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; line-height: 1.5; }
.calx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.calx-mo { border: 1px solid var(--line); border-radius: 10px; padding: 14px 14px 16px; background: linear-gradient(180deg, #fff, var(--wash)); min-height: 96px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .25s; }
.calx-mo:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,122,164,.08); border-color: rgba(0,122,164,.3); }
.calx-mo-h { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.calx-mo-n { font-family: var(--ff-display); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.calx-mo-i { font-family: var(--ff-body); font-size: 12px; font-weight: 800; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.calx-evs { display: flex; flex-direction: column; gap: 6px; }
.calx-ev { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 5px 9px; border-radius: 5px; line-height: 1.3; }
.calx-ev.b { background: rgba(0,122,164,.1); color: var(--mc-blue); }
.calx-ev.o { background: rgba(255,92,0,.1); color: var(--mc-orange); }
.calx-ev.t { background: rgba(40,183,183,.14); color: #1A8585; }
.calx-ev.muted { background: transparent; color: var(--muted-2); font-weight: 600; padding-left: 0; }
@media (max-width: 1100px) { .calx-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .calx-grid { grid-template-columns: repeat(2, 1fr); } .calx { padding: 24px 20px; } }
.cal-tl { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 40px 32px; box-shadow: var(--sh-card); position: relative; overflow: hidden; margin-bottom: 32px; }
.cal-tl::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--mc-orange), var(--mc-blue), var(--mc-teal)); }
.cal-tl-h { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.cal-tl-title { font-family: var(--ff-display); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.cal-tl-title .yr { color: var(--mc-blue); }
.cal-tl-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.cal-tl-legend span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.cal-tl-legend i { font-style: normal; width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cal-months { display: grid; grid-template-columns: repeat(12,1fr); position: relative; padding-top: 88px; }
.cal-months::before { content: ""; position: absolute; left: 0; right: 0; top: 86px; height: 2px; background: linear-gradient(90deg, var(--mc-blue), var(--mc-teal)); border-radius: 1px; }
.cal-month { text-align: center; position: relative; padding-top: 16px; font-family: var(--ff-mono); font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.cal-month.q { color: var(--mc-blue); }
.cal-dot { position: absolute; top: 72px; left: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%) scale(0); background: var(--mc-orange); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--mc-orange), 0 2px 8px rgba(255,92,0,.3); animation: dotPop .55s cubic-bezier(.34,1.56,.64,1) backwards; }
.s-cal.lit .cal-dot { transform: translateX(-50%) scale(1); }
@keyframes dotPop { from { transform: translateX(-50%) scale(0); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
.cal-month:nth-child(1) .cal-dot { animation-delay: .04s; }
.cal-month:nth-child(2) .cal-dot { animation-delay: .08s; }
.cal-month:nth-child(3) .cal-dot { animation-delay: .12s; }
.cal-month:nth-child(4) .cal-dot { animation-delay: .16s; }
.cal-month:nth-child(5) .cal-dot { animation-delay: .20s; }
.cal-month:nth-child(6) .cal-dot { animation-delay: .24s; }
.cal-month:nth-child(7) .cal-dot { animation-delay: .28s; }
.cal-month:nth-child(8) .cal-dot { animation-delay: .32s; }
.cal-month:nth-child(9) .cal-dot { animation-delay: .36s; }
.cal-month:nth-child(10) .cal-dot { animation-delay: .40s; }
.cal-month:nth-child(11) .cal-dot { animation-delay: .44s; }
.cal-month:nth-child(12) .cal-dot { animation-delay: .48s; }
.cal-flag { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-family: var(--ff-mono); font-size: 10px; font-weight: 800; color: var(--mc-blue); background: #fff; padding: 5px 9px; border-radius: 4px; border: 1.5px solid var(--mc-blue); white-space: nowrap; letter-spacing: .06em; }
.cal-flag::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--mc-blue); }
.cal-bands { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--line); }
.cal-band { display: grid; grid-template-columns: 240px 1fr 80px; gap: 18px; align-items: center; font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--muted); }
.cal-band-name { color: var(--ink); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
.cal-band-rail { height: 8px; border-radius: 4px; position: relative; overflow: hidden; background: rgba(0,122,164,.06); }
.cal-band-rail i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--mc-teal), var(--mc-blue)); width: var(--w, 100%); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
.s-cal.lit .cal-band-rail i { transform: scaleX(1); }
.cal-band.wps .cal-band-rail i { background: linear-gradient(90deg, var(--mc-orange), var(--mc-orange-light)); }
.cal-band.ashal .cal-band-rail i { background: linear-gradient(90deg, var(--mc-teal), var(--mc-blue)); }
.cal-band.ann .cal-band-rail i { background: linear-gradient(90deg, var(--mc-blue), var(--mc-blue-deep)); width: 8%; }
.cal-band.kfas .cal-band-rail i { background: linear-gradient(90deg, var(--mc-blue), var(--mc-blue-deep)); width: 12%; }
.cal-band-tag { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 4px; letter-spacing: .04em; text-align: center; background: var(--pale); color: var(--mc-blue); }
.cal-band.wps .cal-band-tag { background: rgba(255,92,0,.1); color: var(--mc-orange); }
.cal-band.ashal .cal-band-tag { background: rgba(40,183,183,.12); color: #1A8585; }

/* Calendar event cards */
.cal-events-head { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 48px; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.cal-events-title { font-family: var(--ff-display); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.cal-events-title em { font-style: normal; color: var(--mc-orange-light); }
.cal-events-note { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.cal-events-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.cev { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; transition: all .3s cubic-bezier(.22,1,.36,1); position: relative; display: flex; flex-direction: column; }
.cev::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 2px 2px; }
.cev.m::before { background: var(--mc-orange); }
.cev.a::before { background: var(--mc-blue); }
.cev.e::before { background: var(--mc-orange-light); }
.cev.l::before { background: var(--mc-teal); }
.cev:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,122,164,.08); border-color: rgba(0,122,164,.3); }
.cev-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; align-self: flex-start; margin-bottom: 14px; }
.cev.m .cev-badge { background: rgba(255,92,0,.1); color: var(--mc-orange); }
.cev.a .cev-badge { background: rgba(0,122,164,.1); color: var(--mc-blue); }
.cev.e .cev-badge { background: rgba(255,153,0,.14); color: #C76700; }
.cev.l .cev-badge { background: rgba(40,183,183,.14); color: #1A8585; }
.cev h4 { font-family: var(--ff-body); font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; line-height: 1.3; letter-spacing: -.01em; } /* Bug #4 */
.cev p { font-size: 12.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.cev-auth { margin-top: 14px; font-family: var(--ff-mono); font-size: 10.5px; font-weight: 700; color: var(--mc-blue); letter-spacing: .08em; text-transform: uppercase; padding-top: 12px; border-top: 1px solid var(--line-soft); }

/* ── GCC Radar ── */
.s-gcc { padding: var(--section-y) 0; background: linear-gradient(180deg, var(--wash), #fff); }
.s-gcc-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
/* Regional heading: selector matches the actual rendered markup (.s-gcc-in .reveal h3,
   not the never-present .s-gcc-l). Tighter line-height so the two-line headline isn't gappy. */
.s-gcc h3 { font-family: var(--ff-display); font-size: clamp(1.9rem,3vw,2.6rem); font-weight: 800; letter-spacing: -.025em; margin: 12px 0 16px; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.s-gcc h3 em { font-style: italic; font-weight: 500; color: var(--mc-blue); }
.s-gcc-in > .reveal > p, .s-gcc-l p { font-size: 15.5px; color: var(--muted); line-height: 1.72; margin-bottom: 36px; }
.gcc-info { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; box-shadow: var(--sh-card); transition: all .35s cubic-bezier(.22,1,.36,1); margin-top: 32px; }
.gcc-info-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gcc-info-flag { font-size: 36px; line-height: 1; }
.gcc-info-name { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.015em; }
.gcc-info-pop { margin-left: auto; font-family: var(--ff-mono); font-size: 11px; font-weight: 700; color: var(--mc-blue); background: var(--pale); padding: 5px 10px; border-radius: 4px; letter-spacing: .06em; }
.gcc-info-meta { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.gcc-info-systems { display: flex; flex-wrap: wrap; gap: 6px; }
.gcc-info-systems span { font-family: var(--ff-mono); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 4px; background: rgba(40,183,183,.1); color: #1A8585; letter-spacing: .04em; }
.gcc-radar { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
.gcc-radar svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gcc-radar svg.bg circle { fill: none; stroke: rgba(0,122,164,.12); stroke-width: 1; }
.gcc-radar svg.bg line { stroke: rgba(0,122,164,.08); stroke-width: 1; }
.gcc-radar svg.bg .ring-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700; fill: rgba(0,122,164,.45); letter-spacing: .08em; text-transform: uppercase; }
/* Bug #11: larger disc + horizontal padding + tighter type so "Mercans Nordic" no longer touches the circle edge */
.gcc-radar-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: var(--mc-blue-grad); display: grid; place-items: center; padding: 0 10px; box-sizing: border-box; color: #fff; font-family: var(--ff-display); font-weight: 800; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 0 0 6px rgba(0,122,164,.06), 0 8px 24px rgba(0,122,164,.25); text-align: center; line-height: 1.15; }
.gcc-radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 270deg, transparent 0deg, rgba(40,183,183,.18) 30deg, transparent 60deg); animation: radarSweep 6s linear infinite; pointer-events: none; }
@keyframes radarSweep { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.gcc-node { position: absolute; width: 88px; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.gcc-node:hover { transform: translate(-50%, calc(-50% - 4px)); }
.gcc-node-dot { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: 24px; line-height: 1; transition: all .25s cubic-bezier(.22,1,.36,1); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.gcc-node:hover .gcc-node-dot { border-color: var(--mc-blue); box-shadow: 0 6px 18px rgba(0,122,164,.18); }
.gcc-node.act .gcc-node-dot { border-color: var(--mc-blue); background: var(--pale); box-shadow: 0 0 0 4px rgba(0,122,164,.15), 0 8px 22px rgba(0,122,164,.25); }
.gcc-node-name { font-family: var(--ff-mono); font-size: 10.5px; font-weight: 700; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; background: #fff; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--line); white-space: nowrap; }
.gcc-node.act .gcc-node-name { color: #fff; background: var(--mc-blue); border-color: var(--mc-blue); }
.gcc-node.kw { top: 50%; left: 8%; }
.gcc-node.sa { top: 18%; left: 30%; }
.gcc-node.uae { top: 18%; left: 70%; }
.gcc-node.qa { top: 50%; left: 92%; }
.gcc-node.bh { top: 82%; left: 70%; }
.gcc-node.om { top: 82%; left: 30%; }
.gcc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 32px; }
.gcc-stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-align: center; }
.gcc-stat-v { font-family: var(--ff-body); font-size: 1.5rem; font-weight: 800; color: var(--mc-blue); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.gcc-stat-v .u { color: var(--mc-orange); font-size: .6em; font-family: var(--ff-mono); }
.gcc-stat-l { font-family: var(--ff-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }

/* ── Output Library ── */
.s-out { padding: 88px 0; background: #fff; }
.s-out-in { display: block; }
.s-out-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.s-out-head .specline { justify-content: center; border-bottom: none; padding-bottom: 0; margin-bottom: 18px; }
.s-out-head .dossier-tag { justify-content: center; }
.s-out-head h3 { font-family: var(--ff-display); font-size: clamp(2rem,3.2vw,2.8rem); font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin: 14px 0 16px; line-height: 1.1; text-wrap: balance; }
.s-out-head h3 em { font-style: italic; font-weight: 500; color: var(--mc-blue); }
.s-out-head p { font-size: 15.5px; color: var(--muted); line-height: 1.7; max-width: 640px; margin: 0 auto 26px; }
.out-meta { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 6px 8px; width: fit-content; margin: 0 auto; box-shadow: 0 2px 12px rgba(0,122,164,.06); }
.out-meta-cell { padding: 8px 22px; font-family: var(--ff-mono); font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; border-right: 1px solid var(--line); }
.out-meta-cell:last-child { border-right: none; }
.out-meta-cell strong { font-family: var(--ff-body); font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.out-meta-cell.pulse { color: var(--mc-teal); }
.out-meta-cell.pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mc-teal); box-shadow: 0 0 0 3px rgba(40,183,183,.2); animation: pulseDot 2s ease-in-out infinite; }
.out-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 8px; }
.out-tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px; transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.out-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--mc-blue), var(--mc-teal)); transform: scaleY(0); transform-origin: top; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.out-tile:hover { transform: translateY(-3px); border-color: rgba(0,122,164,.3); box-shadow: 0 12px 24px rgba(0,122,164,.10); }
.out-tile:hover::before { transform: scaleY(1); }
.out-tile .glyph { font-family: var(--ff-mono); font-size: 10.5px; font-weight: 800; width: 42px; height: 30px; border-radius: 5px; background: var(--pale); color: var(--mc-blue); display: grid; place-items: center; letter-spacing: .04em; flex-shrink: 0; transition: background .25s, color .25s; }
.out-tile:hover .glyph { background: var(--mc-blue); color: #fff; }
.out-tile .out-name { font-family: var(--ff-body); font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
@media (max-width: 1100px) { .out-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px) { .out-grid { grid-template-columns: 1fr; } }

/* ── Compliance Band ── */
.secband { padding: 60px 0; background: linear-gradient(180deg, #FFF5E6, #FFFAEF); border-top: 1px solid rgba(255,153,0,.2); border-bottom: 1px solid rgba(255,153,0,.2); }
.secband-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 36px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--sh-card); }
.secband-card::before { content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--mc-rule); }
.secband-eyebrow { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--mc-blue); margin-bottom: 8px; }
.secband-title { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -.01em; }
.secband-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.sb-pill { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 6px; transition: all .25s cubic-bezier(.22,1,.36,1); white-space: nowrap; }
.sb-pill svg { color: var(--mc-teal); flex-shrink: 0; }
.sb-pill:hover { border-color: var(--mc-blue); background: var(--pale); transform: translateY(-1px); }

/* ── Reveals ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .country-page .reveal { opacity: 1; transform: none; }
}

/* ── V2 Responsive ── */
@media (max-width: 1100px) {
  :root { --section-y: 80px; --gutter: 24px; }
  .hero-in, .s-gcc-in, .s-out-in, .cta-in { grid-template-columns: 1fr; gap: 48px; }
  .chapter { grid-template-columns: 80px 1fr; gap: 24px; }
  .chapter-viz { grid-column: 1/-1; position: static; }
  .chapter-num { position: static; font-size: 4rem; }
  .hm-grid { grid-template-columns: minmax(200px,1.6fr) repeat(4,minmax(110px,1fr)); }
  .dash-body { grid-template-columns: 1fr; }
  .dial-row { grid-template-columns: 1fr 1fr; }
  .dial:nth-child(2) { border-right: none; }
  .dial:nth-child(1), .dial:nth-child(2) { border-bottom: 1px solid var(--line); }
  .atlas { grid-template-columns: 1fr 1fr; }
  .flowtrack { grid-template-columns: 1fr; }
  .flow-spine { display: none; }
  .flowtrack-side { border-right: none; border-left: none; border-bottom: 1px solid var(--line); }
  .cal-months { grid-template-columns: repeat(6,1fr); row-gap: 20px; }
  .cal-band { grid-template-columns: 1fr; gap: 6px; }
  .cal-events-grid { grid-template-columns: 1fr 1fr; }
  .providers { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .hstat:nth-child(2) { border-right: none; }
  .hstat:nth-child(1), .hstat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .hstat:nth-child(3), .hstat:nth-child(4) { padding-top: 18px; }
  .secband-card { grid-template-columns: 1fr; gap: 20px; }
  .secband-pills { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .atlas { grid-template-columns: 1fr; }
  .cal-events-grid { grid-template-columns: 1fr; }
  .cal-months { grid-template-columns: repeat(4,1fr); }
  .recog-row { gap: 14px; }
}

@media (max-width: 480px) {
  .dial-row { grid-template-columns: 1fr 1fr; }
  .dial { padding: 16px 8px; }
  .dial-arc svg { max-width: 120px; }
  .dial-name { font-size: 10px; }
  .dial-meta { font-size: 9px; }
  .dash-matrix { font-size: 13px; }
  .dash-matrix .hm-rate { font-size: 12px; padding: 2px 6px; }
  .chapter { grid-template-columns: 1fr; gap: 24px; }
  .chapter-num { position: static; font-size: 4rem; flex-direction: row; align-items: baseline; gap: 12px; }
  .chapter-viz { min-height: auto; }
  .heatmap-body { font-size: 12px; }
  .s-calc-in { grid-template-columns: 1fr; }
  .calc-toggle { flex-wrap: wrap; }
  .calc-toggle button { font-size: 11px; padding: 8px 10px; }
  .hero-stamp { font-size: 10px; }
  .hero-title { font-size: 1.6rem !important; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .providers { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
  .flowtrack { grid-template-columns: 1fr; }
  .flow-spine { display: none; }
  .s-gcc-in { grid-template-columns: 1fr; }
  .s-out-in { grid-template-columns: 1fr; }
  .recog-row { flex-direction: column; align-items: center; }
  .rs { min-width: auto; }
  .secband-in { grid-template-columns: 1fr; }
  .secband-certs { justify-content: flex-start; }
}
