/* ============================================================
   styles.css — Rijker Dan Social Ledger
   Aesthetic: Old Money / Quiet Luxury
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --green-deep:    #1a3a2a;
  --green-mid:     #2a5240;
  --green-light:   #3d6e56;
  --ivory:         #f5f0e8;
  --ivory-dark:    #ede6d6;
  --ivory-darker:  #e0d8c5;
  --gold:          #c9a84c;
  --gold-light:    #d4b870;
  --gold-muted:    #a88a3a;
  --charcoal:      #2c2c2c;
  --charcoal-mid:  #4a4a4a;
  --charcoal-light:#6a6a6a;
  --rule-color:    #c4b898;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  --font-mono:     'Courier New', monospace;

  --max-width:     860px;
  --gutter:        2rem;

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.small-caps {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}

.gold-text { color: var(--gold); }
.muted     { color: var(--charcoal-light); }
.italic    { font-style: italic; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   Header / Navbar
   ============================================================ */
.site-header {
  background-color: var(--green-deep);
  border-bottom: 1px solid var(--green-light);
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
}

/* ============================================================
   App layout — flex row: left pane + main content
   ============================================================ */
.app-layout {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

.app-main {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.left-pane-wrap {
  display: none;
  width: 195px;
  flex-shrink: 0;
  position: sticky;
  top: 1.5rem;
  align-self: flex-start;
  margin: 1.5rem 0 1.5rem 1.5rem;
}

body.has-left-pane .left-pane-wrap {
  display: block;
}

@media (min-width: 1100px) {
  body.has-left-pane .left-pane-wrap {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    align-self: auto;
    z-index: 50;
  }
}

.left-pane {
  padding: 1.6rem 1.1rem 1.3rem;
  border-radius: 20px;
  border: 1px solid rgba(196,184,152,0.4);
  background: linear-gradient(165deg, rgba(248,243,234,0.98) 0%, rgba(238,231,216,0.96) 100%);
  box-shadow: 0 8px 32px rgba(42,82,64,0.10), 0 1px 4px rgba(42,82,64,0.06);
}

.left-pane-standing {
  text-align: center;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(196,184,152,0.3);
}

.left-pane-standing-tier {
  display: none;
}

.left-pane-standing-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.35rem;
}

.left-pane-standing-percent {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--green-deep);
  line-height: 1;
  font-weight: 500;
  transition: color 0.4s ease;
  overflow: hidden;
  display: inline-block;
  position: relative;
}

.left-pane-standing-percent .slot {
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  vertical-align: baseline;
}

.left-pane-standing-percent .slot-steady {
  display: inline-block;
}

/* Two numbers stacked in a column; animate the whole track upward */
.left-pane-standing-percent .slot-track {
  display: inline-flex;
  flex-direction: column;
  animation: slotRoll 950ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.left-pane-standing-percent .slot-track > span {
  height: 1em;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes slotRoll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.left-pane-standing-percent.percent-pulse {
  animation: percentPulse 360ms ease-out;
}

@keyframes percentPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.09); }
}

/* ── Pane celebration glow ── */
.left-pane.pane-celebrate {
  animation: paneCelebrate 1400ms ease-out;
}

@keyframes paneCelebrate {
  0%   { box-shadow: 0 8px 32px rgba(42,82,64,0.10), 0 1px 4px rgba(42,82,64,0.06), 0 0 0 0 rgba(213,174,73,0); }
  40%  { box-shadow: 0 8px 32px rgba(42,82,64,0.10), 0 1px 4px rgba(42,82,64,0.06), 0 0 24px 4px rgba(213,174,73,0.55); }
  100% { box-shadow: 0 8px 32px rgba(42,82,64,0.10), 0 1px 4px rgba(42,82,64,0.06), 0 0 0 0 rgba(213,174,73,0); }
}

.left-pane-standing-suffix {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-top: 0.35rem;
}

.left-pane-standing-richest {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--charcoal-light);
  margin-top: 0.55rem;
  line-height: 1.4;
}

.left-pane-badges {
  display: block;
}

.left-pane-restart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-top: 1.4rem;
  text-align: center;
  background: none;
  border: none;
  color: var(--charcoal-light);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}
.left-pane-restart:hover { color: var(--charcoal); }

/* ── Next-step spinner ── */
.rd-next-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  margin-top: 0.9rem;
  padding: 0.35rem 0.75rem;
  width: 100%;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--charcoal-light);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.rd-next-spinner::after {
  content: '›';
  margin-left: auto;
  font-style: normal;
  font-size: 1.1em;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
}
.rd-next-spinner:hover {
  background: rgba(201, 168, 76, 0.07);
  border-color: rgba(201, 168, 76, 0.6);
  color: var(--charcoal-mid);
}
.rd-next-spinner:hover::after {
  opacity: 1;
  transform: translateX(2px);
}
.rd-next-spinner:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.rd-next-spinner-prefix {
  white-space: nowrap;
  flex-shrink: 0;
  font-style: italic;
}
.rd-next-spinner-words {
  overflow: hidden;
  position: relative;
  height: 1.25em;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 22%,
    black 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 22%,
    black 78%,
    transparent 100%
  );
}
.rd-next-spinner-word {
  display: block;
  height: 100%;
  padding-left: 3px;
  color: var(--gold);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

/* ── Answers progress bar ── */
.rd-progress-wrap {
  margin-top: 0.85rem;
  padding: 0 0.15rem;
}
.rd-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.rd-progress-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  font-style: italic;
}
.rd-progress-count {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--charcoal-light);
  letter-spacing: 0.03em;
}
.rd-progress-track {
  height: 6px;
  border-radius: 4px;
  background: rgba(42, 82, 64, 0.10);
  overflow: hidden;
  position: relative;
}
.rd-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  border-radius: 4px;
  /* Gradient spans the full track width (≈155px interior);
     as fill grows, progressively more of the metallic scale is revealed */
  background: linear-gradient(to right,
    #8a8f97  0%,
    #c07840 22%,
    #d4a820 44%,
    #dce8a0 58%,
    #9cc0e8 76%,
    #40c8f0 100%
  );
  background-size: 155px 100%;
  background-position: left center;
  transition: width 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}
/* Sweep shimmer */
.rd-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 100%
  );
  animation: rdProgressShimmer 3.2s ease-in-out infinite;
}
@keyframes rdProgressShimmer {
  0%   { left: -55%; }
  100% { left: 155%; }
}

/* ── Dimension icon (minimal, color-only) ── */
.dim-icons-layout {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  align-items: flex-start;
}

/* Vertical tier scale legend */
.tier-scale {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
  padding-right: 10px;
  position: relative;
}

/* Gradient bar on the right edge of the legend */
.tier-scale::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-radius: 3px;
  background: linear-gradient(to bottom,
    #40c8f0 0%,
    #9cc0e8 14%,
    #d4806a 28%,
    #d4a820 42%,
    #b8c8e0 56%,
    #c07840 70%,
    #a0aabb 84%,
    #8a8f97 100%
  );
}

.tier-scale-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tier-swatch {
  display: none;
}

.tier-name {
  font-size: 0.65rem;
  font-family: var(--font-body);
  color: rgba(100,95,80,0.85);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.tier-scale--diamond  .tier-swatch { background: #40c8f0; }
.tier-scale--platinum .tier-swatch { background: #9cc0e8; }
.tier-scale--roseGold .tier-swatch { background: #d4806a; }
.tier-scale--gold     .tier-swatch { background: #d4a820; }
.tier-scale--silver   .tier-swatch { background: #b8c8e0; }
.tier-scale--bronze   .tier-swatch { background: #c07840; }
.tier-scale--nickel   .tier-swatch { background: #a0aabb; }
.tier-scale--iron     .tier-swatch { background: #8a8f97; }

/* Icons grid — 3 per row */
.dim-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: calc(3 * 40px + 2 * 4px);
}

/* Individual icon button */
.dim-icon {
  background: none;
  border: none;
  padding: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.14s ease, background 0.14s ease;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  position: relative;
}

/* Hover label tooltip — only on real pointer devices */
@media (hover: hover) and (pointer: fine) {
  .dim-icon:hover:not(:disabled) {
    transform: scale(1.15);
    background: rgba(0,0,0,0.06);
  }

  .dim-icon::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30,28,24,0.88);
    color: rgba(230,225,210,0.95);
    font-size: 0.6rem;
    font-family: var(--font-body);
    font-weight: 400;
    white-space: nowrap;
    padding: 3px 7px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.14s ease;
    z-index: 100;
  }

  .dim-icon:hover::after {
    opacity: 1;
  }
}

/* Unanswered: dim question mark */
.dim-icon--next {
  color: rgba(150,145,130,0.35);
}

/* Answered: icon colored by tier */
.dim-icon--answered.dim-icon--iron     { color: #8a8f97; }
.dim-icon--answered.dim-icon--nickel   { color: #a0aabb; }
.dim-icon--answered.dim-icon--bronze   { color: #c07840; }
.dim-icon--answered.dim-icon--silver   { color: #b8c8e0; }
.dim-icon--answered.dim-icon--gold     { color: #d4a820; }
.dim-icon--answered.dim-icon--roseGold { color: #d4806a; }
.dim-icon--answered.dim-icon--platinum { color: #9cc0e8; }
.dim-icon--answered.dim-icon--diamond  { color: #40c8f0; }

/* ── Metallic shimmer ── */
/* Subtle bevel: top-light highlight + bottom shadow = embossed metal feel */
.dim-icon--answered {
  box-shadow:
    inset 0  1px 0 rgba(255,255,255,0.28),
    inset 0 -1px 0 rgba(0,0,0,0.18);
}

/* Per-tier shimmer delay so glints are staggered, not synchronised */
.dim-icon--answered.dim-icon--iron     { --shimmer-delay: 0.0s; }
.dim-icon--answered.dim-icon--nickel   { --shimmer-delay: 0.6s; }
.dim-icon--answered.dim-icon--bronze   { --shimmer-delay: 1.2s; }
.dim-icon--answered.dim-icon--silver   { --shimmer-delay: 1.8s; }
.dim-icon--answered.dim-icon--gold     { --shimmer-delay: 2.4s; }
.dim-icon--answered.dim-icon--roseGold { --shimmer-delay: 3.0s; }
.dim-icon--answered.dim-icon--platinum { --shimmer-delay: 3.6s; }
.dim-icon--answered.dim-icon--diamond  { --shimmer-delay: 0.3s; }

/* Sweep glare: background-position animates the stripe within the icon bounds */
.dim-icon--answered::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  /* Gradient 3× wide; bright zone at 50% of that space = stays off-screen
     until background-position sweeps it through the visible window */
  background: linear-gradient(
    108deg,
    transparent              43%,
    rgba(255,255,255,0.0)    46%,
    rgba(255,255,255,0.55)   50%,
    rgba(255,255,255,0.0)    54%,
    transparent              57%
  );
  background-size: 300% 100%;
  background-position: 130% 0;
  opacity: 0;
  pointer-events: none;
  will-change: background-position, opacity;
  z-index: 2;
  animation: metalShimmer 5s linear infinite;
  animation-delay: var(--shimmer-delay, 0s);
}

@keyframes metalShimmer {
  /* bg-pos 130% → bright zone ~36px left of icon (invisible)  */
  /* bg-pos -30% → bright zone ~36px right of icon (invisible) */
  /* animating 130→-30 sweeps the glare left-to-right          */
  0%     { background-position: 130% 0; opacity: 0; }
  3%     { opacity: 1; }
  17%    { opacity: 1; }
  20%    { background-position: -30% 0; opacity: 0; }
  20.1%  { background-position: 130% 0; opacity: 0; } /* instant invisible reset */
  100%   { background-position: 130% 0; opacity: 0; }
}

/* ── Unlock animation ── */
.dim-icon--just-unlocked {
  animation: dimUnlockPop 1100ms cubic-bezier(0.3, 1.4, 0.5, 1) both;
}

.dim-icon--just-unlocked::before {
  /* Override ambient shimmer with one bright pass */
  animation: metalShimmerOneShot 1400ms ease-out 180ms 1 both !important;
}

.dim-icon--just-unlocked::after {
  /* Tier-colored ring pulse. ::after is normally the hover tooltip, but on unlock we reuse it
     by suppressing the tooltip content and emitting a ring instead. */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 0 0 0 currentColor;
  opacity: 0.6;
  animation: dimUnlockRing 1100ms ease-out both;
  pointer-events: none;
  /* Defeat the tooltip styles inherited from .dim-icon::after */
  color: currentColor;
  padding: 0;
  transform: none;
  left: auto;
  bottom: auto;
}

@keyframes dimUnlockPop {
  0%   { transform: rotateY(180deg) scale(0.55); filter: brightness(1.8); }
  60%  { transform: rotateY(0deg)   scale(1.12); filter: brightness(1.3); }
  100% { transform: rotateY(0deg)   scale(1);    filter: brightness(1); }
}

@keyframes dimUnlockRing {
  0%   { box-shadow: 0 0 0 0   currentColor; opacity: 0.7; }
  100% { box-shadow: 0 0 0 14px currentColor; opacity: 0; }
}

@keyframes metalShimmerOneShot {
  0%   { background-position: 130% 0;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { background-position: -30% 0;  opacity: 0; }
}

/* ── Tier change animation ── */
.dim-icon--tier-changing {
  animation: dimTierPulse 850ms ease-out both;
  transition: color 800ms ease;
}

.dim-icon--tier-changing::before {
  animation: metalShimmerOneShot 1100ms ease-out 80ms 1 both !important;
}

@keyframes dimTierPulse {
  0%   { transform: scale(1);    filter: brightness(1); }
  40%  { transform: scale(1.18); filter: brightness(1.5); }
  100% { transform: scale(1);    filter: brightness(1); }
}

/* ── First-render entrance animation ── */
.dim-icon--enter {
  animation: dimEnter 800ms cubic-bezier(0.3, 1.3, 0.5, 1) both;
}

@keyframes dimEnter {
  0%   { transform: scale(0.4) translateY(8px); opacity: 0; }
  100% { transform: scale(1)   translateY(0);   opacity: 1; }
}

/* SVG icons inside dim-icon */
.dim-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   Overview next options (icon-only)
   ============================================================ */
.overview-next-options {
  margin-top: 1.7rem;
  border: 1px dashed rgba(196,184,152,0.55);
  background: rgba(255,255,255,0.25);
  padding: 1.2rem 1.1rem;
  border-radius: 12px;
}

.overview-next-options-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.85rem;
}

.overview-next-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Responsive: on smaller screens sidebar becomes top rail */
@media (max-width: 860px) {
  .app-layout { flex-direction: column; }
  .left-pane-wrap {
    position: relative;
    top: auto;
    transform: none;
    width: calc(100% - 2rem);
    margin: 1rem 1rem 0;
  }
  .left-pane {
    max-height: none;
    border-radius: 16px;
    padding: 1rem 1.2rem;
  }
  .left-pane-standing {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "percent label"
      "percent suffix"
      "percent richest";
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.1rem;
    text-align: left;
    padding-bottom: 0.9rem;
  }
  .left-pane-standing-percent {
    grid-area: percent;
    font-size: 2.4rem;
    align-self: center;
  }
  .left-pane-standing-label {
    grid-area: label;
    margin-bottom: 0;
    align-self: end;
  }
  .left-pane-standing-suffix {
    grid-area: suffix;
    margin-top: 0;
  }
  .left-pane-standing-richest {
    grid-area: richest;
    margin-top: 0.2rem;
    align-self: start;
  }
  .left-pane-badges {
    overflow-x: auto;
  }
  .dim-icons-layout {
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  /* Task 1 — compact card */
  .left-pane {
    padding: 0.8rem 1rem;
  }

  .left-pane-standing-percent {
    font-size: 2rem;
  }

  /* Task 2 — restart button inline in top-right corner of the card */
  .left-pane-wrap {
    position: relative;
  }

  .left-pane-restart {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    margin-top: 0;
    font-size: 0.62rem;
  }

  /* Task 3 — right-edge fade on badge row to hint at horizontal scroll */
  .left-pane-badges {
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.logo-text span {
  color: var(--gold);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dark);
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
}

.nav-links a:hover { color: var(--gold); }

/* Bruto-Netto CTA button in the nav */
.nav-bn-cta {
  display: inline-block !important;
  border: 1px solid rgba(201,168,76,0.45) !important;
  padding: 0.3rem 0.75rem !important;
  color: var(--gold) !important;
  letter-spacing: 0.1em;
  transition: background var(--transition), color var(--transition), border-color var(--transition) !important;
}
.nav-bn-cta:hover {
  background: var(--gold) !important;
  color: var(--green-deep) !important;
  border-color: var(--gold) !important;
}

/* Mobile nav: big CTA on its own row, secondary links as plain underlined text below */
@media (max-width: 580px) {
  .header-inner {
    align-items: flex-start;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem 1rem;
  }

  .nav-links li:first-child {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .nav-links li:not(:first-child) .nav-bn-cta {
    border: none !important;
    background: transparent !important;
    padding: 0 0 2px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.07em !important;
    color: var(--ivory-dark) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.35) !important;
  }

  .nav-links li:not(:first-child) .nav-bn-cta:hover {
    background: transparent !important;
    color: var(--gold) !important;
    border-color: transparent !important;
    border-bottom-color: var(--gold) !important;
  }
}

/* ============================================================
   Views — SPA
   ============================================================ */
.view {
  display: none;
  animation: viewIn 0.4s ease;
}
.view.active { display: block; }

/* New mount-point architecture */
#view-root {
  display: block;
}

.view-wrapper {
  display: block;
  animation: viewIn 0.4s ease;
}

.view-wrapper[data-view="landing"],
.view-wrapper[data-view="privacy"] {
  background-color: var(--green-deep);
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - 60px);
}

#view-landing {
  background-color: var(--green-deep);
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - 60px);
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Buttons — shared
   ============================================================ */
.btn-primary {
  display: inline-block;
  background-color: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2.4rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--gold);
  color: var(--green-deep);
}

.btn-secondary {
  display: inline-block;
  background-color: var(--green-deep);
  border: 1px solid var(--green-light);
  color: var(--ivory-dark);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 2.4rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold-muted);
  color: var(--gold-light);
}

/* ============================================================
   VIEW: INKOMEN — de inkomensslider
   ============================================================ */
.inkomen-stage {
  min-height: calc(100vh - 60px);
  min-height: calc(100dvh - 60px);
  background-color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 3rem var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* Subtiele radiale gloed in het midden */
.inkomen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 40%,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Subtiele horizontale lijn boven en onder */
.inkomen-stage::before,
.inkomen-stage::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.2), transparent);
}
.inkomen-stage::before { top: 2.5rem; }
.inkomen-stage::after  { bottom: 2.5rem; }

.inkomen-inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.inkomen-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1rem;
}

.inkomen-ornament {
  color: rgba(201, 168, 76, 0.35);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.6rem;
}

.inkomen-vraag {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.inkomen-vraag em {
  color: var(--gold);
  font-style: italic;
}

.inkomen-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.55);
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Large number display */
.inkomen-display {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  color: var(--gold);
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 1rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.inkomen-display-hint {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.3);
  font-style: italic;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

.inkomen-getal {
  /* The actual number — transitions in */
  animation: numberReveal 0.2s ease;
}

@keyframes numberReveal {
  from { opacity: 0.4; transform: translateY(4px); }
  to   { opacity: 1;   transform: translateY(0); }
}

/* Slider container */
.slider-outer {
  position: relative;
  margin: 0.5rem 0 2.5rem;
}

.slider-wrap {
  position: relative;
  padding: 0.5rem 0;
  padding-block: 0.6rem;
}

/* Custom range input */
.income-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 0;
  background: linear-gradient(
    to right,
    var(--gold) 0%,
    var(--gold) var(--slider-pct, 0%),
    rgba(245, 240, 232, 0.18) var(--slider-pct, 0%),
    rgba(245, 240, 232, 0.18) 100%
  );
  outline: none;
  cursor: pointer;
  display: block;
}

.income-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background-color: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--green-deep);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--gold-muted), 0 2px 8px rgba(0,0,0,0.4);
  transition: box-shadow 0.2s;
}

.income-slider::-webkit-slider-thumb:hover,
.income-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.22), 0 2px 8px rgba(0,0,0,0.4);
}

.income-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background-color: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--green-deep);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--gold-muted);
}

.income-slider:focus {
  outline: none;
}

/* Referentie-markers onder de slider */
.slider-markers {
  position: relative;
  height: 38px;
  margin-top: 4px;
}

.slider-marker {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-tick {
  width: 1px;
  height: 8px;
  background-color: rgba(201, 168, 76, 0.4);
  margin-bottom: 3px;
}

.marker-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: rgba(201, 168, 76, 0.55);
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

/* Kleine hint-tekst onder de markers */
.inkomen-hint-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* Hoofd CTA knop */
.btn-onderzoek {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-muted);
  padding: 1rem 3rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.btn-onderzoek:not(:disabled):hover {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
}

.btn-onderzoek:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}

.landing-counter {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-top: 1.2rem;
  min-height: 1em;
}

.press-mention {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65em;
  margin-top: 2.2rem;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity var(--transition);
}
.press-mention:hover { opacity: 1; }

.press-mention-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.press-mention-sep {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  background: rgba(201,168,76,0.4);
  flex-shrink: 0;
}

.press-mention-logo {
  height: 1.1rem;
  width: auto;
  display: block;
}

/* ============================================================
   VIEW: INITIEEL — eerste resultaat & choice hub
   ============================================================ */
.overview-title-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 0;
}

.initieel-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 6rem;
}

.initieel-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.initieel-main {
  min-width: 0;
  max-width: 860px;
  margin: 0 auto;
}

.income-editor-compact {
  border: 1px solid var(--ivory-darker);
  background: linear-gradient(165deg, #f8f3ea 0%, #f1eadc 100%);
  padding: 1rem 1.1rem 0.85rem;
  margin-bottom: 1.25rem;
}

.income-editor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.inkomen-display--compact {
  margin: 0;
  min-height: auto;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  justify-content: flex-start;
}

.slider-outer--compact {
  margin: 0.35rem 0 0;
}

.income-slider--compact {
  height: 2px;
}

.btn-income-refresh {
  display: inline-block;
  background-color: transparent;
  border: 1px solid var(--gold-muted);
  color: var(--gold-muted);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-income-refresh:active:not(:disabled) {
  background-color: var(--gold-muted);
  color: var(--ivory);
}

.btn-income-refresh:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-income-refresh:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.status-tracker {
  position: sticky;
  top: 88px;
  border: 1px solid var(--ivory-darker);
  background: linear-gradient(160deg, #f6f1e8 0%, #efe8d7 100%);
  padding: 1.1rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 10px 24px rgba(42, 82, 64, 0.08);
}

#global-state-tracker {
  position: fixed;
  top: 84px;
  left: 1rem;
  width: 250px;
  z-index: 80;
}

#global-state-tracker .status-tracker {
  position: relative;
  top: 0;
  max-height: calc(100vh - 100px);
  overflow: auto;
}

.tracker-head {
  border-bottom: 1px solid rgba(168,138,58,0.28);
  margin-bottom: 0.9rem;
  padding-bottom: 0.8rem;
}

.tracker-eyebrow {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.25rem;
}

.tracker-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-deep);
  font-weight: 500;
  line-height: 1.2;
}

.tracker-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tracker-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(168,138,58,0.18);
  background: rgba(255,255,255,0.5);
  padding: 0.65rem 0.55rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.tracker-item:hover {
  border-color: var(--gold-muted);
}

.tracker-item:active {
  background: rgba(26,58,42,0.04);
}

.tracker-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.tracker-item--active {
  border-color: var(--gold-muted);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.22), 0 8px 18px rgba(26, 58, 42, 0.08);
  background: linear-gradient(145deg, rgba(255,255,255,0.86) 0%, rgba(245,236,216,0.94) 100%);
}

.tracker-item:focus-visible {
  outline: 2px solid rgba(201, 168, 76, 0.45);
  outline-offset: 1px;
}

.tracker-item--pending {
  opacity: 0.7;
}

.tracker-item-main {
  min-width: 0;
}

.tracker-item-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 0.12rem;
}

.tracker-item-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
  line-height: 1.25;
}

.tracker-pill {
  position: relative;
  align-self: center;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  overflow: hidden;
  flex-shrink: 0;
}

.tracker-pill-glint {
  position: absolute;
  top: -100%;
  left: -45%;
  width: 28px;
  height: 250%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.65), rgba(255,255,255,0));
  animation: trackerShine 2.6s ease-in-out infinite;
}

@keyframes trackerShine {
  0% { left: -55%; opacity: 0; }
  20% { opacity: 0.95; }
  55% { left: 110%; opacity: 0; }
  100% { left: 110%; opacity: 0; }
}

.tracker-pill--gold {
  color: #584200;
  border-color: #d7bc6a;
  background: linear-gradient(145deg, #f7e7a6 0%, #e4c05c 48%, #f7ebbe 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 0 10px rgba(212,184,112,0.32);
}

.tracker-pill--silver {
  color: #454d58;
  border-color: #b8c2cf;
  background: linear-gradient(145deg, #edf2f8 0%, #c2cbd8 48%, #f1f5fb 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 0 8px rgba(168,178,194,0.26);
}

.tracker-pill--bronze {
  color: #533721;
  border-color: #c59568;
  background: linear-gradient(145deg, #efc59b 0%, #c98755 48%, #f3d0ae 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68), 0 0 8px rgba(201,135,85,0.24);
}

.tracker-pill--pending {
  color: #6a6a6a;
  border-color: #cdc4b2;
  background: #eee7d9;
}

/* Terug-knop */
.initieel-back {
  margin-bottom: 1.8rem;
}

.btn-back-ledger {
  background: none;
  border: none;
  color: var(--charcoal-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: italic;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.btn-back-ledger:hover { color: var(--charcoal); }

/* Header: eyebrow + statuslabel */
.initieel-header {
  text-align: center;
  padding: 1rem 0 1.5rem;
}

.initieel-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.8rem;
}

.status-titel {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--green-deep);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  animation: statusReveal 0.6s ease;
}

@keyframes statusReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.status-subtitel {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal-light);
  animation: statusReveal 0.6s ease 0.1s both;
}

/* Dunne gouden horizontale scheidingslijn */
.initieel-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-muted);
  margin: 1.5rem auto;
  opacity: 0.6;
}

/* SVG curve */
.curve-section {
  margin: 1.5rem 0 2rem;
}

.curve-container {
  border: 1px solid var(--ivory-darker);
  background: var(--ivory-dark);
  padding: 1rem 0.5rem 0.2rem;
  position: relative;
}

.curve-tooltip {
  position: absolute;
  min-width: 150px;
  max-width: 220px;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(168, 138, 58, 0.45);
  background: rgba(245, 240, 232, 0.97);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.74rem;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(26, 58, 42, 0.12);
  pointer-events: none;
  z-index: 2;
}

.curve-caption {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--charcoal-light);
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.curve-pct {
  color: var(--charcoal-mid);
}

/* Statistieken rij (3 kolommen) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ivory-darker);
  margin: 2rem 0;
}

.stats-row--compact {
  margin-bottom: 1.2rem;
}

.stat-item {
  padding: 1.4rem 1rem;
  text-align: center;
}

.stat-item--bordered {
  border-left: 1px solid var(--ivory-darker);
}

.stat-label-sm {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.4rem;
}

.stat-value-lg {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-value-lg.stat-pos { color: var(--green-mid); }
.stat-value-lg.stat-neg { color: #8b3a3a; }

.stat-sub-sm {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--charcoal-light);
  font-style: italic;
  line-height: 1.4;
}

/* Choice Hub */
.choice-section {
  margin-top: 2.5rem;
}

.choice-divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.choice-divider::before,
.choice-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule-color);
}

.choice-divider-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--charcoal-mid);
  white-space: nowrap;
}

/* Inquiry cards grid */
.choice-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.inquiry-card {
  border: 1px solid var(--rule-color);
  background: var(--ivory);
  padding: 1.6rem 1.4rem 3rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.inquiry-card:hover {
  border-color: var(--gold-muted);
}

.inquiry-card:active {
  background: rgba(26,58,42,0.04);
}

.inquiry-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.inquiry-chapter {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.3rem;
}

.inquiry-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.inquiry-desc {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-style: italic;
  color: var(--charcoal-light);
  line-height: 1.45;
  margin-bottom: 0;
  flex-grow: 1;
}

.inquiry-arrow {
  position: absolute;
  bottom: 1.2rem;
  right: 1.4rem;
  color: var(--gold-muted);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color 0.2s, transform 0.2s;
}

.inquiry-card:hover .inquiry-arrow {
  color: var(--gold);
}

/* Skip link */
.choice-skip {
  text-align: center;
  margin-top: 0.5rem;
}

.btn-skip-ledger {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: none;
  border: none;
  color: var(--charcoal-light);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-style: italic;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.btn-skip-ledger:hover { color: var(--charcoal); }

/* ── CTA arrow animation (restart + skip buttons) ── */
.left-pane-restart .hover-underline-animation,
.btn-skip-ledger .hover-underline-animation {
  position: relative;
  padding-bottom: 3px;
}

.left-pane-restart .hover-underline-animation::after,
.btn-skip-ledger .hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--rule-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.left-pane-restart:hover .hover-underline-animation::after,
.btn-skip-ledger:hover .hover-underline-animation::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.left-pane-restart svg,
.btn-skip-ledger svg {
  fill: currentColor;
  flex-shrink: 0;
  transform: translateX(-8px);
  transition: transform 0.3s ease;
}

.left-pane-restart:hover svg,
.btn-skip-ledger:hover svg {
  transform: translateX(0);
}

.left-pane-restart:active svg,
.btn-skip-ledger:active svg {
  transform: scale(0.9);
}

/* ============================================================
   Shared Chapter Layout (leeftijd, provincie, vermogen)
   ============================================================ */
.chapter-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 6rem;
}

.chapter-back {
  margin-bottom: 1.8rem;
}

.chapter-header {
  text-align: center;
  padding: 0.5rem 0 2rem;
  border-bottom: 1px solid var(--ivory-darker);
  margin-bottom: 2.2rem;
}

.chapter-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.8rem;
}

.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--green-deep);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.chapter-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

.chapter-result-wrap {
  margin-top: 1.5rem;
}

/* Bottom navigation row */
.chapter-nav {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.chapter-nav--split {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.btn-chapter-next {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-muted);
  padding: 0.9rem 2.8rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.btn-chapter-next:not(:disabled):hover {
  background: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
}

.btn-chapter-next:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   Vergelijkingskaart (shared by leeftijd, provincie)
   ============================================================ */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.vergelijking-kaart {
  border: 1px solid var(--ivory-darker);
  background: var(--ivory-dark);
  padding: 2rem;
  animation: slideInRight 0.4s ease;
}

.vk-slide-in {
  animation: slideInRight 0.4s ease;
}

.vk-header {
  margin-bottom: 1.4rem;
}

.vk-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.35rem;
}

.vk-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.2;
  margin-bottom: 0;
}

.vk-curve {
  margin: 1.2rem 0 0;
}

.vk-context {
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  border-left: 2px solid var(--gold-muted);
  padding-left: 1rem;
  line-height: 1.55;
}

.vk-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--charcoal-light);
  font-style: italic;
  line-height: 1.5;
}

.stat-sup {
  font-size: 0.85rem;
  vertical-align: super;
  font-family: var(--font-body);
  margin-left: 1px;
}



/* Placeholder Views (vermogen, grootboek) */
.placeholder-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem var(--gutter) 6rem;
  text-align: center;
}

.placeholder-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1rem;
}

.placeholder-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}

.placeholder-desc {
  font-style: italic;
  color: var(--charcoal-light);
  font-size: 1rem;
}

/* ============================================================
   Vermogen Form (vermogenView, woningWaardeView, schuldenView)
   ============================================================ */
.vermogen-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 480px;
}

.vermogen-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vermogen-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
}

.vermogen-field-hint {
  font-size: 0.82rem;
  color: var(--charcoal-light);
  margin: 0;
}

.vermogen-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border, #d1d5db);
  border-radius: 6px;
  background: var(--surface, #fff);
  overflow: hidden;
  transition: border-color 0.15s;
}

.vermogen-input-wrap:focus-within {
  border-color: var(--accent, #2563eb);
}

.vermogen-euro-prefix {
  padding: 0 0.6rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal-light);
  user-select: none;
}

.vermogen-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.55rem 0.75rem 0.55rem 0;
  font-size: 0.97rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: transparent;
  min-width: 0;
}

.vermogen-input::-webkit-inner-spin-button,
.vermogen-input::-webkit-outer-spin-button {
  opacity: 0.4;
}

.vermogen-totaal {
  font-size: 0.95rem;
}

/* ============================================================
   Vermogen + Woning Slider Form (vg-slider-*)
   ============================================================ */
.vg-slider-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 560px;
}

.vg-slider-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vg-slider-field--debt .vg-slider-label::before {
  content: '− ';
  color: var(--charcoal-light);
  font-weight: 400;
}

.vg-slider-header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.05rem;
  align-items: center;
}

.vg-slider-label {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--charcoal);
  grid-row: 1;
  grid-column: 1;
}

.vg-slider-sublabel {
  font-family: var(--font-body);
  font-size: 0.79rem;
  color: var(--charcoal-light);
  grid-row: 2;
  grid-column: 1;
}

.vg-slider-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--green-deep);
  grid-row: 1 / 3;
  grid-column: 2;
  text-align: right;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.vg-slider-field--debt .vg-slider-value {
  color: var(--charcoal-mid);
}

/* Track + thumb — ivory-bg friendly */
.vg-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(
    to right,
    var(--green-deep) 0%,
    var(--green-deep) var(--vg-pct, 0%),
    var(--ivory-darker) var(--vg-pct, 0%),
    var(--ivory-darker) 100%
  );
  outline: none;
  cursor: pointer;
  display: block;
  margin-top: 0.15rem;
}

.vg-slider--debt {
  background: linear-gradient(
    to right,
    var(--charcoal-light) 0%,
    var(--charcoal-light) var(--vg-pct, 0%),
    var(--ivory-darker) var(--vg-pct, 0%),
    var(--ivory-darker) 100%
  );
}

.vg-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 17px;
  height: 17px;
  background: var(--green-deep);
  border: 2px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: box-shadow 0.15s;
}

.vg-slider--debt::-webkit-slider-thumb {
  background: var(--charcoal-mid);
  border-color: var(--rule-color);
}

.vg-slider::-webkit-slider-thumb:hover,
.vg-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(26,58,42,0.12), 0 1px 4px rgba(0,0,0,0.18);
}

.vg-slider::-moz-range-thumb {
  width: 17px;
  height: 17px;
  background: var(--green-deep);
  border: 2px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.vg-slider--debt::-moz-range-thumb {
  background: var(--charcoal-mid);
  border-color: var(--rule-color);
}

.vg-slider:focus {
  outline: none;
}

/* Totaal row */
.vg-totaal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-color);
  margin-top: 0.2rem;
}

.vg-totaal-label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--charcoal-light);
}

.vg-totaal-label em {
  font-style: italic;
}

.vg-totaal-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--green-deep);
}

/* Equity display (woningwaarde view) */
.vg-equity-display {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal-light);
  margin-top: 0.3rem;
  min-height: 1.2em;
}

/* ============================================================
   Privacy View
   ============================================================ */
.privacy-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem var(--gutter) 6rem;
}

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

.privacy-notary {
  background: var(--ivory-dark);
  border: 1px solid var(--rule-color);
  border-left: 3px solid var(--gold-muted);
  padding: 1.5rem 1.8rem;
  margin-bottom: 2.5rem;
}

.privacy-notary-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--charcoal-mid);
  margin-bottom: 0.8rem;
}

.privacy-notary ul {
  padding-left: 1.2rem;
}

.privacy-notary li {
  font-size: 0.9rem;
  color: var(--charcoal-mid);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.privacy-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 2rem 0 0.6rem;
  letter-spacing: 0.01em;
}

.privacy-body p {
  font-size: 0.9rem;
  color: var(--charcoal-mid);
  line-height: 1.7;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: var(--green-deep);
  border-top: 1px solid var(--green-light);
  padding: 1.8rem var(--gutter);
  padding-bottom: calc(1.8rem + env(safe-area-inset-bottom));
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.4);
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold-muted); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .initieel-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .status-tracker {
    position: relative;
    top: 0;
  }

  #global-state-tracker {
    display: none !important;
  }

}

@media (max-width: 720px) {
  :root { --gutter: 1.25rem; }

  html { font-size: 16px; }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat-item--bordered {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--ivory-darker);
    border-bottom: 1px solid var(--ivory-darker);
  }

  .choice-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .inquiry-card {
    padding-bottom: 2.5rem;
  }

  .inkomen-vraag { font-size: clamp(1.5rem, 5vw, 2rem); }

  .status-titel { font-size: clamp(1.7rem, 6vw, 2.4rem); }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  .income-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .income-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .btn-income-refresh {
    padding: 0.6rem 1rem;
    min-height: 40px;
  }

  .graph-filter-pill {
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    border-width: 2px;
  }

  .tab-btn {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  .inkomen-stage { padding: 2rem var(--gutter); }

  .inkomen-display {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    min-height: 5rem;
  }

  .geslacht-toggle {
    min-width: 0;
    flex: 1;
    padding: 1.1rem 1rem;
  }

  .gemeente-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .chapter-nav--split {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.6rem;
  }

  .initieel-wrap  { padding-bottom: 3rem; }
  .chapter-wrap   { padding-bottom: 3rem; }
  .placeholder-wrap { padding-bottom: 3rem; }

  .overview-title-wrap { padding-top: 1.25rem; }

  .curve-tooltip {
    min-width: 110px;
    max-width: 90vw;
    font-size: 0.72rem;
  }

  .gemeente-legend-swatch {
    width: 28px;
    height: 14px;
  }

  .gemeente-legend-label {
    font-size: 0.78rem;
  }

  .gemeente-tooltip {
    max-width: min(210px, 80vw);
  }
}

@media (max-width: 860px) and (min-width: 600px) {
  .choice-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   LEEFTIJD — numeric age input
   ============================================================ */
.leeftijd-input-wrap {
  max-width: 360px;
  margin: 2rem 0 1.5rem;
}

.leeftijd-age-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.6rem;
}

.leeftijd-age-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.leeftijd-age-field {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--green-deep);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--rule-color);
  padding: 0.2rem 0.1rem;
  width: 100px;
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}
.leeftijd-age-field::-webkit-inner-spin-button,
.leeftijd-age-field::-webkit-outer-spin-button { -webkit-appearance: none; }
.leeftijd-age-field:focus {
  border-bottom-color: var(--gold-muted);
}
.leeftijd-age-field::placeholder {
  color: var(--ivory-darker);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-style: italic;
}

.leeftijd-age-unit {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal-light);
  font-style: italic;
}

.leeftijd-age-feedback {
  min-height: 1.4em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold-muted);
  margin: 0.6rem 0 1.2rem;
  transition: color 0.2s;
}

/* ============================================================
   GESLACHT — toggle buttons
   ============================================================ */
.geslacht-toggle-wrap {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 0.5rem;
}

.geslacht-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.6rem 2.4rem;
  background: var(--ivory);
  border: 1px solid var(--rule-color);
  cursor: pointer;
  color: var(--charcoal-mid);
  font-family: var(--font-body);
  transition: all 0.2s ease;
  min-width: 130px;
}

.geslacht-toggle:hover {
  border-color: var(--gold-muted);
  color: var(--charcoal);
  background: rgba(26,58,42,0.04);
}

.geslacht-toggle:active {
  background: rgba(26,58,42,0.08);
}

.geslacht-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.geslacht-toggle--active,
.geslacht-toggle[aria-pressed="true"] {
  border-color: var(--gold-muted);
  background: rgba(26,58,42,0.06);
  color: var(--green-deep);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.2);
}

.geslacht-toggle-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-muted);
}

.geslacht-toggle--active .geslacht-toggle-icon,
.geslacht-toggle[aria-pressed="true"] .geslacht-toggle-icon {
  color: var(--gold);
}

.geslacht-toggle-label {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   BURGERLIJKE STAAT — option buttons
   ============================================================ */
.burgerlijkestaat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
}

.burgerlijkestaat-option {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.6rem;
  background: var(--ivory);
  border: 1px solid var(--rule-color);
  cursor: pointer;
  color: var(--charcoal-mid);
  transition: all 0.2s ease;
}

.burgerlijkestaat-option:hover {
  border-color: var(--gold-muted);
  color: var(--charcoal);
  background: rgba(26,58,42,0.04);
}

.burgerlijkestaat-option:active {
  background: rgba(26,58,42,0.08);
}

.burgerlijkestaat-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.burgerlijkestaat-option--active,
.burgerlijkestaat-option[aria-pressed="true"] {
  border-color: var(--gold-muted);
  background: rgba(26,58,42,0.06);
  color: var(--green-deep);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.2);
}

/* ============================================================
   GENERIC CHOICE VIEW — shared button styles
   ============================================================ */
.generic-choice-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
}

.generic-choice-wrap--icons {
  gap: 1rem;
}

.generic-choice-option {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(26,58,42,0.18);
  border-radius: 4px;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.generic-choice-option:hover {
  border-color: var(--gold-muted);
  color: var(--charcoal);
  background: rgba(26,58,42,0.04);
}

.generic-choice-option:active {
  background: rgba(26,58,42,0.08);
}

.generic-choice-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.generic-choice-option--active,
.generic-choice-option[aria-pressed="true"] {
  border-color: var(--gold-muted);
  background: rgba(26,58,42,0.06);
  color: var(--green-deep);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,0.2);
}

.generic-choice-wrap--icons .generic-choice-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
  padding: 1.1rem 1.4rem 0.9rem;
}

.generic-choice-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-muted);
  margin-bottom: 0.4rem;
}

.generic-choice-option--active .generic-choice-icon,
.generic-choice-option[aria-pressed="true"] .generic-choice-icon {
  color: var(--gold);
}

.generic-choice-label {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   OVERVIEW — datapoint panels
   ============================================================ */
.overview-datapoint-panels {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter) 1rem;
}

.datapoint-panels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--ivory-darker);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* ── Dimension sections on overview ─────────────────────────────────────── */
/* ============================================================
   COMBINED GRAPH — group label above curve
   ============================================================ */

.curve-group-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin: 0 0 0.5rem;
}

.curve-group-label em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--green-deep);
}

/* ============================================================
   GRAPH FILTER PILLS — dimension toggles above the main curve
   ============================================================ */

.graph-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.graph-filter-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  padding: 0.22rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  /* Animated metallic gradient border */
  border: 2px solid transparent;
  background-image:
    linear-gradient(#f5f0e8, #f5f0e8),
    linear-gradient(137.48deg, rgba(196,184,152,0.55) 10%, rgba(212,168,32,0.55) 40%, rgba(156,192,232,0.55) 67%, rgba(192,120,64,0.55) 90%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 300% 300%;
  color: var(--charcoal-light, #6b6155);
  opacity: 0.65;
  transition: transform 0.5s, opacity 0.2s;
  animation: pillGradientSpin 5s ease infinite;
}

.graph-filter-pill--on {
  background-image:
    linear-gradient(#ede6d6, #ede6d6),
    linear-gradient(137.48deg, #c4b898 10%, #d4a820 40%, #9cc0e8 67%, #c07840 90%);
  color: var(--green-deep, #1a3a2a);
  opacity: 1;
}

.graph-filter-pill:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.graph-filter-pill--on:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes pillGradientSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Stars container — clipped to pill shape */
.pill-stars-wrap {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.graph-filter-pill--on .pill-stars-wrap {
  opacity: 1;
}

.graph-filter-pill:hover .pill-stars-wrap {
  z-index: 1;
  background-color: rgba(237, 230, 214, 0.85);
  opacity: 1;
}

.pill-stars {
  position: relative;
  background: transparent;
  width: 40rem;
  height: 40rem;
}

.pill-stars::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
  background-image: radial-gradient(#c4b898 1px, transparent 1%);
  background-size: 22px 22px;
  opacity: 0.45;
}

.pill-stars::after {
  content: '';
  position: absolute;
  top: -2rem;
  left: -20rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
  background-image: radial-gradient(#d4a820 1px, transparent 1%);
  background-size: 22px 22px;
  opacity: 0.3;
}

@keyframes animStar {
  from { transform: translateY(0); }
  to   { transform: translateY(-20rem); }
}

@keyframes animStarRotate {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

/* Glow — outer box-shadow so it stays outside the pill interior */
.graph-filter-pill--on {
  animation: pillGlowPulse 4s ease-in-out infinite, pillGradientSpin 5s ease infinite;
}

@keyframes pillGlowPulse {
  0%, 100% { box-shadow: 0 0 5px 1px rgba(212,168,32,0.35), 0 0 10px 2px rgba(156,192,232,0.2); }
  50%       { box-shadow: 0 0 10px 3px rgba(212,168,32,0.55), 0 0 18px 5px rgba(156,192,232,0.35); }
}

/* Label sits above stars/glow layers */
.pill-label {
  position: relative;
  z-index: 2;
}

/* ============================================================
   TAB PANELS — collapsible dimension comparisons
   ============================================================ */

.tab-panels-section,
.hh-tab-panels-section,
.hh-personal-panels-section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--ivory-darker);
  padding-top: 1.5rem;
}

.tab-panels-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin: 0 0 0.9rem;
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--ivory-darker);
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.55rem 1.1rem;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--charcoal-light);
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--green-deep);
}

.tab-btn--active {
  color: var(--green-deep);
  border-bottom-color: var(--gold);
}

.tab-bodies {
  /* no special layout needed */
}

.tab-body {
  display: none;
  padding-bottom: 1.5rem;
}

.tab-body--active {
  display: block;
}

.tab-body .stats-row {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-top: 0;
}

.tab-body .stat-item {
  padding: 1rem 0.8rem;
}

.tab-body .stat-value-lg {
  font-size: 1.1rem;
  line-height: 1.25;
}

.tab-body .stat-sub-sm {
  font-size: 0.72rem;
}

.tab-panel-prompt {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal-light);
  font-style: italic;
  margin: 0.25rem 0 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tab-panel-prompt-btn {
  background: none;
  border: 1px solid var(--gold);
  color: var(--green-deep);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-style: normal;
  transition: background 0.15s, color 0.15s;
}

.tab-panel-prompt-btn:hover {
  background: var(--gold);
  color: var(--ivory);
}

/* ── Tab richer-than lead text ─────────────────────────────── */
.tab-richer-than {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.55;
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ivory-darker);
}

/* ── Comparative insights list ─────────────────────────────── */
.comparative-insights {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comparative-insights li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal-mid);
  line-height: 1.5;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ivory-darker);
  padding-left: 1.1rem;
  position: relative;
}

.comparative-insights li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-muted);
  font-weight: 400;
}

.comparative-insights li strong {
  color: var(--green-deep);
  font-weight: 600;
}

/* ── Pillar tabs (Persoonlijk / Huishouden) ────────────────── */
.pillar-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ivory-darker);
  margin-bottom: 2rem;
}

.pillar-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  transition: color 0.15s, border-color 0.15s;
}

.pillar-tab-btn:hover {
  color: var(--green-deep);
}

.pillar-tab-btn--active {
  color: var(--green-deep);
  border-bottom-color: var(--gold);
}

.pillar-body[hidden] {
  display: none;
}

/* ── Household section specifics ─────────────────────────── */
.household-income-breakdown {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--charcoal-light);
  margin: 0.5rem 0 0;
}

.household-income-breakdown strong {
  color: var(--green-deep);
}

.datapoint-panel {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 260px;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--ivory-darker);
  background: var(--ivory);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.datapoint-panel:active {
  background: rgba(26,58,42,0.03);
}

.datapoint-panel--gold  { border-left: 3px solid #d4b870; }
.datapoint-panel--silver { border-left: 3px solid #b8c2cf; }
.datapoint-panel--bronze { border-left: 3px solid #c59568; }

.datapoint-panel-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.35rem;
}

.datapoint-panel-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 0.55rem;
  line-height: 1.2;
}

.datapoint-panel-pct {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--charcoal-light);
}

.datapoint-panel-pct-num {
  font-size: 1.35rem;
  color: var(--charcoal);
  font-style: italic;
  font-family: var(--font-display);
}

.datapoint-panel-pct-suffix {
  font-size: 0.78rem;
  margin-left: 0.15rem;
}

.datapoint-panel-tier {
  margin-top: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.datapoint-panel-tier--gold   { color: var(--gold-muted); }
.datapoint-panel-tier--silver { color: #8090a4; }
.datapoint-panel-tier--bronze { color: #a07050; }

/* ── Fixed right panel (scroll invite + next suggestions) ───── */
.right-panel {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  z-index: 50;
  width: 175px;
}

.right-panel-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.right-panel-scroll.scroll-invite--hidden {
  opacity: 0;
}

.scroll-invite-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold-muted));
}

.scroll-invite-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  writing-mode: vertical-rl;
}

.scroll-invite-arrow {
  font-size: 0.85rem;
  color: var(--gold-muted);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── Hero scroll hint (bruto-netto + hypotheek pages) ── */
.hero-scroll-down {
  position: fixed;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 100;
}

.hero-scroll-down.hidden { opacity: 0; }

.hero-scroll-down-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  writing-mode: vertical-rl;
}

.hero-scroll-down-arrow {
  font-size: 1.4rem;
  color: var(--gold);
  animation: scroll-bounce 1.8s ease-in-out infinite;
  line-height: 1;
}

.hero-scroll-down-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.5), transparent);
}

/* ── Nudge wrapper (animated) ───────────────────────────────── */
.right-panel-nudge {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 3px;
  padding: 0.9rem 0.85rem 0.85rem;
  background: rgba(245, 240, 232, 0.6);
  box-sizing: border-box;
  animation: nudge-breathe 3.5s ease-in-out infinite;
}

@keyframes nudge-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
    border-color: rgba(201, 168, 76, 0.28);
  }
  50% {
    box-shadow: 0 0 14px 3px rgba(201, 168, 76, 0.22);
    border-color: rgba(201, 168, 76, 0.65);
  }
}

.right-panel-nudge-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.1rem;
}

.right-panel-nudge-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: dot-pulse 3.5s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; box-shadow: 0 0 0 0 rgba(201,168,76,0); }
  50%       { transform: scale(1.5); opacity: 1;   box-shadow: 0 0 6px 2px rgba(201,168,76,0.45); }
}

.right-panel-nudge-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}

/* ── Compact inquiry cards inside right panel ───────────────── */
.right-panel-suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.right-panel-suggestions .choice-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
}

.right-panel-suggestions .inquiry-card {
  padding: 0.75rem 0.85rem;
  border-radius: 2px;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}


.right-panel-suggestions .inquiry-title {
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.right-panel-suggestions .inquiry-desc {
  font-size: 0.72rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.right-panel-suggestions .inquiry-arrow {
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

@media (max-width: 1100px) {
  .right-panel { display: none; }
}

/* ============================================================
   Gemeente Kaart View
   ============================================================ */

.gemeente-chapter-wrap {
  max-width: 680px;
}

.gemeente-intro {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  font-style: italic;
  margin-bottom: 1.4rem;
}

/* ── Search ── */
.gemeente-search-wrap {
  margin-bottom: 1.2rem;
}

.gemeente-search-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.4rem;
}

.gemeente-search-row {
  display: flex;
  gap: 0.5rem;
}

.gemeente-search-field {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--charcoal);
  background: var(--ivory-dark);
  border: 1px solid var(--rule-color);
  border-radius: 2px;
  padding: 0.55rem 0.8rem;
  outline: none;
  transition: border-color var(--transition);
}

.gemeente-search-field:focus {
  border-color: var(--gold);
  background: var(--ivory);
}

.gemeente-search-feedback {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  font-style: italic;
  margin-top: 0.35rem;
  min-height: 1.2em;
}

/* ── Legend ── */
.gemeente-legend {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0.8rem;
  flex-wrap: nowrap;
}

.gemeente-legend-label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  white-space: nowrap;
}

.gemeente-legend-label--low  { margin-right: 6px; }
.gemeente-legend-label--high { margin-left:  6px; }

.gemeente-legend-swatch {
  display: inline-block;
  width: 22px;
  height: 10px;
  border-radius: 1px;
  border: 1px solid rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.gemeente-legend-swatch--iron     { background: #6a6f78; }
.gemeente-legend-swatch--nickel   { background: #8a9099; }
.gemeente-legend-swatch--bronze   { background: #a66f48; }
.gemeente-legend-swatch--silver   { background: #b6c0ce; }
.gemeente-legend-swatch--gold     { background: #d5ae49; }
.gemeente-legend-swatch--roseGold { background: #e0a18c; }
.gemeente-legend-swatch--platinum { background: #dfe8f5; }
.gemeente-legend-swatch--diamond  { background: #c9f4ff; }

/* ── Map container ── */
.gemeente-map-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 1.8rem;
  overflow: hidden;
}

.gemeente-map-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Tooltip ── */
.gemeente-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--green-deep);
  border: 1px solid var(--gold-muted);
  border-radius: 3px;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: var(--ivory);
  max-width: 210px;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.gemeente-tooltip-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}

.gemeente-tooltip-tier {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gemeente-tooltip-tier--iron     { color: #6a6f78; }
.gemeente-tooltip-tier--nickel   { color: #8a9099; }
.gemeente-tooltip-tier--bronze   { color: #a66f48; }
.gemeente-tooltip-tier--silver   { color: #b6c0ce; }
.gemeente-tooltip-tier--gold     { color: #d5ae49; }
.gemeente-tooltip-tier--roseGold { color: #e0a18c; }
.gemeente-tooltip-tier--platinum { color: #dfe8f5; }
.gemeente-tooltip-tier--diamond  { color: #c9f4ff; }

.gemeente-tooltip-table {
  border-collapse: collapse;
  width: 100%;
}

.gemeente-tooltip-table td {
  padding: 0.08rem 0;
  color: var(--ivory);
}

.gemeente-tooltip-table td:first-child {
  color: rgba(245,240,232,0.6);
  padding-right: 0.6rem;
  font-size: 0.76rem;
}

.gemeente-tooltip-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-light);
}

/* ── Decile bars in subtab ── */
.gemeente-decile-wrap {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule-color);
}

.gemeente-decile-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.5rem;
}

.gemeente-decile-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 52px;
}

.gemeente-decile-bar {
  flex: 1;
  background: linear-gradient(to top, var(--gold-muted), var(--gold-light));
  border-radius: 1px 1px 0 0;
  opacity: 0.75;
  transition: opacity 0.15s;
  min-height: 4px;
}

.gemeente-decile-bar:hover {
  opacity: 1;
}

.gemeente-decile-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--charcoal-light);
  margin-top: 0.25rem;
}

/* ── Map placeholder ── */
.gemeente-map-placeholder {
  text-align: center;
  color: var(--charcoal-light);
  font-style: italic;
  padding: 2rem;
}

/* ── Share Row ── */
.rd-share-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.rd-share-label {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  opacity: 0.6;
  text-transform: lowercase;
}

.rd-share-row {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 0;
}

.rd-share-btn {
  border: none;
  background: transparent;
  color: var(--green-deep);
  display: inline-flex;
  min-width: 28px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
  padding: 2px;
}

.rd-share-btn:hover {
  opacity: 0.65;
  transform: translateY(-1px);
}

.rd-share-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.rd-share-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--green-deep);
  display: block;
}

.rd-share-wrap[hidden] {
  display: none;
}

/* ── Share Toast ── */
.rd-share-toast {
  position: fixed;
  bottom: calc(32px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ivory);
  color: var(--green-deep);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 10px 20px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: min(92vw, 460px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(26, 58, 42, 0.12);
}

.rd-share-toast--interactive {
  pointer-events: auto;
}

.rd-share-toast__msg {
  flex: 1 1 auto;
}

.rd-share-toast__link {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--green-deep);
  color: var(--green-deep);
  border-radius: 4px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.rd-share-toast__link:hover {
  background: var(--green-deep);
  color: var(--ivory);
}

.rd-share-toast__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.rd-share-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.rd-share-toast--fade {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

/* ============================================================
   Pointer-device-only hover effects (lift, shadow, motion)
   Touch devices get :active feedback instead — see above.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .inquiry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26, 58, 42, 0.10);
  }

  .inquiry-card:hover .inquiry-arrow {
    transform: translateX(3px);
  }

  .right-panel-suggestions .inquiry-card:hover {
    transform: translateX(-3px);
  }

  .geslacht-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26,58,42,0.08);
  }

  .burgerlijkestaat-option:hover {
    box-shadow: 0 4px 12px rgba(26,58,42,0.07);
  }

  .generic-choice-option:hover {
    box-shadow: 0 4px 12px rgba(26,58,42,0.07);
  }

  .datapoint-panel:hover {
    box-shadow: 0 4px 14px rgba(26,58,42,0.07);
  }

  .tracker-item:hover {
    box-shadow: 0 6px 16px rgba(26, 58, 42, 0.08);
    transform: translateY(-1px);
  }

  .btn-income-refresh:hover:not(:disabled) {
    background-color: var(--gold-muted);
    color: var(--ivory);
  }
}
