/* ==========================================================================
   NETA STORY — Premium Scrollytelling Stylesheet
   Indian MPs' Investment Portfolios Data Story
   Design Language: Warm newspaper-editorial cream (Kerala 2026)
   ========================================================================== */

/* --------------------------------------------------------------------------
   §0  DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* --- Palette ---------------------------------------------------------- */
  --bg:        #f5f0e8;
  --bg-dark:   #e8e0d0;
  --ink:       #2a2520;
  --ink-soft:  #5a524a;
  --rule:      #c8beb0;
  --accent:    #b88a00;
  --green:     #3a6a3a;
  --red:       #b83737;

  /* --- Typography ------------------------------------------------------- */
  --serif:     "Playfair Display", Georgia, serif;
  --sans:      "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Spacing & sizing ------------------------------------------------- */
  --max-w:     1100px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* --- Shadows ---------------------------------------------------------- */
  --shadow-sm: 0 1px 3px rgba(42,37,32,.08);
  --shadow-md: 0 4px 12px rgba(42,37,32,.10);
  --shadow-lg: 0 8px 30px rgba(42,37,32,.12);
  --shadow-gold: 0 4px 18px rgba(184,138,0,.12);
}


/* --------------------------------------------------------------------------
   §1  RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  /* Prevent any wide child from stretching the page horizontally, which
     would inflate the `vw` unit (and the vw-sized coins) on mobile. */
  overflow-x: hidden;
}

/* Wide tables scroll inside their own box instead of widening the page */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Keep columns readable: below these widths the table scrolls horizontally
   inside .table-scroll rather than squishing (only triggers on narrow screens). */
.table-scroll .premium-table { min-width: 460px; }
.table-scroll #party-metals-table { min-width: 620px; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--ink);
}


/* --------------------------------------------------------------------------
   §2  HERO  ( header.hero )
   -------------------------------------------------------------------------- */
header.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}

/* Subtle texture overlay */
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(184,138,0,.04) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(184,138,0,.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-meta {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}

/* ---- Scroll Cue ------------------------------------------------------- */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2.4s ease infinite;
  z-index: 1;
}

.scroll-cue svg,
.scroll-cue .cue-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--ink-soft);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40%  { transform: translateX(-50%) translateY(-8px); }
  60%  { transform: translateX(-50%) translateY(-4px); }
}


/* --------------------------------------------------------------------------
   §3  SCROLLYTELLING  ( #scrolly )
   -------------------------------------------------------------------------- */
#scrolly {
  position: relative;
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 0;
  background: var(--bg);
}

/* ---- Sticky graphic --------------------------------------------------- */
.graphic-container {
  position: sticky;
  top: 5vh;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1;
}

/* Pane system — cross-fade */
.pane {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.pane.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Steps column ----------------------------------------------------- */
.steps {
  position: relative;
  z-index: 2;
}

.step {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 2rem 2.5rem 2rem 3rem;
  opacity: 0.35;
  transition: opacity .45s ease;
}

.step.is-active {
  opacity: 1;
}

/* Extra scroll breathing room before transitioning to Ch.1 reveal (+7.40% card) */
.step[data-step="3"] {
  margin-top: 35vh;
}

.step-inner {
  max-width: 440px;
}

.step-inner h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: .75rem;
}

.step-inner p {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.step-inner .step-stat {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: .75rem 0;
}


/* ---- Pane Variant: WhatsApp Screenshot -------------------------------- */
.whatsapp-wrapper {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: .6rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
  max-width: 520px;
  width: 100%;
  transition: transform .4s ease;
}

.whatsapp-wrapper:hover {
  transform: rotate(0deg) scale(1.01);
}

.whatsapp-wrapper img {
  border-radius: var(--radius-md);
  width: 100%;
}


/* ---- Pane Variant: Parser Console ------------------------------------- */
.parser-console {
  background: #151821;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: .82rem;
  line-height: 1.7;
  color: #c2c8d4;
  overflow: hidden;
}

.console-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 1rem;
}

.console-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.console-dots .dot-red    { background: #ff5f57; }
.console-dots .dot-yellow { background: #febc2e; }
.console-dots .dot-green  { background: #28c840; }

.console-line {
  padding: 2px 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.console-line.highlight {
  color: #7fecad;
  font-weight: 600;
}

.console-line .token-key   { color: #7ec8e3; }
.console-line .token-value { color: #f9cb6a; }
.console-line .token-dim   { color: #5a6070; }

.console-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-right: .5rem;
}

.console-badge.success {
  background: rgba(40,200,64,.15);
  color: #28c840;
}

.console-badge.info {
  background: rgba(126,200,227,.12);
  color: #7ec8e3;
}

.console-badge.warn {
  background: rgba(249,203,106,.12);
  color: #f9cb6a;
}


/* ---- Pane Variant: Reveal Card ---------------------------------------- */
.reveal-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}

.reveal-card .reveal-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.reveal-card .reveal-stat {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: .5rem;
}

.reveal-card .reveal-note {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}


/* --------------------------------------------------------------------------
   §4  CHAPTER SECTIONS  ( .chapter )
   -------------------------------------------------------------------------- */
.chapter {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 5rem 2rem;
}

.chapter-alt {
  background: rgba(0,0,0,.025);
}

.chapter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.chapter-num {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.chapter-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1rem;
}

.chapter-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* Decorative rule between header and body */
.chapter-rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border: none;
  border-radius: 2px;
  margin-bottom: 2.5rem;
}


/* --------------------------------------------------------------------------
   §5  BAR CHART — Chapter 1: Performance
   -------------------------------------------------------------------------- */
.viz-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.viz-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 1.8rem 0 1.2rem;
  box-shadow: none;
}

.viz-card h4 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 1.6rem;
}

/* --- Vertical bar chart --------------------------------------------------- */
.vbar-chart {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 1rem;
  min-height: 320px;
  padding: 0 .25rem;
  position: relative;
}

/* Faint horizontal baseline underneath all bars */
.vbar-chart::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px; /* sits where labels start */
  border-bottom: 1px solid var(--rule);
  pointer-events: none;
}

.vbar {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.vbar-value {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: .45rem;
  letter-spacing: -.01em;
}

.vbar-track {
  flex: 1 1 auto;
  width: 100%;
  max-width: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.vbar-fill {
  width: 100%;
  height: 0%;
  border-radius: 3px 3px 0 0;
  transition: height 1.2s cubic-bezier(.22,1,.36,1);
  /* subtle top edge for definition over translucent body */
  box-shadow: inset 0 2px 0 0 rgba(0,0,0,.18);
}

.vbar-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.3;
  margin-top: .7rem;
  min-height: 2.4em;
  padding: 0 .15rem;
  word-wrap: break-word;
}

@media (max-width: 640px) {
  .vbar-chart { gap: .5rem; min-height: 260px; }
  .vbar-value { font-size: .78rem; }
  .vbar-label { font-size: .65rem; }
}

/* Insight highlight box */
.highlight-box {
  border-left: 3px solid var(--accent);
  background: rgba(184,138,0,.06);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.5rem;
}

.highlight-box p {
  font-family: var(--sans);
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ink);
}

.highlight-box strong {
  color: var(--accent);
}


/* --------------------------------------------------------------------------
   §6  LEADERBOARD — Chapter 2
   -------------------------------------------------------------------------- */

/* ---- Selector tabs ---------------------------------------------------- */
.selector-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  padding: .5rem 1.3rem;
  border-radius: 30px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---- Card grid -------------------------------------------------------- */
.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.leaderboard-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.6rem 1.5rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.leaderboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Big faded rank number */
.card-rank {
  position: absolute;
  top: .4rem;
  right: .8rem;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(42,37,32,.06);
  pointer-events: none;
  user-select: none;
}

/* Party tag pill */
.card-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: .6rem;
}

.card-tag.bjp  { background: #d97822; }
.card-tag.inc  { background: #2e5a95; }
.card-tag.aitc { background: #3a6a3a; }
.card-tag.dmk  { background: #c62828; }
.card-tag.ysrcp { background: #1565c0; }
.card-tag.brs  { background: #e91e63; }
.card-tag.tdp  { background: #f9a825; }
.card-tag.sp   { background: #d32f2f; }
.card-tag.ncpsp { background: #6a1b9a; }
.card-tag.aap  { background: #0277bd; }
.card-tag.sad  { background: #f57c00; }
.card-tag.jds  { background: #2e7d32; }
.card-tag.ssubt { background: #e65100; }
.card-tag.other { background: var(--ink-soft); }

.card-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .15rem;
}

.card-constituency {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}

/* Stats row */
.card-stats {
  display: flex;
  gap: 1.2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .75rem 0;
  margin-top: .5rem;
}

.card-stat-item {
  flex: 1;
  text-align: center;
}

.card-stat-item .stat-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.card-stat-item .stat-label {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-num.green { color: var(--green); }
.stat-num.red   { color: var(--red); }

/* MP avatar initials circle */
.card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-soft);
  flex-shrink: 0;
  margin-bottom: .8rem;
  border: 2px solid #e8e4df;
}

/* Footnotes */
.footnotes-list {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footnotes-list li {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footnotes-list li strong {
  color: var(--ink);
}

/* Audit callout */
.audit-callout {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.8rem;
  margin-top: 2.5rem;
}

.audit-callout .callout-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .5rem;
}

.audit-callout .callout-icon {
  font-size: 1.2rem;
}

.audit-callout .callout-title {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}

.audit-callout .callout-body {
  font-family: var(--sans);
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}


/* --------------------------------------------------------------------------
   §7  SPOUSE COMPARISON — Chapter 3
   -------------------------------------------------------------------------- */
.spouses-comparison {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 2rem;
}

.spouse-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.spouse-card.active {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-gold);
}

.spouse-card .card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, #f3d078, #cba135);
  color: #fff;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(184,138,0,.25);
}

/* Make card relative for badge positioning */
.spouse-card {
  position: relative;
}

.spouse-card .spouse-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .25rem;
}

.spouse-card .spouse-role {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(200,190,176,.4);
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-row .metric-label {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-soft);
}

.metric-row .metric-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

/* VS divider */
.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  flex-shrink: 0;
}

.vs-divider span {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--rule);
  font-style: italic;
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}


/* --------------------------------------------------------------------------
   §8  AMIT SHAH SPOTLIGHT
   -------------------------------------------------------------------------- */
.amit-shah-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: start;
}

/* Editorial portrait that sits above the kicker in the Amit Shah block */
.spotlight-portrait {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 0 1.4rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
  background: var(--bg-dark);
}

.spotlight-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-kicker {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.spotlight-left h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.spotlight-left p {
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.spotlight-right {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.spotlight-right h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* Styled data table inside spotlight */
.st-table {
  width: 100%;
  border-collapse: collapse;
}

.st-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(200,190,176,.35);
  font-family: var(--sans);
  font-size: .84rem;
}

.st-row:last-child {
  border-bottom: none;
}

.st-row.st-header {
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--rule);
}

.green-pct {
  color: var(--green);
  font-weight: 700;
  font-family: "SF Mono", "Fira Code", monospace;
}


/* --------------------------------------------------------------------------
   §9  GOLD & SILVER — Chapter 4
   -------------------------------------------------------------------------- */

/* ---- Summary cards ---------------------------------------------------- */
.metals-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2rem;
}

.metal-sum-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
}

/* Top stripe via pseudo-element */
.metal-sum-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.metal-sum-card.gold::before {
  background: linear-gradient(135deg, #f3d078, #cba135);
}

.metal-sum-card.gold {
  box-shadow: 0 4px 18px rgba(184,138,0,.08);
}

.metal-sum-card.silver::before {
  background: linear-gradient(135deg, #c0c5ce, #8e95a0);
}

.metal-sum-card.silver {
  box-shadow: 0 4px 18px rgba(122,132,148,.08);
}

.metal-sum-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .8rem;
}

.gold-text {
  color: #b88a00;
  font-weight: 700;
}

.silver-text {
  color: #7a8494;
  font-weight: 700;
}

.metal-sum-card .big-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .3rem;
}

.metal-sum-card .sub-text {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.return-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(58,106,58,.1);
  color: var(--green);
  margin-top: .5rem;
}


/* ---- Top holders tables ----------------------------------------------- */
.top-holders-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.holder-table-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.holder-table-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.holder-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #fff;
  border: 1px solid rgba(200,190,176,.35);
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;
  margin-bottom: .5rem;
  transition: box-shadow .2s ease;
}

.holder-row:hover {
  box-shadow: var(--shadow-sm);
}

.holder-rank {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 900;
  color: rgba(42,37,32,.15);
  min-width: 28px;
}

.holder-name {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
}

.holder-party {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  color: #fff;
}

.holder-value {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  min-width: 80px;
}


/* ---- Mixed card (raw text / commentary) ------------------------------- */
.mixed-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.mixed-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .8rem;
}

.mixed-card p {
  font-family: var(--sans);
  font-size: .88rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.raw-bubble {
  display: inline-block;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: .78rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: .35rem .7rem;
  margin: .3rem .15rem;
  color: var(--ink);
}


/* ---- Premium table ---------------------------------------------------- */
.premium-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.premium-table thead th {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
  text-align: left;
  padding: .6rem .8rem;
  border-bottom: 2px solid var(--rule);
}

.premium-table tbody td {
  font-family: var(--sans);
  font-size: .86rem;
  padding: .7rem .8rem;
  border-bottom: 1px solid rgba(200,190,176,.3);
  color: var(--ink);
}

.premium-table tbody tr:last-child td {
  border-bottom: none;
}

/* NDA highlight row */
.premium-table .highlight-coalition {
  background: rgba(184,138,0,.06);
  border-left: 3px solid var(--accent);
}

.premium-table .highlight-coalition td {
  font-weight: 600;
}


/* ---- Distortion card -------------------------------------------------- */
.distortion-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.distortion-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .8rem;
}

.val-wrong {
  text-decoration: line-through;
  color: var(--red);
  font-weight: 600;
}

.val-correct {
  color: var(--green);
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   §10  SEARCH BAR — Chapter 5 / End Section
   -------------------------------------------------------------------------- */
.search-section {
  background: var(--bg);
  padding: 5rem 2rem;
  text-align: center;
}

.search-section .section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .5rem;
}

.search-section .section-sub {
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.search-box-wrapper {
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.search-box {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: .9rem 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 40px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.search-box::placeholder {
  color: var(--ink-soft);
  opacity: .6;
}

.search-box:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,138,0,.15), var(--shadow-sm);
}

/* ---- Search results --------------------------------------------------- */
.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: left;
}

.result-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  transition: box-shadow .2s ease, transform .2s ease;
}

.result-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.result-card .result-party {
  display: inline-block;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 10px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: .5rem;
}

.result-card .result-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .15rem;
}

.result-card .result-constituency {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--ink-soft);
  margin-bottom: .75rem;
}

.result-card .result-metrics {
  display: flex;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-top: .6rem;
}

.result-card .metric {
  flex: 1;
}

.result-card .metric .m-val {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.result-card .metric .m-label {
  font-family: var(--sans);
  font-size: .65rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* No results / empty search state */
.no-results,
.search-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 3rem 0;
  text-align: center;
  grid-column: 1 / -1;
}

/* Search placeholder message */
.search-placeholder {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 3rem 0;
  text-align: center;
  grid-column: 1 / -1;
}

/* Additional holder card styles */
.holder-info {
  flex: 1;
  min-width: 0;
}

.holder-meta {
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--ink-soft);
  margin-top: .15rem;
}

.holder-val-now {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.holder-val-then {
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: .35rem;
}

/* Small "2024 valuation" / "2026 valuation" caption under each figure */
.holder-val-cap {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .75;
  margin-top: 1px;
}

/* Mixed card bubble */
.mixed-bubble {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: .78rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: .5rem .8rem;
  margin: .5rem 0;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-word;
}

.mixed-separated {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: .5rem;
}

/* Distortion metric layout */
.dist-metric-box {
  display: flex;
  gap: 2rem;
  margin: .6rem 0;
  flex-wrap: wrap;
}

.dist-claim .lbl {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin-bottom: .15rem;
}

.dist-claim .val {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.dist-desc {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: .5rem;
}

/* Leaderboard card extras */
.card-constituency {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--ink-soft);
  margin-bottom: .9rem;
  display: block;
}

.card-driver {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: .6rem;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-item .num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  display: block;
}

.stat-item .label {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
}

/* Search result extras */
.result-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: .3rem;
}

.result-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.result-constituency {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--ink-soft);
  display: block;
  margin-bottom: .6rem;
}

.result-metrics {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: .6rem;
  margin-top: .4rem;
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-soft);
}

/* Global color utilities */
.green { color: var(--green); }
.red   { color: var(--red); }


/* --------------------------------------------------------------------------
   §11  FOOTER
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--rule);
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg);
}

footer .footer-inner {
  max-width: 880px;
  margin: 0 auto;
}

footer p {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

footer a {
  color: var(--accent);
  font-weight: 600;
}

footer .footer-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
}


/* --------------------------------------------------------------------------
   §12  UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--ink-soft); }
.text-serif  { font-family: var(--serif); }
.text-mono   { font-family: "SF Mono", "Fira Code", monospace; }

.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   §13  ANIMATIONS & TRANSITIONS
   -------------------------------------------------------------------------- */

/* Fade-in-up for scroll-triggered reveals */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: .05s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: .1s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: .15s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: .2s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: .25s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: .3s; }

.stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse for live indicators */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ---- Responsive helpers ------------------------------------------------ */
.show-mobile-inline {
  display: none;
}


/* --------------------------------------------------------------------------
   §14  RESPONSIVE — max-width: 820px
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {

  /* ---- Scrollytelling ------------------------------------------------- */
  #scrolly {
    grid-template-columns: 1fr;
  }

  .graphic-container {
    position: sticky;
    top: 0;
    height: 55vh;
    z-index: 2;
  }

  .steps {
    position: relative;
    z-index: 3;
  }

  .step {
    padding: 1.5rem;
    min-height: 60vh;
  }

  .step-inner {
    max-width: 100%;
    background: rgba(245,240,232,.92);
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
  }

  /* ---- Hero ----------------------------------------------------------- */
  header.hero {
    padding: 3rem 1.5rem;
    min-height: 90vh;
  }

  .hero-title {
    max-width: 100%;
  }

  /* ---- Chapters ------------------------------------------------------- */
  .chapter {
    padding: 3rem 1.25rem;
  }

  .chapter-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  /* ---- Two-column grids → single column ------------------------------ */
  .viz-wrapper,
  .metals-summary-grid,
  .top-holders-section,
  .amit-shah-spotlight {
    grid-template-columns: 1fr;
  }

  /* ---- Leaderboard ---------------------------------------------------- */
  .leaderboard-grid {
    grid-template-columns: 1fr;
  }

  /* ---- Spouse comparison ---------------------------------------------- */
  .spouses-comparison {
    flex-direction: column;
    gap: 1rem;
  }

  .vs-divider {
    padding: .5rem 0;
  }

  /* ---- Tabs ----------------------------------------------------------- */
  .selector-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-btn {
    text-align: center;
  }

  /* ---- Search results ------------------------------------------------- */
  .search-results {
    grid-template-columns: 1fr;
  }

  /* ---- Pane variants -------------------------------------------------- */
  .whatsapp-wrapper {
    max-width: 100%;
  }

  .parser-console {
    max-width: 100%;
    font-size: .72rem;
  }

  .reveal-card {
    max-width: 100%;
    padding: 2rem 1.5rem;
  }

  .reveal-card .reveal-stat {
    font-size: 2.4rem;
  }

  /* ---- Table overflow ------------------------------------------------- */
  .hide-mobile {
    display: none !important;
  }
  .show-mobile-inline {
    display: inline !important;
  }

  .premium-table {
    display: table !important;
    width: 100% !important;
    overflow-x: visible !important;
    table-layout: auto !important;
  }

  .premium-table thead th {
    font-size: 0.62rem !important;
    padding: 0.5rem 0.25rem !important;
  }

  .premium-table tbody td {
    font-size: 0.74rem !important;
    padding: 0.5rem 0.25rem !important;
  }

  .logo-cell > .logo-tile {
    width: 24px !important;
    height: 24px !important;
    border-radius: 4px !important;
    margin-right: .4rem !important;
  }

  .logo-img {
    padding: 3px !important;
  }

  .logo-fallback {
    font-size: .62rem !important;
  }
}


/* --------------------------------------------------------------------------
   §15  SMALL PHONES — max-width: 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-dek {
    font-size: .95rem;
  }

  .step-inner h3 {
    font-size: 1.2rem;
  }

  .card-stats {
    flex-direction: column;
    gap: .5rem;
  }

  .card-stat-item {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: .5rem;
  }

  .result-card .result-metrics {
    flex-direction: column;
    gap: .4rem;
  }

  .metal-sum-card .big-num {
    font-size: 1.7rem;
  }

  .holder-row {
    flex-wrap: wrap;
  }

  .holder-value {
    width: 100%;
    text-align: left;
    margin-top: .3rem;
  }
}


/* --------------------------------------------------------------------------
   §16  PRINT
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  header.hero {
    min-height: auto;
    padding: 2rem 0;
  }

  #scrolly {
    display: block;
  }

  .graphic-container {
    position: relative;
    height: auto;
  }

  .step {
    opacity: 1 !important;
    min-height: auto;
    page-break-inside: avoid;
  }

  .leaderboard-card,
  .result-card,
  .viz-card,
  .spouse-card,
  .metal-sum-card {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}


/* ==========================================================================
   §EXT — INSIGHT SECTIONS ADDED FROM PERFORMANCE REPORT
   (Ch.3 sub-tables · Ch.4 preferred stocks/funds · Global standouts)
   ========================================================================== */

/* ---- shared subsection header ------------------------------------------- */
.ch3-subsection {
  margin-top: 2.5rem;
}

.subsection-kicker {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}

.subsection-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .6rem;
  line-height: 1.25;
}

.subsection-lead {
  font-family: var(--sans);
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 60ch;
}

/* ---- Search result: listed holdings table ------------------------------ */
.hold-block {
  margin-top: .9rem;
  border-top: 1px solid var(--rule);
  padding-top: .6rem;
}

.hold-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  appearance: none;
  border: 1px solid rgba(184, 138, 0, 0.25);
  background: rgba(184, 138, 0, 0.04);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  padding: .5rem .8rem;
  transition: background .2s ease, border-color .2s ease, transform .1s ease;
}
.hold-toggle:hover {
  background: rgba(184, 138, 0, 0.08);
  border-color: rgba(184, 138, 0, 0.4);
  color: var(--accent);
}
.hold-toggle:active {
  transform: scale(0.995);
}
.hold-caret {
  display: inline-block;
  margin-right: .4rem;
  font-size: .92rem;
}

.hold-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .7rem;
}
.hold-table th {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: .3rem .5rem;
  border-bottom: 1px solid var(--rule);
}
.hold-table th:nth-child(2),
.hold-table th:nth-child(3),
.hold-table td:nth-child(2),
.hold-table td:nth-child(3) { text-align: right; white-space: nowrap; }

.hold-table td {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink);
  padding: .35rem .5rem;
  border-bottom: 1px solid rgba(200,190,176,.4);
  vertical-align: top;
}

.hold-sym {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg-dark);
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: .35rem;
}

.hold-owner, .hold-kind {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: .3rem;
  vertical-align: middle;
}
.hold-owner { background: rgba(184,138,0,.12); color: var(--accent); }
.hold-kind  { background: rgba(58,106,58,.12); color: var(--green); }

/* Physical metal rows */
.hold-metal {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 8px;
  margin-right: .35rem;
  vertical-align: middle;
}
.hold-metal.gold   { background: rgba(184,138,0,.16); color: #8a5f10; }
.hold-metal.silver { background: rgba(120,120,120,.18); color: #5a5a5a; }
.hold-wt {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: .7rem;
  color: var(--ink-soft);
}
.hold-metal-row td { background: rgba(184,138,0,.03); }

.hold-val { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.hold-ret {
  font-family: "SF Mono", "Fira Code", monospace;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hold-ret.green { color: var(--green); }
.hold-ret.red   { color: var(--red); }

.hold-more {
  font-family: var(--sans);
  font-size: .72rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: .5rem;
}

/* ---- "More content" CTA block (before footnotes) ---------------------- */
.more-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(184, 138, 0, 0.06);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}

.more-kicker {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.more-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.more-links {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-items: center;
}

.more-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: .7rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.more-link strong { color: var(--accent); }
.more-link:hover {
  background: var(--accent);
  color: #fff;
}
.more-link:hover strong { color: #fff; }

/* ---- Disclaimer box (between Ch.1 and Ch.2) ---------------------------- */
.disclaimer-box {
  background: rgba(184, 138, 0, 0.06);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
}

.disclaimer-title {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.disclaimer-list {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.disclaimer-list li {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.disclaimer-list li strong {
  color: var(--ink);
}

@media (max-width: 640px) {
  .disclaimer-box { padding: 1.3rem 1.3rem; }
  .disclaimer-list li { font-size: .9rem; }
}

/* ---- Mixed-asset + distortion card grids (Ch.6) ------------------------ */
.mixed-grid,
.distortion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* ---- Section view-toggle (Ch.4 holders vs AUM) ------------------------- */
.view-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-dark);
  border-radius: 999px;
  margin: 0 0 1.2rem;
}

.view-toggle-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.view-toggle-btn:hover {
  color: var(--ink);
}

.view-toggle-btn.active {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

/* ---- red return helper (matches existing .green-pct) ------------------- */
.red-pct {
  color: var(--red);
  font-weight: 700;
  font-family: "SF Mono", "Fira Code", monospace;
}

/* ---- party-perf "note" column is muted, smaller ------------------------ */
.party-note {
  font-size: .82rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---- Logo tile (Ch.4 stocks/funds + global cards) ---------------------- */
.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--rule);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-dark);
  letter-spacing: -.02em;
}

/* Cell that pairs a logo tile with text (table cells in Ch.4) */
.logo-cell {
  vertical-align: middle;
}
.logo-cell > .logo-tile {
  vertical-align: middle;
  margin-right: .7rem;
}

.logo-cell-label {
  display: inline-flex;
  flex-direction: column;
  vertical-align: middle;
  line-height: 1.3;
  min-width: 0;
}

.logo-cell-name {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}

.logo-cell-ticker {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: .7rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-dark);
  padding: 1px 5px;
  border-radius: 3px;
  align-self: flex-start;
  margin-top: 2px;
}

/* Global standouts: logo + kind sit on a single header row */
.global-card-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .35rem;
}
.global-card-head .logo-tile {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .logo-tile { width: 32px; height: 32px; }
  .logo-cell-name { font-size: .85rem; }
  .logo-cell-ticker { font-size: .65rem; }
}

/* ---- "global" pill for foreign-exposure rows --------------------------- */
.foreign-pill {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(184, 138, 0, 0.12);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: .35rem;
  vertical-align: middle;
}

/* ---- Global standout cards --------------------------------------------- */
.global-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.global-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.global-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.global-card-kind {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.global-card-asset {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.global-card-holder {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-soft);
}

.global-card-return {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  margin-top: .35rem;
}

@media (max-width: 640px) {
  .subsection-title { font-size: 1.3rem; }
  .global-card-return { font-size: 1.2rem; }
}


/* ==========================================================================
   §EXT — COIN GROWTH VISUAL (Ch.6 gold/silver)
   Two coins side-by-side per metal — small (2024) growing into a larger
   (2026) coin, with diameter scaled by the value-growth ratio so the
   visual encodes the magnitude of the price surge.
   ========================================================================== */
.coin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.coin-panel {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.coin-panel-title {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.coin-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(.6rem, 2vw, 1.4rem);
  min-height: 260px;
}

.coin-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin: 0;
}

.coin {
  width: var(--coin-size, 80px);
  height: var(--coin-size, 80px);
  display: block;
  filter: drop-shadow(0 6px 14px rgba(42, 37, 32, .18));
  cursor: grab;
}
.coin:active { cursor: grabbing; }

.coin-cell figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}

.coin-year {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.coin-value {
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}

.coin-value-big {
  font-size: 1.15rem;
}

/* The connector between the two coins */
.coin-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding-bottom: 2.6rem; /* lifts arrow toward the vertical centre */
}

.coin-arrow-pct {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
}
.coin-arrow-pct-gold {
  color: #7a4f00;
  background: rgba(212, 175, 55, .18);
  border: 1px solid rgba(122, 79, 0, .25);
}
.coin-arrow-pct-silver {
  color: #3a3a3a;
  background: rgba(120, 120, 120, .15);
  border: 1px solid rgba(58, 58, 58, .2);
}

.coin-arrow-svg {
  width: 50px;
  height: 16px;
}

.coin-footnote {
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

@media (max-width: 820px) {
  .coin-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .coin-panel { padding: 1.2rem 1rem 1rem; }
  .coin-row { min-height: 130px; gap: .4rem; }
  .coin-arrow { padding-bottom: 1.1rem; gap: .2rem; }
  .coin-arrow-pct { font-size: .75rem; padding: 2px 6px; }
  .coin-arrow-svg { width: 40px; height: 12px; }
  .coin-value, .coin-value-big { font-size: .85rem; }

  /* Perfectly proportional coin sizes on mobile, preventing ballooning */
  .coin-cell:first-child .coin { width: 36px !important;  height: 36px !important; flex-shrink: 0 !important; }
  .coin-cell:last-child  .coin { width: 78px !important;  height: 78px !important; flex-shrink: 0 !important; }
  .coin-grid > .coin-panel:nth-child(2) .coin-cell:first-child .coin { width: 30px !important;  height: 30px !important; flex-shrink: 0 !important; }
  .coin-grid > .coin-panel:nth-child(2) .coin-cell:last-child  .coin { width: 90px !important; height: 90px !important; flex-shrink: 0 !important; }
}


/* ==========================================================================
   §EXT — LEADERBOARD DUMBBELL CHART (Ch.2 replacement for cards)
   ========================================================================== */
.leaderboard-dumbbells {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.5rem;
}

.lb-row {
  display: grid;
  grid-template-columns: 48px 200px 1fr 130px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 1.25rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  transition: background .2s ease, transform .2s ease;
}

.lb-row:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.lb-rank {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rule);
  letter-spacing: -.02em;
  grid-row: 1;
}

.lb-info {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.lb-party-pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink-soft);
  margin-bottom: .15rem;
}
.lb-party-pill.bjp     { background: #d97706; }
.lb-party-pill.inc     { background: #1d4ed8; }
.lb-party-pill.aitc    { background: #047857; }
.lb-party-pill.ncpsp   { background: #7c3aed; }
.lb-party-pill.dmk     { background: #be123c; }
.lb-party-pill.tdp     { background: #ca8a04; }
.lb-party-pill.aap     { background: #0369a1; }
.lb-party-pill.sp      { background: #b91c1c; }

.lb-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.lb-constituency {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--ink-soft);
}

/* ---- Dumbbell track --------------------------------------------------- */
.lb-track {
  grid-row: 1;
  position: relative;
  height: 56px; /* room for dots + labels */
  margin: 0 .5rem;
}

.lb-axis {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--rule);
}

.lb-segment {
  position: absolute;
  top: calc(50% - 3px);
  height: 6px;
  border-radius: 3px;
  opacity: 0.55;
}

.lb-dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid var(--ink-soft);
  box-shadow: 0 0 0 3px var(--bg);
  z-index: 2;
}
.lb-dot-base {
  background: var(--bg);
  border-color: var(--ink-soft);
}
.lb-dot-current {
  width: 16px;
  height: 16px;
}

.lb-scale-label {
  position: absolute;
  top: calc(50% + 12px);
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  pointer-events: none;
}
.lb-base-label    { top: calc(50% - 22px); }
.lb-current-label { top: calc(50% + 12px); font-weight: 700; }

/* ---- Right-side meta -------------------------------------------------- */
.lb-meta {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
}

.lb-gain {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
}
.lb-pct {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: .85rem;
  font-weight: 600;
}
.lb-gain.green, .lb-pct.green { color: var(--green); }
.lb-gain.red,   .lb-pct.red   { color: var(--red); }

/* ---- Driver row (full-width caption under the row) -------------------- */
.lb-driver-row {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-top: .9rem;
  padding-top: .7rem;
  border-top: 1px dashed var(--rule);
}
.lb-driver-label {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.lb-driver-text {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---- Mobile: stack the row -------------------------------------------- */
@media (max-width: 760px) {
  .lb-row {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto auto;
    gap: .35rem .9rem;
    padding: 1rem;
  }
  .lb-rank { grid-row: 1; }
  .lb-info { grid-row: 1; grid-column: 2; }
  .lb-track {
    grid-row: 2;
    grid-column: 1 / -1;
    margin: .25rem 0 .25rem;
    height: 52px;
  }
  .lb-meta {
    grid-row: 3;
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .lb-driver-row {
    grid-row: 4;
    margin-top: .5rem;
    padding-top: .55rem;
  }
}

/* ==========================================================================
   CHAPTER 5: THE MP INDEX & MUTUAL FUND BASKET (PIE CHARTS)
   ========================================================================== */

.basket-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.basket-card {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: 0 4px 20px rgba(42, 37, 32, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.basket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(42, 37, 32, 0.08);
}

.basket-header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
}

.basket-header h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 0.4rem 0;
}

.basket-meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.basket-meta strong {
  color: var(--accent);
}

.chart-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pie-chart-container {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

.pie-chart-container svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* Start at the top */
}

/* Donut chart center label */
.chart-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 170px;
  height: 170px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* Let hovers pass to SVG slices */
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.02);
  transition: background-color 0.3s ease;
}

.chart-center-label .center-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  transition: color 0.2s ease, font-size 0.2s ease;
}

.chart-center-label .center-sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s ease;
}

/* Interactive SVG path styling */
.pie-slice {
  cursor: pointer;
  transition: opacity 0.2s ease, stroke-width 0.2s ease, stroke 0.2s ease;
  stroke: #ffffff;
  stroke-width: 1.5px;
  stroke-linejoin: round;
}

.pie-slice.is-highlighted {
  opacity: 1 !important;
  stroke-width: 4px;
  stroke: var(--accent);
}

.pie-slice.is-dimmed {
  opacity: 0.35;
}

/* Legend styling */
.basket-legend {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  transition: background-color 0.2s ease;
}

.legend-item:hover, .legend-item.is-highlighted {
  background-color: rgba(184, 138, 0, 0.08); /* light gold hint */
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 0.8rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.legend-label {
  flex-grow: 1;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.5rem;
}

.legend-val {
  color: var(--ink-soft);
  margin-right: 0.8rem;
  font-weight: 400;
  flex-shrink: 0;
}

.legend-pct {
  color: var(--ink);
  font-weight: 600;
  width: 50px;
  text-align: right;
  flex-shrink: 0;
}

/* Insight Callout */
.basket-insight-box {
  background: rgba(184, 138, 0, 0.04);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.8rem;
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.basket-insight-box p {
  margin: 0;
}

.basket-insight-box strong {
  color: var(--ink);
}

/* Mobile responsive adjustments */
@media (max-width: 820px) {
  .basket-container {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 2rem;
  }
  
  .basket-card {
    padding: 1.5rem;
  }
  
  .chart-wrapper {
    gap: 1.5rem;
  }
  
  .pie-chart-container {
    width: 240px;
    height: 240px;
  }
  
  .chart-center-label {
    width: 140px;
    height: 140px;
  }
  
  .chart-center-label .center-title {
    font-size: 1.05rem;
    max-width: 120px;
  }
  
  .chart-center-label .center-sub {
    font-size: 0.95rem;
  }
  
  .basket-legend {
    margin-top: 0.5rem;
  }
}
