/* The side menu, his idea made better: everything he does, visible at once, in a slim rail of a deeper shade of his blue.
   Laptop only; phones keep the Menu button. */
.rail{display:none}
@media (min-width:1100px){
  html[data-rail] body{padding-left:var(--rw,236px)}
  html[data-rail] .bar{display:none}
  html[data-rail] .index{display:none}
  html[data-rail] .credit{border-top:1px solid var(--rule);margin-top:clamp(64px,10vh,120px)}
  .rail{display:flex;flex-direction:column;position:fixed;z-index:50;left:0;top:0;bottom:0;width:var(--rw,236px);padding:26px 22px 20px 26px;background:#1A3479;border-right:1px solid rgba(255,255,255,.08);overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
  .rail::-webkit-scrollbar{width:6px}
  .rail::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:3px}
  .rname{display:block;font:400 46px/.84 var(--disp);text-transform:uppercase;letter-spacing:.01em;color:#fff;margin-bottom:26px}
  .rg{margin-bottom:16px}
  .rh{display:block;font:400 21px/1 var(--disp);text-transform:uppercase;letter-spacing:.03em;color:#fff;margin-bottom:6px;transition:color .15s}
  .rg a:not(.rh){position:relative;display:block;padding:3px 0 3px 12px;font-size:13.5px;line-height:1.3;color:rgba(255,255,255,.7);transition:color .15s}
  .rg a:not(.rh)::before{content:"";position:absolute;left:0;top:.95em;width:4px;height:1px;background:rgba(255,255,255,.3)}
  .rg a:hover,.rh:hover{color:#fff}
  .rg.cur .rh{color:#CFDDFF}
  .rg.cur .rh::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:#CFDDFF;vertical-align:middle}
  .rsoc{display:flex;flex-wrap:wrap;gap:4px 12px;padding-left:12px}
  .rsoc a{padding:2px 0!important;font-size:13px!important}
  .rsoc a::before{display:none}
  .rcta{margin-top:auto;display:block;text-align:center;padding:12px 14px;border-radius:999px;background:#fff;color:#214197;font-size:14px;font-weight:600;transition:background .15s}
  .rcta:hover{background:#DCE5FF}
  .rcredit{margin-top:12px;font-size:11px;line-height:1.4;color:rgba(255,255,255,.45)}
}

/* a note from Bella: a sticky note, the one playful object on the site, says what it is and opens her pitch */
.sticky{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 22px;padding:11px 12px;border:0;border-radius:3px;background:#FFF3B8;color:#2A2410;text-align:left;font:inherit;cursor:pointer;transform:rotate(-2deg);box-shadow:0 10px 18px -12px rgba(0,0,0,.65),0 1px 0 rgba(0,0,0,.06);transition:transform .2s cubic-bezier(.2,.7,.2,1),box-shadow .2s}
.sticky:hover,.sticky:focus-visible{transform:rotate(0) translateY(-2px);box-shadow:0 16px 26px -14px rgba(0,0,0,.7)}
.sticky:focus-visible{outline:2px solid #fff;outline-offset:3px}
.sticky .hand{flex:none;font-size:22px;line-height:1;transform-origin:70% 75%}
.sticky.hi .hand,.sticky:hover .hand{animation:wave 1.4s ease-in-out 2}
.sticky .st{font-size:13.5px;line-height:1.3}
.sticky .st b{display:block;font-weight:700}
@keyframes wave{0%,60%,100%{transform:rotate(0)}10%,30%{transform:rotate(16deg)}20%,40%{transform:rotate(-10deg)}50%{transform:rotate(10deg)}}
/* laptop: the note lives in the rail under his name; phone: it floats bottom left */
.sticky.floating{position:fixed;z-index:110;left:16px;bottom:16px;width:auto;margin:0;padding:9px 14px 9px 10px}
.sticky.in-rail{display:none}
@media (min-width:1100px){ html[data-rail] .sticky.in-rail{display:flex} html[data-rail] .sticky.floating{display:none} }
html.noted .sticky.floating{opacity:0;pointer-events:none}

.note{position:fixed;z-index:120;left:252px;top:20px;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow-y:auto;padding:28px 28px 22px;border-radius:10px;background:#fff;color:#0F1E46;box-shadow:0 30px 70px -24px rgba(0,0,0,.6);opacity:0;transform:translateY(-8px) scale(.98);transform-origin:0 0;pointer-events:none;transition:opacity .25s,transform .3s cubic-bezier(.2,.7,.2,1)}
.note.on{opacity:1;transform:none;pointer-events:auto}
.note h2{font:400 40px/.9 var(--disp);text-transform:uppercase;letter-spacing:.01em;margin-bottom:10px}
.note p{font-size:15px;line-height:1.55;margin-bottom:12px;color:#1C2B55}
.note p b{color:#0F1E46;font-weight:700}
.note .lede{font-size:17px;line-height:1.45;font-weight:600;color:#0F1E46}
.note .ask{margin:18px -28px 14px;padding:16px 28px;background:#EEF1F7}
.note .ask p{margin-bottom:12px}
.note .yn{display:flex;flex-wrap:wrap;gap:10px}
.note .yn .yes{padding:11px 18px;border-radius:999px;background:#214197;color:#fff;font-size:14.5px;font-weight:600}
.note .yn .yes:hover{background:#1A3479}
.note .yn .no{padding:11px 16px;border:1px solid rgba(15,30,70,.2);border-radius:999px;background:transparent;color:#0F1E46;font:inherit;font-size:14.5px;font-weight:500;cursor:pointer}
.note .yn .no:hover{background:#fff}
.note .sig{margin:0;font-weight:600;color:#214197}
.note .sig a{text-decoration:underline;text-underline-offset:3px}
.note .nx{position:absolute;top:12px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:#EEF1F7;color:#0F1E46;font-size:18px;cursor:pointer}
@media (max-width:1099px){ .note{left:16px;top:auto;bottom:16px;transform-origin:0 100%;max-height:calc(100vh - 32px)} }
@media (prefers-reduced-motion:reduce){ .sticky .hand{animation:none!important} .sticky{transition:none} }

.rtop{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:18px}
.rtop .rname{margin-bottom:0}

.note .yn[hidden],.note .soft[hidden]{display:none}
.note .soft{margin:0;font-size:15px}
.note .soft a{display:inline-block;margin-left:6px;padding:8px 14px;border-radius:999px;background:#214197;color:#fff;font-weight:600;font-size:14px}
.note .garden{text-decoration:underline;text-underline-offset:3px;font-weight:600;color:#214197}

/* punchier note: small display-type labels, his blue on the key phrases, replies in place of an email window */
.note h3{font:400 19px/1 var(--disp);text-transform:uppercase;letter-spacing:.04em;color:#214197;margin:16px 0 5px}
.note .lede a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.note .lede strong{color:#214197;font-weight:800}
.note p b{color:#0F1E46;font-weight:700;background:linear-gradient(transparent 62%,#FFF3B8 62%)}
.note .ask h3{margin-top:0}
.note .ask .q{font-size:17px;font-weight:600;color:#0F1E46;margin-bottom:12px}
.note .yn .yes{border:0;font:inherit;font-size:14.5px;font-weight:600;cursor:pointer}
.note .reply{margin:0;font-size:15.5px;font-weight:600;color:#0F1E46;outline:none}
.note .reply[hidden]{display:none}

/* Follow: his accounts as icons */
.ico{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);transition:background .15s,transform .15s}
.ico:hover,.ico:focus-visible{background:rgba(255,255,255,.24);transform:translateY(-1px)}
.ico i{display:block;width:15px;height:15px;background:#fff;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.rsoc{gap:6px!important;flex-wrap:nowrap!important;padding-left:0!important;margin-top:4px}
.rsoc a.ico{display:inline-grid!important;place-items:center;width:26px;height:26px;padding:0!important;line-height:0}
.rsoc a.ico i{width:13px;height:13px}
.sheet .soc{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px;break-inside:avoid}
.sheet .soc a.ico{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border-radius:50%;line-height:0}

.note .ask .q{margin-bottom:4px}
.note .ask .q2{font-size:15px;margin-bottom:14px}

/* every company category, as small chips under All companies */
.rtags{display:flex;flex-wrap:wrap;gap:1px 11px;margin:2px 0 4px 12px;padding-left:9px;border-left:1px solid rgba(255,255,255,.16)}
.rg .rtags a{display:inline-block;padding:1px 0;font-size:12.5px;line-height:1.35;color:rgba(255,255,255,.6)}
.rg .rtags a::before{display:none}
.rg .rtags a:hover,.rg .rtags a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media (min-width:1100px){ .rail{padding-top:22px} .rg{margin-bottom:12px} .rg a:not(.rh){padding-top:2px;padding-bottom:2px} .rname{font-size:42px} }
@media (min-width:1100px){ .rname{font-size:40px;line-height:.9;white-space:nowrap} .rtop{margin-bottom:14px} .sticky.in-rail{margin-bottom:16px} .rg{margin-bottom:10px} .rail{padding-bottom:16px} }

.rtags{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,auto);grid-template-columns:max-content max-content;column-gap:12px;border-left:0;padding-left:0}
.rg a:not(.rh)::before{top:calc(2px + .62em)}
/* phone: the note sits in the page under the header, never over content */
.sticky.floating{display:none!important}
.sticky.inflow{display:none}
@media (max-width:1099px){ .sticky.inflow{display:flex;width:auto;margin:14px 18px 0;transform:rotate(-1deg)} }
@media (min-width:1100px){ html:not([data-rail]) .sticky.inflow{display:flex;width:auto;max-width:300px;margin:14px 0 0 4vw} }
.sheet .notelink{display:flex;align-items:center;gap:8px;margin:2px 0 10px;padding:9px 12px!important;border-radius:4px!important;background:#FFF3B8;color:#2A2410!important;font-weight:600;break-inside:avoid}
