@font-face{
  font-family:"Bricolage";
  src:url("bricolage.woff2") format("woff2-variations");
  font-weight:200 800; font-stretch:75% 100%; font-display:swap;
}
:root{
  --cloud:#e9f1f8;      /* ground: faint cloud blue */
  --white:#ffffff;
  --ink:#20354a;        /* text, outlines */
  --harbor:#587390;     /* secondary text */
  --mist:#c9daea;       /* dividers */
  --butter:#f2c230;     /* buttons, wire ends */
  --butter-deep:#d7a616;/* wires, hover */
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cloud);color:var(--ink);
  font-family:"Bricolage",system-ui,sans-serif;font-size:17px;line-height:1.55;
  font-optical-sizing:auto}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:1.5px}
a:hover{text-decoration-color:var(--butter-deep)}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:6px}
img{display:block;max-width:100%;height:auto}

.btn{display:inline-block;background:var(--butter);color:var(--ink);font-weight:700;font-stretch:90%;
  font-size:16px;line-height:1;padding:13px 20px;border-radius:12px;border:2px solid var(--ink);text-decoration:none}
.btn:hover{background:var(--butter-deep)}
.btn.ghost{background:transparent}
.btn.ghost:hover{background:var(--white)}

.mark{display:flex;align-items:center;gap:10px;font-size:15px;font-stretch:85%;font-weight:600;color:var(--harbor)}
.mark img{width:44px;height:44px}

/* ---------- megabat.org ---------- */
.mb{max-width:1040px;margin:0 auto;padding:22px 20px 40px}
.mb-bar{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mb-brand{font-weight:800;font-stretch:80%;font-size:20px;text-decoration:none;letter-spacing:-.01em}
.mb-bar .about{font-weight:600;font-stretch:90%}
.mb-hero{display:grid;grid-template-columns:1fr auto;align-items:end;gap:24px;margin:56px 0 44px}
.mb-hero h1{margin:0;font-size:clamp(54px,10vw,124px);line-height:.88;font-weight:800;font-stretch:75%;letter-spacing:-.015em}
.mb-hero .lede{margin:18px 0 0;max-width:34em;font-size:19px;color:var(--harbor)}
.mb-hero .sticker{width:clamp(110px,19vw,200px);transform:rotate(7deg);margin:0 6px 6px 0;
  filter:drop-shadow(0 10px 14px rgba(32,53,74,.22))}

.projects{list-style:none;margin:0;padding:0}
.project{display:grid;grid-template-columns:minmax(190px,1fr) 2.1fr;gap:10px 44px;padding:30px 0;border-top:2px solid var(--mist)}
.project h2{margin:0;font-size:clamp(28px,3.5vw,36px);line-height:1;font-weight:750;font-stretch:78%;letter-spacing:-.01em}
.project h2 a{text-decoration:none}
.project h2 a:hover{text-decoration:underline;text-decoration-color:var(--butter-deep)}
.project .state{margin:8px 0 0;font-size:15px;color:var(--harbor)}
.project .what p{margin:0;max-width:58ch}

.wire{display:flex;align-items:center;flex-wrap:wrap;row-gap:10px;margin-top:16px}
.node{position:relative;z-index:1;font-size:13.5px;font-weight:650;font-stretch:85%;line-height:1;
  padding:5px 10px;border:1.5px solid var(--ink);border-radius:999px;background:var(--white)}
.node + .node{margin-left:16px}
.node + .node::before{content:"";position:absolute;right:calc(100% + 1.5px);top:50%;width:16px;height:3px;margin-top:-1.5px;background:var(--butter-deep)}
.run{position:relative;flex:1 1 36px;min-width:36px;height:3px;background:var(--butter-deep);margin-right:14px;
  transform-origin:right center;animation:draw .7s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i,0) * 80ms + 150ms)}
.run::after{content:"";position:absolute;right:-6px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;
  background:var(--butter);border:2px solid var(--ink);box-sizing:border-box}
.addr{font-weight:650;font-stretch:80%;font-size:16px;margin-left:4px}
.addr.plain{text-decoration:none;color:var(--harbor)}
@keyframes draw{from{transform:scaleX(0)}}

.private{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap;
  margin-top:40px;padding:22px 24px;border:2px dashed var(--harbor);border-radius:20px}
.private p{margin:0;max-width:40em}

.mb-foot{display:flex;justify-content:center;margin-top:56px}

/* ---------- ccarnold.com ---------- */
.cc{min-height:100vh;display:flex;flex-direction:column}
.cc-main{flex:1;width:100%;max-width:1120px;margin:0 auto;padding:56px 20px 32px;
  display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:40px 64px}
.cc h1{margin:0 0 26px;font-size:clamp(64px,11.5vw,140px);line-height:.86;font-weight:800;font-stretch:75%;letter-spacing:-.02em}
.cc h1 span{display:block}
.cc .lede{font-size:clamp(20px,2.2vw,24px);line-height:1.4;font-weight:600;font-stretch:92%;margin:0 0 16px;max-width:30em}
.cc p{margin:0 0 16px;max-width:36em}
.cc .creds{color:var(--harbor);font-size:16px;margin-bottom:28px}
.cc .actions{display:flex;flex-wrap:wrap;gap:12px}
.cc .photo{margin:0;justify-self:center}
.cc .photo img{width:clamp(240px,32vw,390px);border:9px solid var(--white);border-radius:30px;transform:rotate(-3deg);
  box-shadow:0 22px 40px -20px rgba(32,53,74,.5)}
.cc-foot{width:100%;max-width:1120px;margin:0 auto;padding:12px 20px 26px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.cc-foot .signin{font-size:15px;font-weight:600;font-stretch:90%;color:var(--harbor)}

@media (max-width:760px){
  .mb-hero{grid-template-columns:1fr;margin:36px 0 28px}
  .mb-hero .sticker{order:-1;width:112px}
  .project{grid-template-columns:1fr;padding:24px 0}
  .mb{padding-left:16px;padding-right:16px}
  .node{font-size:12.5px;padding:4px 8px}
  .node + .node{margin-left:12px}
  .node + .node::before{width:12px}
  .run{min-width:24px;flex-basis:24px;margin-right:12px}
  .addr{font-size:15px}
  .cc-main{grid-template-columns:1fr;padding-top:28px;gap:28px}
  .cc .photo{order:-1;justify-self:start}
  .cc .photo img{width:min(78vw,300px)}
}
@media (prefers-reduced-motion:reduce){ .run{animation:none} }
.projects li:nth-child(2){--i:1}.projects li:nth-child(3){--i:2}.projects li:nth-child(4){--i:3}.projects li:nth-child(5){--i:4}
.projects li:nth-child(6){--i:5}.projects li:nth-child(7){--i:6}.projects li:nth-child(8){--i:7}.projects li:nth-child(9){--i:8}
/* private map */
.map-group{border-top:2px solid var(--mist);padding:26px 0 8px}
.map-group h2{margin:0 0 4px;font-size:clamp(24px,3vw,30px);line-height:1.05;font-weight:750;font-stretch:78%}
.map-group .note{margin:0 0 6px;color:var(--harbor);font-size:15px}
.map-group .wire{margin-top:12px}
.node.lock{background:var(--ink);color:var(--white)}
.legend{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:0 0 30px;color:var(--harbor);font-size:15px}
