/* Loop Labs home: notes, communities, and Rich on the shared lab-notebook paper. */
.hub-nav{display:flex;align-items:center;gap:22px;font-size:13px;font-weight:700}
.hub-nav a{text-decoration:none}
.hub-intro{position:relative;padding:68px 0 40px;max-width:820px}
.hub-intro h1{font-size:clamp(48px,7vw,82px);max-width:760px;margin-bottom:20px}
.hub-intro .lead{max-width:600px;margin-bottom:0}
.hub-grid{container-type:inline-size;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;padding-bottom:72px}
.hub-well{display:flex;flex-direction:column;position:relative;border:1.5px solid var(--ink);border-radius:24px;background:var(--surface);overflow:hidden;transition:transform .15s ease;isolation:isolate}
.hub-well--notes{grid-column:1 / -1;width:calc((100% - 30px)/2);justify-self:center;min-height:calc((100cqw - 30px)/2);box-shadow:8px 8px 0 #c4b5fd;transform:rotate(-.4deg)}
.hub-well--makers{box-shadow:8px 8px 0 var(--lime-bright);transform:rotate(-.6deg)}
.hub-well--rails{box-shadow:8px 8px 0 var(--cyan-bright);transform:rotate(.6deg)}
.hub-well:hover,.hub-well:focus-within{transform:translate(-1px,-2px)}
.hub-well__label{display:flex;justify-content:space-between;gap:10px;padding:20px 26px 0;font:600 10px/1.5 var(--mono);letter-spacing:.11em;text-transform:uppercase;color:var(--coral)}
.hub-well__label span:last-child{color:var(--muted)}
.hub-well__art{position:relative;height:262px;display:grid;grid-template-rows:minmax(0,1fr);place-items:center;margin:4px 22px 0}
.hub-well__art::before{content:"";position:absolute;width:245px;height:192px;top:44px;border:1px dashed var(--line2);border-radius:48% 52% 57% 43%;background:var(--bg2);transform:rotate(-9deg);z-index:-1}
.hub-well--rails .hub-well__art::before{transform:rotate(9deg);border-radius:56% 44% 48% 52%;background:var(--bg)}
.hub-well__art img{display:block;width:100%;height:100%;min-height:0;max-height:100%;max-width:290px;object-fit:contain}
.hub-well__copy{display:flex;flex-direction:column;flex:1;padding:20px 30px 28px}
.hub-well h2{font-size:clamp(32px,3.3vw,44px);margin:0 0 12px}
.hub-well__pitch{font-size:15px;line-height:1.7;max-width:470px;margin:0 0 26px}
.hub-well__link{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px dashed var(--line2);padding-top:18px;margin-top:auto;font:600 12px var(--mono);text-decoration:none}
.hub-well__link::after{content:"↗";font:500 23px var(--sans);line-height:1}
.hub-well__link::before{content:"";position:absolute;inset:0;z-index:2}
.hub-well__link:focus-visible{outline-offset:7px}
.hub-well--rich{grid-column:1 / -1;display:grid;grid-template-columns:300px minmax(0,1fr);align-items:center;box-shadow:8px 8px 0 #c4b5fd;margin-top:4px;transform:rotate(-.25deg)}
.hub-well--rich .hub-well__art{grid-column:1;grid-row:1;height:245px;margin:18px 16px 18px 26px}
.hub-well--rich .hub-well__art::before{width:220px;height:160px;top:42px;background:var(--bg)}
.hub-well--rich .hub-well__art img{width:215px;height:215px;border-radius:18px;object-fit:cover;border:1px solid var(--line2)}
.hub-well--rich .hub-well__copy{grid-column:2;padding:32px 34px 32px 16px}
.hub-well--rich .hub-well__label{padding:0;margin:0 0 18px}
.hub-well--rich .hub-well__pitch{max-width:590px;margin-bottom:23px}
.hub-note{margin:0 0 22px;font:500 11px var(--mono);color:var(--muted);text-align:right}
.hub-home .foot{margin-top:0}
.hub-skip{position:absolute;top:8px;left:12px;z-index:100;background:var(--surface);padding:10px 16px;border:2px solid var(--ink);border-radius:8px;transform:translateY(-180%)}
.hub-skip:focus{transform:none}
@media(max-width:760px){
  .hub-intro{padding:44px 0 30px}
  .hub-grid{gap:26px;grid-template-columns:1fr;padding-bottom:50px}
  .hub-well{transform:none}
  .hub-well--notes{grid-column:auto;width:100%}
  .hub-well__art{height:238px}
  .hub-well__copy{padding:17px 24px 25px}
  .hub-well__label{padding:18px 24px 0}
  .hub-well h2{font-size:36px}
  .hub-well--rich{display:flex;grid-column:auto}
  .hub-well--rich .hub-well__art{height:215px;margin:18px 24px 0}
  .hub-well--rich .hub-well__copy{padding:18px 24px 25px}
  .hub-well--rich .hub-well__label{margin-bottom:14px}
  .hub-note{text-align:left;font-size:10px}
}
@media(max-width:440px){
  .hub-nav{gap:12px;font-size:12px}
  .hub-home .mark small{max-width:150px;font-size:8px}
  .hub-home .mark{gap:9px;font-size:14px}
  .hub-home .mark-card{width:34px;height:36px}
  .hub-home .topbar-inner{gap:12px}
  .hub-well__label{font-size:9px}
  .hub-well--makers h2{font-size:clamp(28px,9vw,36px)}
  .hub-well__link{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .hub-well{transition:none}
  .hub-well:hover,.hub-well:focus-within{transform:none}
}
