  :root{
    color-scheme: light;
    --bg: #f8efe0;
    --surface: #fffaf1;
    --ink: #2a1a10;
    --ink-2: #6b4327;
    --muted: #93704c;
    --red: #b3231c;
    --red-deep: #7a1710;
    --orange: #d9631a;
    --yellow: #e8a316;
    --gold: #d9a441;
    --gold-light: #f3d68a;
    --brown: #6b3e22;
    --brown-dark: #3a2213;
    --black: #1c130c;
    --border: rgba(42,26,16,0.14);
    --shadow: 0 10px 30px rgba(42,20,10,0.10);
    --sky-1: #f6d199;
    --sky-2: #eb9b4e;
    --sky-3: #c85a2c;
    --red-soft: rgba(179,35,28,.12);
    --orange-soft: rgba(217,99,26,.14);
    --brown-soft: rgba(107,62,34,.14);
    --gold-soft: rgba(217,164,65,.20);
    --content-max: 1080px;
    --content-pad: 24px;
    --content-edge: max(var(--content-pad), calc((100vw - var(--content-max)) / 2 + var(--content-pad)));
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0; font-family: system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    background:var(--bg); color:var(--ink); transition:background .3s ease,color .3s ease; overflow-x:hidden;
  }
  ::selection{ background:var(--red); color:#fff; }

  #progress{ position:fixed; top:0; left:0; height:3px; width:0%; background:linear-gradient(90deg,var(--red),var(--orange),var(--yellow)); z-index:1000; }

  #tooltip{
    position:fixed; pointer-events:none; z-index:1200; background:var(--black); color:#f6ead6;
    padding:8px 12px; border-radius:9px; font-size:12.5px; line-height:1.5; box-shadow:0 8px 24px rgba(0,0,0,.3);
    opacity:0; transform:translateY(4px); transition:opacity .12s ease, transform .12s ease; max-width:220px;
  }
  #tooltip.show{ opacity:1; transform:translateY(0); }
  #tooltip .tt-name{ font-weight:600; opacity:.7; }
  #tooltip .tt-val{ font-weight:800; font-size:14px; }

  /* ---------------- HERO ---------------- */
  .hero{
    position:relative; overflow:hidden;
    background: var(--bg);
  }
  .hero-anim-full{
    position:relative; width:100%; height:90vh; min-height:560px; max-height:880px; overflow:hidden;
    opacity:0; animation:fadeIn 1.2s ease forwards .1s;
  }
  .hero-anim-full iframe{
    position:absolute; inset:0; width:100%; height:100%; border:0;
  }
  @keyframes fadeIn{ from{opacity:0;} to{opacity:1;} }
  

  /* ---- whole-article edit mode: edit text, font-size, alignment; export as .html ---- */
  #global-edit-btn{
    position:fixed; z-index:950; bottom:24px; right:24px;
    display:flex; align-items:center; gap:8px; font-family:inherit;
    background:var(--red); color:#fff8ea; border:none; border-radius:999px;
    padding:14px 20px; font-size:13px; font-weight:800; cursor:pointer;
    box-shadow:0 8px 24px rgba(20,10,5,.28); transition:transform .18s ease, background .18s ease;
  }
  #global-edit-btn:hover{ transform:translateY(-2px); }
  #global-edit-btn.active{ background:var(--brown-dark); }
  #export-html-btn{
    position:fixed; z-index:950; bottom:24px; right:225px;
    display:none; align-items:center; gap:8px; font-family:inherit;
    background:var(--gold); color:#3a2412; border:none; border-radius:999px;
    padding:14px 20px; font-size:13px; font-weight:800; cursor:pointer;
    box-shadow:0 8px 24px rgba(20,10,5,.22); transition:transform .18s ease;
  }
  #export-html-btn:hover{ transform:translateY(-2px); }
  #export-html-btn.show{ display:flex; }
  #cleanup-gaps-btn{
    position:fixed; z-index:950; bottom:24px; right:430px;
    display:none; align-items:center; gap:8px; font-family:inherit;
    background:var(--brown); color:#fff8ea; border:none; border-radius:999px;
    padding:14px 20px; font-size:13px; font-weight:800; cursor:pointer;
    box-shadow:0 8px 24px rgba(20,10,5,.22); transition:transform .18s ease;
  }
  #cleanup-gaps-btn:hover{ transform:translateY(-2px); }
  #cleanup-gaps-btn.show{ display:flex; }
  #font-picker-wrap{
    position:fixed; z-index:950; top:18px; left:18px;
    display:flex; align-items:center; gap:7px;
    background:var(--surface); border:1.5px solid var(--border); border-radius:999px;
    padding:9px 14px 9px 13px; box-shadow:var(--shadow);
  }
  #font-picker-icon{ font-family:'Sora',system-ui,sans-serif; font-weight:800; font-size:13px; color:var(--red-deep); flex:none; }
  #font-picker{
    font-family:inherit; border:none; background:transparent; color:var(--ink);
    font-size:12.5px; font-weight:700; cursor:pointer; outline:none; max-width:140px;
  }
  
  body.edit-mode .editable-text{
    cursor:text; border-radius:6px; transition:outline-color .15s ease, background .15s ease;
    outline:1.5px dashed transparent; outline-offset:4px;
  }
  body.edit-mode .editable-text:hover{ outline-color:var(--gold); }
  body.edit-mode .editable-text:focus{ outline-color:var(--red); outline-style:solid; background:color-mix(in srgb, var(--gold-light) 18%, transparent); }
  #edit-toolbar{
    position:absolute; z-index:970; display:none; align-items:center; gap:2px;
    background:var(--ink); border-radius:10px; padding:5px; box-shadow:0 8px 20px rgba(0,0,0,.3);
    transform:translateY(-100%);
  }
  #edit-toolbar.show{ display:flex; }
  #edit-toolbar button{
    font-family:inherit; border:none; background:transparent; color:#fff8ea; cursor:pointer;
    font-size:13px; font-weight:800; padding:7px 10px; border-radius:6px; transition:background .15s ease;
  }
  #edit-toolbar button:hover{ background:rgba(255,255,255,.18); }
  #edit-toolbar button.et-active{ background:rgba(255,255,255,.28); }
  #edit-toolbar button[data-act="italic"]{ font-style:italic; }
  #edit-toolbar .et-sep{ width:1px; height:18px; background:rgba(255,255,255,.25); margin:0 2px; }
  #edit-toolbar .et-colors{ display:flex; align-items:center; gap:4px; padding:0 3px; }
  #edit-toolbar .et-colors button{
    width:16px; height:16px; padding:0; border-radius:50%; border:1.5px solid rgba(255,255,255,.5);
    background:var(--sw); flex:none;
  }
  #edit-toolbar .et-colors button:hover{ transform:scale(1.15); background:var(--sw); }

  .hero-inner{
    position:relative; z-index:5; max-width:720px; margin:0 auto; padding:28px 24px 8px; text-align:center;
  }
  @keyframes fadeUp{ from{opacity:0; transform:translateY(18px);} to{opacity:1; transform:translateY(0);} }
  @keyframes shimmer{ 0%{background-position:0% 50%;} 100%{background-position:300% 50%;} }
  .hero p.sub{
    position:static; max-width:none; text-align:center;
    font-size:clamp(14px,1.3vw,16.5px); color:var(--brown-dark); margin:0;
    opacity:0; animation:fadeUp .8s ease forwards .2s;
  }

  .scroll-cue{ position:static; margin:20px auto 44px; color:var(--brown-dark); font-size:12px; font-weight:700; display:flex; flex-direction:column; align-items:center; gap:6px; animation:bob 1.8s ease-in-out infinite;}
  @keyframes bob{ 0%,100%{transform:translate(0,0);} 50%{transform:translate(0,8px);} }
  .scroll-cue .arrow{ width:1px; height:24px; background:linear-gradient(currentColor, transparent);}

  /* ---------------- STORY SECTIONS ---------------- */
  section.story{ max-width:1080px; margin:0 auto; padding:56px 24px 0; scroll-margin-top:90px; position:relative; }
  .hero + section.story{ padding-top:104px; }
  .section-head{ margin-bottom:44px; text-align:center; }
  .section-head h2{ font-family:'Sora', system-ui, sans-serif; font-size:clamp(24px,3.4vw,38px); margin:0 auto 14px; font-weight:800; letter-spacing:-.01em; max-width:820px; }
  .section-head p{ font-size:17.5px; color:var(--ink-2); max-width:720px; line-height:1.75; margin:0 auto; }

  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:translateY(0); }

  .prose{ font-size:18px; line-height:1.75; color:var(--ink-2); max-width:720px; margin:0 auto 28px; text-align:left; }
  .prose b{ color:var(--ink); }
  .prose .num-red{ color:var(--red); font-weight:800; }
  .prose .num-gold{ color:var(--brown); font-weight:800; }

  blockquote.insight{
    margin:8px auto 40px; padding:6px 0 6px 22px; border:none; border-left:3px solid var(--gold);
    font-size:18px; line-height:1.75; color:var(--ink-2); font-style:normal; max-width:720px; text-align:left;
  }
  blockquote.insight b{ color:var(--red); }

  /* ---- people pictogram ---- */
  .people-hero{ text-align:center; margin: 26px 0 20px; position:relative; padding:40px 0; }
  .people-hero::before{
    content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    width:min(640px,90vw); height:min(360px,60vw); border-radius:50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--gold) 26%, transparent) 0%, transparent 70%);
    z-index:0; pointer-events:none;
  }
  .people-hero .big{
    position:relative; z-index:1; font-family:'Sora', system-ui, sans-serif;
    font-size:clamp(56px,11vw,132px); font-weight:800; letter-spacing:-.02em; line-height:1;
    background: linear-gradient(100deg, var(--red) 0%, var(--orange) 32%, var(--gold) 58%, var(--orange) 78%, var(--red) 100%);
    background-size:260% 100%; -webkit-background-clip:text; background-clip:text; color:transparent;
    animation: shimmer 8s linear infinite;
    display:inline-block;
  }
  .people-hero .big .unit{
    font-family:system-ui,-apple-system,sans-serif; font-size:clamp(16px,2vw,22px); font-weight:700; color:var(--ink-2);
    margin-left:8px; -webkit-text-fill-color:var(--ink-2); background:none;
  }
  .people-caption{ position:relative; z-index:1; text-align:center; font-size:14.5px; color:var(--ink-2); margin-top:4px; max-width:520px; margin-left:auto; margin-right:auto; }


  /* person icon — reused inside the per-bank headcount conversion (bd-icons) */
  .person{ width:11px; height:16px; position:relative; color:var(--brown); opacity:0; transform:scale(.4); transition:opacity .35s ease, transform .35s ease; }
  .person.in{ opacity:1; transform:scale(1); }
  .person::before{ content:""; position:absolute; top:-6px; left:50%; transform:translateX(-50%); width:7px; height:7px; border-radius:50%; background:currentColor; }
  .person::after{ content:""; position:absolute; top:0; left:0; width:100%; height:100%; border-radius:5px 5px 1px 1px; background:currentColor; }

  /* ---- bank logo grid + detail ---- */
  .bank-grid{ display:grid; grid-template-columns:repeat(14, 1fr); gap:10px; margin:22px 0; }
  
  
  .bank-tile{
    aspect-ratio:1; border-radius:12px; background:var(--surface); border:1.5px solid var(--border);
    display:flex; align-items:center; justify-content:center; cursor:pointer; padding:8px;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; position:relative;
  }
  .bank-tile:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
  .bank-tile.active{ border-color:var(--red); box-shadow:0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
  .bank-tile img{ max-width:100%; max-height:100%; object-fit:contain; }
  .bank-tile .mono{
    width:100%; height:100%; border-radius:9px; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg, var(--gold), var(--brown)); color:#fff8ea; font-weight:800; font-size:11px; letter-spacing:.02em;
  }
  .bank-detail{ display:flex; flex-direction:column; gap:14px; margin-bottom:36px; }
  .bd-card{
    display:flex; gap:22px; align-items:center; flex-wrap:wrap; background:var(--surface); border:1px solid var(--border);
    border-radius:18px; padding:22px 26px; box-shadow:var(--shadow); min-height:120px;
    cursor:pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  }
  .bd-card:hover{ border-color:var(--red); transform:translateY(-2px); }
  .bd-card .bd-remove{ margin-left:auto; flex:none; color:var(--muted); font-size:13px; font-weight:700; opacity:.6; }
  .bd-card:hover .bd-remove{ opacity:1; color:var(--red); }
  .bd-empty-hint{
    text-align:center; font-size:14.5px; color:var(--muted); padding:26px 22px;
    border:1.5px dashed var(--border); border-radius:18px; margin-bottom:36px;
  }
  .bd-head{ display:flex; align-items:center; gap:16px; flex:none; }
  .bd-head img{ width:56px; height:56px; object-fit:contain; }
  .bd-head .mono-big{
    width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg, var(--gold), var(--brown)); color:#fff8ea; font-weight:800; font-size:13px; flex:none;
  }
  .bd-name{ font-size:16px; font-weight:800; color:var(--ink); }
  .bd-count{ font-size:24px; font-weight:800; color:var(--red); }
  .bd-count span{ font-size:13px; font-weight:700; color:var(--muted); margin-left:4px; }
  .bd-icons{ display:flex; flex-wrap:wrap; gap:4px; max-width:340px; flex:1; min-width:180px; }
  .bd-icons .person{ width:9px; height:13px; }
  .bd-caption{ width:100%; font-size:11.5px; color:var(--muted); margin-top:2px; }
  

  .chart-title{ margin:60px 0 6px; text-align:center; }
  .chart-title h3{ font-size:21px; font-weight:800; margin:0 0 6px; }
  .chart-title .sub{ font-size:14.5px; color:var(--muted); max-width:640px; margin:0 auto; line-height:1.55; }

  /* ---- capital flow visual ---- */
  .flow-wrap{ margin:26px 0 40px; }
  .flow-stats{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:18px; }
  .flow-stat{
    flex:1 1 220px; background:var(--surface); border:1px solid var(--border); border-radius:16px;
    padding:20px 22px; box-shadow:var(--shadow);
  }
  .fs-n{ font-family:'Sora', system-ui, sans-serif; font-size:clamp(26px,3.4vw,34px); font-weight:800; color:var(--red); line-height:1; }
  .fs-n.plus::before{ content:'+'; }
  .fs-n.plus{ color:var(--gold); }
  .fs-u{ font-size:13px; font-weight:700; color:var(--muted); margin-left:6px; }
  .fs-l{ font-size:13px; color:var(--ink-2); margin-top:8px; line-height:1.5; }

  /* ---- capital spillover org-chart (deposits -> bank -> 3 effects), with icons + flowing connectors ---- */
  .flow-org{ position:relative; margin:34px 0 16px; display:flex; flex-direction:column; align-items:center; }
  .flow-org::before{
    content:''; position:absolute; top:40px; left:50%; width:380px; height:380px; margin-left:-190px;
    background:radial-gradient(circle, var(--red-soft), transparent 70%); pointer-events:none; z-index:0;
  }
  .fo-blob{ position:absolute; border-radius:62% 38% 45% 55% / 55% 45% 55% 45%; filter:blur(1px); pointer-events:none; z-index:0; }
  .fo-blob-1{ top:8px; left:2%; width:120px; height:100px; background:var(--gold-soft); animation:fo-drift 9s ease-in-out infinite; }
  .fo-blob-2{ bottom:6%; right:3%; width:150px; height:130px; background:var(--orange-soft); border-radius:45% 55% 38% 62% / 45% 55% 45% 55%; animation:fo-drift 11s ease-in-out infinite reverse; }
  .fo-blob-3{ top:38%; left:-1%; width:90px; height:80px; background:var(--brown-soft); animation:fo-drift 8s ease-in-out infinite 1s; }
  @keyframes fo-drift{ 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-12px) rotate(6deg); } }
  .fo-sparkle{ position:absolute; z-index:2; color:var(--gold); pointer-events:none; animation:fo-twinkle 2.6s ease-in-out infinite; }
  .fo-sparkle-1{ top:2px; left:calc(50% - 148px); font-size:14px; animation-delay:.2s; }
  .fo-sparkle-2{ top:64px; left:calc(50% + 132px); font-size:11px; color:var(--orange); animation-delay:1.1s; }
  .fo-sparkle-3{ top:168px; left:calc(50% - 168px); font-size:13px; color:var(--brown); animation-delay:.7s; }
  @keyframes fo-twinkle{ 0%,100%{ opacity:.25; transform:scale(.75) rotate(0deg); } 50%{ opacity:1; transform:scale(1.2) rotate(15deg); } }
  .fo-box{
    position:relative; z-index:1;
    display:flex; align-items:center; justify-content:center; gap:11px;
    border:none; border-radius:999px; background:var(--surface);
    padding:13px 24px; font-weight:700; font-size:14px; color:var(--ink); text-align:center;
    box-shadow:0 8px 20px rgba(58,33,18,.10);
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  }
  .fo-box:hover{ transform:translateY(-4px) scale(1.03); box-shadow:0 14px 28px rgba(58,33,18,.16); }
  .fo-icon{ width:19px; height:19px; flex:none; }
  .fo-deposit{
    font-style:italic; font-weight:600; color:var(--ink-2); max-width:420px;
    background:linear-gradient(135deg, var(--gold-soft), var(--surface));
  }
  .fo-deposit-icon, .fo-hub-icon, .fo-cat-icon, .fo-li-icon{
    display:flex; align-items:center; justify-content:center; flex:none; border-radius:50%;
  }
  .fo-deposit-icon{ width:30px; height:30px; background:var(--gold-soft); }
  .fo-deposit-icon .fo-icon{ width:16px; height:16px; color:var(--brown); }
  @keyframes fo-flow-v{ to{ background-position-y:16px; } }
  @keyframes fo-flow-h{ to{ background-position-x:-16px; } }
  @keyframes fo-pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(217,164,65,.35); } 50%{ box-shadow:0 0 0 7px rgba(217,164,65,0); } }
  .fo-stem{
    width:6px; height:30px; position:relative; z-index:1; border-radius:6px;
    background-image:repeating-radial-gradient(circle, var(--gold) 0 3.1px, transparent 3.4px 8px);
    background-size:100% 16px; animation:fo-flow-v .85s linear infinite;
  }
  .fo-hub{
    margin:2px 0 0; font-family:'Sora', system-ui, sans-serif; font-size:22px; font-weight:800;
    letter-spacing:.03em; color:#fff8ea; background:linear-gradient(135deg, var(--red), var(--red-deep));
    border:none; padding:15px 48px 15px 40px; border-radius:999px; box-shadow:0 12px 26px rgba(178,44,34,.28);
    gap:13px;
  }
  .fo-hub:hover{ transform:translateY(-4px) scale(1.04); }
  .fo-hub-icon{ width:40px; height:40px; background:rgba(255,255,255,.16); }
  .fo-hub-icon .fo-icon{ width:23px; height:23px; }
  .fo-branches{ position:relative; z-index:1; display:flex; gap:18px; width:100%; max-width:920px; margin-top:48px; padding-top:44px; }
  .fo-branches::before{
    content:''; position:absolute; top:0; left:16.6667%; right:16.6667%; height:6px; border-radius:6px;
    background-image:repeating-radial-gradient(circle, var(--gold) 0 3.1px, transparent 3.4px 8px);
    background-size:16px 100%; animation:fo-flow-h .85s linear infinite;
  }
  .fo-branch{
    position:relative; flex:1 1 0; display:flex; flex-direction:column; align-items:center;
    opacity:0; transform:translateY(20px); transition:opacity .7s ease, transform .7s ease;
  }
  .fo-branch.in{ opacity:1; transform:translateY(0); }
  .fo-branch::before{
    content:''; position:absolute; top:-44px; left:50%; width:6px; height:44px; margin-left:-3px; border-radius:6px;
    background-image:repeating-radial-gradient(circle, var(--gold) 0 3.1px, transparent 3.4px 8px);
    background-size:100% 16px; animation:fo-flow-v .85s linear infinite;
  }
  .fo-num{
    position:absolute; top:-61px; left:50%; transform:translateX(-50%);
    width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg, var(--gold), var(--gold-light)); color:#3a2412;
    font-size:12px; font-weight:800; display:flex; align-items:center; justify-content:center;
    animation:fo-pulse 2.4s ease-in-out infinite; box-shadow:0 3px 8px rgba(58,33,18,.2);
  }
  .fo-cat{ width:100%; font-size:13.5px; gap:12px; padding:14px 20px; justify-content:flex-start; border-radius:20px; }
  .fo-cat-icon{ width:36px; height:36px; }
  .fo-cat-icon .fo-icon{ width:19px; height:19px; }
  .fo-branch[data-key="direct"] .fo-cat{ background:linear-gradient(135deg, var(--surface), var(--red-soft)); color:var(--red-deep); }
  .fo-branch[data-key="direct"] .fo-cat-icon{ background:var(--red-soft); color:var(--red-deep); }
  .fo-branch[data-key="indirect"] .fo-cat{ background:linear-gradient(135deg, var(--surface), var(--orange-soft)); color:var(--orange); }
  .fo-branch[data-key="indirect"] .fo-cat-icon{ background:var(--orange-soft); color:var(--orange); }
  .fo-branch[data-key="social"] .fo-cat{ background:linear-gradient(135deg, var(--surface), var(--brown-soft)); color:var(--brown); }
  .fo-branch[data-key="social"] .fo-cat-icon{ background:var(--brown-soft); color:var(--brown); }
  .fo-list{
    list-style:none; margin:18px 0 0; padding:16px 17px; width:100%; background:var(--surface);
    border:none; border-radius:20px; box-shadow:0 8px 20px rgba(58,33,18,.08);
    font-size:12.5px; line-height:1.5; color:var(--ink-2); min-height:150px;
  }
  .fo-list li{ display:flex; align-items:flex-start; gap:10px; margin-bottom:13px; border-radius:12px; padding:4px; margin-left:-4px; margin-right:-4px; transition:background .2s ease, transform .2s ease; }
  .fo-list li:hover{ transform:translateX(3px); }
  .fo-branch[data-key="direct"] .fo-list li:hover{ background:var(--red-soft); }
  .fo-branch[data-key="indirect"] .fo-list li:hover{ background:var(--orange-soft); }
  .fo-branch[data-key="social"] .fo-list li:hover{ background:var(--brown-soft); }
  .fo-list li:last-child{ margin-bottom:0; }
  .fo-li-icon{ width:25px; height:25px; margin-top:1px; }
  .fo-li-icon .fo-icon{ width:13px; height:13px; }
  .fo-branch[data-key="direct"] .fo-li-icon{ background:var(--red-soft); color:var(--red-deep); }
  .fo-branch[data-key="indirect"] .fo-li-icon{ background:var(--orange-soft); color:var(--orange); }
  .fo-branch[data-key="social"] .fo-li-icon{ background:var(--brown-soft); color:var(--brown); }
  .fo-list li b{ display:block; font-weight:700; color:var(--ink); }
  .fo-list li span{ display:block; color:var(--muted); font-size:11.5px; margin-top:2px; }
  .loop-closing{
    margin:8px auto 40px; padding:0; border:none;
    font-size:18.5px; line-height:1.9; color:var(--ink-2); max-width:760px; font-style:normal;
    text-align:center;
  }
  

  /* ---- vault ---- */
  .vault-card{
    display:flex; flex-direction:column; align-items:center; justify-content:center; margin: 40px 0 20px;
  }
  .vault-wrap{ position:relative; width:min(440px,80vw); height:min(440px,80vw); perspective:1400px; flex:none; margin:0 auto; }
  .vault-inside{
    position:absolute; inset:6%; border-radius:50%; overflow:hidden; z-index:1;
    background: radial-gradient(circle at 50% 40%, var(--gold-light), var(--gold) 55%, var(--brown) 100%);
    display:flex; align-items:center; justify-content:center; box-shadow: inset 0 0 40px rgba(0,0,0,.35);
  }
  .vault-number{ position:relative; z-index:2; text-align:center; opacity:0; transition:opacity .6s ease; padding:0 13%; }
  .vault-number.show{ opacity:1; }
  .vault-number .n{ font-weight:800; color:var(--black); white-space:normal; line-height:1.15; }
  .vault-number .n > span{ font-size:clamp(30px,5.6vw,46px); display:block; letter-spacing:-.01em; }
  .vault-number .n > div{ font-size:clamp(13px,1.9vw,16.5px); font-weight:700; margin-top:3px; }
  .vault-number .l{ font-size:11px; font-weight:700; color:var(--brown-dark); margin-top:8px; line-height:1.4; }
  .vault-door{
    position:absolute; inset:0; border-radius:50%; z-index:3; transform-origin:50% 50%;
    background: radial-gradient(circle at 38% 32%, #c99a5f, var(--brown) 46%, var(--brown-dark) 100%);
    box-shadow: 0 14px 34px rgba(20,10,5,.35), inset 0 0 0 10px rgba(0,0,0,.12);
    transition: transform 1.3s cubic-bezier(.5,0,.25,1), opacity 1.1s ease .2s;
  }
  .vault-door.open{ transform: rotate(640deg) scale(.15); opacity:0; }
  .vault-bolt{ position:absolute; width:9px; height:9px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #f0d59a, var(--brown-dark)); }
  .vault-hub{ position:absolute; left:50%; top:50%; width:34%; height:34%; transform:translate(-50%,-50%); border-radius:50%;
    background: radial-gradient(circle at 35% 30%, #f0d59a, var(--brown) 70%); box-shadow:0 0 0 4px rgba(0,0,0,.15) inset; transition:transform 1s ease;}
  .vault-hub.spin{ transform:translate(-50%,-50%) rotate(340deg); }
  .vault-hub .spoke{ position:absolute; left:50%; top:50%; width:78%; height:3px; background:var(--brown-dark); transform-origin:center; border-radius:2px; }

  /* ---- budget "buildings" bar chart (vertical, reveals as you scroll to each building) ---- */
  .stairs-chart{ width:100%; height:auto; display:block; overflow:visible; margin:40px 0 16px; }
  .bldg-ground{ stroke:var(--border); stroke-width:2; }
  .bldg-group{ transform:scaleY(0); transition:transform 1.15s cubic-bezier(.2,.8,.2,1); }
  .bldg-row.in .bldg-group{ transform:scaleY(1); }
  .bldg-shaft{ fill:var(--gold); stroke:var(--brown-dark); stroke-width:2; }
  .bldg-pediment{ fill:var(--gold); stroke:var(--brown-dark); stroke-width:2; stroke-linejoin:round; }
  .bldg-col{ fill:var(--brown-dark); opacity:.5; }
  .bldg-base{ fill:var(--brown-dark); }
  .bar-value{ font-family:'Sora',system-ui,sans-serif; font-weight:800; font-size:16px; fill:var(--ink); text-anchor:middle; opacity:0; transition:opacity .5s ease .7s; }
  .bldg-row.in .bar-value{ opacity:1; }
  .bar-year{ font-size:14px; font-weight:800; fill:var(--ink-2); text-anchor:middle; }
  .bar-growth{ font-size:11.5px; font-weight:800; fill:var(--orange); text-anchor:middle; opacity:0; transition:opacity .5s ease .85s; }
  .bldg-row.in .bar-growth{ opacity:1; }
  .bldg-row.bldg-est .bldg-shaft{ fill:none; stroke:var(--gold); stroke-width:2.5; stroke-dasharray:6 5; opacity:.85; }
  .bldg-row.bldg-est .bldg-pediment{ fill:none; stroke:var(--gold); stroke-width:2.5; stroke-dasharray:6 5; opacity:.85; }
  .bldg-row.bldg-est .bldg-col{ opacity:.22; }
  .bldg-row.bldg-est .bldg-base{ opacity:.55; }
  .bar-est-note{ fill:var(--muted); font-weight:700; font-style:italic; }
  

  footer{ max-width:1080px; margin:70px auto 44px; padding:24px; text-align:center; color:var(--muted); font-size:12.5px; line-height:1.7; border-top:1px solid var(--border); }
  footer a{ color:var(--muted); text-decoration:underline; text-decoration-color:var(--border); text-underline-offset:2px; transition:color .15s ease, text-decoration-color .15s ease; }
  footer a:hover{ color:var(--red); text-decoration-color:var(--red); }
  footer b{ color:var(--ink-2); }